/ai_dev:update_featuresfrom ai_dev
Creates or refreshes a FEATURES.md behaviour ledger from the codebase, recording what the system does today grouped by capability area with an explicit not-yet-built boundary.
Ships in ai_dev. 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.
Read when SKILL.md points to them; scripts run unread.
<update_features_skill>
Maintain one repository-root `FEATURES.md`: a behaviour-of-record describing what the system does today, grouped by capability area, with an explicit boundary listing what the repository declares but does not yet deliver. Read the code, the tests, and the docs that already describe the system; write the ledger from them. Produce a `FEATURES.md` a reader can trust as a present-tense account of the running system: behaviour-first rather than a module inventory, organized by the capability areas a user meets, and closed by a not-yet-built boundary that names only targets the repository itself declares.<command_intent> build FEATURES.md, refresh the feature ledger, write down what the system currently does, record what is built and what is not yet built </command_intent>
The codebase is the sole source of truth. A claim enters the ledger only when the code, its tests, or a doc the repository ships as current-state description supports it. A feature the repository only declares, plans, or stubs belongs in the boundary section, never in a capability section. Never carry a claim forward from an earlier ledger version without re-checking it against the tree. The skill runs on its own: it reads no task backlog, requires no `tasks/` directory, and its output is a behaviour record rather than a work list. A repository with no task system gets the same ledger a repository with one gets. The reverse holds too — nothing in a task lifecycle requires this file, and `FEATURES.md` absent is a normal state rather than an error. Run `scripts/scan_features_sources.sh` from this skill before reading the code. It writes one structured context file describing where behaviour is declared: project-name candidates, manifests, the top-level layout, executable entry points, declared package entry points, public API surfaces, the docs that already describe the system, the declared-target markers that feed the not-yet-built boundary, and the test layout. Its last stdout line is the context file's absolute path. It is read-only, needs no network or build, and works in a repository with no task system.<consume_scan>
Read the whole scan file first, then read the code it names. The scan is an index, not evidence: a capability earns a ledger entry only after you have read the code that delivers it, so follow each entry point, public surface, and test it points at. When the scan file overflows a single read, continue with offset/limit until every line is covered rather than sampling it.
</consume_scan>
<output_contract>
The file opens with the H1 `# FEATURES — {Project Name}`. Resolve `{Project Name}` from the scan's name candidates, preferring a manifest's declared name over the directory name. One short paragraph under the H1 stating what the file is: a present-tense record of what the system does today, grouped by capability area, with a boundary section listing what the repository declares but does not yet deliver. State that a behaviour absent from the ledger is not part of the system as it stands. One `## ` section per user-observable area, ordered the way a user meets them rather than the way the tree is laid out. Name an area by what it lets a user do, not by the module that implements it. One bullet per observable behaviour, in the present tense: what the system does, the input or trigger that produces it, and the outcome a user sees. State the contract, not the implementation. Keep a bullet short enough to read as one claim; split a bullet that carries two independent behaviours. The file closes with `## Not yet implemented`, holding one bullet per target the repository itself declares and the code does not yet deliver, each naming the evidence that declares it. When the repository declares no such target, the section says so in one line rather than being omitted. Every section names user-observable capability. A file path, module name, class name, or internal helper never stands as a bullet's subject; it may appear only as the evidence behind a behaviour. Keep the ledger free of task IDs, sprint state, and dated status, which belong to the backlog and the changelog. Code first, then the tests that pin its behaviour, then the docs that describe it. A doc that states intention rather than current behaviour is evidence for the boundary, not for a capability section. Describe what a user can do and observe. An internal refactor that changes no observable behaviour changes no ledger entry. The ledger describes current state, so update a section in place as behaviour changes, retire a capability the code no longer delivers, and add a section for a new area. This is the one place the ledger differs from an add-only changelog: a stale claim is corrected rather than kept for history. List only targets the repository itself declares, through a roadmap note, a documented limitation, a stub, or an explicit not-yet-implemented marker. Never invent a target, and never promote a declared target into a capability section on the strength of a plan. When `FEATURES.md` exists, an implementation workflow may refresh it after shipping behaviour, and its absence is never an error and never blocks work. The guardrail hub's `` refresh rule owns that touchpoint; this skill owns only the ledger's content. The `guardrail` hub recognizes `FEATURES.md` as a Tier 2 descriptive-context doc, and its guard value is truthfulness about present-tense description. Write the ledger so a stale passage is obvious to the next reader rather than plausible. Take the project name from the scan's candidates, preferring a manifest's declared name, then a README H1, then the directory name. Run `scripts/scan_features_sources.sh` and read its context file end to end. Walk the scan's entry points, public surfaces, and tests, and group what they deliver into user-observable capability areas. For each area, read the code that implements it before writing a word about it. Collect the declared targets the code does not deliver from the scan's marker section, the docs, and the stubs. Verify each against the code: a target whose code already exists is a capability, not a boundary item. Compose the header, the intro paragraph, the capability sections in user order, and the boundary section, following ``. The file is one artifact at the repository root. On a first run, write it whole. On a refresh, rewrite the affected sections in place and leave an unaffected section byte-identical, so a diff shows only behaviour that actually changed. Report the capability areas written, the entries added, changed, and retired, and the boundary items recorded, naming the evidence for each boundary item. A ledger that lists directories and modules describes the tree, not the system. Lead every section and bullet with what a user can do. Carrying an earlier ledger's claim forward unchecked is the failure this skill exists to prevent. Re-read the code for every claim a refresh keeps. An entry in a roadmap, a TODO, or a design note is a target, not a feature. It belongs in the boundary section until the code delivers it. Reading a backlog to decide what is built couples the ledger to a task system and dates it. Read the code instead, and keep task IDs and status out of the file.<output_report> Close a run with the four parts the repository's documentation workflows share: the file touched by relative path; whether it was created or refreshed and which sections changed; the evidence behind every boundary item; and any judgement call the user should correct, such as an area grouping decision or a target left out because the repository does not declare it. </output_report>
<related_skills>
update_features sits beside the repository-document skills and shares their shape: a root UPPERCASE.md artifact, an on-demand run, and a repo-agnostic source. update_changelog maintains CHANGELOG.md from committed history (add-only, day-grouped), while this skill maintains FEATURES.md from the codebase (present-tense, refreshed in place). The guardrail skill recognizes FEATURES.md as a Tier 2 descriptive-context doc whose guard value is truthfulness, and guardrail_audit audits that doc set read-only.
</related_skills>
</update_features_skill>
What SKILL.md sets; muted values are Claude Code's defaults
27 skills in this plugin
/agent_spinnerRun helper agents from an orchestrating agent under one quality contract, whatever the host offers. Establishes the capability tier, declares a phase plan, picks an orchestration shape and width, contains each helper to one path, checks work refute-by-default, and merges cited findings into one verdict-first report. Use when deciding how to run helper agents, sub-agents, or subagents: sizing a fan-out over files, spawning parallel helpers, splitting a review into lenses, running a judge or verifier pass, cross-checking agents' work, containing concurrent writers, aggregating helper reports, recovering failed helpers, or running a serial implement-then-audit loop until the task is stamped audited, in sub-agents. Use it for a multi-agent run plan. Route a backlog-only request to task_* and a wiki request to wiki_fix unless the user names agent_spinner or asks for helpers; those families keep their own contracts. Per-harness facts stay with harness_portability.
/ai_instruction_formattingOrganize AI-consumed content (prompts, rules, skills, commands, agents, system instructions) into pseudo-XML by wrapping each semantic concern in a dedicated tag for role, policy, inputs, and output contract. Use when structuring or reorganizing the body of a SKILL.md, agent or sub-agent definition, command file, rules document (.mdc), CLAUDE.md, AGENTS.md, or GEMINI.md configuration, prompt template, or system prompt into semantic tags, when choosing tag boundaries, or when checking whether an instruction file follows the pseudo-XML convention. This is the structure-and-tags skill; its sibling ai_instruction_writing governs the wording./ai_instruction_writingWrite AI-consumed content using positive, action-oriented language as the primary carrier of every instruction. Use when creating or editing any artifact an AI reads at inference time. Those artifacts include SKILL.md files, .mdc rule files, CLAUDE.md/AGENTS.md/GEMINI.md configuration, prompt templates, system prompts, commands, agent and sub-agent definitions, instruction sets, and persona definitions./format_markdownApply markdown linting compliance and best practices when creating or editing markdown files (.md, .mdc). Covers blank-line rules around block elements, consistent bullet style, fenced code blocks with language identifiers, table alignment syntax, header level progression, list indentation and spacing, and link/image conventions./format_pythonApply formatting standards, code quality rules, structure conventions, linting prevention, and best practices when generating or editing Python code (.py). Covers indentation, quoting, imports, naming, line length, type hints, error handling, logging, data structures, testing, and security practices aligned with common linters (flake8, ruff, pylint)./format_rustApply clippy-aligned Rust practices when writing or editing Rust code (.rs). Covers procedural flow, clippy-driven clarity improvements, minimal imports, Result/Option idioms, the error-versus-invariant model with panic discipline and clippy unwrap_used enforcement, fallible builders following the error idiom by consumer, string prefix/suffix handling, borrowing clarity, iteration style, string building, and function signature grouping.npx claudepluginhub theafh/ai-modules --plugin ai_devOther plugins' skills for the same job