Skip to content
Back to skills

Brooks Verify

ASecurity

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 counterexam...

  • 1,597 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 28, 2026
code-qualityjavascriptpythonrustgojavabash

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add hyhmrright/brooks-lint --skill brooks-verify --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Brooks Verify?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Brooks Verify
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hyhmrright-brooks-verify/badge)](https://www.skillsdirectory.com/skills/hyhmrright-brooks-verify)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1.4 KB
  • scripts/BatchUpdate.lean4.1 KB
  • scripts/DateConcurrency.lean1.6 KB
  • scripts/Dedupe.lean5 KB
  • scripts/FibCache.lean1.7 KB
  • scripts/FileLifetime.lean2.1 KB
  • scripts/LoopCapture.lean3.5 KB
  • scripts/WordList.lean1.9 KB
  • scripts/WorkerExit.lean4 KB
  • scripts/batch-eager.lean.inc366 B
  • scripts/batch-staged.lean.inc322 B
  • scripts/cache-correct.lean.inc2.2 KB
  • scripts/cache-wrongStore.lean.inc442 B
  • scripts/capture-perIteration.lean.inc266 B
  • scripts/capture-shared.lean.inc203 B
  • scripts/date-perCall.lean.inc2 KB
  • scripts/date-sharedCalendar.lean.inc749 B
  • scripts/handle-batch.lean.inc144 B
  • scripts/handle-perFile.lean.inc170 B
  • scripts/lean_review.py12.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.