Skip to content
Development
Skill

/sync-check

Walks the documentation dependency web after a CLI code change and reports which downstream files (skills, SOPs, READMEs, plugin references) are out of sync. Use after fixing a bug, adding a command, changing auth behavior, refactoring, or before committing — and when the user

From plugin
cli-anything-web
23927 skills4 agents6 commands1 MCP

Claude Code

$ npx -y skills add ItamarZand88/CLI-Anything-WEB --skill sync-check --agent claude-code

SKILL.md

sync-check.SKILL.md
name: sync-check
description: Walks the documentation dependency web after a CLI code change and reports which downstream files (skills, SOPs, READMEs, plugin references) are out of sync. Use after fixing a bug, adding a command, changing auth behavior, refactoring, or before committing — and when the user says "sync check", "update docs", "propagate changes", "did I forget to update", "what else needs updating", or "before I commit".

Sync Check

After any code change, verify all related files are synchronized. This catches the "fixed the bug but forgot to update the skill/SOP/plugin docs" problem.

How to Use

Run `/sync-check` after making changes. It will: 1. Detect what changed (from git diff or conversation context) 2. Check all downstream files that depend on the change 3. Report what's out of sync 4. Offer to fix each one

The Dependency Web

Every change touches multiple files. Here's the full map:

Code Change → Documentation Updates

CLI code changed (client.py, commands/*.py, auth.py)
  ├── .claude/skills/<app>-cli/SKILL.md     (commands, output fields, examples)
  ├── <app>/agent-harness/<APP>.md           (SOP: rpcid table, data models)
  ├── <app>/agent-harness/cli_web/<app>/README.md  (usage examples, deps)
  ├── <app>/agent-harness/setup.py           (dependencies)
  └── <app>_cli.py _print_repl_help()        (REPL help must list all commands)

Bug Fix → Plugin Lesson Updates

Bug found and fixed in any CLI
  ├── Was it a pattern that could repeat in future CLIs?
  │   YES → Add to the relevant plugin reference file:
  │   ├── auth-strategies.md "Known Pitfalls" table    (auth bugs)
  │   ├── google-batchexecute.md                       (RPC/batchexecute bugs)
  │   ├── ssr-patterns.md "HTML Scraping Pitfalls"     (scraping bugs)
  │   ├── protection-detection.md                      (anti-bot/WAF bugs)
  │   └── traffic-patterns.md                          (protocol detection bugs)
  │
  ├── Is it a universal lesson (applies to ALL CLIs)?
  │   YES → Add to HARNESS.md "Lessons Learned" cross-reference table
  │
  └── Does it change a critical convention?
      YES → Update CLAUDE.md "Critical Conventions" section

New Command Added → Full Update Chain

New command added to a CLI
  ├── .claude/skills/<app>-cli/SKILL.md     (add command + options + output fields)
  ├── <app>_cli.py _print_repl_help()        (add to REPL help)
  ├── <app>/agent-harness/<APP>.md           (add endpoint to API map)
  ├── README.md (repo root)                  (if it changes the CLI's capabilities)
  └── Run: cli-web-<app> <new-cmd> --json    (verify output matches skill docs)

Auth/Protection Change → Cross-Cutting Updates

Auth behavior changed
  ├── auth-strategies.md                     (patterns, pitfalls, code examples)
  ├── HARNESS.md lessons table               (cross-reference)
  ├── testing/SKILL.md                       (auth prereqs)
  ├── standards/SKILL.md                     (smoke test steps)
  └── CLAUDE.md                              (critical conventions)

Anti-bot/protection change (e.g., httpx → curl_cffi)
  ├── protection-detection.md                (strategy, detection)
  ├── <app>/agent-harness/<APP>.md           (site profile, HTTP client)
  ├── <app>/agent-harness/setup.py           (dependencies)
  ├── <app>/agent-harness/cli_web/<app>/README.md  (deps section)
  ├── CLAUDE.md generated CLIs table         (protocol column)
  └── README.md (repo root)                  (protocol column)

Sync Check Procedure

Step 1: Identify What Changed

# Check git diff for changed files
git diff --name-only HEAD
# Or if already committed:
git diff --name-only HEAD~1

Step 2: Classify the Change

Ask yourself:

  • **Which CLI?** Extract from file path (booking, futbin, notebooklm, etc.)
  • **What type of change?**
  • Bug fix → needs lesson propagation?
  • New command → needs skill + REPL + SOP update?
  • Auth change → cross-cutting update?
  • Dependency change → setup.py + README?
  • RPC/protocol change → SOP + batchexecute ref?

Step 3: Run Verification Commands

For the affected CLI:

# Verify commands match skill docs
cli-web-<app> --help
cli-web-<app> <subgroup> --help

# Verify output fields match skill docs
cli-web-<app> <primary-command> --json | head -20

# Verify auth works (if auth CLI)
cli-web-<app> auth status --json

Step 4: Check Each Downstream File

For each file in the dependency chain above: 1. Read the file 2. Find the section that relates to your change 3. Verify it matches the current code behavior 4. Update if stale

Step 5: Plugin Lesson Check (Bug Fixes Only)

If you fixed a bug, ask:

> "Would this bug happen again if someone generated a new CLI tomorrow?"

If YES, add it to the appropriate plugin reference file:

| Bug Category | Add To | |-------------|--------| | Auth (cookies, login, tokens, refresh) | `auth-strategies.md` Known Pitfalls | | RPC (wrong IDs, wrong params, parsing) | `google-batchexecute.md` | | HTML scraping (selectors, noise, slugs) | `ssr-patterns.md` HTML Scraping Pitfalls | | Anti-bot (blocked, 401, 403, challenges) | `protection-detection.md` | | Output (raw data leak, wrong fields) | `testing/SKILL.md` CLI Output Sanity Checks | | Downloads (URLs, cookies, formats) | `auth-strategies.md` Known Pitfalls | | General (UTF-8, Windows, rate limits) | HARNESS.md Lessons table + relevant ref |

Format for Known Pitfalls: `| Symptom | Cause | Fix |`

Step 6: Verify with --json

After all updates, run one command per affected CLI with `--json` to confirm the output still matches what the skill documents.

Quick Reference: File Locations

| What | Where | |------|-------| | CLI skills | `.claude/skills/<app>-cli/SKILL.md` | | CLI SOPs | `<app>/agent-harness/<APP>.md` | | CLI READMEs | `<app>/agent-harness/cli_web/<app>/README.md` | | Plugin capture skill | `cli-anything-web-plugin/skills/capture/SKILL.md` | | Plugin metho

Read more
@itamarzand88
Ships withcli-anything-web

Claude Code plugin that generates production-grade Python CLIs for any web app. 20 CLIs and counting.

23927 skills4 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
239
Star history of ItamarZand88/CLI-Anything-WEB on GitHub, a chart by star-history.com

Other skills on cli-anything-web.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about sync-check.

Which coding agents can use sync-check?
sync-check installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.