From disposable-plugin
Analyze a disposable prototype across 10 quality axes using static analysis, test results, and Codex MCP triangulation. Produces structured autopsy report with scored findings and recommendations. Part of H-DGM cycle. Use after disposable-spike completes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/disposable-plugin:disposable-autopsyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Perform 10-axis analysis of a disposable prototype, combining quantitative metrics with qualitative AI review.
Perform 10-axis analysis of a disposable prototype, combining quantitative metrics with qualitative AI review.
.disposable/cycles/cycle_{N}/spike-complete.json must existdisposable/cycle_{N} must exist$ARGUMENTS if provided, otherwise read latest from .disposable/history.json.disposable/cycles/cycle_{N}/spike-complete.jsongit checkout disposable/cycle_{N}Extract quantitative signals from metrics:
| Metric | Maps to Axis |
|---|---|
| lint.error count | correctness, readability |
| tests.failed | correctness, error-handling |
| tests.passed / tests.total | testability |
| coverage.line.pct | testability, maintainability |
| coverage.branch.pct | error-handling |
Analyze the prototype code against each axis. For each axis:
For each axis, assign:
status: scored | na | insufficient-evidencescore: 1-5 (when scored)
findings[]: Specific issues with severity and evidence referencerecommendations[]: Actionable improvements with priorityIf Codex MCP is available, request independent review:
mcp__codex__codex(
prompt: "Review the following disposable prototype for {axis}.
Focus on: {axis-specific criteria}.
Report findings as JSON array with id, severity, description, evidenceRef fields.
Files: {file list}",
model: "gpt-5.4",
config: { "model_reasoning_effort": "xhigh" },
cwd: "{project_root}"
)
Merge Codex findings with Claude findings:
Apply quality gates from references/quality-gates.md:
averageScore from all scored axesPASS | CALIBRATE | FAILConstruct autopsy report following references/autopsy-schema.json:
{
"schemaVersion": "1.0.0",
"rubricVersion": "1.0.0",
"cycleId": "cycle_{N}",
"timestamp": "{ISO 8601}",
"metricsRef": "spike-complete.json",
"axes": { ... },
"summary": {
"verdict": "PASS|CALIBRATE|FAIL",
"strengths": [...],
"criticalIssues": [...],
"averageScore": N.N
}
}
.disposable/cycles/cycle_{N}/autopsy-report.jsonnode {plugin_root}/scripts/dist/validate-report.mjs \
.disposable/cycles/cycle_{N}/autopsy-report.json \
--schema {plugin_root}/skills/disposable-cycle/references/autopsy-schema.json
node {plugin_root}/scripts/dist/mask-sensitive.mjs \
.disposable/cycles/cycle_{N}/autopsy-report.json --in-place
git checkout -Present summary:
/disposable-distill or /disposable-cycle to iterate.disposable/cycles/cycle_{N}/autopsy-report.json — validated autopsy report/disposable-distillinsufficient-evidence and continuenpx claudepluginhub caphtech/claude-marketplace --plugin disposable-pluginPerforms multi-AI validation, scoring, and review of code or documents using external AI providers. Part of the Double Diamond Deliver phase.
Performs repo-wide or PR diff readiness sweeps dispatching parallel agents across security (shieldkit), tests (testkit), codebase (lenskit), evolution (timewarp), and instructions (alignkit) for synthesized reports.
Analyzes codebase complexity, dependencies, dead code, tech debt, and git hotspots. Produces a health score and rescue plan for legacy projects or external repo evaluation.