skills/mine.build/SKILL.md
Use when the user says: "build this", "implement this", "make this change", or "start a feature". Smart entry point that routes to direct implementation or the full caliper v2 workflow based on complexity.
npx skillsauth add NodeJSmith/Claudefiles mine.buildInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
One command to go from idea to shipped code. Routes your request to the right workflow: implement directly for small changes, or engage the full pipeline (define → plan → orchestrate → ship) for complex ones.
$ARGUMENTS — a description of the change to build. If empty, ask.
If $ARGUMENTS is non-empty, use it as the change description. If empty, ask the user directly:
What would you like to build or change?
Wait for their reply and treat it as the change description.
Paraphrase the request back, starting with a structured pain point line:
Understood pain point: <the underlying problem or frustration driving this request>
<1-2 sentence paraphrase of the proposed change>
If the user's request is solution-shaped ("add X", "change Y to Z") but the underlying problem isn't stated, infer it from context or ask: "What's not working well?" before paraphrasing. If the user already described the problem, extract it directly.
If the work touches frontend (CSS, components, layouts, styles), check for design context:
design/context.md found: Read it. If it has a Design Tokens section, apply the closed token layer — every CSS value must reference a token from the context file (no raw hex, no magic spacing numbers). State which tokens and decisions apply to this change..impeccable.md found (migration fallback): Read it — use its brand personality and aesthetic direction for general decisions, but note there are no concrete design tokens. For non-trivial UI work, suggest running /i-teach-impeccable to generate a full token set.design/direction.md found (migration fallback): Read it and apply its tokens as above./i-teach-impeccable first for consistent results."Token compliance (code-reviewer guidance): When design/context.md has a Design Tokens section and the diff touches CSS/styles, the code-reviewer should flag raw hex values (#[0-9a-f]{3,8}), raw px values not matching the spacing scale, and font names not listed in design/context.md. Surface violations as HIGH findings referencing the specific token that should be used.
Before routing, check whether the conversation already contains findings from an analysis skill or command (/mine.challenge, /mine.brainstorm, /mine.research). Signals:
proposal: and flexibility: fields)If prior analysis exists, the specify and research steps are likely already covered — the findings serve as the spec, and the critique/audit serves as the research. Offer the accelerated path alongside the others.
If no prior analysis detected:
AskUserQuestion:
question: "How should we approach this? (Complexity signal: <Simple|Complex>)"
header: "Workflow"
multiSelect: false
options:
- label: "Simple — implement directly"
description: "Explore, implement, code-review, then offer to ship"
- label: "Complex — full caliper workflow"
description: "define → plan → orchestrate → ship"
If prior analysis detected (findings, plan, or critique already in context):
AskUserQuestion:
question: "Prior analysis detected — findings and/or a plan already exist. How should we proceed? (Complexity signal: <Simple|Complex>)"
header: "Workflow"
multiSelect: false
options:
- label: "Simple — implement directly"
description: "Explore, implement, code-review, then offer to ship"
- label: "Accelerated — lightweight define phase"
description: "Formalize findings into design.md (skip research — already done) → plan → orchestrate → ship"
- label: "Full caliper workflow"
description: "define → plan → orchestrate → ship — start from scratch"
| Rationalization | Reality | |---|---| | "The findings are the spec — skip define" | Findings identify problems; specs define success criteria, scope boundaries, and non-goals. Don't silently skip the define phase — use the routing gate to offer the accelerated path. If the user selects the accelerated path, that's the legitimate workflow. | | "This is small enough to skip the caliper workflow" | The routing gate exists for this judgment. If you chose "Complex" or the user chose caliper, every phase runs. Don't downgrade mid-flight because individual tasks look simple. | | "Prior analysis already covers research" | Prior analysis covers the problem space. Design-phase research covers the solution space — interfaces, constraints, existing patterns. Skip only when the accelerated path was explicitly selected and the analysis genuinely mapped the codebase. | | "Just do the simple version — user said so" | Agreeing to narrow scope without reading the affected backend code is how architectural blockers surface during challenge instead of during planning. Before confirming a narrowed scope, verify the simple version is feasible in the implementation layer. If it isn't, return to the routing gate and present the complexity finding to the user before proceeding. |
Explore the codebase relevant to the request:
Glob: <relevant patterns based on the request>
Grep: <relevant symbols or keywords>
Read: <key files identified by Glob/Grep>
Implement the change. Follow the coding style and patterns in rules/common/coding-style.md.
Launch a code-reviewer subagent to review the implementation.
Present the code-reviewer's findings to the user (CRITICAL, HIGH, MEDIUM findings highlighted).
Then gate:
AskUserQuestion:
question: "Implementation complete. What next?"
header: "Ship or fix?"
multiSelect: false
options:
- label: "Ship via /mine.ship"
description: "Commit, push, and open a PR"
- label: "Fix issues and re-review"
description: "Address the reviewer's findings, then re-run the code-reviewer"
- label: "Stop here"
description: "Leave the changes uncommitted for now"
If "Fix issues and re-review": address CRITICAL and HIGH issues, then re-launch the code-reviewer subagent and present findings again. Offer the same gate.
If "Ship via /mine.ship": invoke /mine.ship.
Tell the user:
Starting the full caliper workflow.
Auto-continue between steps. Execute each skill's phases inline — do not stop and tell the user to run the next command. The user should only be interrupted for decisions that genuinely require their input (define sign-off, plan verdict). Between those gates, continue automatically.
Chain the following skills in sequence. Do not duplicate their logic — follow each skill's own phases as documented:
Follow /mine.define phases for this request. Pass the change description as the argument. Wait for the user to approve the design doc, then continue.
Follow /mine.plan phases using the feature directory produced by mine.define.
Follow /mine.orchestrate phases using the feature directory. The orchestrator handles per-task execution, implementation review, and shipping as part of its Phase 3 pipeline. No further steps needed from mine.build after this point.
Use this path when prior analysis (challenge, audit, brainstorm, research, 5whys) has already produced findings and/or a plan. The analysis serves as the spec and research — no need to redo that work.
Tell the user:
Starting accelerated caliper workflow — using analysis findings as discovery input, skipping research.
Auto-continue between steps — same principle as Path B. Execute inline, only interrupt for decisions that genuinely need user input.
Then chain the following steps:
Lightweight /mine.define — Follow mine.define's phases with these modifications:
Follow /mine.plan phases using the feature directory from step 1.
Follow /mine.orchestrate phases using the feature directory. The orchestrator handles per-task execution, implementation review, and shipping as part of its Phase 3 pipeline. No further steps needed from mine.build after this point.
| Rationalization | Reality |
|---|---|
| "I'll batch these issues and start the smallest first" | Multi-issue work still flows through design → plan → review → execute. Starting with "the easy one" bypasses the plan that sequences all of them. |
| "We already did code review, we can ship" | Code review and challenge are orthogonal gates — see rules/common/git-workflow.md. One does not substitute for the other. |
| "The user said 'start the workflow' — I'll run it all continuously" | Each caliper phase has its own decision gate. "Start the workflow" means begin Phase 1, not execute all phases as one atomic operation. Pause for user confirmation between design sign-off, plan review, and orchestration. |
development
Use when the user says: "humanize this", "unslop this", "de-slop this", "fix AI writing", "remove AI tells", "clean up AI prose". Edits prose to remove AI writing patterns and add human voice. Analyzes first, then asks how to fix. Prose complement to mine.clean-code.
development
Use when the user says: "why is this code like this", "why does this exist", "why was this built this way", "decision rationale", "what's the history behind". Decision archaeology — reconstructs historical rationale from evidence, not speculation.
development
Use when the user says: "how does X work", "walk me through", "explain this subsystem", "explain how", "trace the flow". Complexity-adaptive subsystem explanation — builds mental models conversationally, not documentation artifacts.
development
Use when the user says: 'create an issue', 'file an issue', 'open an issue', 'write an issue', 'new issue for this'. Codebase-aware issue creation — investigates the code to produce well-structured issues with acceptance criteria, affected areas, and enough detail for automated triage.