← ClaudeAtlas

skill-synclisted

Detect and document CLI changes after a new mmk version. Crawls --help, diffs against SKILL.md files, applies updates, and raises a PR. Triggers on "sync skills", "update skill docs", "new cli version", "skill sync", "cli changes".
magic-meal-kits/mmk-skills · ★ 1 · AI & Automation · score 55
Install: claude install-skill magic-meal-kits/mmk-skills
# Skill Sync — Detect & Apply CLI Changes After a new `mmk` CLI version ships, run this skill to find what changed, update the SKILL.md files, and raise a PR automatically. **Diff-only mode:** If the user says "just show the diff" or "dry run", stop after Phase 4. --- ## Phase 1: Upgrade & Version Check First, upgrade the CLI to the latest version, then confirm the version: ```bash mmk upgrade mmk version -o json ``` Report the upgraded version (old → new) to the user before continuing. If already on the latest version, report the current version and proceed. --- ## Phase 2: Crawl CLI Command Tree Build the full command tree by traversing `--help` at every level. ### Step 2a — Top-level services ```bash mmk --help ``` Parse the output to extract service names (e.g., `notion`, `paymint`, `threads`, `youtube`, `auth`, `config`). Skip `auth`, `config`, `version`, `completion`, `doctor`, `plan`, `status`, `upgrade`, and `help` — they are not documented as skills. ### Step 2b — Sub-commands per service For each service: ```bash mmk {service} --help ``` Extract sub-command names (resource groups like `page`, `workspace`, `team`, etc.). ### Step 2c — Commands per sub-command For each sub-command: ```bash mmk {service} {sub} --help ``` Extract individual commands (e.g., `invite`, `revoke`, `list`). ### Step 2d — Flags per command For each command: ```bash mmk {service} {sub} {command} --help ``` Extract flags, their defaults, and descriptions. Also capture an