一键导入
dev-setup
Development environment setup - Rust toolchain, cross-compilation targets, dependencies, git hooks, IDE config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Development environment setup - Rust toolchain, cross-compilation targets, dependencies, git hooks, IDE config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run full quality gate before release — fmt, clippy, test, mutants, similarity, coupling.
Run cargo-coupling and similarity-rs to identify refactoring targets, then create a prioritized plan.
Systematic bug investigation and fix workflow. Use when fixing bugs, investigating issues, or debugging test failures.
Pre-release verification workflow - version, security audit, performance, cross-platform builds, documentation.
Split complex tasks into sequential steps with parallel subtasks. Use for multi-step workflows needing dependency ordering and adaptive planning.
Comprehensive quality assurance - tests, linting, formatting, code analysis, and release build verification.
| name | dev-setup |
| description | Development environment setup - Rust toolchain, cross-compilation targets, dependencies, git hooks, IDE config. |
| disable-model-invocation | true |
| argument-hint | [tools|deps|targets|hooks] |
Setup focus: $ARGUMENTS
rustup update stable
rustup default stable
rustup component add rustfmt clippy
cargo install cargo-watch cargo-edit cargo-outdated cargo-audit cargo-tarpaulin
rustup target add x86_64-unknown-linux-gnu
rustup target add x86_64-unknown-linux-musl
rustup target add x86_64-pc-windows-msvc
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
cargo update
cargo outdated
cargo audit
Create .git/hooks/pre-commit with format check, clippy, and test gates. Make executable with chmod +x.
cargo install tokei ripgrep cargo-expand cargo-criterion
export RUST_BACKTRACE=1
export RUST_LOG=claudelytics=debug
| Task | Command |
|---|---|
| Watch tests | cargo watch -x test |
| Debug run | RUST_LOG=debug cargo run -- daily |
| Benchmark | cargo bench --bench parser_bench |
| Docs | cargo doc --no-deps --open |
| Macro expand | cargo expand models |
cargo fmt --check && cargo clippy -- -D warnings && cargo test && cargo build --release