jyn514/dotfiles/ratchet
Claude Code and agent skill by jyn514/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Define enforcement policy for an established invariant or check. Use when deciding how to block new violations while reducing an existing baseline, preserve violation identity or counts, bound exceptions and their expiry, or change an existing rule's enforced scope or guarantees. Do not load merely to choose types versus tests, design a test oracle, add regression coverage, or protect a newly implemented behavior; those decisions belong to design-for-change.
Install
npx vskill@latest install jyn514/dotfiles/ratchetSKILL.md
The same SKILL.md was published earlier as jyn514/dotfiles/ratchet.
ratchet
Purpose
Own the policy for which violations a check rejects, which existing violations it temporarily permits, and how that permitted set shrinks. Use testing guidance for implementing checks, choosing regression cases, and validating test oracles. Consult both only when the task contains separate policy and implementation decisions.
For example, introducing a lint rule with existing violations needs a baseline and exception policy. Reproducing a Docker mount failure with a real container needs test design, so use testing guidance alone.
Consider a rule that rejects a prohibited pattern in two files, both producing the same normalized diagnostic. A baseline containing only that diagnostic text cannot tell those occurrences apart: removing one and adding the same violation in a third file leaves the set unchanged, even though new debt appeared. Counting occurrences catches growth from two to three; it cannot distinguish replacement when the particular path or owner matters. The invariant determines which differences the baseline must retain.
Now suppose one occurrence has an exception until its owning migration completes. That condition explains when the permission ends, while its scope identifies what it permits in the meantime. Regenerating a baseline after the third-file violation must not silently authorize it; removing the resolved occurrence instead leaves a stale entry to report. The invariant is the desired rule, while the baseline and exceptions describe the temporary enforcement policy for existing debt.
Inputs
- The established invariant and the check's scope
- Current enforcement rules, violations, and exceptions
- The requested policy change and authority to change it
Procedure
- Inspect the owning check, its scope, and current violations. Name the
unresolved enforcement-policy decision. If only implementation or oracle design remains, stop this workflow and use testing guidance.
- Define violation identity and multiplicity before comparing results.
Distinct occurrences, paths, or owners must not collapse because their normalized text or fingerprint is equal. Set membership is insufficient when the invariant constrains counts, ownership, or one-to-one correspondence.
- Treat baselines as bounded debt:
- preserve multiplicity or explicit occurrence identity
- fail on additions and report removals as stale
- keep regeneration deterministic and show semantic deltas
- never let regeneration silently bless new debt
- Give each exception a scope, owner, and expiry or removal condition. Record
which violations it permits; a baseline entry must not authorize unrelated future violations.
- When changing a rule's enforced scope or guarantees, compare the old and new policy.
Preserve existing guarantees unless explicit human approval or stronger replacement evidence justifies the change. Do not remove or weaken a check merely to make progress.
- Verify the policy on a new violation and distinct violations with equal normalized text.
When the policy uses a baseline, also verify a resolved entry. Include exception expiry when used. Follow testing guidance for oracle validation; record any policy outcome that cannot yet be verified rather than claiming it is enforced.
Output
- Invariant and enforced scope
- Violation identity, baseline update rules, and bounded exceptions
- Preserved guarantees or the authority/evidence for replacing them
- Policy checks run, observed outcomes, and unverified cases
Constraints
- Do not certify paths outside the inspected and verified scope.
- Do not expand permitted violations through automatic baseline regeneration.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ratchet/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jyn514/dotfiles/ratchet)