Suggest Components
arch_suggest_componentsSuggest candidate components to record by ranking uncovered, highly called files using symbol-graph in-degree, so you can identify architectural boundaries during setup or after refactors.
Instructions
Suggest candidate components to record. Reads the symbol-graph in-degree (how often a chunk is called from the rest of the indexed code) and surfaces the most-called files that are not yet covered by an existing component card. Ranked by in-degree.
Use this when initialising the arch layer for a group (instead of guessing where the boundaries are) or after a large refactor to spot newly important modules. The tool only reads — it does not write component cards. Read each suggestion, decide whether it represents a meaningful architectural boundary (some high-degree files are utilities, not components), and call arch_record_component for the ones that do.
Optional project restricts suggestions to one project in the group. Optional limit (default 10, max 50) caps how many uncovered files to return.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Group to analyse. | |
| limit | No | Optional. Max suggestions to return. Default 10. | |
| project | No | Optional. Restrict suggestions to one project in the group. |