一键导入
skills-index-snippets
// Create and maintain AGENTS.md / CLAUDE.md snippet indexes that route tasks to the correct ai-skills skills (including compressed Vercel-style indexes).
// Create and maintain AGENTS.md / CLAUDE.md snippet indexes that route tasks to the correct ai-skills skills (including compressed Vercel-style indexes).
| name | skills-index-snippets |
| description | Create and maintain AGENTS.md / CLAUDE.md snippet indexes that route tasks to the correct ai-skills skills (including compressed Vercel-style indexes). |
| invocable | false |
Use this skill when:
.claude-plugin/plugin.jsonMake skills easy for coding assistants to use by removing the decision point.
Instead of hoping an assistant will "remember" to invoke a skill, provide a small router snippet inside AGENTS.md / CLAUDE.md that:
.claude-plugin/plugin.json
SKILL.md)name: field in each SKILL.md frontmatterWhen writing snippets for downstream repos, always reference skills by their IDs (frontmatter name), not by local filesystem paths.
Use this in target repos to route common tasks:
# Agent Guidance: ai-skills
Workflow: skim repo patterns -> use spfx-best-practices by name -> implement smallest-change -> note conflicts.
Routing (invoke by name)
- SPFx: spfx-best-practices
Use this when you want maximum density (small context footprint):
[ai-skills]|flow:{skim repo patterns -> use spfx-best-practices by name -> implement smallest-change -> note conflicts}
|route:
|spfx:{spfx-best-practices}
If the README contains the markers below, the generator can update it automatically:
<!-- BEGIN AI-SKILLS COMPRESSED INDEX -->
...compressed snippet...
<!-- END AI-SKILLS COMPRESSED INDEX -->
Run:
./scripts/generate-skill-index-snippets.sh --update-readme
.claude-plugin/plugin.json to include/remove skills.name: (used by OpenCode and others)../scripts/validate-marketplace.sh.AGENTS.md/CLAUDE.md snippet, regenerate it and re-copy into dependent repos.These are snippet categories (not necessarily repository folder structure):
Keep the snippet small; it should be a router, not documentation.