ywai/skills/skill-sync/SKILL.md
name: skill-sync description: > Sync skill metadata with the Auto-invoke sections in AGENTS.md. Trigger: When you change a skill's metadata (metadata.scope/metadata.auto_invoke), regenerate the Auto-invoke tables, or run ./skills/skill-sync/assets/sync.sh. metadata: author: Yoizen version: "1.0" scope: [root] auto_invoke: - "skill operations" - "workflow" - "sdd" author: Yoizen version: "1.0" scope: [root] auto_invoke: - "skill operations" - "workflow"
npx skillsauth add Yoizen/dev-ai-workflow ywai/skills/skill-syncInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
name: skill-sync description: > Sync skill metadata with the Auto-invoke sections in AGENTS.md. Trigger: When you change a skill's metadata (metadata.scope/metadata.auto_invoke), regenerate the Auto-invoke tables, or run ./skills/skill-sync/assets/sync.sh.
skills/.scope or auto_invoke) of an existing skill.AGENTS.md Auto-invoke section.SKILL.md has valid YAML frontmatter before syncing.root scope when the skill must appear in the top-level AGENTS.md.Every skill that should show up in an Auto-invoke section must define these metadata fields.
auto_invoke can be a single string or a list of actions:
metadata:
author: Yoizen
version: "1.0"
scope: [root]
auto_invoke:
- "skill operations"
- "workflow"
- "sdd"
author: Yoizen
version: "1.0"
scope: [root]
auto_invoke:
- "skill operations"
- "workflow"
- "sdd"
author: YourName
version: "1.0"
scope: [root, backend] # AGENTS.md files to update
# Option A: single action
auto_invoke: "Creating/modifying components"
# Option B: multiple actions
# auto_invoke:
# - "Creating/modifying components"
# - "Refactoring business logic"
| Scope | Updated File |
|-------|---------|
| root | AGENTS.md (root of project) |
| copilot | .github/copilot-instructions.md |
| <custom> | Auto-detected AGENTS.md in subdirectories matching scope name |
Examples:
scope: [root] → Updates /AGENTS.mdscope: [root, backend] → Updates /AGENTS.md and /Backend/AGENTS.md (if exists)scope: [api, web] → Updates any subdirectory containing "api" or "web" with AGENTS.mdSkills can define multiple scopes: scope: [root, backend, api]
./skills/skill-sync/assets/sync.sh
skills/*/SKILL.md file.metadata.scope and metadata.auto_invoke.AGENTS.md.### Auto-invoke Skills section in every file.# Sync every AGENTS.md
./skills/skill-sync/assets/sync.sh
# Dry run (preview changes)
./skills/skill-sync/assets/sync.sh --dry-run
# Sync a specific scope
./skills/skill-sync/assets/sync.sh --scope backend
documentation
Yoizen UI design system guidelines and resources. Trigger: When working on Yoizen UI components, styling, colors, typography, or icons.
development
TypeScript strict patterns and best practices. Trigger: When writing TypeScript code - types, interfaces, generics.
development
Tailwind CSS 4 patterns and best practices. Trigger: When styling with Tailwind - cn(), theme variables, no var() in className.
documentation
--- name: skill-creator description: > Creates new AI agent skills following the Agent Skills spec. Trigger: When user asks to create a new skill, add agent instructions, or document patterns for AI. license: Apache-2.0 metadata: author: Yoizen version: "1.0" scope: [root] auto_invoke: - "skill operations" - "workflow" - "sdd" author: Yoizen version: "1.0" scope: [root] auto_invoke: - "skill operations" - "workflow" - "sdd" version: "1.0" allowed-