coding-standards SKILL.md skillA

coding-standards from shinpr/ai-coding-project-boilerplate is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add shinpr/ai-coding-project-boilerplate/coding-standards@git:20261014.f06813c

Pins git:20261014.f06813c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
shinpr/ai-coding-project-boilerplate
Path
.claude/skills-zh-CN/coding-standards/SKILL.md
Versions recorded
7
Latest version
git:20261014.f06813c, committed Oct 14, 2026
First version recorded
Aug 31, 2026
Size
13,000 bytes
Repository stars
234
License
MIT

检测代码异味、反模式和可读性问题。在实现功能、评审代码或重构时使用。.

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

# 通用编码标准

## 技术反模式(危险信号模式)

检测到以下任一模式时,暂停实现并记录:触发的模式、受影响的当前需求、最小的合规替代方案,以及恢复所需的验证。当替代方案消除该模式或有文档记录的需求证明保留该模式合理时,方可恢复。

### 代码质量反模式
1. **相似代码编写 3 次或以上** —— 违反三次法则(Rule of Three)
2. **单个文件中混杂多种职责** —— 违反单一职责原则(SRP)
3. **在多个文件中定义相同内容** —— 违反 DRY 原则
4. **未检查依赖关系就进行修改** —— 存在意外影响的可能性
5. **用注释禁用代码** —— 应使用版本控制
6. **错误抑制** —— 隐藏问题会形成技术债
7. **用类型断言替代保证** —— 声明了既无运行时检查也无既有契约作为依据的类型

### 设计反模式
- **“暂时能用就行”的思维** —— 技术债的累积
- **补丁式实现** —— 对现有代码进行无计划的追加
- **对症式修复** —— 不解决根本原因的表面修复
- **无计划的大规模变更** —— 缺乏渐进式方法

## 基本原则

持续排查,直到依据能够确定在保持系统正确性和可维护性的前提下,以最低总复杂度交付所需的用户、运维或维护者价值的方案。

- **基于依据的重构范围** —— 只重构阻碍当前结果、被当前任务变更、或未通过适用质量检查的代码;使用保持行为不变的小步骤。对其他发现,连同其所属边界和依据一并报告,而不扩大当前变更范围
- **仅限当前需求的代码** —— 只有当当前需求、已验证的约束、或有依据支持的实质性风险要求时,才引入新的代码路径、能力、基础设施、抽象或推测性的边缘情况处理(YAGNI)
- **设计收敛** —— 以最小的设计增量交付当前所需的结果。在引入持久状态、公共或跨边界契约、行为模式、可复用抽象或组件拆分之前,先记录现有能力已经交付了什么、它们在当前结果上未能交付什么,以及为什么该新增是能弥合这一差距的最小方案

对每个被激活的层面综合评估总复杂度:用户决策、设置、模式、概念、输出、持久状态和实现路径,以及它们各自在 UX、运行时、实现、测试、文档和维护方面的成本。只比较各可行方案之间存在差异的维度。当能以更低的总复杂度交付相同的已确认价值和验证结果时,优先选择复用或不引入新机制。

## 注释编写规则

- **代码优先**:命名、类型和结构是主要的表达媒介;只有在注释能传达代码无法表达的信息时才添加注释。犹豫不决时,改进命名而不是加注释
- **注释“为什么”,而非“是什么”**:解释推理过程、权衡取舍、约束/边缘情况,或公共 API 契约
- **内容不过时**:注释包含当前的推理、约束、边缘情况或 API 契约;开发历史由版本控制保留
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add shinpr/ai-coding-project-boilerplate/coding-standards@sha256:8fa8260550ba4352

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

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

Versions

