code-quality-principles SKILL.md skillA

code-quality-principles from synaptiai/synapti-marketplace is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add synaptiai/synapti-marketplace/code-quality-principles@git:20261031.21b6797

Pins git:20261031.21b6797 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
synaptiai/synapti-marketplace
Path
plugins/flow/skills/code-quality-principles/SKILL.md
Versions recorded
6
Latest version
git:20261031.21b6797, committed Oct 31, 2026
First version recorded
Mar 11, 2026
Size
4,261 bytes
Repository stars
7
License
Apache-2.0

Enforce code quality through the Boy Scout Rule (leave code better than found), secret-free commits, production-ready code (no TODOs, console.log, mocks, or commented code), and self-review against an atomic-commits checklist. Use when writing, modifying, or reviewing code. This skill MUST be consulted because production code without these standards causes quality regressions and operational incidents.

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 Quality Principles

## Iron Law

**Every change is intentional: if you can't explain why a line changed, revert it.**

## Before You Write Code

Answer first, or return to EXPLORE: which task/criterion this code serves; which files change and why each; which existing project patterns apply; what could go wrong (error cases, edge cases, security); how you will verify it.

## Boy Scout Rule

Leave every file you touch better than you found it. Touching a file means owning its known issues.

**The proximity test is NOT a deferral mechanism for P1/P2 findings.** It decides *how* a cleanup is committed (alongside the feature fix vs. a separate `improve:` commit), not *whether* it gets fixed. A P1 or P2 in a file the PR modifies is fixed in this PR.

**A cleanup is a standalone `improve:` commit when ALL true:**
1. The file is already being modified for the current task
2. The fix is self-evidently correct (lint, format, typo, obvious bug, missing error handling)
3. The fix is small (under ~10 lines)
4. It does not change public API signatures or behavior semantics
5. It needs no explanation beyond "Boy Scout cleanup"
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add synaptiai/synapti-marketplace/code-quality-principles@sha256:29d4058b8f3105a5

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

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

Versions

The registry has recorded 6 versions of this file, between Mar 11, 2026 and Oct 31, 2026, about one every 47 days.

versioncommittedcommitsizeaudit
git:20261031.21b6797 latest2026-10-31 21b6797 4,261 BA view · diff
git:20260909.67782552026-09-09 6778255 4,288 BA view · diff
git:20260519.d26d4192026-05-19 d26d419 6,553 BA view · diff
git:20260506.b1f0fef2026-05-06 b1f0fef 6,004 BA view · diff
git:20260416.1c272942026-04-16 1c27294 5,841 BA view · diff
git:20260311.a793cc42026-03-11 a793cc4 4,796 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 (4261 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

synaptiai/synapti-marketplace · 7 stars · license Apache-2.0 · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_tfto55ovg2ypgtc5
GET https://markdownregistry.com/api/v1/resolve?ref=synaptiai/synapti-marketplace/code-quality-principles
GET https://markdownregistry.com/api/v1/blob/29d4058b8f3105a5706ba2d75c4db93642c1b8ae676b433ae03f3932276aa35b

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 synaptiai/synapti-marketplace

CLAUDE.md@.claude CLAUDE.md file
synaptiai/synapti-marketplace · .claude/CLAUDE.md
git:20261101.fe898b3 · audit A · 7 stars
AGENTS.md AGENTS.md file
synaptiai/synapti-marketplace · AGENTS.md
git:20260927.277fed8 · audit A · 7 stars
adoption-sprint-designer SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/adoption-sprint-designer/SKILL.md · Design structured AI adoption sprints (hackathons, pilots, onboarding experiences) with clear objectives, participant…
git:20260401.9d3c2ff · audit A · 7 stars
agent-builder SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/agent-builder/SKILL.md · Generate role-specific agent system prompts, tool permissions, and self-review checklists from organizational design…
git:20260726.1f35e1f · audit A · 7 stars
ai-first-kit SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/ai-first-kit/SKILL.md · Navigate organizational redesign for AI with a structured 13-skill toolkit that produces persistent artifacts in…
git:20260401.4061ebc · audit A · 7 stars
coordination-audit SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/coordination-audit/SKILL.md · Produce a structured organizational diagnostic that quantifies time spent on specification vs coordination vs…
git:20260328.2c4c4ed · audit A · 7 stars
evolution-auditor SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/evolution-auditor/SKILL.md · Run a structured organizational design health check — operationalizing the governance learning loop and decision ledger…
git:20260401.9ecedac · audit A · 7 stars
governance-architect SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/governance-architect/SKILL.md · Design and save a complete governance ecosystem for agentic operations — 6 structured documents (authority matrix, hard…
git:20260328.2c4c4ed · audit A · 7 stars
holdout-evaluator SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/holdout-evaluator/SKILL.md · Validate agent work output against hidden holdout scenarios using LLM-as-Judge evaluation, producing mapped feedback…
git:20260401.9ecedac · audit A · 7 stars
maturity-ladder SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/maturity-ladder/SKILL.md · Build a per-role human AI adoption maturity matrix with observable behaviors per level, current state assessment…
git:20260401.9d3c2ff · audit A · 7 stars
operationalize SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/operationalize/SKILL.md · Distill organizational design artifacts into an operational agent primer — a concise, agent-consumable AGENT-PRIMER.md…
git:20260401.ee7c912 · audit A · 7 stars
org-genome-builder SKILL.md skill
synaptiai/synapti-marketplace · plugins/ai-first-org-design-kit/skills/org-genome-builder/SKILL.md · Build and save a structured organizational genome — 7 markdown files across identity, decision architecture, and…
git:20260328.2c4c4ed · audit A · 7 stars

Every file in synaptiai/synapti-marketplace

Other files named code-quality-principles

code-quality-principles SKILL.md skill
athola/claude-night-market · plugins/conserve/skills/code-quality-principles/SKILL.md · Applies KISS, YAGNI, and SOLID principles for clean code with reduced complexity. Use when refactoring or reviewing…
git:20260902.d04952c · audit A · 348 stars

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