Puritanical guides coding agents towards the smallest correct change. It asks the agent to read the code and its callers, check whether a reported bug still exists and preserve the behaviour callers rely on. The name comes from the Puritan practice of stripping away what scripture did not warrant.
Clone the repository:
git clone https://github.com/yungSNAT/Puritanical.git
Set-Location PuritanicalFor one Claude Code session, run claude --plugin-dir . from the clone.
For Codex, install the rules from the clone with Node.js 18 or later:
node bin/install.js --only codexThe installer adds a marked block to your personal ~/.codex/AGENTS.md. If the block already exists, add --force to refresh it. Start a new chat to load the rules. To remove the block, run node bin/install.js --uninstall --only codex.
For a project that reads AGENTS.md, you can also copy the project rules into its existing instructions.
Ask the agent to ‘fix pagination dropping the first item on page 2’. If the reported case and nearby page boundaries already work, it should explain what it checked and leave the files alone. If the bug persists, it should fix the calculation shared by the affected callers. Review the evidence and the diff.
Use /puritanical off to pause the Claude Code plugin and /puritanical to resume it. Its review skill looks for unnecessary code in a diff. Commands and configuration · Review skill
For dead code already in a Rust repository, puritanical-tools prune cuts what the compiler reports dead, keeps each cut only if your own check still passes, and can restore every byte. Prune
- Check the report against the current implementation and its callers.
- Reuse existing code, the standard library, platform features or installed dependencies where they meet the request. Write new code when the simpler options fall short.
- Follow the caller’s error policy. A best-effort CSV import can keep valid rows and report skips. An atomic inventory update must reject an invalid batch before changing any stock.
- Keep input validation, security, accessibility and error handling that prevents data loss. Keep the explanation short enough to read and complete enough to act on.
- Write in plain, answer-first Australian English that follows Laconic's prose rules: no preamble or recap, and every fact, caveat and exact literal kept.
Edit the canonical skill, then run npm run build:rules to regenerate its copies. Run the following checks from the clone.
npm test
npm run check:rules
npm run check:readme-artThe generators and benchmark analysis are a Rust crate in tools/; cd tools && cargo test runs its tests.
The test suite runs on Node.js 18, 20 and 22, and the Rust workflow checks the tools crate on Linux and Windows. The test workflow holds the Node 22 run to 100% line coverage and sends its report to Codecov, beside the Rust crate's, and runs the quality grader's code answers inside its bubblewrap sandbox. CodeQL scans JavaScript, TypeScript, Python and GitHub Actions. OSV-Scanner checks dependency lockfiles for published advisories. The Codacy badge shows the hosted project grade. The Codacy CLI workflow also publishes a downloadable report for each run. OpenSSF Scorecard assesses repository practices. The release badge reads the GitHub release feed.
Ryan Duguid maintains Puritanical. Jay Pokale wrote the upstream plugin. The prose rules adapt Laconic, also by Ryan Duguid, under Apache-2.0. The original Puritanical banner uses Cascadia Mono and Besley lettering. Upstream and third-party credits
Ryan Duguid's code is under Apache-2.0; see LICENSE. If you redistribute this work or build on it, keep the attribution in NOTICE. Code from Chisle, which this repository forks, and the caveman and ponytail portions it carries remain under the MIT License; NOTICE holds their notices. Earlier commits keep the licence their LICENSE file named. The restored banner artwork is © 2026 Ryan Duguid and carries its original Apache 2.0 licence. Its lettering uses glyphs distributed under SIL OFL 1.1.
Scripture quoted by permission. Quotations designated (NET) are from the NET Bible® copyright ©1996, 2019 by Biblical Studies Press, L.L.C. All rights reserved.
'Do not add a thing to what I command you nor subtract from it.' Deuteronomy 4:2 (NET)
Maintained by yungSNAT. Ad gloriam eius, non meam.