Build a Feature Map
build-feature-mapDrafts a map of a product's features and flows from its repository file list and returns it as JSON for .better-design/feature-map.json. Routes become screens, nested routes become flows, and components, API routes and hooks join the step they share a name with. Pass every path from git ls-files as files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Every file path in the repository, relative to its root, as printed by `git ls-files`. | |
| product | No | The product's name, stored at the top of the map. |