plan-feature
/plan-feature
Use when asked to start a new feature, run Phase 1 (Plan) of the automation workflow, or turn a rough idea into an approved intent and a tracking GitHub Issue.
- Author
- trihuynh-agilityio ↗
- Repository
- workez ↗
- Licence
- MIT
- Last repository change
- 11.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when asked to start a new feature, run Phase 1 (Plan) of the automation workflow, or turn a rough idea into an approved intent and a tracking GitHub Issue.
Original author description
Use when asked to start a new feature, run Phase 1 (Plan) of the automation workflow, or turn a rough idea into an approved intent and a tracking GitHub Issue.
How it works
- Local tracker
- 1. Grill the idea
- 2. Write the intent
- 3. Get approval
- 4. Create the tracking issue
- 5. Commit the intent to the feature branch
- 6. Finish
SKILL.md preview
---
name: plan-feature
description: Use when asked to start a new feature, run Phase 1 (Plan) of the automation workflow, or turn a rough idea into an approved intent and a tracking GitHub Issue.
allowed-tools: Skill Read Glob Bash(git config *) Bash(date *) Bash(ls *) Bash(mkdir *) Write AskUserQuestion Agent
---
# Plan a feature (Phase 1)
Phase 1 of the feature workflow: idea, then intent, then a tracked issue. It chains existing skills and adds no design, spec, plan or code. Stop after the issue.
## Local tracker
With `"tracker": "local"` in `.claude/workflow.json`, follow "Local tracker" in `${CLAUDE_PLUGIN_ROOT}/WORKFLOW.md`; it wins over the GitHub wording below. The feature issue number that `create-issue` returns is the feature folder name; pass it as the issue number to `commit-feature-doc.sh`. Its URL is `-`.
## 1. Grill the idea
Invoke the `grill-me` skill (the `grilling` skill of the `mattpocock-skills` plugin) on the user's idea. Ask the questions as `AskUserQuestion` pickers, one round at a time, with your recommended answer first. Read `README.md` and `CLAUDE.md` first so no question asks what the repo already answers. Stop when the user confirms a shared understanding.
## 2. Write the intent
Invoke `workez:write-intent` with this override: write to `<docs_dir>/<feature-name>/intent.md` (kebab-case name, 2–5 words, no date prefix), not to `intent/`. Everything else in that skill applies. Team and author follow its rules.
Before writing, check `.claude/workflow/<feature-name>/state.json`. If it exists, that feature is already in the workflow: show its phase and status and ask with `AskUserQuestion` whether to start it over (the state is replaced) or stop. Other features' states are never touched; several features can be planned while another one is in review.
## 3. Get approval
Show the user the path and the open questions. Ask with `AskUserQuestion`: approve, or change something. On changes, edit the intent and ask again. Do not continue without a clear approval, and set `Status: approved.` on line 2 of the intent once it is given.
## 4. Create the tracking issue
The issue tracks the feature as a TODO. `intent.md` is the source of truth, so the issue only points to it.
Hand this step to the `workez:github-ops` agent, which owns the repo, title, body and label. Do not rebuild them here.
- The approval in step 3 covers this step: create the issue without asking again.
- Call the Agent tool with `subagent_type: "github-ops"` and the prompt `create-issue <docs_dir>/<feature-name>/intent.md`.
- The issue leaves Phase 1 labeled `feature` and `phase:plan-done`; Phase 2 starts from that label.
- Take the issue URL from its report. If it reports the intent is not approved or the create failed, tell the user and stop.
## 5. Commit the intent to the feature branch
The approved intent lands on the feature's integration branch (`naming.integration_branch` in `.claude/workflow.json`), the same branch `workez:write-plan` names as every task's `PR target:`. Run `${CLAUDE_PLUGIN_ROOT}/scripts/commit-feature-doc.sh <feature-name> <issue-number> intent.md`. It creates the branch from the freshly fetched base branch (`branches.base`) if missing and commits through a temporary worktree, so the current checkout and its branch stay untouched. Keep its `BRANCH=` and `COMMIT=` lines for the report.
It never pushes: `workez:build-feature` pushes the integration branch once, before the first task PR. If it fails, tell the user and continue to step 6.
## 6. Finish
Write `.claude/workflow/<feature-name>/state.json` (create the folder with `mkdir -p` if needed) with exactly this content, so the `Stop` hook starts Phase 2:
```json
{"feature": "<feature-name>", "phase": "plan", "status": "done", "handed_off": false}
```
Then report the intent path, the issue URL and the commit on the feature branch. Do not push. Phase 2 is started by the `Stop` hook (`next-phase.sh` of the workez plugin), not here.
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · trihuynh-agilityio/workez | 100 | MIT |
| arozumenko/sdlc-skills | 100 | MIT |
| arozumenko/sdlc-skills | 100 | MIT |
| mo-cmyk/mazarbul | 100 | Apache-2.0 |
| smartwhale8/claude-playbook | 100 | MIT |
| arozumenko/wikis | 100 | MIT |
| Shoebtamboli/rails_claude_skills | 100 | MIT |
| mnzralee/claude-multi-agent-architecture | 90 | MIT |
| matthewalton/speccle | 90 | MIT |
Database snapshot: 13.11.2026 · package version d122695fc38f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90plan
Step 1 of the SDLC. Turn a GitHub "Idea" issue into an intent file (intent/<issue#>-<slug>.md) via a PR, or sync an existing intent file when its issue has changed. Use when given an issue number to plan, or asked to check whether an issue and its intent file have drifted. - 95file-issue
Turn a request or a discovered bug into a GitHub issue in this repo's format - interview the person until the intent is well defined, check for duplicates, then file. Use when asked to file, open, create or write up an issue, when someone describes a feature they want, or when… - 100create-github-issue
Create GitHub issues using the gh CLI. Use when the user wants to create a new issue, report a bug, request a feature, or create a task in GitHub. Trigger keywords - create issue, new issue, file bug, report bug, feature request, github issue. - 90intent-discovery
Turning a new feature or product idea into a decided direction before any plan or code. Use when the user wants to build, add or launch something new and non-trivial (a feature, system, dashboard) and the why or the shape is open, in any language. - 100gh-issue-drafter
Turn a rough, hand-written intent into a well-scoped GitHub Issue before planning starts. Takes a loose 'what I want' from the user, proposes the missing structure (Done definition, Out of scope, Design constraints), gets the user's approval, and creates the Issue via the gh CLI… - 90factory-plan
Plan phase. Turn a bug, idea or request into an intent — the problem in the originator's words, brainstormed until concrete — proposed to the repo as intent/<id>-<slug>.md in a pull request, whose merge is the user's go, and tracked by an issue in any tracker (GitHub, Linear,…