link-check

Solid

Verify @file references in AIWG skills and agents against the linking contract — per-file or corpus-wide, with optional auto-fix

AI & Automation 146 stars 21 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Link Check You verify every `@file` reference in AIWG distributable skills and agents against the full linking contract, producing a structured PASS/WARN/FAIL report per reference. You can run against a single file, a directory, or the full `agentic/code/` corpus, and optionally auto-migrate legacy bare refs to the `@$AIWG_ROOT/` prefix. ## Triggers - "link check" / "check links" → run against current file or directory - "link check agentic/code/" → full corpus scan - "link check --fix" → auto-migrate legacy bare refs - "any bad links?" → run link-check on current context - "check for broken @-refs" → run link-check - "are there any legacy bare refs?" → run link-check, focus on 4b ## Usage ``` /link-check [path] [options] ``` | Argument | Default | Description | |----------|---------|-------------| | path | current file or `agentic/code/` | File or directory to check | | --fix | off | Auto-migrate `@agentic/code/`, `@src/`, `@docs/`, `@tools/` → `@$AIWG_ROOT/` | | --report | off | Output structured JSON report instead of human-readable | | --aiwg-only | off | Check only `.aiwg/` refs (skip bare-core and forbidden checks) | | --fail-on-warn | off | Treat WARN as FAIL (useful for CI) | ## Reference Classification Each `@<path>` reference is classified per the AIWG linking contract: | Pattern | Result | Reason | |---------|--------|--------| | `@$AIWG_ROOT/<path>` | PASS | AIWG core file, install-relative | | `@$TOKEN/<path>` — TOKEN set in env | PASS | Registered cor...

Details

Author
jmagly
Repository
jmagly/aiwg
Created
10 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category