/lawful:laws-of-software-losfrom lawful
Evaluate substantive software architecture tradeoffs, system boundaries, ADRs, migration strategies, and architectural incident lessons. Use when alternatives, ownership, compatibility, or recovery need an explicit design decision. Do not activate for ordinary implementation, routine bug fixes, generic code review, or formatting without an architectural decision.
Ships in lawful. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Apply this skill when software work needs principal-level judgment, explicit tradeoffs, and a credible validation path.
This skill is original synthesis inspired by the public law list at https://lawsofsoftwareengineering.com/. Use the source site for canonical law descriptions and updates.
Do not use for:
For code-producing tasks:
references/law-index.md for the full checklist. Pick only the few laws that materially change the recommendation.assets/ when they save time.scripts/ when files are available, then run the repo checks that matter for the change.Use references/law-index.md when you need the full 56-law pass. Common groups:
Do not law-dump. Use the 3-8 laws that change the answer.
Run these from the skill root when they fit the artifact in front of you:
python3 scripts/arch_law_check.py --input path/to/design.md
python3 scripts/arch_law_check.py --input path/to/design.md --json
python3 scripts/adr_lint.py --input path/to/adr.md
The checkers flag omissions; they do not prove correctness.
Load only what the task needs:
references/architecture-playbook.md for concrete system-design guidancereferences/review-rubrics.md for architecture, API, migration, planning, or code-structure reviewsreferences/decision-frameworks.md for technology choices, metrics, and cognitive trapsreferences/prompts-and-templates.md for polished answer structuresreferences/evaluation-guide.md for trigger and output evaluationUseful templates in assets/:
assets/adr-template.mdassets/architecture-review-template.mdassets/incident-architecture-review-template.mdassets/migration-plan-template.mdassets/risk-register-template.mdassets/system-design-brief-template.mdLICENSE (opens in a new tab)NOTICE.md (opens in a new tab)agents/openai.yaml (opens in a new tab)assets/adr-template.md (opens in a new tab)assets/architecture-review-template.md (opens in a new tab)assets/incident-architecture-review-template.md (opens in a new tab)assets/migration-plan-template.md (opens in a new tab)assets/risk-register-template.md (opens in a new tab)assets/system-design-brief-template.md (opens in a new tab)references/architecture-playbook.md (opens in a new tab)references/decision-frameworks.md (opens in a new tab)references/evaluation-guide.md (opens in a new tab)references/law-index.md (opens in a new tab)references/prompts-and-templates.md (opens in a new tab)references/review-rubrics.md (opens in a new tab)scripts/adr_lint.py (opens in a new tab)scripts/arch_law_check.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/laws-of-tasteUse this skill when the user wants to improve the visual quality of a human-facing surface such as UI, dashboards, landing pages, ecommerce, forms, decks, editorial pages, documents, print pieces, or other front-end work. Apply it to critique, redesign direction, implementation guidance, or polish passes when the goal is clearer hierarchy, stronger structure, better typography, color, spacing, interaction feel, and a less generic or more convincing tone. Do not use it for backend debugging, data modeling, copyediting-only work, or brand strategy with no visual surface unless the request explicitly involves presentation, layout, or interaction./laws-of-ux-louLaws of UX critique skill. Use when evaluating mockups, screenshots, design specs, prototypes, flows, onboarding, checkout, dashboards, forms, or design-review requests, even when the user does not say UX or name a law. Output the 2-4 most relevant laws with specific application and law-grounded recommendations. Do not use for pure frontend implementation code review, WCAG/accessibility audits, or brand/visual-identity critique unless interaction usability is also in scope.npx claudepluginhub mylesmcook/mcook-plugins --plugin lawful