Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

skill-sync

БесплатноЗапускает вложенные скриптыНе проверен

Syncs skill metadata to AGENTS.md Auto-invoke sections. Trigger: When updating skill metadata (metadata.scope/metadata.auto_invoke), regenerating Auto-invoke…

prowler-cloudот prowler-cloud★ 15 363 звезды на GitHub17 установок в других каталогах

Об этом скилле

Purpose

Keeps the Auto-invoke tables of the AGENTS.md files in sync with skill metadata. Run the sync script after creating a skill or changing its metadata.scope / metadata.auto_invoke.

Required Skill Metadata

auto_invoke can be a single string or a list of actions:

metadata:
  author: prowler-cloud
  version: "1.0"
  scope: [root, ui]                              # Which AGENTS.md files

  # Option A: single action
  auto_invoke: "Creating/modifying components"

  # Option B: multiple actions
  # auto_invoke:
  #   - "Creating/modifying components"
  #   - "Refactoring component folder placement"

Scope Values (only these are valid)

Scope Updates
root AGENTS.md (repo root)
ui ui/AGENTS.md
api api/AGENTS.md
sdk prowler/AGENTS.md
mcp_server mcp_server/AGENTS.md
  • Use sdk, NOT prowler, for prowler/AGENTS.md. Any other value is skipped with Warning: No AGENTS.md found for scope '<value>'.
  • docs/AGENTS.md has no scope: it is the docs style guide, not a skills index.
  • Most skills list root too, so the root table is the full index of actions.

What the Script Does

  1. Reads every skills/*/SKILL.md (sorted)
  2. Extracts name, metadata.scope and metadata.auto_invoke
  3. Builds one table per scope, rows sorted by action then skill (LC_ALL=C)
  4. Replaces the existing ## Auto-invoke Skills (component files) or ### Auto-invoke Skills (root) section, keeping its heading level, up to the next --- line or H2 heading
  5. If a file has no such section, inserts it after the Skills Reference blockquote (the > block that links SKILL.md files)
  6. Lists skills missing scope or auto_invoke

The generated table is compact (| Action | Skill |). ui/AGENTS.md is re-aligned by the UI Prettier hook on commit, so a formatting-only diff there is expected.

It does NOT update the "Available Skills" description tables in AGENTS.md or skills/README.md: edit those by hand.


Commands

# Preview (writes nothing; prints each generated table)
./skills/skill-sync/assets/sync.sh --dry-run

# Sync all AGENTS.md files
./skills/skill-sync/assets/sync.sh

# Sync one scope only
./skills/skill-sync/assets/sync.sh --scope ui

# Run the script's unit tests (temp dirs only)
bash ./skills/skill-sync/assets/sync_test.sh

# Review the result
git diff -- '*AGENTS.md'

Checklist After Modifying Skills

  • metadata.scope uses only root, ui, api, sdk, mcp_server
  • metadata.auto_invoke describes the user action ("Creating new checks"), not the skill
  • Ran ./skills/skill-sync/assets/sync.sh --dry-run with no Warning: lines, then without --dry-run
  • Reviewed git diff -- '*AGENTS.md' (one Auto-invoke section per file, no unrelated changes)
  • Added or updated the skill row in the root AGENTS.md and skills/README.md tables
Полный SKILL.md на GitHub

Установить skill-sync в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Edit
Write
Glob
Grep
Bash

Вложенные файлы

assets/sync.shassets/sync_test.sh

FAQ

Что делает скилл skill-sync?

Syncs skill metadata to AGENTS.md Auto-invoke sections. Trigger: When updating skill metadata (metadata.scope/metadata.auto_invoke), regenerating Auto-invoke tables, or running ./skills/skill-sync/assets/sync.sh (including --dry-run/--scope).

Как установить скилл skill-sync?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл skill-sync запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить skill-sync с