sandi-metz-rules SKILL.md skillA
sandi-metz-rules from dicklesworthstone/pi_agent_rust is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dicklesworthstone/pi_agent_rust/sandi-metz-rules@git:20260205.788be98Pins git:20260205.788be98 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dicklesworthstone/pi_agent_rust
- Path
tests/ext_conformance/artifacts/agents-mikeastock/skills/sandi-metz-rules/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260205.788be98, committed Feb 5, 2026
- Size
- 7,138 bytes
- Repository stars
- 1,966
- License
- a license file GitHub does not identify
This skill should be used when users request code review, refactoring, or code quality improvements for Ruby codebases. Apply Sandi Metz's four rules for writing maintainable object-oriented code - classes under 100 lines, methods under 5 lines, no more than 4 parameters, and controllers instantiate only one object. Use when users mention "Sandi Metz", "code quality", "refactoring", or when reviewing Ruby code for maintainability.
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
# Sandi Metz Rules ## Overview This skill helps apply Sandi Metz's four rules for writing maintainable object-oriented code to Ruby codebases. These rules are heuristics that encourage good design practices, making code easier to understand, test, and maintain. ## The Four Rules 1. **Classes can be no longer than 100 lines of code** 2. **Methods can be no longer than 5 lines of code** 3. **Pass no more than 4 parameters into a method** 4. **Controllers can instantiate only one object** ## When to Use This Skill Apply this skill when: - Users explicitly request applying Sandi Metz's rules - Reviewing Ruby code for maintainability and code quality - Refactoring existing Ruby code to improve design - Users ask about "code smells" or improving object-oriented design - Analyzing Ruby code for complexity or maintainability issues - Users mention terms like "POODR" or reference Sandi Metz's work ## Code Review Workflow ### 1. Analyze the Code When reviewing code against Sandi Metz's rules: **Read the reference document:** First, load the detailed rules documentation: ``` Read references/rules.md ``` **Measure accurately:** …
Read the whole file at its exact version.
How to install
mdr add dicklesworthstone/pi_agent_rust/sandi-metz-rules@sha256:d993debabbe12091The line at the top of this page pins the label git:20260205.788be98, 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_pwqdglrgbmdwfoeb)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Feb 5, 2026.
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 (7138 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
dicklesworthstone/pi_agent_rust · 1,966 stars · license a license file GitHub does not identify · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_pwqdglrgbmdwfoeb GET https://markdownregistry.com/api/v1/resolve?ref=dicklesworthstone/pi_agent_rust/sandi-metz-rules GET https://markdownregistry.com/api/v1/blob/d993debabbe12091cf3ad1ab5bc2f4a3130495ece056c28ce4551f0a48e62c7f
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.