/features:plan-feature-breakdownfrom features
Analyzes a codebase and proposes a feature-based folder breakdown, writing the plan to a file for user approval. Uses features-cli to scan existing features. Read-only: never moves code.
Ships in features. 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.
Propose a breakdown of the codebase into features, write it to a file and get the user's approval. Do not move or edit source code in this skill.
If features isn't installed, use npx features-cli@latest in place of features below.
features scan PATH --json --skip-changes > "${TMPDIR:-/tmp}/features.json"
PATH is the source root (e.g. ./src). The explore-features skill explains how to read this report without loading it all at once (scripts/feature_map.py prints a compact index). The report is a tree of features, each with name, path, owner, is_owner_inherited, description, nested features, decisions (raw markdown), records (specs and decision records with kind, id, title, status, date, links, tasks), stats (files_count, lines_count, todos_count) and dependencies (imports into other features, typed parent, child or sibling). An empty array means no feature exists yet.
Keep existing features: extend them rather than replacing them, unless the user asks.
Look for the business capabilities, not the technical layers:
OrderForm.tsx, orderService.ts, order.sql → an order feature).git log --name-only --format= -n 300 -- PATH shows which files are usually committed together.CODEOWNERS, package manifests, team names in docs. Note them as owner candidates; never guess an owner.Skip folders that are not source code (node_modules, build output, generated code, vendored code).
Read references/breakdown-rules.md for how to name features, where shared code goes, when to nest features and which layout to pick for frameworks with a fixed folder structure.
The essentials:
checkout, user-profile), not a technical layer (helpers, hooks).features check fails on duplicates.Write the plan with references/breakdown-template.md. Save it where the repository keeps specs or plans (e.g. docs/specs/), or docs/feature-breakdown.md if there is no such place.
Then show the user a short summary: the list of features with their target path and owner, the shared folders, and the open questions. Ask them to approve or adjust it. Update the file with their answers and set status: accepted once they approve. Only then may code move (with the extract-feature skill, or the organize-by-feature workflow).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub interaction-dynamics/features --plugin features7 skills in this plugin
/create-featureCreates a new feature in a codebase organized by feature, following the features-cli conventions - checks that no existing feature already covers it, picks the folder (top-level or sub-feature), writes its README (owner, title, description) and first spec, builds the code inside the folder without reaching into other features, records decisions and validates with features check. Use when the user asks to add, build, start or scaffold a new feature, module or capability ("add a referral program", "create a feature for invoices"). Not for changes inside an existing feature./document-featureWrites or fixes the README.md of a feature folder (frontmatter with owner and other metadata, title, one-line description), its decision records in __docs__/decisions and its specs in __docs__/specs, following the features-cli format, so the feature can be understood on its own. Use when the user asks to document a feature, add an owner or a description, record a design decision (ADR, MADR), write a spec, or after moving code into a feature folder./explore-featuresGenerates the features-cli JSON report of a codebase (features, paths, owners, descriptions, specs and decision records, imports between features) into a file and reads it to understand the project before working on it. Use at the start of a task in an unfamiliar codebase, when looking for where a feature lives or who owns it, before changing a feature (to read its description, specs and decisions), or when the other feature skills need the current feature map./extract-featureMoves the code of one feature into its own feature folder (features/<name>/) in small, safe steps, with git mv, updated imports and passing tests, without changing behavior. Use when the user asks to move, extract or group the code of a feature into a folder, or as the "move" step of the organize-by-feature workflow. Works with any language./organize-by-featureReorganizes an existing codebase into feature folders that features-cli can map, one feature at a time, keeping tests green. Runs the full workflow (map, plan the breakdown, move the code, document each feature, validate) by using the explore-features, plan-feature-breakdown, extract-feature, document-feature and validate-features skills. Use when the user asks to restructure, refactor or migrate a codebase to a feature-based (vertical slice) architecture, or to "make the codebase readable by feature"./validate-featuresValidates the feature folders of a codebase with features-cli (features check, features scan) and a report script that flags features without description or owner, imports between sibling features, oversized features, duplicate names and code left outside any feature. Use after moving or documenting features, before committing a feature refactor, or when the user asks whether the codebase follows the feature-based architecture guidelines.Other plugins' skills for the same job