Skip to main content

Choose your flow (scenario router)

Every AI-development scenario this setup supports is routed by what you want to do, not by which subsystem implements it. Each row names the flow, how you start it, and where to go deeper.

The pivot map places those mechanics in one root-owned lifecycle. Selecting another skill does not create another agent, verification pass or approval gate.

The major flows have hands-on playbooks β€” what to type, what you'll see, what to answer at each gate β€” under Flow playbooks in the sidebar. Table rows link to a playbook where one exists.

Mental model​

Two invocation kinds matter throughout:

Invocation kindMeaning
Model-invoked skillsFire on their own when your prompt matches, such as "debug this".
Manual skillsFire only when you type them, such as /k-build or /k-deep-review. High-blast-radius flows are deliberately manual.

Build something​

You want to…FlowStart itDeeper
Turn an idea/bug into a testable contractk-spec β†’ compact packet with planned final acceptance checks"develop a spec for …" (model-invoked)Playbook Β· architecture
Implement an approved contract in this session/k-build β€” production followed by one integrated final verification/k-build after approving a packetPlaybook Β· architecture
Diagnose or fix a reported defectk-diagnosing-bugs β€” evidence-driven diagnosis; implementation only when requested"debug/diagnose this" or "fix this" (model-invoked)Playbook
Answer a design question cheaplyk-prototype β€” throwaway logic probe or 3 UI variants"prototype this" (model-invoked)Playbook
Shape a module boundary or seamk-codebase-design β€” deep-module vocabulary, design-it-twicefires when designing interfacesrow in skills
Get requirements out of your headk-interview-me β€” one fork-closing question at a time/k-interview-me (manual)row in skills
Be told what's worth building nextk-improve-local / -branch / -targeted / -codebase β€” exactly one proposal/k-improve-… (manual)rows in skills

Check something​

You want to…FlowStart itDeeper
Focused review of low-risk local changesk-light-review β€” one read-only final judgment using shared evidence/k-light-review (also model-invoked)Playbook
Full review of a PR or risky changek-review β€” modes: pr_review, pr_fix, local_changes, plan_review"review PR #N" (model-invoked)Playbook Β· architecture
Deep review of a PR or risky change/k-deep-review β€” scoped reviewer roster, adversarial verify (cross-family preferred), live UI/k-deep-review (manual)Playbook Β· topology
Review a plan/spec as the requested deliverablek-review plan mode β€” judges the contract, not code; not a mandatory build gate"review this plan/packet"Review workflow
Produce a durable receipt for freeform workk-proof β€” repo-external criteria/evidence/assessment ledger with a finalized sealexplicit receipt, auditable risky effect, or named handoff/resume consumerrow in skills
Verify a change actually works end-to-endverify-style live drive; UI via k-playwriter, or k-ui-capture for media proof (screenshots/videos) of an intended visual"verify this works" / "screenshot the UI for the PR"rows in skills
Review what an agent produced (you as reviewer)staged-diff reading disciplineβ€”Reviewing agent diffs

Understand something​

You want to…FlowStart itDeeper
Learn how this codebase worksk-walkthrough β€” evidence-anchored tour or ASCII architecture map/k-walkthrough (manual)Playbook
Investigate an external repo/libraryk-public-sources β€” clone to /tmp, read source, answer from code"figure out how X works" (model-invoked)Playbook
Find code by concept, not keywordk-semantic-code-search (SCSI)fires on conceptual searchMCP servers
Drive an interactive terminal safelyk-tmux β€” isolated sockets, pane capture, explicit targetsfires on tmux/pane/session workrow in skills
Find duplication / dead exportsk-jscpd / k-knipfires during cleanup workrows in skills

Communicate something​

You want to…FlowStart itDeeper
Draft or prepare an issuek-compose-issue β€” issue text + publication packet, no side effects"draft an issue for …"Playbook
Draft a PR bodyk-compose-pr β€” evidence-backed Test Plan gate"draft the PR text"Playbook
Prove a built UI looks right, for a PRk-ui-capture β€” head-only live check + before/after screenshots/videos, gated GitHub upload"verify this UI" / /k-ui-capture; its proof-mode reference fires in /k-build / k-compose-prarchitecture Β· row in skills
Help reviewers before they open the diffk-present-pr β€” self-contained HTML review-readiness map/k-present-pr (manual)Playbook
Post, reply, react, or edit a canvas in Slackk-slack β€” Slack MCP mechanics: live-id resolution, Β§3.8 preflight, single send, read-back"post this to #channel" / "reply in that thread"; reads never load itrow in skills
Anything a human will readk-communication owns tone; publication always gatedloaded automatically before draftingSide-effect gates

Cross-cutting rules​

  • Durable memory (,ai-kb) retains automatic staged recall and one final learning batch; no per-turn scribe or leaf memory orchestration. See Agent memory.
  • k-proof records sealed receipts for narrowly gated freeform work; ordinary verification stays inline.
  • The code-quality family loads itself on implementation edits.
  • Kibana/Elastic work gets the domain overlay; see Elastic and Kibana.

Pivot map​

Only the active root owns transitions. A skill supplies mechanics for the current stage; it does not restart the lifecycle. Empty stages need no ceremony.

Scope β†’ Understand β†’ Produce β†’ Verify β†’ Deliver
β”‚ β”‚ β”‚ └─ results; approved publication only
β”‚ β”‚ └─ selected review depth + shared final checks
β”‚ └─ authorized implementation, tests, docs and formatting
└─ source/diagnosis/design mechanics; prototype only for a material empirical fork

Review depth: k-light-review OR k-review OR explicitly requested /k-deep-review
Not a sequence of reviews over one another.

When to pivot, concretely:

  • spec β†’ prototype and back. A fork you cannot close by asking, such as "which ordering feels right?", is empirical. Build the throwaway, observe, and let the verdict β€” not an opinion β€” close the fork in the packet. The prototype is deleted; the decision survives in the packet's Context line.
  • /k-build β†’ spec (re-gate). Mid-build evidence contradicting the packet, such as a wrong premise or wrong scope, stops the build. Revise the packet and re-approve. Never let a build quietly implement a different spec than the one you signed.
  • Select review depth before Verify. Low-risk local work uses light review; PR/base-context or risky/stateful work uses standard review with appropriate lenses. Explicit deep review retains strong artifact review and adversarial challenge on distinct questions. Reuse shared evidence; do not escalate a completed review into a reviewer-of-reviewer chain. A final failure is reported, not an automatic workflow restart.
  • Diagnosis and design. Use design mechanics in Understand when an in-scope seam/design question must be settled for the requested fix. An architectural observation does not authorize a post-fix redesign or broader audit.
  • anything β†’ k-compose-issue. Work that should be recorded rather than done now β€” a bug found mid-review, a packet worth filing upstream β€” becomes issue text; publication stays human-gated.

Efficiency defaults​

  • Choose sufficient scope from evidence and risk, then complete one final Verify stage. Direct work does not automatically append a review skill.
  • Preserve strong judgment for substantial research and final review/refutation; use the implementation band for settled edits and deterministic tools for mechanical work.
  • Category model/effort and isolation follow Model tiering and the worker contract. Independent ready packets may run concurrently; no leaf owns orchestration, private QA or another worker's certification.