Skip to content
Skills Library
Programming · Review & audit

sync-check

/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 says "sync check", "update docs", "propagate changes", "did I forget to update", "what else needs updating", or "before I commit".

Licence
MIT
Last repository change
16.08.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 16.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

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".

Triggers from the description

sync checkupdate docspropagate changesdid I forget to updatewhat else needs updatingbefore I commit
Original author 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".

How it works

  1. How to Use
  2. The Dependency Web
  3. Sync Check Procedure
  4. Quick Reference: File Locations
Original SKILL.md headings · 168 lines, 810 words
SKILL.md preview
---
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

```bash
# 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:

```bash
# 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 methodology skill | `cli-anything-web-plugin/skills/methodology/SKILL.md` |
| Plugin testing skill | `cli-anything-web-plugin/skills/testing/SKILL.md` |
| Plugin standards skill | `cli-anything-web-plugin/skills/standards/SKILL.md` |
| Auth strategies ref | `cli-anything-web-plugin/skills/methodology/references/auth-strategies.md` |
| Batchexecute ref | `cli-anything-web-plugin/skills/methodology/references/google-batchexecute.md` |
| SSR patterns ref | `cli-anything-web-plugin/skills/methodology/references/ssr-patterns.md` |
| Protection ref | `cli-anything-web-plugin/skills/capture/references/protection-detection.md` |
| HARNESS.md | `cli-anything-web-plugin/HARNESS.md` |
| CLAUDE.md | `CLAUDE.md` (repo root) |
| README.md | `README.md` (repo root) |

Versions

The database has no other skills named sync-check.

Database snapshot: 13.11.2026 · package version 26dabfccc21e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100documentation-sync
    Use when completing a coding task and deciding whether documentation needs updating. Use when code changes have been made and you need to check if README, changelog, guides, or other docs should reflect those changes. Use when a project has documentation entries — from `tcw work…
  • 100sync-docs
    Propagate Hissab's syntax documentation from its source of truth (lib/documentation/) out to every downstream surface — the five README.md files and the in-app docs under app/src/docs/. Invoke whenever lib/documentation/ changes (a new category, function, operator, unit, or…
  • 100sync-ratio
    Check which project folders changed significantly without a matching README update, and draft the README updates. Use when the user asks to sync, refresh, or check folder READMEs/docs, or after a large change in a project set up with nerv-init.
  • 100flow-next-sync
    Manually trigger plan-sync to update downstream task specs after implementation drift. Use when code changes outpace specs.
  • 100new-command-docs
    This skill should be used when a new ArcKit command has been added and documentation needs updating across the repository. Triggers: update documentation for new command, update command count, add command to README, update DEPENDENCY-MATRIX, update docs/index.html, new command…
  • 100sync-docs
    Use when the user asks to sync, update, or refresh CLAUDE.md, AGENTS.md, SKILL.md, and README.md to reflect recent commits or PRs. Triggers on phrases like "sync docs", "update CLAUDE.md", "update AGENTS.md", "update SKILL.md", "update README", "reflect recent changes", or "document the recent PRs".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.