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.

Install it, pinned
mdr add mithunwijayasiri/dotclaude/claude-project-rules@git:20261026.b29f51d

Pins 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

The exact contents, by fingerprint
mdr add mithunwijayasiri/dotclaude/claude-project-rules@sha256:a3da97bac4bafb95

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4k6u37lbzzuq4xsi.svg)](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.

versioncommittedcommitsizeaudit
git:20261026.b29f51d latest2026-10-26 b29f51d 7,678 BA view · diff
git:20261004.03effb82026-10-04 03effb8 7,177 BA view · diff
git:20260912.d0400d82026-09-12 d0400d8 7,109 BA view · diff
git:20260912.4f1d2212026-09-12 4f1d221 6,704 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from mithunwijayasiri/dotclaude

CLAUDE.md CLAUDE.md file
mithunwijayasiri/dotclaude · CLAUDE.md
git:20261010.1ebf38d · audit A · 4 stars
ask-first SKILL.md skill
mithunwijayasiri/dotclaude · skills/ask-first/SKILL.md · Ask the user clarifying questions before acting, instead of filling gaps with guesses. Use when starting to implement a…
git:20261013.0e269cd · audit A · 4 stars
compact-markdown SKILL.md skill
mithunwijayasiri/dotclaude · skills/compact-markdown/SKILL.md · Writing style for markdown files. Strips filler, writes telegraphic and content-only — docs are for AI agents, not…
git:20261010.1ebf38d · audit A · 4 stars
humanize SKILL.md skill
mithunwijayasiri/dotclaude · skills/deprecated/humanize/SKILL.md · Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.
git:20261004.03effb8 · audit A · 4 stars
pr-review SKILL.md skill
mithunwijayasiri/dotclaude · skills/deprecated/pr-review/SKILL.md · Review a PR, branch, commit, or uncommitted changes for correctness bugs, structural regressions, security and…
git:20261004.134b66b · audit A · 4 stars
empty-commit SKILL.md skill
mithunwijayasiri/dotclaude · skills/empty-commit/SKILL.md · Use when a CI pipeline failed on something unrelated to the code and the PR is blocked — pushes an empty commit to…
git:20261011.04bbb86 · audit A · 4 stars
git-merge SKILL.md skill
mithunwijayasiri/dotclaude · skills/git-merge/SKILL.md · Merge one branch (usually the default branch) into the current branch while preserving local unstaged changes…
git:20261011.04bbb86 · audit A · 4 stars
git-worktree SKILL.md skill
mithunwijayasiri/dotclaude · skills/git-worktree/SKILL.md · Use when the user asks to create, enter/switch to, or remove a git worktree on Windows — makes it under…
git:20261009.aa46ea6 · audit B · 4 stars
github-issue-creator SKILL.md skill
mithunwijayasiri/dotclaude · skills/github-issue-creator/SKILL.md · Create or edit GitHub issues from raw notes, error logs, voice dictation or screenshots, following the repo's issue…
git:20261026.436fdc9 · audit A · 4 stars
handoff-session SKILL.md skill
mithunwijayasiri/dotclaude · skills/handoff-session/SKILL.md · Use when the user wants to hand off, continue in a new session, or pass the current work to another agent. Compacts the…
git:20261026.65f3878 · audit A · 4 stars
html-landing-page SKILL.md skill
mithunwijayasiri/dotclaude · skills/html-landing-page/SKILL.md · Static landing pages — single/few-file HTML/CSS/JS for project sites, GitHub Pages, product one-pagers. Build…
git:20261010.1ebf38d · audit A · 4 stars
offload-task SKILL.md skill
mithunwijayasiri/dotclaude · skills/offload-task/SKILL.md · Write one stuck problem into a standalone markdown brief so a fresh session in any coding agent can attack it without…
git:20261026.65f3878 · audit A · 4 stars

Every file in mithunwijayasiri/dotclaude

Browse by kind, by grade A, or by owner.