Validate that all @-mentions in codebase resolve to existing files.
Scan your codebase for @-mentions and verify they point to existing files. Use this to catch broken references before committing changes.
/plugin marketplace add jmagly/ai-writing-guide/plugin install jmagly-utils-plugins-utils@jmagly/ai-writing-guideValidate that all @-mentions in codebase resolve to existing files.
/mention-validate # Validate current directory
/mention-validate --strict # Fail on any broken mention
/mention-validate --output report.md # Write report to file
| Option | Default | Description |
|---|---|---|
| --target | . | Directory to validate |
| --strict | false | Exit with error on broken mentions |
| --output | stdout | Write report to file |
@-Mention Validation Report
===========================
✓ Valid Mentions: 42
✗ Broken Mentions: 3
Broken Mentions:
src/auth/login.ts:5
@.aiwg/requirements/UC-999.md → NOT FOUND
.aiwg/architecture/sad.md:23
@.aiwg/requirements/NFR-PERF-005.md → NOT FOUND
test/integration/api.test.ts:12
@src/services/api-old.ts → NOT FOUND (deleted?)
Summary: 3 broken mentions in 3 files
| Code | Meaning |
|---|---|
| 0 | All mentions valid |
| 1 | Broken mentions found (with --strict) |
aiwg validate-mentions [--target <dir>] [--strict]
/mention-wire - Add @-mentions/mention-lint - Lint @-mention style/mention-report - Generate traceability reportValidate @-mentions for: $ARGUMENTS