> ## Documentation Index
> Fetch the complete documentation index at: https://smithers-feat-claude-workflow-mirror.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# feature-enum

> Generate or refine a code-backed feature inventory.

`feature-enum` scans the repository and produces grouped, SCREAMING\_SNAKE\_CASE feature names. It can also refine an existing inventory using prior feature groups and a previous commit hash.

```bash theme={null}
bunx smithers-orchestrator workflow run feature-enum --input '{"refineIterations":3}'
```

## Inputs

| Input               | Type                               | Default |
| ------------------- | ---------------------------------- | ------- |
| `refineIterations`  | integer                            | `1`     |
| `existingFeatures`  | `Record<string, string[]>` or null | `null`  |
| `lastCommitHash`    | string or null                     | `null`  |
| `additionalContext` | string                             | `""`    |

## Use it when

* You need a feature inventory for audits.
* You want stable feature names for documentation, tests, or release planning.
* You want an agent to compare the current repo against a previous inventory.

Follow with `audit`.

## Use something else when

* You already have a feature map and want to evaluate it: go straight to [`audit`](/workflows/audit).

## Resume & retry

`feature-enum` returns a feature inventory in the run output; nothing is written to disk. Runs are durable and resume with `up --resume`.
