extract-rules skillA
extract-rules is agent-read markdown (skill) from hiroro-work/claude-plugins: Extract project-specific coding rules and domain knowledge from existing codebase, generating markdown documentation for AI agents. Use when onboarding a new project, after code review discussions about coding style, or when coding conventions need documenting. Also consider running after sessions where coding preferences were discussed or corrected (--from-conversation), or after PRs with significant review feedback (--from-pr)..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Extract Rules Analyzes existing codebase to identify what Claude would get wrong without project-specific guidance, extracting coding rules and domain knowledge as structured markdown documentation for AI agents. ## Usage ```text /extract-rules # Extract rules from codebase (initial) /extract-rules --update # Re-scan and add new patterns (preserve existing) /extract-rules --restructure # Re-analyze, reorganize structure, merge existing rules /extract-rules --from-conversation # Extract from current session (latest) /extract-rules --from-conversation <session-id> # Extract from a specific session /extract-rules --from-pr 123 # PR in current repo /extract-rules --from-pr owner/repo#123 # PR in another repo (URL form also accepted) /extract-rules --from-pr 100..110 # PR range (current repo) /extract-rules --from-pr owner/repo#100..110 # PR range (another repo) /extract-rules --compact # Compact all over-threshold rules files (output_dir/**/*.md) /extract-rules --compact path/to/file.md ... # Compact specific files (caller passes explicit paths) …
Read the whole file at its exact version.
How to install
mdr add hiroro-work/claude-plugins/extract-rules@git:20260916.9d90c93mdr add hiroro-work/claude-plugins/extract-rules@sha256:4766af4b78aac778Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_qzfh5e744fdcshrr)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260916.9d90c93 latest | 2026-09-16 | 9d90c93 | 32,158 B | A | view · diff |
| git:20260909.6ad521f | 2026-09-09 | 6ad521f | 30,441 B | A | view · diff |
| git:20260909.5df5824 | 2026-09-09 | 5df5824 | 40,303 B | A | view · diff |
| git:20260902.44e45b6 | 2026-09-02 | 44e45b6 | 60,820 B | A | view · diff |
| git:20260901.c9d3298 | 2026-09-01 | c9d3298 | 61,184 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 (32158 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
hiroro-work/claude-plugins · 48 stars · license none · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_qzfh5e744fdcshrr GET https://markdownregistry.com/api/v1/resolve?ref=hiroro-work/claude-plugins/extract-rules GET https://markdownregistry.com/api/v1/blob/4766af4b78aac77831b0aa02f72b4ea614e5a171790840b707da85d0abd7f30c
Your agent 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.