Brooks Verify
ASecurityVerify a supported Python integer predicate, stable deduplication cost, validate-before-write batch update, Bash/xargs worker exit propagation, Go file handle lifetimes, Go 1.22 loop capture and callback completion, Python cross-call Fibonacci cache correctness, Java date formatter concurrency, or JavaScript comma-separated word-list acceptance against an explicit contract with Lean 4. Trigger for requests for formal verification, proof of order or failure behavior, or a certified counterexam...
- 1,597 stars
- 0 votes
- 0 copies
- 3 views
- Added November 28, 2026
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add hyhmrright/brooks-lint --skill brooks-verify --agent claude-codeAre you the author of Brooks Verify?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/hyhmrright-brooks-verify)---
name: brooks-verify
description: >
Verify a supported Python integer predicate, stable deduplication cost,
validate-before-write batch update, Bash/xargs worker exit propagation,
Go file handle lifetimes, Go 1.22 loop capture and callback completion,
Python cross-call Fibonacci cache correctness, Java date formatter concurrency,
or JavaScript comma-separated word-list acceptance
against an explicit contract with Lean 4.
Trigger for requests for formal verification, proof of order or failure
behavior, or a certified counterexample to a stated obligation.
Explain confirmed defects using the project's finding convention drawn from
twelve classic engineering books.
Do NOT trigger for: general PR reviews, architecture audits, debt assessments,
test-suite reviews, health dashboards, automated fixes, or Lean tutorials.
metadata:
opencode/slash: "true"
---
# Brooks-Lint — Contract Verification
## Setup
Read `verify-guide.md` in this directory and the Iron Law in
`../_shared/common.md`. Use the verification result format in the guide.
Python 3, a trusted Lean 4 executable on PATH and a writable temporary directory are required to run the checker.
## Process
1. Identify the exact source file and its governing contract (Step 1 of the guide).
2. Encode the independent contract and run the bundled checker (Steps 2–3).
3. Report the kernel result, its scope and any reachable witness (Step 4).
**Mode line in report:** `Contract Verification`
Files in this skill
- SKILL.md
- scripts/BatchUpdate.lean
- scripts/DateConcurrency.lean
- scripts/Dedupe.lean
- scripts/FibCache.lean
- scripts/FileLifetime.lean
- scripts/LoopCapture.lean
- scripts/WordList.lean
- scripts/WorkerExit.lean
- scripts/batch-eager.lean.inc
- scripts/batch-staged.lean.inc
- scripts/cache-correct.lean.inc
- scripts/cache-wrongStore.lean.inc
- scripts/capture-perIteration.lean.inc
- scripts/capture-shared.lean.inc
- scripts/date-perCall.lean.inc
- scripts/date-sharedCalendar.lean.inc
- scripts/handle-batch.lean.inc
- scripts/handle-perFile.lean.inc
- scripts/lean_review.py
Attribution
Related skills
View all in code-quality →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.