/disposable-plugin:disposable-spike <requirements or issue ref>from disposable-plugin
Generate a disposable prototype (spike) from requirements. Creates isolated branch, generates code, runs lint/test/coverage, and produces unified metrics. Part of H-DGM (Hybrid Disposable Generation Method) cycle. Use when starting a new disposable prototype, rapid exploration, or throwaway implementation.
Ships in disposable-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a disposable prototype from requirements, collect metrics, and prepare for autopsy analysis.
.disposable/ directory will be created if absent初回セットアップ: {plugin_root}/scripts/dist/*.mjs はビルド済みではない。存在しない場合は先にビルドする:
cd {plugin_root}/scripts && npm install && npm run build
.disposable/history.json exists, read last cycle number and incrementcycle_1.disposable/cycles/cycle_{N}/.disposable/.lock — if locked and not expired (60min TTL), abort with message.disposable/.lock with PID, timestamp, TTLtsconfig.json / package.json → TypeScriptpubspec.yaml → DartPackage.swift / *.xcodeproj → Swiftmix.exs → ElixirCargo.toml → Rustgit checkout -b disposable/cycle_{N} HEAD
$ARGUMENTS as requirements specificationgit add -A && git commit -m "spike(cycle_{N}): disposable prototype"
Run tool profile commands in order:
[{ messages: [{ severity: 1|2, ... }] }] before passing to aggregateseverityMap for mappingjunitCommand if available), capture JUnit XML output
dart test --reporter=json): use junitCommand or convert JSON to JUnit XML before passing to aggregatetool: null (e.g., Swift coverage): skip --coverage argument in aggregate callnode {plugin_root}/scripts/dist/aggregate.mjs \
--lint {tool_profile.lint.outputPath} \
--test {tool_profile.test.outputPath} \
--coverage {tool_profile.coverage.outputPath} \
--cycle cycle_{N} \
--lang {detected_language} \
-o .disposable/cycles/cycle_{N}/spike-complete.json
Note: {tool_profile.*} paths come from the selected tool profile in references/tool-profiles.yml. Do not hardcode paths — each language has different output paths and formats. Omit --lint, --test, or --coverage arguments when the corresponding tool profile has tool: null (e.g., Swift coverage is not yet supported).
node {plugin_root}/scripts/dist/mask-sensitive.mjs \
.disposable/cycles/cycle_{N}/spike-complete.json --in-place
.disposable/.lock.disposable/cycles/cycle_{N}/spike-complete.json — unified metrics (metrics-schema.json)disposable/cycle_{N} branch/disposable-autopsydataCompleteness.{source}=false, continue with available dataWhat SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/disposable-autopsyAnalyze 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./disposable-cycleOrchestrate the full H-DGM (Hybrid Disposable Generation Method) disposable prototyping cycle. Manages spike-autopsy-distill iterations with Mode A (auto) or Mode B (manual) control. Tracks cycle history and graduation readiness. Use to start or continue a disposable prototyping session./disposable-distillDistill learnings from autopsy report into an improvement specification for the next cycle or production implementation. Extracts constraints, architecture decisions, interface contracts, and rejected options. Part of H-DGM cycle. Use after disposable-autopsy completes.Other plugins' skills for the same job
npx claudepluginhub caphtech/claude-marketplace --plugin disposable-plugin