featurelisted
Install: claude install-skill markbaindesign/bain-studio
# /feature — Feature Capture
Captures a feature request for the current project. Small features become tasks; larger ones get a spec file first.
## Usage
```
/feature — prompted capture
/feature add dark mode toggle — inline capture
/feature --from-backlog BSTD — review collector-harvested backlog
```
---
## Step 1 — Identify the project
Read `CLAUDE.md` in the current working directory. Extract:
- `ASANA_TASK_PREFIX` (e.g. `BSTD`, `KF-WEB`)
- `ASANA_PROJECT_GID`
If no CLAUDE.md or prefix found, abort: "Run /feature from a project directory."
---
## Step 2 — Capture the feature
**If args were provided inline** (e.g. `/feature add dark mode toggle`): use the args as the feature name/description. Skip the prompt.
**If `--from-backlog {PREFIX}` was given**: read `$STUDIO_CONTENT_DIR/pipeline/feature-backlog/{PREFIX}.md`. List each item and ask Mark to select one to promote, or type a new one. Once selected, remove the item from the backlog file.
**If no args**: ask:
> "What's the feature? One line — name or description."
---
## Step 3 — Scope check
Ask:
> "Rough size — is this under 4 hours or more?"
> Options: **Task** (under 4h, no spec needed) / **Feature** (4h+, write a spec)
If Mark already gave enough context to judge, skip the question and decide yourself.
---
## Step 4 — Mint a feature ref
Read `.claude/feature-counter.json` in the project root. If it doesn't exist, create it:
```json
{"last": 0}
```
Increment `last`