Skip to content
cccskills
FreePublished on GitHubEnglish overview

verify-diff-lifecycle

Model-checks the openDiff response lifecycle in a Neovim plugin against guards detected in its Lua code. It explores call order, user actions, disconnects, and server stops to find cases such as stranded requests or conflicting answers.

OriginalShow the original description

Model-check the claudecode.nvim openDiff answer lifecycle (TLA+/TLC) against guards read from the current Lua code. Use after a change to how diffs are resolved, replaced, closed, or answered, or to how openDiff is called (lua/claudecode/diff.lua, diff_inline.lua, server/init.lua, server/client.lua, tools/init.lua, tools/open_diff.lua, tools/close_tab.lua, tools/close_all_diff_tabs.lua, the :ClaudeCodeCloseAllDiffs command in init.lua), and before trusting such a change.

coder/claudecode.nvim3,157 stars(GitHub 3,157 + cccskills 0)

Run score Not tested

See how to install

Good for

  • Check changes to diff resolution, replacement, or closing
  • Verify how openDiff calls are handled
  • Investigate a broken lifecycle rule
  • Review stale model coverage after runtime changes

Overview

What it does

This skill model-checks the openDiff lifecycle in a Neovim plugin. It reads guard conditions from the Lua code and explores different orders of Claude calls, user approvals or rejections, client disconnects, and server stops. The checks cover whether a call receives more than one answer, whether the answer matches the diff state, whether a waiting call is left without a response, and whether accepted edits are preserved. It can also report STALE when the recorded code scope has changed, and lets you inspect known issues and model limits.

When it helps

Use it after changing how diffs are resolved, replaced, or closed, or how openDiff is called. If the result is BROKEN, inspect the TLC execution path to determine whether it indicates a real defect or a model that no longer reflects the code.

Example requests

  • “I changed diff closing. Please check the lifecycle.”
  • “Show the changes marked STALE and check where the model differs.”

Notes

Requires Bash 4 or newer, Java 11 or newer, sha256sum or shasum, and curl on the first run. The first run downloads TLC. Run only one copy at a time on a shared host, and account for CPU use. The check covers only the model's scope and the code recorded by the skill.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
BPartly lackingIt downloads TLC on first run and warns about single runs and CPU load on shared hosts.
Easy setupDoes it need few tools or API keys, and are they documented?
AGoodIt specifies Bash, Java, hash utilities, first-run curl, and the TLC download.

Not counted in the score. Rated by AI (OpenAI Codex) as of Nov 9, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (5)

  • SKILL.md29.4 KB
  • check.sh18.6 KB
  • covered.lock19.6 KB
  • model/DiffLifecycle.tla28.2 KB
  • model/statechart-view.ts2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Exercises the real claudecode.nvim plugin inside Neovim using a scripted WebSocket client in place of the Claude Code CLI. It verifies end-to-end features and saves screen captures, video, protocol traffic, and file state as evidence.

  • Verify openDiff acceptance and rejection
  • Check openFile and selection tracking
  • Test :ClaudeCodeSend mentions
coder/claudecode.nvim3.2KUpdated Nov 16, 2026

Model-checks the @ mention queue and WebSocket client behavior in claudecode.nvim against guards detected in the Lua source. It checks delivery order, duplicate sends, readiness timing, timeouts, and stop behavior, and flags code changes that have not been reverified.

  • Checking queue behavior after changing @ mention timing or delivery
  • Verifying how client readiness affects broadcasts
  • Checking timeout and stop behavior after Lua changes
coder/claudecode.nvim3.2KUpdated Nov 13, 2026

Verify changes to selection tracking in claudecode.nvim by model-checking event and timer behavior against guards in the Lua code, then replaying relevant paths in headless Neovim. It identifies stale coverage, broken rules, and possible modeling errors before trusting a change.

  • Checking selection tracking after a Lua change
  • Verifying debounce and demotion timer behavior
  • Testing held selections across cursor moves and buffer switches
coder/claudecode.nvim3.2KUpdated Nov 13, 2026

Model-checks the Claude terminal lifecycle in claudecode.nvim, including native and snacks providers, plugin reload adoption, and provider selection. It checks behaviors such as opening, hiding, closing, and cleanup after exit, while reporting when covered code has changed since verification.

  • Checking terminal behavior after changing open or close logic
  • Verifying that hiding a terminal keeps Claude running
  • Checking provider selection and adoption after plugin reload
coder/claudecode.nvim3.2KUpdated Nov 14, 2026

Model-check a WebSocket connection lifecycle against guards in the current Lua code. It explores handshake, requests, closes, pings, disconnects, and server shutdown to find lifecycle rule violations after relevant code changes.

  • Check WebSocket lifecycle changes in Lua
  • Verify handshake and request handling
  • Inspect disconnect and socket cleanup behavior
coder/claudecode.nvim3.2KUpdated Nov 14, 2026

See all skills by coder

Report a problem with this skill