Skip to content
Productivity
Skill

/feature

End-to-end feature workflow around the agent — spec by interview, a plan of 2–5-minute tasks, test-first execution with checkpoint commits, then an evidence-gated finish. Effort-scaled: a one-sentence diff skips straight to implementation; a real feature gets spec.md → plan.md →

From plugin
skillhub
921 skills

Claude Code

$ npx -y skills add duthaho/skillhub --skill feature --agent claude-code

SKILL.md

feature.SKILL.md
name: feature
description: >-
  End-to-end feature workflow around the agent — spec by interview, a plan of
  2–5-minute tasks, test-first execution with checkpoint commits, then an
  evidence-gated finish. Effort-scaled: a one-sentence diff skips straight to
  implementation; a real feature gets spec.md → plan.md → task-by-task TDD,
  with all state in out/dev/<change>/ so any later session resumes at the
  first unchecked task. Human-in-the-loop: the spec and the plan are approved
  (and editable) before any code is written, and nothing ships without the
  done gate. Use when the user wants to build, add, or implement a feature or
  start non-trivial coding work — e.g. "/feature add rate limiting",
  "implement X", "build a Y that Z", "resume the <change> feature". For
  fixing something broken use bugfix; for just the end-of-session shipping
  gate use done; for this whole loop end-to-end without approval stops,
  suggest the user run /autopilot (explicit invocation only).

feature — spec → plan → build, effort-scaled

`/feature <description>` — start (or resume) a piece of work `/feature` — list changes in flight under `out/dev/`

Answer one question: **what is the smallest process that gets THIS change built correctly?** The two documented failure modes of workflow suites are opposite: heavyweight gates firing on typo-sized changes, and freestyle sessions shipping unverified scope creep. This skill scales the process to the change — never the other way around.

Step 0 — Size the change (the escape hatch comes first)

Classify before doing anything else, and say which tier you picked:

  • **Trivial** — you could describe the exact diff in one sentence (typo, rename,

config value, one-line fix). → No spec, no plan, no folder. Make the change, then run the **done** gate's evidence checklist inline. Stop here.

  • **Small** — one focused change, ≤ ~3 files, design obvious. → Skip the spec

interview; write the plan directly **in chat** for approval, execute with the Step 3 rules, finish with **done**. No folder unless the user wants to pause and resume.

  • **Standard** — anything multi-file, multi-session, or with real design

decisions. → Full loop below.

If the user explicitly asks for the full treatment ("spec this out"), honor it regardless of size. When genuinely unsure between tiers, pick the smaller one and say so — the plan contract (Step 3) catches scope growth and upgrades the tier if needed.

The change folder — state across sessions

`out/dev/<change-slug>/` (`<slug>` = short change name, lowercased, hyphens; committing the folder is the user's call — it makes good shared history):

  • `spec.md` — what & why, agreed acceptance criteria, decisions/assumptions

numbered (D1…/A1…). Written once, then stable.

  • `plan.md` — the task checklist. Checkboxes are flipped as tasks complete;

never delete a task, strike it with a reason instead.

  • `log.md` — **append-only** progress journal: one line per task/session

(`date · task · result · commit`). Decisions and surprises go here too.

**Resume ritual (any session, before touching code):** read `log.md`, then `plan.md`, then `git log --oneline -10`; run the project's test command as a smoke check; continue at the first unchecked task. Never trust residual conversation memory over the files. When the change ships, move the folder to `out/dev/archive/` — done changes are history, not clutter.

Step 1 — Spec by interview (standard tier)

Read the repo's `CLAUDE.md`/`AGENTS.md` (the map skill writes the latter) and nearby code first. **Facts vs decisions, no third category:** a fact that can be looked up (code, docs, `git log`) is never a question; a decision is the user's — put each one to them. Interview with **one compact question set** (`AskUserQuestion`) covering the decisions the request leaves genuinely open: the goal as observable behavior, what's explicitly **out of scope**, acceptance criteria, and the **end-to-end check** that will prove it works (a command, a flow to click through, a curl). When an answer would reshape the questions after it, drop to one at a time, each with a recommended answer.

Write `spec.md` — short, self-contained, decisions and assumptions numbered (**D1…**, **A1…**) so plan tasks can cite them. An assumption here is a default the user let stand, never a question dodged; in auto mode it's a gap evidence couldn't settle. The bar is checkable: **an implementer could build from it without asking a single question** — a question remaining means the spec isn't done. Then get explicit approval. **The spec is the contract for the review in done**; vagueness here becomes an argument later.

Step 2 — Plan as executable tasks

Explore first (read the relevant code; use Explore sub-agents for unfamiliar areas so the main context stays clean), then write `plan.md`:

  • Each task is **2–5 minutes of work**, names the **exact files** it touches,

cites the spec decision or assumption it implements (`[D2, A1]`) where one applies, and carries its **own verification step** (the command that proves this task done). Small enough that a fresh sub-agent with no context could execute one from its text alone.

  • Order by dependency; put the riskiest/unknown-most task first, not last.
  • End with the spec's end-to-end check as the final task.

**Optional cross-model plan check (standard tier):** before asking for approval, if another model's agent CLI is installed (`command -v codex`, `command -v gemini` — each checked separately, and look in `~/.local/bin` too, which non-login shells drop from PATH), send the plan for **one bounded review** (~5-min timeout, prompt opening with "review only the plan below — don't read other files"): infeasible tasks, hidden dependencies or ordering problems, missing test coverage. Findings must quote the plan line they're about; present them **alongside the plan** as input to the user's approval, never as changes already applied. No CLI → skip silently —

Read more
@duthaho
Ships withskillhub

Give Claude Code a memory and make it cite its sources — skills for research, daily work, and shipping code. They started as prompts I kept retyping, so I wrote each one down once. Keyless: no API keys, no signups.

Stars on GitHub

Momentum

stars in total
9
Star history of duthaho/skillhub on GitHub, a chart by star-history.com

Other skills on skillhub.

archdeck

archdeck

Animated explainer slides for programming videos — turns one technical problem (backend, database, system design, frontend,…

@duthaho@duthahoInstall Skill
autopilot

autopilot

The whole coding loop on one deliberate yes: map, spec, critic-hardened plan, GitHub issues, parallel worktree implementers,…

@duthaho@duthahoInstall Skill
blueprint

blueprint

Human-facing documentation, architecture docs, and mermaid diagrams for a codebase, a module, or a feature — "draw me the…

@duthaho@duthahoInstall Skill
bugfix

bugfix

Lightweight bug-fixing loop — reproduce → root-cause → fix test-first → verify — deliberately separate from the heavyweight…

@duthaho@duthahoInstall Skill
cachewise

cachewise

Prompt-cache economics forensics — why your Claude Code tokens burn so fast, with the numbers to prove it. Parses local ~/.claude…

@duthaho@duthahoInstall Skill
daybrief

daybrief

Morning work briefing — "what does my day look like, in one scan?" Gathers today's calendar and emails needing attention (via…

@duthaho@duthahoInstall Skill

More skills from other plugins.

i-have-adhd

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…

@ayghri@ayghriInstall Skill
ab-test-analysis

ab-test-analysis

Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop…

@phuryn@phurynInstall Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…

Questions about feature.

Which coding agents can use feature?
feature installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.