Environment validation checklist. Run this FIRST when starting a new Claude session to verify the environment is ready for optimization work. Checks Rust toolchain, ci/ scripts, build, benchmarking tools, profilers, memory tools, git state, and SMP CLI.
Testing
91 Stars
12 Forks
Updated Jan 16, 2026, 08:30 PM
Why Use This
This skill provides specialized capabilities for DataDog's codebase.
Use Cases
Developing new features in the DataDog repository
Refactoring existing code to follow DataDog standards
Understanding and working with DataDog's codebase structure
---
name: lading-preflight
description: Environment validation checklist. Run this FIRST when starting a new Claude session to verify the environment is ready for optimization work. Checks Rust toolchain, ci/ scripts, build, benchmarking tools, profilers, memory tools, git state, and SMP CLI.
allowed-tools: Bash
context: fork
---
# Run preflight script
```bash
.claude/skills/lading-preflight/scripts/preflight
```
**STOP on any failure.** Use the table below to suggest fixes for `[X]` items.
# Offer suggestions then ask before proceeding
For each failed check, show the user the suggested fix from the table below and **ask if they want you to run it**. Do NOT automatically execute fixes — wait for user confirmation before taking action.
| Failed Check | Fix |
| ---------------------------------------- | ----------------------------------------------------------------- |
| rustc not found | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \| sh` |
| cargo not found | Reinstall rustup |
| cargo-nextest not found | `cargo install cargo-nextest` |
| ci/* not executable | `chmod +x ci/*` |
| ci/check failed | `cargo update`, check dependency issues |
| payloadtool build failed | Check Rust version and dependencies |
| hyperfine not found | `brew install hyperfine` |
| cargo-criterion not found | `cargo install cargo-criterion` |
| criterion benchmarks missing | Check `lading_payload/benches/` and `Cargo.toml` |
| payloadtool --memory-stats not supported | Rebuild payloadtool from current branch |
| git user.name not set | `git config user.name "Your Name"` |
| git user.email not set | `git config user.email "[email protected]"` |
| gh not found | `brew install gh` |
| aws CLI not found | `brew install awscli` |
| smp not found | `.claude/skills/lading-preflight/scripts/install_smp` |