rules
Skill4 starsChanged 3 months agoMITView on GitHub
Use as the shared cross-skill rules bundle of the dev-skills set — anti-patterns, entry protocol, sub-agent runtime semantics, authoring discipline, and the engineering-principles catalog. Not a task skill: the other skills link into this directory, and this file exists so the bundle ships with them and those links resolve in installed copies.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- MagicJosh/rastheir own version, first seen Oct 6, 2026
- avivsinai/bitbucket-clitheir own version, first seen Sep 6, 2026
- thgMatajs/squirrel-modetheir own version, first seen Aug 13, 2026
- AcKeskin/contexturetheir own version, first seen Jul 30, 2026
- MaGe1993/Claude-Code-Base-Harnesstheir own version, first seen Jun 14, 2026
- code-yeongyu/codex-rulestheir own version, first seen May 15, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- avivsinai/bitbucket-cli★ 230same name
- code-yeongyu/codex-rules★ 13same name
- yinhunfeixue/software_development_skills★ 4same name
- AcKeskin/contexture★ 2same name
- thgMatajs/squirrel-mode★ 2same name
- MaGe1993/Claude-Code-Base-Harness★ 1same name
- MagicJosh/ras★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- debugSkill
- grillSkill
- have-a-trySkill
- implementSkill
- improve-architectureSkill
- researchSkill
- reviewSkill
- setup-projectSkill
- storySkill
- tddSkill
- thinkSkill
- writeSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Every file in this directory is listed here.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Rules: Shared Cross-Skill Bundle
This is not a task skill. It carries no workflow, produces no artifact, and should never be routed to. Every other skill in this repository links into this directory (../rules/<file>.md), and those links must keep working after installation.
Why this file exists
The skill installer ships exactly one thing: a directory containing a SKILL.md. Nothing else in a repository reaches installed copies. Without this file, skills/rules/ stays repository-only and every cross-skill rules link breaks the moment a user installs the set — the shared-rules architecture would work for contributors and fail for everyone else.
Measured with the installer (--project --copy, isolated scope): before this file existed, 12 skills installed with rules/ absent and 3 of review/SKILL.md's rules links dangling; with it, 13 units install, rules/ is present, and those links resolve. Evidence and the packaging analysis: docs/audits/2026-09-14-shared-rules-not-installed.md.
Two deliberate deviations from the skill conventions, both because this is not a task skill:
- No outcome contract — there is no outcome to contract. The contract here is the contents table below.
disable-model-invocation: true— the bundle must never compete for routing. A user-invoked unit pays zero context load; its description is not model-loaded.
Contents
Every file in this directory is listed here. A rules file that is not listed is invisible to anyone reading the bundle — scripts/check-docs.py fails when the two drift apart.
| File | Holds | Cited by |
anti-patterns.md | Cross-skill behavioral constraints (main table + frozen-number Archive) | every skill; cited by number |
entry-protocol.md | Shared bootstrap: project config, domain docs, upstream-artifact checks | every skill's first step |
sub-agent-runtime.md | "Sub-agent" = re-read-from-disk discipline, not a scheduler | tdd, review |
writing-skills.md | Authoring discipline: two loads, descriptions, information hierarchy, wording, pruning | contributors and any skill edit |
engineering-principles.md | Single definition source for SOLID/DRY/KISS/YAGNI/LoD/composition/explicit/fail-fast/immutability, plus the gates that keep principle findings from becoming nitpicks | review, improve-architecture, tdd, implement |
The rule that governs this directory
Each meaning lives in exactly one file here and is linked, never restated (anti-patterns.md #38). A consuming skill may cite a rule by number or link the file; it may not copy the rule's text. Skill-specific operational content — checklists, scan thresholds, refactor steps — stays in the skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

