← ClaudeAtlas

code-examples-synclisted

Synchronize and verify code examples in documentation. Use when function signatures change, API interfaces update, imports shift, or documentation snippets become outdated and need correction.
bg-szy/TOP-SKILLS · ★ 1 · AI & Automation · score 70
Install: claude install-skill bg-szy/TOP-SKILLS
# Code Example Synchronization Use this skill when docs contain code snippets that are likely to drift from the real implementation. - Leverage native parallel subagent dispatch and 200k+ context windows where available. ## Activation Conditions Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below. - Function signatures changed - Imports or package names changed - Request or response contracts changed - Framework guidance or recommended patterns changed - A doc snippet compiles conceptually but no longer matches the codebase ## Workflow 1. Find the canonical implementation first. 2. Update every affected snippet in docs, examples, and READMEs. 3. Verify syntax, imports, and expected outputs. 4. Note any intentional divergence, such as simplified tutorial snippets. ## Anti-Patterns - Starting work before the plan or gate is clear: Execution drifts when success criteria are implied instead of explicit. - Treating verification as optional cleanup: The last mile is where regressions and missing updates are usually hiding. - Mixing planning, implementation, and release work in one jump: You lose the causal chain that explains why a change is safe. ## Verification Protocol Before claiming "skill applied successfully": 1. Pass/fail: The Code Examples Sync workflow starts from explicit success criteria, constraints, and stop conditions. 2. Pass/fail: Required evidence is collected before any completion, approval, or readin