laws
/laws
Rules for editing the laws skills in THIS repo - which content belongs in which file, and which rules stay inside one medium. Use when creating, editing, or reviewing any `plugins/laws/skills/*/SKILL.md` (or `DISABLED_SKILL.md`), any file under `plugins/laws/skills/*/references/` or `plugins/laws/source/`, or any `plugins/laws/design-docs/design-goals-*.md`. How to write the prose well is laws:prompt's job, not this skill's.
- Author
- promptctl ↗
- Repository
- laws ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 2
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.
What it does and when to use it
Rules for editing the laws skills in THIS repo - which content belongs in which file, and which rules stay inside one medium. Use when creating, editing, or reviewing any `plugins/laws/skills/*/SKILL.md` (or `DISABLED_SKILL.md`), any file under `plugins/laws/skills/*/references/` or `plugins/laws/source/`, or any `plugins/laws/design-docs/design-goals-*.md`. How to write the prose well is laws:prompt's job, not this skill's.
Triggers from the description
Original author description
Rules for editing the laws skills in THIS repo - which content belongs in which file, and which rules stay inside one medium. Use when creating, editing, or reviewing any `plugins/laws/skills/*/SKILL.md` (or `DISABLED_SKILL.md`), any file under `plugins/laws/skills/*/references/` or `plugins/laws/source/`, or any `plugins/laws/design-docs/design-goals-*.md`. How to write the prose well is laws:prompt's job, not this skill's.
How it works
- Say it plainly
- The rules
- Workflow
- The failure this prevents
SKILL.md preview
--- name: laws description: Rules for editing the laws skills in THIS repo - which content belongs in which file, and which rules stay inside one medium. Use when creating, editing, or reviewing any `plugins/laws/skills/*/SKILL.md` (or `DISABLED_SKILL.md`), any file under `plugins/laws/skills/*/references/` or `plugins/laws/source/`, or any `plugins/laws/design-docs/design-goals-*.md`. How to write the prose well is laws:prompt's job, not this skill's. --- # Editing the laws skills Each medium is one skill. A skill takes whatever shape makes it most effective for its own medium: one file or twenty, decided by what that skill needs, never copied from another skill. These rules keep content in the right skill. That's all this skill does. It does not teach you how to write well in any medium; that's laws:prompt. ## Say it plainly The problems here are simple: content is in the wrong place, or a rule from one medium got copied into another. Say that, in plain words. When content is wrong, delete it - don't coin a term, build a taxonomy, or reach for a metaphor to make a simple call sound rigorous. Jargon that hides the simple reality is the failure, not a sign of care. Simple is the goal, not a step toward something more impressive. ## The rules 1. Compatible crafts coexist; incompatible ones do not. A craft loads a whole medium's standard, and reading it changes what you do next, by design. Most standards are complementary (code, its ticket, its docs), but some *orderings* are refused: with one craft engaged, what you write next under another comes out wrong. `plugins/laws/hooks/scripts/incompatible-crafts.txt` lists those orderings as directed edges - an edge refuses one direction and says nothing about loading the same two the other way round - and the guard refuses the second load of one. Read them as edges, not as pairs: the file used to hold symmetric pairs, and the reverse direction it refused along the way was a false refusal that cost real conversation to escape. A session may hold several compatible crafts, and a session whose whole job is one skill may load that skill's craft and edit it directly - holding the whole craft is how a change integrates instead of bolting on. When you need a craft that conflicts with one already engaged, you don't load it here; that one you dispatch to a disposable subagent. (`plugins/laws/design-docs/working-with-skills.md` has the details.) 2. A rule from one medium stays in that medium's files. Don't copy it into another - a ticket rule can be false for a report. Check by grepping a rule's distinctive phrase; it should appear under one medium only. 3. `plugins/laws/skills/code/SKILL.md` is generated. Never edit it. Edit its sources under `plugins/laws/source/code/`: one file per law and per framing, plus the preamble, bindings, recap, and `skeleton.md` for order and part headings. Then run `python3 plugins/laws/source/generate.py`, which also writes the S and M projections under `plugins/laws/skills/code/references/`, and `python3 plugins/laws/source/count.py`, which records each output's token count in `plugins/laws/source/counts.json` (it reads a credential from the macOS keychain; `--keychain-service` picks the entry). Commit the sources, the outputs and `counts.json` together: the cap test fails on a count recorded for other text, and on SKILL.md over the budget in `profiles/default.toml`. A law's rung is a one-line edit to that profile. The header comment's rule against deduplicating or compressing applies to the sources. A source is that file cut at its seams, not a new place to tidy. The `<!-- rung: S -->` and `<!-- rung: M -->` lines mark which paragraphs serve which rung of hold. Keep them on the statement, the Diagnostic line, and the lineage line (S), and on the temptation script and its redirect (M); when the redirect is a procedure, mark each of its paragraphs M. The generator refuses a law whose statement, directly under the heading, is not S-marked, or that has no S-marked Diagnostic. ## Workflow The full order is in `plugins/laws/design-docs/working-with-skills.md`. Paths inside `plugins/laws/` docs are relative to `plugins/laws/`. In short: 1. Say what the skill is for before changing it. That statement lives in `plugins/laws/design-docs/design-goals-<medium>.md`: edit the goals doc first, then change the skill to match it. A new skill gets one before it ships - dropping the fixed three-file shape did not drop this. The spec skill shipped without a goals doc and nothing caught it until a review went looking, which is the whole cost of leaving the rule unwritten. 2. If editing this skill is the session's whole job, load its craft and edit directly, holding the whole so the change integrates. If the craft is incompatible with one already engaged here, dispatch a subagent that loads only that craft; never stack a refused ordering in one session. 3. Read the file it produced - not its summary - and check it against the goals doc. ## The failure this prevents Someone added a "keep your own solutioning out of it" paragraph to three skills (prompt, prose, ticket). In the ticket one they wrote it using a ticket-specific rule - leave the "how" to the implementer. Then they copied that ticket-worded paragraph into prose and prompt, where the rule is false: a report is supposed to carry the answer, not leave it open. The fix: the ticket-specific reasoning lives in the ticket skill; a medium that needs its own version writes it in its own words. Watch the reflex that let it ship: reviewing the copies, the reviewer called it "the right kind of duplication." Repeating a point in different words inside one skill is fine. Copying one medium's rule into another medium's files is not.
Versions
The database has no other skills named laws.
Database snapshot: 13.11.2026 · package version 5038e695441f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100publish-plugins
(project) Use when editing any file under skills/ or plugins/ to bump the plugin version and check the manifests - 90world-rules
Use when designing world rules, taboos, social systems, supernatural laws, setting consistency, or rule constraints for outlines. - 100init
Initialize plugin in a project — install Iron Laws, auto-activation rules, and reference auto-loading into CLAUDE.md. Use when setting up or updating the plugin. - 100laws-of-ux-skill
Apply relevant UX principles when designing pages, reviewing interfaces, improving user flows, or implementing frontend usability changes. Use for UI hierarchy, navigation, forms, feedback, cognitive load, and evidence-informed design trade-offs. - 90pipeline-laws
Quorum's universal engineering laws and stage map. Use when deciding whether work is really done, which Quorum command comes next for a task, or how a repo bootstrapped with Quorum expects code to be built and reviewed. - 95ui-ux-20-laws
Operationalize the 20 fundamental laws of UI/UX design into every interface an agent builds — apps, design systems, and websites — plus world-standard rules for account surfaces (profile page, logout, privacy/terms/GDPR, support). Use when designing, building, or reviewing any…