/structured-autonomy:structured-autonomy-planfrom structured-autonomy
Researches a feature request and produces a structured plan at plans/{feature-name}/plan.md with commit-sized implementation steps, affected files, branch name, tests, and clarification markers. Use when asked to plan a feature or create a PR-sized development plan without writing code.
Ships in structured-autonomy. 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.
Research the requested feature, gather enough code and documentation context to plan safely, and write a commit-sized implementation plan without editing production code.
plans/{feature-name}/plan.md."This skill produces a plan only. Assume implementation will happen in a single pull request on a dedicated branch. Do not write feature code while planning. If an autonomous research subagent is available, the legacy workflow called it with #tool:runSubagent; otherwise execute the research_guide directly with available read, search, documentation, and web tools before filling the output_template.
[NEEDS CLARIFICATION].plans/{feature-name}/plan.md.[NEEDS CLARIFICATION] sections and pause for feedback.Stop research at about 80% confidence that you can break the feature into testable phases.
Dependency research is MANDATORY for unfamiliar external APIs: ALWAYS READ THE DOCUMENTATION FIRST.
| Area | What to gather |
|---|---|
| Code context | Related features, existing patterns, affected services, models, routes, UI components, commands, and tests. |
| Documentation | Feature docs, architecture decisions, repository instructions, contribution rules, and relevant README sections. |
| Dependencies | External APIs, libraries, platform APIs, or Windows APIs needed for the feature. Use official documentation and reputable sources; if a documentation tool such as #context7 is available, read relevant docs first. |
| Patterns | How similar features are implemented in the repository. The original workflow referenced ResizeMe; in other repositories, replace that with the actual project under analysis. |
| Feature shape | Plan shape | Rule |
|---|---|---|
| Simple | One step | The change can be reviewed, tested, and reverted as a single coherent commit. |
| Complex | Multiple steps | Each step is independently understandable and has its own verification. |
| Risky migration | Multiple steps | Separate preparation, behavior change, tests, cleanup, and docs. |
| Unknowns remain | Draft with markers | Use [NEEDS CLARIFICATION] rather than guessing. |
A step should name affected files, describe what changes, and state how to test that step. Do not create steps that are only "update code" or "run tests" without a concrete artifact.
Write exactly this kind of artifact to plans/{feature-name}/plan.md.
# {Feature Name}
**Branch:** `{kebab-case-branch-name}`
**Description:** {One sentence describing what gets accomplished}
## Goal
{1-2 sentences describing the feature and why it matters}
## Implementation Steps
### Step 1: {Step Name} [SIMPLE features have only this step]
**Files:** {List affected files: Service/HotKeyManager.cs, Models/PresetSize.cs, etc.}
**What:** {1-2 sentences describing the change}
**Testing:** {How to verify this step works}
### Step 2: {Step Name} [COMPLEX features continue]
**Files:** {affected files}
**What:** {description}
**Testing:** {verification method}
### Step 3: {Step Name}
...
[NEEDS CLARIFICATION] for missing product choices, risky APIs, or ambiguous acceptance criteria.Service/HotKeyManager.cs and Models/PresetSize.cs as examples only.## Structured autonomy plan result
**Status:** written | needs clarification | blocked
**Plan file:** `plans/{feature-name}/plan.md`
**Branch:** `<kebab-case-branch-name>`
**Complexity:** simple | complex
### Research summary
- Code context: <patterns and affected files>
- Documentation: <docs read>
- Dependencies: <external APIs/libraries and docs>
### Implementation steps
| Step | Commit-sized change | Files | Testing |
| --- | --- | --- | --- |
| 1 | <name> | <files> | <test> |
### Clarifications
- <question or none>
plans/{feature-name}/plan.md.[NEEDS CLARIFICATION] and surfaced to the user.What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/structured-autonomy-generateGenerate implementation.md from a structured autonomy plan.md, including concrete steps, complete code blocks, file paths, verification checklists, and STOP & COMMIT boundaries. Use this skill when the user has plans/{feature-name}/plan.md and asks to produce implementation documentation for a PR plan./structured-autonomy-implementExecute an existing structured autonomy implementation plan exactly as written, updating checked items and stopping at plan-defined handoff points. Use this skill when the user asks to implement a plans/{feature-name}/implementation.md plan, continue the next unchecked implementation step, or carry out structured autonomy implementation work without scope drift.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin structured-autonomyOther plugins' skills for the same job