/kstack:k-designfrom K-stack
Designs before implementing by producing data shapes, interfaces, file plans, failure cases, tests, and verification commands. Runs competing-designs bakeoffs for contested or novel decisions.
Ships in K-stack. 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.
The output is a plan a build worker can execute without choosing between alternatives.
If the subsystem was not explored this session, run k-explore first. Collect the constraints: user requirements, existing conventions, the callers that must keep working, performance or platform limits.
Dispatch one design worker with the constraints and file pointers. It returns:
build or build-hard).Use when two or more valid shapes exist and the choice matters (error handling model, abstraction layer, state ownership), or when the interaction has no precedent.
design workers in one message, same constraints, each told to optimize for a different priority: simplest possible, most extensible, best experience for the end user. Each returns the step 2 shape.sweep worker as judge. It sees the designs under neutral labels (A, B, C) and scores them on correctness, reader load, blast radius, and fit with the existing code. It picks a base and names any part worth grafting from the others.An empirical fork (which is faster, which layout reads better) is not a bakeoff. Route it to the Prototype playbook and observe the answer.
The lead reads the plan against the principles: subtract first, name the data shape, idempotent operations, split shared state, verification on the real surface. Fix gaps directly or send one consolidated revision brief.
Show the plan compactly: shape, interface, file plan, decomposition, verification, and a tradeoffs table if there was a bakeoff. Proceed to build unless an open question needs the user.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
design, architecture, planning, api-design, system-design, implementation-plan, rfc, bakeoff
npx claudepluginhub kasempiternal/k-stack --plugin kstack14 skills in this plugin
/k-agent-timeUse when asked to improve, optimize, redesign or solve an open-ended technical problem, or before dismissing an option as too big, slow or costly. Prices effort for agents, not human-hours./k-cursor-architectDelegate focused implementation or investigation from Claude Code to the Cursor Agent CLI (cursor-agent) running Grok 4.7. Use when the user invokes /k-cursor-architect, asks Claude to hand work to Cursor or Grok, or enables session-only delegation. Session mode makes Cursor the exclusive delegation backend and blocks native Claude teammates. Never enables a global or persistent mode./k-e2e-qaE2E and UI verification workflows. AgentController for native macOS apps (mcp__agentcontroller__*) and for iOS simulators and physical iPhones (mcp__agentcontroller-ios__*), Maestro or raw adb for Android (mcp__maestro__*), Claude in Chrome or Playwright MCP for the web. Use when running UI tests, QA automation, simulator or device testing, or driving and verifying a macOS app, iPhone, Android device, or web page./k-effortSwitch K-stack's routing level the way /effort switches session effort. Levels are lean < balanced < quality, plus burn on top. A typed level applies now and is saved as the default; add "session" to keep it to this session. Use for /k-effort, "kstack effort", "cheaper kstack routing", or "more effort on kstack"./k-exploreExplain how a subsystem works, trace a runtime flow, answer where code should live, or dig up why something was built this way (git history). Read-only. Use for "how does X work", "walk me through", "why is this like this", "where should this live", onboarding onto unfamiliar code, or from k-mode before changing a subsystem./k-gpt-architectDelegate focused implementation or investigation from Claude Code to the Codex MCP. Use when the user invokes /k-gpt-architect, asks Claude to hand work to Codex, or enables session-only delegation. Session mode makes Codex the exclusive delegation backend and blocks native Claude teammates. Never enables a global or persistent mode.Other plugins' skills for the same job