End-to-end feature delivery workflow that orchestrates issue creation, branch setup, strict TDD implementation, PR opening, review-feedback handling, and session archival. Use when the user wants to ship a feature from start to finish with one command — e.g. "/feature 42", "/feature add RSS feed", "build this end-to-end", "deliver issue 17", "take this from issue to merged PR". Bundles the plan → TDD → PR → review-fix → archive arc that would otherwise require invoking 5+ separate skills.
Ships in 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.
None: SKILL.md is the whole skill.
Orchestrate a full feature lifecycle: issue → branch → design → red-green-refactor → PR → review-fix → archive. This skill is a conductor — it delegates each phase to a specialist skill rather than reimplementing the work. Pause at two checkpoints (after design, before merge) so the user stays in control of scope and timing.
The user invokes /feature <arg>. Inspect <arg>:
42, #42, full URL ending in /issues/42) → existing issue path. Set ISSUE_NUMBER and skip Step 1.add RSS feed, support locale auto-detection) → new issue path. Pass the text to Step 1.Invoke the gh-issue skill to file a structured ticket from the user's description. After it completes and the issue is created, record the new number as ISSUE_NUMBER.
If the user is on the existing-issue path, skip to Step 2.
Invoke the gh-dev skill with ISSUE_NUMBER. It will:
dev / develop / default)gh issue develop to create issues/<N> linked to the issueDo not begin implementation yet — gh-dev's commit loop is bypassed for this orchestration.
Read the issue body and any linked context. Explore the relevant parts of the codebase to ground the design. Then write a short design proposal covering:
Present the proposal and stop. Wait for the user to approve, request changes, or skip.
Optional HTML decision page (for comparison-heavy designs only). A design proposal is usually fine as text in chat. But when the decision genuinely hinges on comparing two or more viable approaches — different architectures, libraries, or data models with real trade-offs — plain prose forces the user to reconstruct the comparison in their head, and that reconstruction is the review cost. In that case, offer to render a single self-contained .html file (no build, no framework, inline CSS) that puts the approaches side by side: one column per approach, each with its summary, the files it would touch, its trade-offs, and its risks; highlight the row where they differ most. Write it to docs/superpowers/decisions/<date>-<feature>.html (or the repo's docs dir) and open it with open (macOS) / xdg-open. The user scans it, then tells you their pick in chat. This is a review interface, not a deliverable — keep it to one static file, and skip it entirely for single-approach designs (decision-ladder: don't build an interface the decision doesn't need).
Bypass: if the user says "skip checkpoints", "auto", "go ahead", or similar at the start of the session, note the bypass and proceed without pausing — but still write the proposal so it lands in conversation history.
Invoke the superpowers:test-driven-development skill and follow it verbatim. Red-Green-Refactor discipline is non-negotiable in this skill:
commit-msg skill for messagesCommit signature rule: strip the Co-Authored-By: trailer from every commit made under this skill (initial implementation, fix-loop commits, everything). If commit-msg produces messages with a trailer, remove it before committing. Commits should look human-authored.
If the user asked for "skip checkpoints", you may batch commits. Otherwise commit per coherent unit of work.
Before declaring the implementation done and moving to Step 5, do not let the implementing context self-certify "done" — an agent easily mistakes effort for completion. Gate the handoff on independent, verifiable evidence:
npm test exits 0, tsc --noEmit clean, git status clean, the new behavior demonstrably runs. A criterion is met only when that evidence is in front of you, never because the work "looks complete."This is the same separation Claude Code's /goal enforces (an independent model judges completion); here it gates implementation → PR.
Understanding record — make the proof travel with the work. When AI does the implementing, the scarce thing is no longer the output but evidence that someone understands it. Before the handoff, write a tight four-answer record and carry it into the PR description (a ## Understanding section), not just the chat:
Keep it terse and concrete — a reviewer should be able to interrogate the change from these four answers alone. If you can't answer #2 or #3 without hand-waving, that is a signal the work isn't actually understood yet: stop and close the gap before opening the PR.
When implementation is complete and the suite is green:
package.json scripts, Makefile, pyproject.toml, Cargo.toml, etc. to pick the right ones. Do not assume npm run build. If any fail, return to Step 4 to fix before pushing. Tell gh-pr you have already done the pre-flight so it does not duplicate the work (pass that context when invoking it).gh-pr skill, which will push the branch and open a PR using the appropriate template. Pass it the Understanding record from the completion gate so it appends a ## Understanding section to the PR body (the same way you tell it the pre-flight is already done) — its base template has no such slot, and the four answers can also feed the template's Motivation / Implementation / Test Plan sections rather than being duplicated.Capture the PR number as PR_NUMBER.
After the PR is open, check CI before waiting on humans:
gh pr checks <PR_NUMBER> --watch
gh pr checks. Loop until green.Run an automated review-and-fix cycle. The orchestrator (this skill) drives the loop; a fresh subagent does each review.
For each round (ROUND from 1 to 3):
6a. Dispatch review subagent. Use the Agent tool with subagent_type: "general-purpose". The subagent's job is one round of review only — it returns a verdict and exits.
Subagent prompt template:
You are reviewing PR #
<PR_NUMBER>in this repo. Use thereviewskill to perform the review against the linked issue (#<ISSUE_NUMBER>) and the project's CLAUDE.md conventions.When done, post your findings as a single PR comment using the
gh-commentskill (feedback template). Do not include any Claude attribution, "🤖 Generated with Claude Code" footer, orCo-Authored-By:trailer in the comment body. The comment must read as a plain human review.Return a structured verdict to me as your final message:
VERDICT: approve— no blocking issues, only nits or noneVERDICT: request-changes— list each blocking item as a one-line bulletDo not edit code. Do not merge. Review and comment only.
6b. Parse verdict. From the subagent's return message:
VERDICT: approve → break the loop, proceed to Step 7VERDICT: request-changes → continue to 6crequest-changes and continue6c. Apply fixes. Invoke the gh-fix skill on PR_NUMBER. It triages each review comment (Apply / Disagree / Defer), commits fixes (no Co-Authored-By trailer — see Step 4 rule), pushes, and posts a summary reply via gh-comment (also signature-free — strip any Claude attribution before posting).
6d. Increment ROUND. Loop back to 6a unless ROUND > 3.
If the loop exits because ROUND > 3 without an approve verdict:
request-changes listgh-issue skill to open a follow-up issue titled Follow-up: unresolved review items from PR #<PR_NUMBER>, body listing the blockers and a link back to the PRBefore merging:
gh pr checks <PR_NUMBER>Bypass: same rule as Checkpoint 1 — if the user pre-authorized auto mode, proceed.
Once approved, rebase-merge:
gh pr merge <PR_NUMBER> --rebase --delete-branch
If gh pr merge reports conflicts (server-side rebase failed):
--squash or --merge as a workaround unless the user requests it.git fetch origin
git checkout issues/<N>
git rebase origin/<BASE_BRANCH>
# resolve conflicts, run tests, then:
git push --force-with-lease
Use --force-with-lease, never --force. Do not force-push if anyone else may have based work on this branch — ask first.gh pr merge --rebase --delete-branch.Never git reset --hard, delete the branch, or abandon work as a "fix" for merge conflicts.
After successful merge:
DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')
git checkout "$DEFAULT_BRANCH"
git pull --ff-only
Always switch to the repo's default branch (not dev / develop), regardless of what BASE_BRANCH was during development.
Invoke the gh-archive skill to refresh README/docs and snapshot project state. This is the explicit end of the workflow.
dev, main, or any base branch directly without going through a PRissues/<N> convention from gh-devgh pr checks firstCo-Authored-By: trailers in commits, PR comments, review comments, or follow-up issues created under this skillIf any delegated skill fails or produces an unexpected state:
This skill values visibility over throughput. The user has explicitly chosen to bundle these phases; surprises mid-flight are worse than pauses.
What SKILL.md sets; muted values are Claude Code's defaults
/dev:featurefrom dev
npx claudepluginhub chienchuanw/chuan-skills --plugin dev7 skills in this plugin
/apply-coding-rulesStamp a managed coding-discipline rules block into a project's CLAUDE.md (or AGENTS.md / GEMINI.md) — the four rules: think before coding, simplicity first, surgical changes, goal-driven execution, plus a guard on irreversible/git-history actions. This skill is the single source of truth for those rules; running it writes or updates the rules between managed markers, idempotently, leaving the rest of the file untouched. Use when the user wants to add, update, sync, or propagate the shared coding rules / coding standards into a repository — "apply the coding rules", "add the four rules to this project's CLAUDE.md", "sync our coding standards here", "stamp the coding discipline block" — even if they don't name the skill./auto-integrateUse when you want an agent to autonomously take a finished feature branch through review, self-fix, and merge into an integration branch (`dev`) without a human reading the PR — the agent runs an objective code review, fixes or refactors what it can, gates on a hard green light (tests pass AND no blocking findings), then does a clean rebase-merge and logs a one-line revert entry. Fires on "auto-integrate this branch", "review-fix-and-merge to dev", "run the autonomous merge loop", "自主整合這個分支", "跑自動 merge 迴圈". Manual-only (`disable-model-invocation`) because it merges code. It NEVER touches `main`/production (release stays manual). Not a PR-review reporter (that is `/code-review`) and not the full issue→PR delivery flow (that is `feature`).