claude-project-rules SKILL.md skillA
claude-project-rules from mithunwijayasiri/dotclaude is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mithunwijayasiri/dotclaude/claude-project-rules@git:20261026.b29f51dPins git:20261026.b29f51d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mithunwijayasiri/dotclaude
- Path
skills/claude-project-rules/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261026.b29f51d, committed Oct 26, 2026
- First version recorded
- Sep 12, 2026
- Size
- 7,678 bytes
- Repository stars
- 4
- License
- MIT
Author Claude Code rule files (.claude/rules/*.md). Use when asked to create, add, edit, or review a project or user "rule" — covers frontmatter, lazy-load vs always-on loading, glob scoping, symlinked shared rules, exclusions, and when a rule beats CLAUDE.md or a skill. Invoke before writing any file under .claude/rules/.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Claude Code project rules Rules = topic-scoped instruction files under `.claude/rules/`. Official memory feature. Get the loading model right or the rule either bloats every session or never fires. Rules are **context, not enforcement**. To hard-block an action, use a `PreToolUse` hook instead. ## Loading model (the thing that's easy to get wrong) - File under `.claude/rules/` (project) or `~/.claude/rules/` (user). `.md` discovered recursively; subdirs allowed (`rules/frontend/`). - **No `paths:` frontmatter → loaded at launch, always-on**, same priority as `.claude/CLAUDE.md`. Costs context every turn. - **`paths:` frontmatter (YAML list of globs) → lazy-loaded**, injected when Claude reads a matching file. Zero cost until then. - Load order: user rules first, then project rules. Neither overrides the other — on conflict Claude may follow either, so resolve conflicts instead of relying on order. - After `/compact`: a path-scoped rule reloads only once a matching file is read again. Don't put must-always-hold facts in one. **Default to `paths:`-scoped.** Omit `paths:` ONLY when the rule genuinely governs all work (rare — that's usually CLAUDE.md's job). ## Frontmatter …
Read the whole file at its exact version.
How to install
mdr add mithunwijayasiri/dotclaude/claude-project-rules@sha256:a3da97bac4bafb95The line at the top of this page pins the label git:20261026.b29f51d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_4k6u37lbzzuq4xsi)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 12, 2026 and Oct 26, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261026.b29f51d latest | 2026-10-26 | b29f51d | 7,678 B | A | view · diff |
| git:20261004.03effb8 | 2026-10-04 | 03effb8 | 7,177 B | A | view · diff |
| git:20260912.d0400d8 | 2026-09-12 | d0400d8 | 7,109 B | A | view · diff |
| git:20260912.4f1d221 | 2026-09-12 | 4f1d221 | 6,704 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7678 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
mithunwijayasiri/dotclaude · 4 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_4k6u37lbzzuq4xsi GET https://markdownregistry.com/api/v1/resolve?ref=mithunwijayasiri/dotclaude/claude-project-rules GET https://markdownregistry.com/api/v1/blob/a3da97bac4bafb9542f44862031e3abd7a877754599f8591794bdb2097216ed3
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.