skill-sync

Regenerate AGENTS.md Auto-invoke tables from SKILL.md metadata.

1|2|Updated Oct 1, 2025
One-click install
npx skills add https://github.com/sernafernando/pricing-app --skill skill-sync-sernafernando
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-sync
Source: https://github.com/sernafernando/pricing-app/tree/main/skills/skill-sync
Command: npx skills add https://github.com/sernafernando/pricing-app --skill skill-sync-sernafernando

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Keeps AGENTS.md Auto-invoke sections in sync with skill metadata, preventing drift between skills and governance docs.

Core Features & Use Cases

  • Reads metadata from all skills' SKILL.md files and parses scope and auto_invoke values.
  • Builds and updates Auto-invoke tables for root, frontend/ui, backend/api, and sdk AGENTS.md files.
  • Ensures deterministic ordering to minimize merge conflicts and maintains idempotent updates.

Quick Start

Run the sync script (skills/skill-sync/assets/sync.sh) to regenerate all AGENTS.md Auto-invoke sections based on current skills.

Frequently Asked Questions about skill-sync

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically sync skill metadata to AGENTS.md files?▼

You can sync skill metadata to AGENTS.md by running the sync.sh script, which reads scope and auto_invoke values from SKILL.md files and regenerates the Auto-invoke tables across all repository scopes.

Why does my AGENTS.md auto-invoke table drift from my actual skill metadata?▼

AGENTS.md auto-invoke sections drift when skills are updated manually without regenerating governance docs. Running the sync script rewrites these tables deterministically to align with current SKILL.md metadata.

Can I preview AGENTS.md auto-invoke updates before applying changes?▼

Yes, you can run the sync script with the --dry-run flag to preview changes. This allows you to verify that the regenerated Auto-invoke sections match your current skill metadata before committing.

Does the metadata sync script work across different project scopes like frontend and backend?▼

Yes, the sync script applies to all skill scopes including root, frontend/ui, backend/api, and sdk. It updates each corresponding AGENTS.md file individually based on the parsed scope values.

How do I minimize merge conflicts when updating AGENTS.md auto-invoke sections?▼

The sync script ensures deterministic ordering when rewriting Auto-invoke tables. This idempotent approach minimizes merge conflicts by maintaining consistent table structures across multiple metadata updates.