一键导入
check-production-ready
Production readiness audit - checks unwrap elimination, error handling, clippy, docs, channel usage, and test count.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Production readiness audit - checks unwrap elimination, error handling, clippy, docs, channel usage, and test count.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Duplicate code detection using similarity-rs. Identifies refactoring candidates based on semantic similarity.
Duplicate code detection using similarity-rs. Identifies refactoring candidates based on semantic similarity.
Run performance benchmarks with criterion. Compare against baselines and profile hotspots.
Implementation verification - runs format, lint, test, and build checks on the workspace.
Production readiness audit - checks unwrap elimination, error handling, clippy, docs, channel usage, and test count.
Release deployment process for ccswarm. Version update, quality gates, build, tag, publish.
| name | check-production-ready |
| description | Production readiness audit - checks unwrap elimination, error handling, clippy, docs, channel usage, and test count. |
| user-invocable | true |
| context | fork |
| agent | rust-fix-agent |
Verify 7 production quality criteria:
| # | Item | Check |
|---|---|---|
| 1 | unwrap() elimination | grep -r "\.unwrap()" crates/ccswarm/src/ --include="*.rs" (exclude tests) |
| 2 | Error handling | thiserror usage, custom error types |
| 3 | Async patterns | tokio runtime, proper async usage |
| 4 | Documentation | cargo doc --workspace --no-deps |
| 5 | Clippy clean | cargo clippy --workspace -- -D warnings |
| 6 | Channel-Based | Channel vs Arc ratio |
| 7 | Minimal testing | ~8-10 focused tests |
Score: 7/7 = PRODUCTION_READY, 5-6/7 = NEEDS_WORK, 0-4/7 = CRITICAL.
Fix any issues found, then report results as JSON.