/yka-code:ship-featurefrom yka-code
[yka-code] End-to-end feature workflow for this system. Use when the user asks to build, implement, add, or ship a new feature. Chains feature-dev (plan → implement) → pr-review-toolkit (multi-agent review) → commit-commands (commit+push+PR). Do NOT use for simple edits, bug fixes, or refactors — this is for net-new feature work.
Ships in yka-code. 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.
Orchestrates the user's installed plugins end-to-end for complete feature development.
Load and apply the karpathy-guidelines skill alongside this workflow. Short version:
Consult this before every phase. If a condition matches, add the tool to the relevant phase.
| Condition | Tool | Why |
|---|---|---|
| Feature touches a library I'm not 100% fluent in | docfork MCP (needs DOCFORK_API_KEY) | Current library API; beats stale training data |
| Similar features exist in public OSS repos | deepwiki MCP | Free Q&A against public GitHub repos |
| Feature changes a DB schema or query | psql / mongosh / project ORM CLI | Schema changes, JOIN correctness, index tuning — via local client, not MCP |
| Feature integrates with Slack / Linear / Notion / Asana / Stripe / ~500 other SaaS | composio MCP (needs COMPOSIO_API_KEY) | One MCP for all of them |
| Feature is a UI component / page | frontend-design skill + playground skill | Design-quality frontends; prototype in single-file HTML first |
| Feature needs E2E / browser tests or form-flow verification | playwright-cli skill | Pure CLI browser automation (40+ commands, snapshots, sessions); no MCP token cost |
| Feature imports or converts a design from Google Stitch | stitch MCP | Pulls Stitch designs into the codebase |
| Feature touches cross-repo GitHub (issues, PRs, actions) | github MCP (needs GITHUB_PAT) OR gh CLI (cheaper for single repo) | Use gh in-repo; MCP for cross-repo |
| Feature involves running unverified 3rd-party code | container-use CLI | Sandboxed per-agent branches + Docker isolation |
| Feature is large (>5 files, >2h estimated) | /claude-mem:make-plan + /claude-mem:do + TeamCreate | Explicit phased plan, captured in memory; persistent review team |
| Feature is small (<30min, <3 files) | Skip the big guns; use feature-dev directly | Over-orchestration wastes tokens |
| Past session touched related code | /claude-mem:mem-search (always) + /claude-mem:smart-explore for structural search | Free; check before implementing |
Before Phase 0 below fires, re-check: does the feature span >1 concern, touch >2 files, or involve plan + implement + review as distinct steps? If ANY yes → stop ship-feature, route back to /do Phase 1 which will route to team-do. ship-feature is for single-concern ≤2-file features; anything larger is team-do's territory.
Only continue if the feature is genuinely small and bounded.
Before touching feature-dev or any implementation, enter Claude Code's native plan mode via EnterPlanMode (or Shift+Tab if user-driven). In plan mode:
tasks/specs/*.md from brainstorming).ExitPlanMode into acceptEdits or default mode.This is Anthropic's own recommended workflow (Boris Cherny, 2026-01): "I will use Plan mode, and go back and forth with Claude until I like its plan. From there, I switch into auto-accept edits mode and Claude can usually 1-shot it." It composes with the built-in Plan subagent for architecture-heavy features.
Skip Phase 0 only when:
brainstorming with enough detail that a plan is trivialBefore writing production code for any correctness-critical path, invoke Skill(skill: "test-driven-development"). Not "consider" — call. The upstream skill owns the RED → GREEN → REFACTOR cycle. The tool call is the activation; reading the skill markdown yourself doesn't count.
Invoke /feature-dev:feature-dev. It chains internally:
code-explorer agent (from feature-dev plugin) — reads the existing codebasecode-architect agent — proposes the designcode-reviewer agent — audits quality before handoffFor large features (>5 files or >2h estimated): prefer /claude-mem:make-plan first to produce a phased plan, then /claude-mem:do to execute phases via subagents. These capture the plan + outcomes in memory for future sessions.
When the feature uses an unfamiliar library: call the docfork MCP (requires DOCFORK_API_KEY, set in ~/.config/yka-code/secrets.env) for up-to-date library docs before implementing. It's faster than reading source and more current than training data.
When the feature is a UI component/page: activate the frontend-design skill and optionally use the playground skill to prototype interactions in a single-file HTML explorer before wiring into the real app.
If feature-dev is not installed (user may have skipped), fall back to:
Explore agent for codebase mappingPlan agent for architectureInvoke /pr-review-toolkit:review-pr. This spawns 6 specialized agents in parallel — each targeting a different class of bug that Claude-alone typically misses:
| Agent | Catches |
|---|---|
pr-review-toolkit:code-reviewer | General quality, style, correctness |
pr-review-toolkit:code-simplifier | Overcomplicated logic, redundant abstractions |
pr-review-toolkit:comment-analyzer | Comments that lie, drift, or add zero value |
pr-review-toolkit:pr-test-analyzer | Missing test cases, weak assertions, test coverage gaps |
pr-review-toolkit:silent-failure-hunter | Swallowed catch blocks, fallbacks that mask real errors |
pr-review-toolkit:type-design-analyzer | Weak types that permit invalid states |
Specifically watch for:
comment-analyzer + type-design-analyzer are highest signalsilent-failure-hunter is highest signalpr-test-analyzer + code-reviewerIf any reviewer flags HIGH-confidence issues, fix them and re-invoke only that specific reviewer to confirm (not all 6). Low-confidence findings → present to user, don't auto-fix.
Before claiming the feature complete (or before running git commit), invoke Skill(skill: "verification-before-completion"). Non-negotiable. No "Done!" without fresh evidence captured via this skill — red → green, full test suite re-run, exit codes recorded.
Before committing, invoke /claude-md-management:revise-claude-md if any interesting pattern emerged — capture it in CLAUDE.md so future sessions benefit.
Then invoke /commit-commands:commit-push-pr for commit + push + PR creation in one step.
claude-mem auto-captures the session; no action needed. The claude-hud statusline will show context/usage; watch for >80% usage and suggest a summarization break if exceeded.
code-review or a reviewer agent blocks, fix first.code-explorer agent reads existing conventions; use what it finds rather than imposing new patterns.User: "Build a rate limiter for the /api/login endpoint."
/feature-dev:feature-dev → explore (find existing middleware), architect (pick algorithm), implement (token bucket in middleware)/pr-review-toolkit:review-pr → all 6 agents review the diff in parallel/claude-md-management:revise-claude-md → note "rate limiting lives in middleware/ratelimit.ts with token bucket"/commit-commands:commit-push-prbrainstorming (UPSTREAM) — if the user's request is fuzzy, brainstorm into a short spec FIRST, then re-enter this skill with the spec.test-driven-development — See Phase 1 — invoked there as an explicit tool call, not an optional chain.verification-before-completion — See Phase 3 — invoked there as an explicit tool call, not an optional chain.pre-review-checklist — after verification, before Phase 2 PR review (catches cheap issues).doc-hygiene — user-facing README / CHANGELOG / docs updates land under its rules.ci-hygiene — if CI configs are touched (new workflow, deploy step).security-audit — if the feature handles auth, crypto, uploads, secrets, or untrusted input./ce:work or superpowers TDD loop — they'd duplicate this)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (youssefkadaouiabbassi/yka-code) — no native marketplace selected
npx claudepluginhub p/youssefkadaouiabbassi-code-tools-setup20 skills in this plugin
/audit-rigor[yka-code] Discipline for audit, review, and technology-comparison tasks. Use when the request is "audit X", "review our stack", "is this the best option", "compare alternatives", "what should we swap / add / drop", or any task that produces prioritized recommendations rather than new code. Enforces a ≥70% confidence threshold, delegate-retrieval-to-subagent pattern, inline citations with ISO dates, MCP-first sourcing, and a fixed output format (SWAP / ADD / DROP / KEEP-BUT-UPGRADE / SURPRISE). Pair with research-first (retrieval discipline) and karpathy-guidelines (surgical scope). Chained from security-audit, onboard-codebase, and any /do route that smells like "is this the best we have"./ci-hygiene[yka-code] CI/CD and DevOps hygiene enforcer. Activates when editing GitHub Actions workflows, Dockerfiles, docker-compose, justfile, deploy scripts, or any CI configuration. Enforces pinned versions, proper Claude Code invocation in CI (--bare, API key not Max sub), secret management, and reproducibility. Fills the DevOps gap — no plugin covers this in the wild./coding-style[yka-code] Enforce minimalist, self-documenting, defensively-sane coding style. Use ALWAYS when writing, editing, or reviewing ANY code in ANY language — every function, every edit, every diff, no exceptions. Covers five rules: (1) no comments unless critical (WHY only, never WHAT, never history), (2) clean + optimized (no dead code, no speculative abstractions, no stale imports, delete over deprecate), (3) self-documenting names (full words, verbs for functions, nouns for data), (4) smallest surface (one function one concern, extract only on 3rd reuse, validate only at boundaries), (5) no dead defense (no try/catch for impossible cases, no fallbacks for inputs you control, let errors bubble to the right handler). Pair with karpathy-guidelines for behavioral principles (Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution).Other plugins' skills for the same job