sync-catalog-docs
Synchronize skill and agent names and counts across catalog docs, README files, and packs registry.
Files1
View on GitHubSKILL.md.agents/skills/sync-catalog-docs/SKILL.md
GitHubSkill: Sync Catalog Docs
Internal repository workflow to keep amiga-ia capability counts and entries synchronized across documentation and the packs registry before commits or releases.
Workflow
- Inventory Source Definitions:
- List all skill directories under
skills/(excluding non-skill entries) and all agent profiles underagents/*.md. - Record exact names and totals (
<skill_count>skills,<agent_count>agents,<total>combined).
- List all skill directories under
- Run Automated Sync Check:
- Execute
npm run check:docs(node scripts/check-catalog-sync.js). - Inspect any missing entries or count mismatches reported across:
docs/catalog.mdanddocs/catalog.es.mdREADME.mdandREADME.es.mdregistry/packs.json
- Execute
- Update Out-of-Sync Files:
- Add missing
ami-*entries to the appropriate category table indocs/catalog.mdanddocs/catalog.es.md. - Add missing
ami-*entries to the corresponding domain pack inregistry/packs.json. - Update exact counts in
README.md,README.es.md,docs/catalog.md, anddocs/catalog.es.md. - Ensure zero country flag emojis are introduced (use semantic text or ISO codes only).
- Add missing
- Verify:
- Re-run
npm run check:docsandnpm testto confirm all checks pass.
- Re-run
Language Rule: Although your code and commits MUST be in English, you MUST communicate and interact in the chat using the same language the user is speaking (e.g., Spanish, French, etc.).