# Feature

> The single entry point to build anything. Calibrates the process to the change (trivial, standard or full), then drives it end to end (spec, issue, implementation, gates, PR, CI, review triage). Only merging stays human. Use when the user asks to implement, fix or build something.

- Skill: `sbnet/feature` (Agent Skill)
- Install (CLI): `npx skillmds@latest add sbnet/feature`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sbnet/feature/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: sbnet (https://skillmd.com/u/sbnet)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/sbnet/feature

---


# Skill: feature

## Purpose

One command from idea to a merge-ready PR. The skill calibrates the ceremony
to the size of the change, drives everything autonomously, and surfaces
exactly two human decisions along the way: the interview answers (full path
only) and the review triage.

## Step 1: Calibrate

Pick the lightest path that fits, announce it in one line, and proceed. The
user can override the choice at any time.

- **trivial**: typo, label, config tweak, a one-file fix with no behavior
  risk. No spec, no issue. Branch and fix.
- **standard**: a small, well-described feature or bug with a clear scope.
  No interview. Generate the GitHub issue directly from the user's
  description (gh-issue conventions); the issue is the contract.
- **full**: anything non-trivial or ambiguous. Run the spec-interview
  first; once the spec is validated, create the issue from it
  automatically (gh-issue conventions), without a separate invocation.

## Step 2: Build

1. Branch `feat/<ref>-<slug>` (or `fix/<slug>`) from an up-to-date default
   branch.
2. Implement, tests included. The flux-gate hooks run the gates on edits
   and on push; a red gate is the normal fix loop, never something to
   bypass.
3. Local verification: run the `qa` subagent whenever the change has
   observable user flows. Run the `reviewer` subagent per the risk rule
   (diff spanning many files or layers, schema or data migration,
   sensitive area, spec with many criteria); skip it for small contained
   changes. Rationale: `documentation/walkthrough.md`, part 2 step 5.
4. Conventional commits, `git push -u origin HEAD`.

## Step 3: PR and CI

1. Open the PR (gh-pr conventions: title, body from the real diff,
   `Closes #N` when an issue exists, spec link, test plan).
2. Watch CI and fix failures autonomously, capped at 3 attempts on the
   same error.

## Step 4: Review, on request, then triage

Nothing reviews the PR on its own, and there is no CI job to wait for:
when CI is green, tell the user the PR is ready and that a review is one
command away:

```
/flux:review
```

If the user asks for it now, run the `review` flow (diff the PR via the
`pr-review` subagent, post the findings as PR comments), and immediately
run the gh-address-comments flow: the `comment-triage` subagent assesses
each finding, you ask the user what to address in one question, fix the
retained items, reply on the comments, and bring CI back to green.

The triage is always human, never skipped. If the user does not request a
review in this session, hand over anyway (step 5): nothing is lost,
`/flux:review` then `/flux:gh-address-comments` handle it later.

## Step 5: Hand over

Report the PR URL and CI status, plus the triage outcome if a review
happened in this session. Merging belongs to the user. Post-merge
lifecycle (spec status flip, index update, branch deletion) is automated
by the repository workflows, not by you.

## Never

Merge, approve, bypass a gate, or address review comments without the
triage.

