edwardzhang/sps-cli/coding-standards
Claude Code and agent skill by edwardzhang/sps-cli
- community
Checking that the SKILL.md file is still in the repository.
Cross-language engineering principles — TDD, naming, error strategy, code review, commits/PRs, clean code. Load alongside any language / end skill. Principles only; language-specific syntax lives in the language skill.
Install
npx vskill@latest install edwardzhang/sps-cli/coding-standardsSKILL.md
The same SKILL.md was published earlier as edwardzhang/sps-cli/coding-standards.
Coding Standards
Language- and stack-neutral engineering principles. Covers the "what" and "why"; language skills cover the "how".
When to load
- Any coding task (load this + a language skill + an end skill)
- Code review
- Writing tests
- Opening a PR
- Deciding where error handling / retries / logging live
Hierarchy of rules
- Correctness — the code does what's intended
- Readability — the next person (or you, six months later) can follow it
- Testability — behavior is verifiable without the universe
- Simplicity — least code and least abstraction that meet 1–3
- Performance — only after 1–4 are met
In that order. A fast bug is worse than a slow correct answer.
Core commitments
- Tests first for anything non-trivial. Write a failing test, make it pass, refactor.
- Specific exceptions only. Never
except:bare. Never swallow without logging. - Name things for intent, not implementation.
users_over_18>filtered_list_2. - Small functions that do one thing. If you can't say what it does in one sentence, split it.
- No comments that restate the code. Comments explain the why, never the what.
- No speculative abstractions. Two similar snippets: duplicate. Three: consider abstracting.
- PRs under 400 lines of diff. Anything larger, split.
How to use references
| Reference | When to load | |
|---|---|---|
| `references/tdd.md` | Starting a feature, writing tests, unclear what "done" means | |
| `references/naming.md` | Naming a function, variable, module, endpoint, feature flag | |
| `references/error-strategy.md` | Deciding whether to raise, return a result, log, or swallow | |
| `references/code-review.md` | Reviewing a PR (yours or someone else's) | |
| `references/commits-and-prs.md` | Writing a commit message; opening / sizing a PR | |
| `references/clean-code.md` | Function shape, DRY vs WET, comments, dead code, magic numbers |
Forbidden patterns (auto-reject)
- Commented-out code committed to main
TODOwithout an owner or date- Tests that don't actually assert anything
- Mutable global state for business logic
- Dead code kept "just in case"
- Magic numbers / strings without named constants
- Catch-all error handlers without re-raise or specific recovery
- Abstractions that have exactly one implementation
- PRs that mix a refactor with a feature change
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/coding-standards/SKILL.md
Popularity
- Repository stars
- 3
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/edwardzhang/sps-cli/coding-standards)