code-standards SKILL.md skillA

code-standards from prabhdeepsingh/claude-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add prabhdeepsingh/claude-plugins/code-standards@git:20260913.4e5ade4

Pins git:20260913.4e5ade4 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
prabhdeepsingh/claude-plugins
Path
sonu/skills/code-standards/SKILL.md
Versions recorded
7
Latest version
git:20260913.4e5ade4, committed Sep 13, 2026
First version recorded
Aug 26, 2026
Size
36,544 bytes
Repository stars
4
License
MIT

Prabhdeep (Sonu) Singh's personal coding standards — the house rules and quality bar for how code gets written. INVOKE before writing, generating, refactoring, or reviewing ANY code in ANY language — schemas, endpoints, queries, logging, validation, error handling — even when nobody says "standards" or "style". ([[tdd]] assumes this bar.).

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

# Code Standards — write it like Sonu would

This is the house style. It exists because code is read far more often than it's written, and the reader is usually a tired human (or model) six months from now with no context. Every rule below optimizes for that reader. Follow the spirit, not just the letter — these are the instincts of someone who's maintained code for 20 years, not a linter config.

## How to apply this

Before writing new code, hold these standards in mind as the target. Before editing existing code, read the surrounding file first: **a consistent codebase beats a "correct" one.** If the existing code already has strong conventions, match them even where they differ from this guide, and mention the conflict rather than silently fighting it. Apply this guide fully when starting fresh, filling gaps, or when the existing code has no clear convention.

When you finish a change, run the self-check at the bottom against your own diff before considering it done.

## How you work — discipline before output
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add prabhdeepsingh/claude-plugins/code-standards@sha256:7024c1ed3c932b1c

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

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

Versions

The registry has recorded 7 versions of this file, between Aug 26, 2026 and Sep 13, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20260913.4e5ade4 latest2026-09-13 4e5ade4 36,544 BA view · diff
git:20260909.6dfa8212026-09-09 6dfa821 32,644 BA view · diff
git:20260906.c8d9cf22026-09-06 c8d9cf2 31,117 BA view · diff
git:20260902.9c9f1b82026-09-02 9c9f1b8 28,682 BA view · diff
git:20260827.d52dc182026-08-27 d52dc18 25,879 BA view · diff
git:20260826.3bb29a72026-08-26 3bb29a7 25,524 BA view · diff
git:20260826.0b4d9032026-08-26 0b4d903 21,882 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 (36544 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

prabhdeepsingh/claude-plugins · 4 stars · license MIT · pushed 2026-09-13 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_nas5vfbqb5hjf5zw
GET https://markdownregistry.com/api/v1/resolve?ref=prabhdeepsingh/claude-plugins/code-standards
GET https://markdownregistry.com/api/v1/blob/7024c1ed3c932b1c33233ebe595a989d89abfa9122240d96427493692ab015f1

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 prabhdeepsingh/claude-plugins

plugin-dev SKILL.md skill
prabhdeepsingh/claude-plugins · .claude/skills/plugin-dev/SKILL.md · The maintainer's handbook for the sonu plugin and the claude-plugins repo. INVOKE whenever authoring, editing…
git:20260913.4e5ade4 · audit A · 4 stars
accessibility SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/accessibility/SKILL.md · Accessibility engineering for product interfaces — keyboard support, focus states, ARIA, forms, screen readers, hit…
git:20260826.41a30c8 · audit A · 4 stars
blast-radius SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/blast-radius/SKILL.md · Consumer-impact discipline for contract changes — enumerate every consumer, flag the ones that degrade silently, verify…
git:20260826.3bb29a7 · audit A · 4 stars
bug-finder SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/bug-finder/SKILL.md · Hunt for one real, previously unreported defect and file it as a well-evidenced ticket — proactive discovery, not…
git:20260825.06c64c5 · audit A · 4 stars
classify-tickets SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/classify-tickets/SKILL.md · Backlog hygiene as a sweep — exactly one type and one evidence-based priority per open ticket, and nothing else…
git:20260826.0b4d903 · audit A · 4 stars
colors SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/colors/SKILL.md · Color systems for web interfaces — OKLCH conversion and palette generation, contrast measurement (APCA/WCAG), gamut and…
git:20260826.41a30c8 · audit A · 4 stars
debugging SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/debugging/SKILL.md · The scientific debugging loop — reproduce first, pull the real event from the repo's observability stack, one…
git:20260913.4e5ade4 · audit A · 4 stars
design-tree SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/design-tree/SKILL.md · Make design decisions as an explicit branching tree — genuine alternatives, decisive rationale, rejected branches…
git:20260913.4e5ade4 · audit A · 4 stars
infra-standards SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/infra-standards/SKILL.md · Infrastructure, container, and CI/CD discipline — IaC, Dockerfiles and compose files, CI pipelines, platform deploy…
git:20260827.d52dc18 · audit A · 4 stars
intent-interview SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/intent-interview/SKILL.md · Pre-spec intent extraction — one question at a time, each with a guess attached, until you can predict the user's…
git:20260826.d0dd268 · audit A · 4 stars
interface-review SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/interface-review/SKILL.md · Cross-discipline review of a whole screen, flow, or feature — coordinates [[accessibility]], [[layout]]…
git:20260909.6dfa821 · audit A · 4 stars
layout SKILL.md skill
prabhdeepsingh/claude-plugins · sonu/skills/layout/SKILL.md · Layout structure for web interfaces — grouping, alignment, negative space, reading order, progressive disclosure…
git:20260826.3bb29a7 · audit A · 4 stars

Every file in prabhdeepsingh/claude-plugins

Other files named code-standards

code-standards Cursor rule
space-dinosaurs/dinostack · .cursor/rules/code-standards.mdc · Code quality gates, tool discipline, package management, and browser verification for software engineering tasks.
git:20261007.7cb691b · audit A · 14 stars
code-standards SKILL.md skill
metraton/gaia · skills/code-standards/SKILL.md · Use when writing, modifying, reviewing, or refactoring code — any language or stack, application, infrastructure, or…
git:20260910.1cac472 · audit A · 4 stars

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