Discovers explicit and implicit state machines in a codebase, models them in TLA+, runs TLC model checker exhaustively, and confirms counterexamples with runtime repros. Useful for finding hidden lifecycle, concurrency, and race bugs.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Expose illegal state combinations, lost updates, stale-callback races, and lifecycle deadlocks by turning a codebase's implicit state machines into faithful finite-state TLA+ models, running the TLC model checker exhaustively, and proving every surviving counterexample against real code.
Read-only by default. Leave the target repository untouched; put all .tla/.cfg files, tla2tools.jar, and repro scripts under /tmp/tla-audit-<slug>/ and delete that scratch directory when finished. Treat TLA+ as a disposable lens — verified bugs become ordinary regression tests when fixed, not long-lived specs that drift from code.
Scan real source files for both explicit machines (enums, status/state columns, transition tables) and implicit machines (clusters of mutable booleans, nullable handles, in-flight flags, timers, caches, two-phase files/receipts, cross-process locks, cancel/abort/cleanup latches).
Prioritize cross-module async and multi-process state — that is where real bugs hide. Single-file explicit machines with clear guards are low-risk; note them as clean instead of modeling everything.
Done when: Every discovered machine is listed with its state variables (file:line), transitions, and risk rank, and the top 2–5 high-risk machines are selected for modeling.
For each selected machine, write one .tla + .cfg pair in /tmp/tla-audit-<slug>/.
await boundaries, stale event callbacks, crash/abort windows, and flags forgotten on error paths. Annotate each variable and action with its exact file:line.<= 3) so TLC finishes in seconds.For Java/TLC setup, minimal .tla/.cfg templates, and bounding tips, read references/tlc-setup.md.
Done when: Every selected machine has a .tla and .cfg with explicit INVARIANT entries and file:line provenance on every action.
Run real TLC (tlc2.TLC) on every model. When TLC reports a counterexample:
If Java or tla2tools.jar cannot run in the environment, state upfront that results are static-only (unverified by TLC) and never present manual trace analysis as model-checked.
Done when: Every modeled machine records either 0 errors (with states explored) or a code-faithful shortest counterexample trace.
A TLC counterexample proves a flaw in the abstraction, not yet in the runtime. For every surviving trace, run a minimal standalone repro script in /tmp/tla-audit-<slug>/ that executes the real target code path (without mutating the repo or external services) to observe the failure red and catch runtime behaviors the model abstracted away (such as interrupt thresholds, signal coalescing, or OS lock semantics).
Classify every finding strictly:
Done when: Every reported confirmed bug has observed red runtime evidence, and every latent violation names its masking condition.
Remove /tmp/tla-audit-<slug>/ (leaving tla2tools.jar cached in /tmp is fine if convenient, or remove all scratch files) and verify the target repo is unmodified (git status).
Structure the report directly around action:
file:line, shortest TLC counterexample path, observed red repro output, and root-cause fix direction.red -> fix -> green) without checking .tla specs into the repo.What SKILL.md sets; muted values are Claude Code's defaults
/core:tla-auditfrom core
npx claudepluginhub korenkrita/skills --plugin core11 skills in this plugin
/award-tier-web-designBuild or polish a web page to award-tier visual quality (Awwwards / Webby / FWA level) with a screenshot-driven self-review loop over typography, whitespace, hierarchy, color, motion, micro-interaction, responsive layout and originality. Use when the user asks for a landing page, marketing or product site, portfolio, showcase page, or visual polish of an existing page — 做落地页、官网、作品集、展示页、页面视觉打磨、做得高级一点、拿奖级别的设计. Not for internal admin forms or backend work unless the user asks for visual polish./frontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults./Other plugins' skills for the same job