Coding Standards
Language-agnostic anti-pattern, type-safety, and test-first standards for reviews and refactors
Test report
- Verdict
- Works with setup
- Score
- Tested
- Jul 31, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · 3bebf27
⚠ The author changed this skill after we tested it. The verdict below describes the version we ran on Jul 31, 2026; it's queued for a re-test.
Fetched SKILL.md at .claude/skills-en/coding-standards/; frontmatter has name+description. Spot-checked 3 referenced paths via raw fetch — references/security-checks.md, implementation-approach/SKILL.md, typescript-rules/SKILL.md all HTTP 200; no security smells (the "Knowledge Cutoff Supplement" is informational, not injection). For OUTPUT I wrote two fetchUser() implementations: baseline returned `data as User` (no validation); skill-following used `unknown` + an isUser type guard + fail-fast InvalidUserError. Ran the guard in node against `{id:42}`: baseline passes the malformed object through typed as User, skill guard returns false so it throws — a concrete observed difference matching the skill's type-safety and fail-fast rules.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 6/10
- Docs & honesty 5/5
What Coding Standards does
A universal coding-standards reference that codifies anti-pattern detection (Rule of Three, SRP, DRY, error suppression, excessive type assertions), type-safety rules (unknown + type guards over any/as), fail-fast error handling, Red-Green-Refactor testing, impact-analysis gates, and secure defaults. Triggers when implementing features, reviewing code, or refactoring. Applies as guidance in the context window rather than running any tool.
How to install Coding Standards
# Copies the coding-standards skill (SKILL.md + references/) into ~/.claude/skills
git clone --depth 1 https://github.com/shinpr/ai-coding-project-boilerplate.git /tmp/coding-standards-src
mkdir -p ~/.claude/skills
cp -R /tmp/coding-standards-src/.claude/skills-en/coding-standards ~/.claude/skills/coding-standards
# Japanese variant also exists at .claude/skills-ja/coding-standards if preferred
# No external deps, scripts, or API keys required — pure guidance document
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Coding Standards
-
/coding-standardsLanguage-agnostic anti-pattern, type-safety, and test-first standards for reviews and refactors
It also activates on plain-language prompts like these:
-
Check this function for code smells -
Review my pull request for anti-patterns -
Refactor this module for readability
Frequently asked questions
- Is the Coding Standards skill free?
- Yes. The skill itself is free from shinpr/ai-coding-project-boilerplate. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Coding Standards work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 31, 2026. Verdict: Works with setup. Fetched SKILL.md at .claude/skills-en/coding-standards/; frontmatter has name+description. Spot-checked 3 referenced paths via raw fetch — references/security-checks.md, implementation-approach/SKILL.md, typescript-rules/SKILL.md all HTTP 200; no security smells (the "Knowledge Cutoff Supplement" is informational, not injection). For OUTPUT I wrote two fetchUser() implementations: baseline returned `data as User` (no validation); skill-following used `unknown` + an isUser type guard + fail-fast InvalidUserError. Ran the guard in node against `{id:42}`: baseline passes the malformed object through typed as User, skill guard returns false so it throws — a concrete observed difference matching the skill's type-safety and fail-fast rules.
- What is the Coding Standards SkillProof Score?
- 8.4/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 6/10, docs & honesty 5/5.
- How do I install Coding Standards?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Coding Standards with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.