mind rule-draft

Describe a rule in plain English

The engine drafts the title, file globs, severity, and a structural pattern. Approve it and it starts catching on the next commit.

commitmind · ~/work/payments-servicerule-draft
mind rule-draft turning a plain-English description into a structural rule with file globs and severity
Standards & rules

CLAUDE.md doesn't scale.
Rules do.

Pre-curated, pattern-matched packs across 8 languages — security, best-practices, lint, and architecture — plus the project rules you grow yourself, battle-tested the moment you connect. Co-authored with your AI, approved by humans, enforced in-session before code ships.

Hard rules blocksoft rules warnautofix conforms the rest
PreToolUse · Edit blocked
apps/landing/app/page.tsx — new components in Middle.tsx not mounted. The agent cannot edit until the rule is satisfied or skipped.
Security · OWASPPro
Go · Py · JS · TS · Java · Rust · PHP
Injection (eval / exec), weak crypto (MD5 / SHA-1), insecure deserialization, TLS / CORS misconfig — plus interprocedural taint that confirms untrusted input actually reaches the sink.
OWASP A01–A10 · CWE
LintFree
all languages
Merge markers, debugger / console.log, bare except, unreachable code — the fast deterministic baseline. Native reimplementations at parity with golangci-lint, eslint, and ruff — no toolchain to install.
@commitmind/lint
Best practicesFree
TS · JS · Python · Go · Rust
unknown over any, === over ==, no Function type, named exports, is None — hardened from soft guidance to fail-loud where the pattern is unambiguous.
ts · js · py · go · rs
ArchitecturePro
graph + call-graph
Layer-boundary rules, import cycles, and dead-code / unused-export reachability — structural health that a per-file linter can never see.
layer → layer
Your project rules
the flywheel
A review finding becomes a one-click rule — co-authored with your AI, approved by you, then enforced on every agent. Your standards compound.
review → rule
Compliance

Compliance checks that run
as you commit.

The agent that writes your code checks it against the code-level controls of HIPAA and PCI-DSS — deterministic rules for the clear cases, AI review for the judgment calls a matcher can't make — at commit time, with the evidence kept per change. Built on our OWASP security pack.

Measured on a curated corpusdogfooded on real codeadvisory until you choose to gate
HIPAAPro
§164.312 Technical Safeguards
A patient record fetched by request id with no authorization check, PHI in logs or over cleartext, weak crypto at rest, unauthenticated PHI endpoints, mass-assignment — all five technical safeguards, with AI reasoning where a matcher can't tell PHI from an order id.
HIPAA §164.312 (a)–(e) · CWE
PCI-DSSPro
PCI-DSS v4.0 · cardholder data
Never store the CVV, mask the PAN on display, no hardcoded card numbers (Luhn-checked, test cards excluded), no cardholder data in logs or shipped to a third party, and authentication on every payment endpoint.
PCI-DSS v4.0 Req 3 / 4 / 8 · CWE
SOC 2Pro
Trust Services Criteria · CC6 / CC7 / CC8
Logical access, encryption, and monitoring controls — with your per-task review trail as the change-management evidence. The agent that ships the code documents the control.
CC6 · CC7 · CC8

Helps your team catch HIPAA- and PCI-relevant defects in code before they ship. It complements a formal audit (QSA / SAQ) — it doesn't replace one.

Language support

Deterministic coverage across your stack.

Symbol navigation, security taint, lint, and architecture rules — resolved per language by the engine, not guessed by an LLM.

CapabilityGoPythonTSJSJavaRustPHPRuby
Code navigationxref — defs · callers · outlines
Security reviewinterprocedural taint
Lint & best practicesdeterministic packs
Architecture graphlayers · import cycles
shipped partial not yet

Security review is interprocedural taint — Go via SSA, the rest via a shared IL. Ruby ships symbol navigation today; references, taint, and full rule coverage are in progress.

Ready?

Give every agent
your team's engineering brain.

Works with Claude Code · Codex · OpenCode · any MCP client
Local by default Git-anchored decisions Project-scoped MCP-compatible