From kernel
Structures feature implementation: extract goals, research, verify assumptions, generate 2-3 approaches, pick simplest. Activates on build/implement/create commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kernel:buildThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Prerequisite**: AgentDB read-start has already run. Tier classification done via /kernel:ingest.
Prerequisite: AgentDB read-start has already run. Tier classification done via /kernel:ingest.
Reference: skills/build/reference/build-research.md
GOAL: [What are we building?]
CONSTRAINTS: [Limitations, requirements, must-haves]
INPUTS: [What do we have to work with?]
OUTPUTS: [What should exist when done?]
DONE-WHEN: [How do we know it's complete?]
(gate: all 5 fields filled before continuing)
For ambiguous features, use interview pattern: "I want to build [X]. Interview me using AskUserQuestion. Ask about implementation, UI/UX, edge cases, tradeoffs. Write spec to _meta/plans/."
Start fresh session after spec is written — implementation gets clean context.
ls _meta/research/ for topic matchestoday - date < ttl: use cached result, skip web search---
query: "{original search query}"
date: "YYYY-MM-DD"
ttl: 7 # days — anti-patterns/gotchas=7, framework docs=30, package versions=3, architecture=30
domain: "{tech domain}"
---
(gate: cache checked — either hit confirmed or new entry written)
Rule: Research without verification is theory fiction. (LRN-F11) Cache finding → build 10-line proof before committing to it across the codebase. Always check agentdb for learnings after cache check — learnings are never cached.
Confirm (not guess) max 6 per category:
(gate: assumptions documented before implementation)
Rule: Generate 2-3 approaches minimum. Never implement first idea.
Per solution, document:
Evaluation criteria (ordered):
Write chosen solution + rejected alternatives to _meta/plans/{feature}.md.
Plans under 50 lines. Longer = overthinking.
Skip plan if diff can be described in one sentence — planning overhead only justified for multi-file or uncertain approaches.
(gate: ≥2 approaches compared, one chosen with rationale)
BEFORE each step: review research doc, check if fewer lines possible. DURING: use researched package, minimal changes, follow existing patterns, one commit per logical unit. AFTER: verify works, count lines (can reduce?), commit, update plan.
If tier 2+: You are the surgeon. Follow contract scope exactly.
Context discipline:
/clear and restart with refined prompt/btw for zero-cost lookups: /btw <question> answers appear in a dismissible overlay and never enter conversation history. Use for quick clarifications that shouldn't grow context. /compact <priorities>: guided summarization — e.g. /compact Focus on the API changes — controls what survives context limits. Better than unguided auto-compact which may drop critical state. /goal for unattended verification: set a /goal condition and a separate evaluator re-checks it after every turn, keeping Claude working until it holds — no human in the loop required. claude --continue resumes the most recent session; claude --resume picks from a list. /rename names sessions so multi-sitting workstreams stay findable. /clear between tasks is context hygiene, not optional. (gate: each logical unit committed before moving to next)
Automated (run what exists):
npm test / pytest / cargo test / go testeslint / ruff / clippytsc --noEmit / mypyManual: walk through done-when criteria. Document how verified. Edge cases (at least 3): empty/null, boundary, error/failure path.
(gate: all automated checks green, ≥3 edge cases covered)
git checkout or git stashReport: feature name, branch, files changed, validation results, next steps.
agentdb write-end '{"skill":"build","feature":"X","files":["Y"],"approach":"Z"}'
--quick: skip confirmations, minimal prompts--plan-only: stop after planning--resume: continue in-progress work--validate-only: skip to validationnpx claudepluginhub ariaxhan/kernel-claude --plugin kernelGuides multi-phase feature development with research, planning, implementation, and review phases. Use for complex features touching >5 files or requiring architecture decisions.
Implements features using parallel subagents with scope control, reflection, and MCP servers for memory/context. Activates on implement/build/create requests in JS/TS projects.
Lightweight single-context build workflow: explore, plan, approve, implement, verify, and optionally commit. Use for everyday features.