| name | gf-detect | |||||||
|---|---|---|---|---|---|---|---|---|
| description | Scan codebase for missing IP blocks, stubs, and CDC issues | |||||||
| argument-hint | [--auto-fill] [--cdc-only] [path] | |||||||
| allowed-tools |
|
Scan your hardware codebase for missing modules, IP opportunities, and CDC violations.
/gf-detect # Full scan of rtl/ directory
/gf-detect --auto-fill # Scan and auto-fill with user approval
/gf-detect --cdc-only # Only check for CDC violations
/gf-detect src/ # Scan specific directory
- Missing modules — Instantiated but never defined
- Stub modules — Defined but empty (TODO/FIXME markers)
- IP opportunities — Ad-hoc code that could use verified IP blocks
- CDC violations — Clock domain crossings without synchronizers
- Vendor IP — Vendor primitives that have open-source alternatives
Shows a report with:
- Module dependency graph
- Missing implementations with suggested IP blocks
- CDC issues ranked by severity
- Auto-fill options (if --auto-fill flag)
With --auto-fill, after showing the report:
- Presents each gap with a suggested action
- Asks user to approve/skip each one
- Dispatches agents to implement approved actions
- Runs lint on all new code
- Reports final status