coding-rules SKILL.md skillA

coding-rules from shinpr/agentic-code is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add shinpr/agentic-code/coding-rules@git:20261103.998947c

Pins git:20261103.998947c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shinpr/agentic-code
Path
.agents/skills/coding-rules/SKILL.md
Versions recorded
5
Latest version
git:20261103.998947c, committed Nov 3, 2026
First version recorded
Dec 30, 2025
Size
2,763 bytes
Repository stars
51
License
MIT

Applies repository-aware rules for maintainable implementation, contracts, errors, and refactoring. Use when writing or modifying code.

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

# Development Rules

## Language and Repository Rules

Use the repository's formatter, linter, type system, naming conventions, and representative code patterns. Read a language reference only when it applies:

- **TypeScript**: [references/typescript.md](references/typescript.md)

Repository contracts and accepted design decisions take precedence over generic style preferences.

## Minimal Change

- Implement the requested outcome through existing mechanisms where sufficient.
- Keep unrelated cleanup and optional hardening outside the change.
- Remove unused code encountered inside the changed responsibility when evidence shows no current consumer remains.
- Introduce an abstraction only when current callers share responsibility and change pressure.

## Functions and Interfaces

- Keep one coherent responsibility per function or module.
- Use the language's idiomatic parameter and data-shape conventions.
- Make external dependencies and side effects visible at the appropriate boundary.
- Preserve public and shared contracts unless the requirements change them.
- Prefer simple control flow; refactor complexity when it obscures behavior or error handling.

## Error Handling
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add shinpr/agentic-code/coding-rules@sha256:3e883b56cf8e3d88

The line at the top of this page pins the label git:20261103.998947c, 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_wfdmhvmsbvwuhfky.svg)](https://markdownregistry.com/a/art_wfdmhvmsbvwuhfky)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Dec 30, 2025 and Nov 3, 2026, about one every 77 days.

versioncommittedcommitsizeaudit
git:20261103.998947c latest2026-11-03 998947c 2,763 BA view · diff
git:20260829.876a2142026-08-29 876a214 2,766 BA view · diff
git:20251231.cb53cf62025-12-31 cb53cf6 4,599 BA view · diff
git:20251230.9a88ee82025-12-30 9a88ee8 4,665 BA view · diff
git:20251230.7fa7e692025-12-30 7fa7e69 4,665 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 (2763 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

shinpr/agentic-code · 51 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wfdmhvmsbvwuhfky
GET https://markdownregistry.com/api/v1/resolve?ref=shinpr/agentic-code/coding-rules
GET https://markdownregistry.com/api/v1/blob/3e883b56cf8e3d88966d404dae6902f303173a5f3495a24805e4519aaeb5d11f

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 shinpr/agentic-code

ai-development-guide SKILL.md skill
shinpr/agentic-code · .agents/skills/ai-development-guide/SKILL.md · Applies root-cause analysis, impact inspection, and completeness checks without expanding the requested scope. Use when…
git:20261103.998947c · audit A · 51 stars
documentation-criteria SKILL.md skill
shinpr/agentic-code · .agents/skills/documentation-criteria/SKILL.md · Determines which PRD, ADR, Design Doc, and Work Plan a change requires. Use when deciding documentation scope or…
git:20261103.998947c · audit A · 51 stars
implementation-approach SKILL.md skill
shinpr/agentic-code · .agents/skills/implementation-approach/SKILL.md · Selects the smallest sufficient implementation strategy and verification boundary from current requirements and…
git:20261103.998947c · audit A · 51 stars
integration-e2e-testing SKILL.md skill
shinpr/agentic-code · .agents/skills/integration-e2e-testing/SKILL.md · Applies integration and E2E implementation, mock-boundary, and review rules. Use when: writing integration or E2E tests…
git:20261103.998947c · audit A · 51 stars
metacognition SKILL.md skill
shinpr/agentic-code · .agents/skills/metacognition/SKILL.md · Checks task understanding, evidence, scope, and stopping conditions at decision-changing moments. Use when starting…
git:20261103.998947c · audit A · 51 stars
testing-strategy SKILL.md skill
shinpr/agentic-code · .agents/skills/testing-strategy/SKILL.md · Selects the one owning test for each acceptance criterion at the boundary where its behavior is observable, using…
git:20261103.998947c · audit A · 51 stars
testing SKILL.md skill
shinpr/agentic-code · .agents/skills/testing/SKILL.md · Chooses which tests a change needs, with one owning test per behavioral claim at the boundary where it is observable…
git:20261103.998947c · audit A · 51 stars
AGENTS.md AGENTS.md file
shinpr/agentic-code · AGENTS.md
git:20261103.998947c · audit A · 51 stars

Every file in shinpr/agentic-code

Other files named coding-rules

coding-rules SKILL.md skill
shinpr/codex-workflows · .agents/skills/coding-rules/SKILL.md · Repository-aware implementation rules for minimal design surface, contract safety, representative patterns, and…
git:20260922.5475540 · audit A · 38 stars

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