The registry has recorded 7 versions of this file, between Aug 31, 2026 and Oct 14, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20261014.f06813c latest2026-10-14 f06813c 13,000 BA view · diff
git:20261012.a0476f02026-10-12 a0476f0 13,476 BA view · diff
git:20260923.03f66be2026-09-23 03f66be 13,446 BA view · diff
git:20260923.86a3d792026-09-23 86a3d79 14,290 BA view · diff
git:20260912.c0d43622026-09-12 c0d4362 13,915 BA view · diff
git:20260906.388b1dd2026-09-06 388b1dd 13,882 BA view · diff
git:20260831.b1830372026-08-31 b183037 13,960 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 (13000 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/ai-coding-project-boilerplate · 234 stars · license MIT · pushed 2026-10-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_iltavn7gejomvfva
GET https://markdownregistry.com/api/v1/resolve?ref=shinpr/ai-coding-project-boilerplate/coding-standards
GET https://markdownregistry.com/api/v1/blob/8fa8260550ba4352d943ca8c0360e260b90bcee913df29689085b03658c5bce8

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/ai-coding-project-boilerplate

coding-standards SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/coding-standards/SKILL.md · Detects code smells, anti-patterns, and readability issues. Use when implementing features, reviewing code, or…
git:20261014.578fed5 · audit A · 234 stars
documentation-criteria SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/documentation-criteria/SKILL.md · Determines which PRD, ADR, UI Spec, Design Doc, and Work Plan a change requires and where each is stored. Use when…
git:20260923.86a3d79 · audit A · 234 stars
frontend-technical-spec SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/frontend-technical-spec/SKILL.md · Defines React environment, component architecture, state/data flow, build verification, and frontend non-functional…
git:20260923.03f66be · audit A · 234 stars
frontend-typescript-rules SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/frontend-typescript-rules/SKILL.md · Applies React/TypeScript type safety, component design, and state management rules. Use when implementing React…
git:20260912.c0d4362 · audit A · 234 stars
frontend-typescript-testing SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/frontend-typescript-testing/SKILL.md · Designs frontend tests using the repository's configured React test and browser harnesses, including RTL, MSW, Vitest…
git:20261014.578fed5 · audit A · 234 stars
implementation-approach SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/implementation-approach/SKILL.md · Selects implementation strategy (vertical slice, horizontal, or hybrid) with risk assessment. Use when planning feature…
git:20261014.578fed5 · audit A · 234 stars
integration-e2e-testing SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/integration-e2e-testing/SKILL.md · Selects and designs the smallest integration/E2E test set that proves accepted behavior at an observable boundary. Use…
git:20261014.578fed5 · audit A · 234 stars
llm-friendly-context SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/llm-friendly-context/SKILL.md · Clarifies inputs, outputs, success criteria, decisions, and unresolved conditions so downstream agents can execute…
git:20260923.86a3d79 · audit A · 234 stars
project-context SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/project-context/SKILL.md · Marks project context as unconfigured until domain constraints, repository quality standards, phase, conventions, and…
git:20260901.b347ae2 · audit A · 234 stars
requirement-convergence SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/requirement-convergence/SKILL.md · Separates the outcome a change must produce from the requirements proposed to reach it, records what the user excluded…
git:20260923.558b381 · audit A · 234 stars
skill-optimization SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/skill-optimization/SKILL.md · Evaluates and optimizes skill file quality using 9 content patterns and 10 editing principles. Use when creating…
git:20260831.b183037 · audit A · 234 stars
subagents-orchestration-guide SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/subagents-orchestration-guide/SKILL.md · Coordinates subagents through scale-based planning, approval, implementation, verification, and escalation flows. Use…
git:20261003.24e6460 · audit A · 234 stars

Every file in shinpr/ai-coding-project-boilerplate

Other files named coding-standards

coding-standards SKILL.md skill
affaan-m/ecc · .agents/skills/coding-standards/SKILL.md · Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed…
git:20260918.c752aac · audit A · 284,510 stars
coding-standards SKILL.md skill
affaan-m/ecc · docs/es/skills/coding-standards/SKILL.md · Convenciones de codificación base entre proyectos para nomenclatura, legibilidad, inmutabilidad y revisión de calidad…
git:20260607.ac0f11c · audit A · 284,510 stars
coding-standards SKILL.md skill
affaan-m/ecc · .kiro/skills/coding-standards/SKILL.md · Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
git:20260607.8b24f63 · audit A · 284,510 stars
coding-standards SKILL.md skill
affaan-m/ecc · docs/ja-JP/skills/coding-standards/SKILL.md · TypeScript、JavaScript、React、Node.js開発のための汎用コーディング標準、ベストプラクティス、パターン。
git:20260330.866d9eb · audit A · 284,510 stars
coding-standards SKILL.md skill
zereight/gitlab-mcp · .github/skills/coding-standards/SKILL.md · Canonical cross-language coding standards reference. Shared rules embedded by reviewer agents. Activate when: viewing…
git:20260412.9d9ce51 · audit A · 2,059 stars
coding-standards SKILL.md skill
hashgraph-online/awesome-codex-plugins · plugins/Colin4k1024/tsp/skills/coding-standards/SKILL.md · Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
git:20260512.6523792 · audit A · 1,352 stars
coding-standards SKILL.md skill
aiskillstore/marketplace · skills/5minfutures/coding-standards/SKILL.md · React 19 and TypeScript coding standards for Portfolio Buddy 2. Use when: writing new components, reviewing code…
git:20260706.b425f5e · audit A · 439 stars
coding-standards SKILL.md skill
shinpr/ai-coding-project-boilerplate · .claude/skills-en/coding-standards/SKILL.md · Detects code smells, anti-patterns, and readability issues. Use when implementing features, reviewing code, or…
git:20261014.578fed5 · audit A · 234 stars

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