coding-rules SKILL.md skillA

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

Install it, pinned
mdr add shinpr/codex-workflows/coding-rules@git:20260922.5475540

Pins git:20260922.5475540 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shinpr/codex-workflows
Path
.agents/skills/coding-rules/SKILL.md
Versions recorded
7
Latest version
git:20260922.5475540, committed Sep 22, 2026
First version recorded
Jul 16, 2026
Size
5,239 bytes
Repository stars
38
License
MIT

Repository-aware implementation rules for minimal design surface, contract safety, representative patterns, and verifiable changes. Use when implementing, refactoring, or reviewing 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

# Coding Rules

## Reference

Read [references/typescript.md](references/typescript.md) only for TypeScript used in web frontend work, including React applications. It does not apply to backend or non-web TypeScript. Read [references/security-checks.md](references/security-checks.md) when the change crosses an input, authorization, secret, persistence, or output boundary.

## Source Order

Follow, in order:

1. User-required outcome, explicit constraints, repository rules, and actual consumer contracts
2. Task, acceptance criteria, Design Doc, ADR, and Work Plan as the current implementation plan
3. Representative repository patterns
4. Language/framework defaults

Use a sourced project contract in preference to generic best practice. When a planned mechanism is unnecessary or incorrect, preserve user outcomes and explicit constraints while reducing it: document passage and a generated AC do not make that mechanism mandatory. Keep the affected plan and proof aligned with the selected reduction.

## Minimal Design Surface
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add shinpr/codex-workflows/coding-rules@sha256:144bcb955dfbdd11

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

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

Versions

The registry has recorded 7 versions of this file, between Jul 16, 2026 and Sep 22, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
git:20260922.5475540 latest2026-09-22 5475540 5,239 BA view · diff
git:20260915.3b2dc522026-09-15 3b2dc52 4,817 BA view · diff
git:20260802.c0182802026-08-02 c018280 4,164 BA view · diff
git:20260802.aa3bfed2026-08-02 aa3bfed 4,142 BA view · diff
git:20260728.312fef92026-07-28 312fef9 3,358 BA view · diff
git:20260719.3848a772026-07-19 3848a77 7,348 BA view · diff
git:20260716.aea95232026-07-16 aea9523 7,159 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 (5239 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/codex-workflows · 38 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xyycwlq7e37ij2sd
GET https://markdownregistry.com/api/v1/resolve?ref=shinpr/codex-workflows/coding-rules
GET https://markdownregistry.com/api/v1/blob/144bcb955dfbdd113b51423885d1f95e4665381124266562e9611cc5eed60541

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/codex-workflows

ai-development-guide SKILL.md skill
shinpr/codex-workflows · .agents/skills/ai-development-guide/SKILL.md · Root-cause discipline, proportionate impact analysis, and implementation completeness assurance. Use when fixing bugs…
git:20261102.2a1d2f6 · audit A · 38 stars
documentation-criteria SKILL.md skill
shinpr/codex-workflows · .agents/skills/documentation-criteria/SKILL.md · Determines which PRD, ADR, UI Spec, Design Doc, and Work Plan a change requires and where each document lives. Use when…
git:20261102.2a1d2f6 · audit A · 38 stars
external-resource-context SKILL.md skill
shinpr/codex-workflows · .agents/skills/external-resource-context/SKILL.md · Resolves and records one external evidence source required by a current design or verification decision. Use when…
git:20260915.0c8f517 · audit A · 38 stars
implementation-approach SKILL.md skill
shinpr/codex-workflows · .agents/skills/implementation-approach/SKILL.md · Selects the smallest sufficient implementation strategy and verification boundary from current requirements and…
git:20261102.2a1d2f6 · audit A · 38 stars
integration-e2e-testing SKILL.md skill
shinpr/codex-workflows · .agents/skills/integration-e2e-testing/SKILL.md · Selects and specifies the integration/E2E tests that own accepted behavior at the boundary where it is observable.
git:20261102.2a1d2f6 · audit A · 38 stars
llm-friendly-context SKILL.md skill
shinpr/codex-workflows · .agents/skills/llm-friendly-context/SKILL.md · Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream agents can execute…
git:20261022.e38db2d · audit A · 38 stars
recipe-add-integration-tests SKILL.md skill
shinpr/codex-workflows · .agents/skills/recipe-add-integration-tests/SKILL.md · Add integration/E2E tests to existing codebase using Design Docs.
git:20261023.aaf52b6 · audit A · 38 stars
recipe-build SKILL.md skill
shinpr/codex-workflows · .agents/skills/recipe-build/SKILL.md · Execute an approved backend Work Plan autonomously through task execution, quality fixes, commits, and final…
git:20261023.aaf52b6 · audit A · 38 stars
recipe-design SKILL.md skill
shinpr/codex-workflows · .agents/skills/recipe-design/SKILL.md · Execute from codebase-scoped analysis to design document creation.
git:20261102.2a1d2f6 · audit A · 38 stars
recipe-diagnose SKILL.md skill
shinpr/codex-workflows · .agents/skills/recipe-diagnose/SKILL.md · Investigate problem, verify findings, and derive solutions through structured diagnosis.
git:20261023.aaf52b6 · audit A · 38 stars
recipe-front-adjust SKILL.md skill
shinpr/codex-workflows · .agents/skills/recipe-front-adjust/SKILL.md · Adjust an implemented UI with focused evidence, verification, and quality checks.
git:20261023.aaf52b6 · audit A · 38 stars
recipe-front-build SKILL.md skill
shinpr/codex-workflows · .agents/skills/recipe-front-build/SKILL.md · Execute an approved frontend Work Plan autonomously through frontend implementation, quality fixes, commits, and final…
git:20261023.aaf52b6 · audit A · 38 stars

Every file in shinpr/codex-workflows

Other files named coding-rules

coding-rules SKILL.md skill
shinpr/agentic-code · .agents/skills/coding-rules/SKILL.md · Applies repository-aware rules for maintainable implementation, contracts, errors, and refactoring. Use when writing or…
git:20261103.998947c · audit A · 51 stars

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