一键导入
bug-fix
Systematic bug investigation and fix workflow. Use when fixing bugs, investigating issues, or debugging test failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Systematic bug investigation and fix workflow. Use when fixing bugs, investigating issues, or debugging test failures.
用 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.
Pre-release verification workflow - version, security audit, performance, cross-platform builds, documentation.
Development environment setup - Rust toolchain, cross-compilation targets, dependencies, git hooks, IDE config.
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 | bug-fix |
| description | Systematic bug investigation and fix workflow. Use when fixing bugs, investigating issues, or debugging test failures. |
| argument-hint | [issue-number or description] |
Fix $ARGUMENTS using this systematic process.
gh issue list --label bugrg "unwrap\(\)|expect\(" src/ and rg "TODO|FIXME" src/git log --oneline -20#[test]
fn test_reproduce_issue() {
// Minimal reproduction
}
cargo test test_reproduce_issue -- --nocaptureCommon categories in this project:
cargo test <specific_test>
cargo test
cargo test --all-features
Add a dedicated regression test to prevent recurrence:
#[cfg(test)]
mod regression_tests {
#[test]
fn issue_NNN_description() {
// Ensure this specific issue doesn't reoccur
}
}