coding-standards
The universal bar for good code — deep modules, design for testability, behavior-driven tests, mocking only at system boundaries, lean clean code.
Skill by noel-lopez
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/noel-lopez-coding-standards
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/coding-standards
What's inside
- Skill name
coding-standards- Description
- The universal bar for good code — deep modules, design for testability, behavior-driven tests, mocking only at system boundaries, lean clean code. Use when writing, reviewing, refactoring, or judging the quality of any code, or when the user references coding standards, clean code, or deep modules. Reconciles this universal bar with the repo's own GLOSSARY.md, docs/adr/, and CLAUDE.md/AGENTS.md.
- License
- MIT
- Instructions
- 69 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- testing.md · references/
SKILL.md (first lines)
# Coding Standards The universal bar for what good code is. ## Reconcile with the repo first This bar is the universal floor. Layer the repo's own rules on top — on conflict, the repo wins: - `GLOSSARY.md` — the project's domain language and shape. - `docs/adr/` — recorded architectural decisions. - `CLAUDE.md` / `AGENTS.md` — explicit instructions for this repo. ## Interface design **Deep modules** — small interface, deep implementation: a few methods with simple params hiding complex logic behind them. Avoid shallow modules (large interface that just passes through to thin implementation). When designing, ask: can I reduce the number of methods? Simplify the params? Hide more complexity inside? **Design for testability**: 1. **Accept dependencies, don't create them** — pass external dependencies in rather than constructing them internally. 2. **Return results, don't produce side effects** — a function that returns a value is easier to reason about and test than one that mutates state. 3. **Small surface area** — fewer methods = fewer tests; fewer params = simpler setup. **Scrutinise optional parameters** — they are a major source of bugs by omission. Prioritise correctness over backwards compatibility. ## Clean code - Reduce nesting and complexity; flatten control flow where you can. - Eliminate redundancy. - Clear, intention-revealing names. - Remove comments that describe obvious code. - Avoid nested ternaries — prefer `if/else` or `switch`. - Clarity over brevity. **Don't over-simplify.** A simpler form isn't better if it buries clarity, merges unrelated concerns into one unit, removes an abstraction that aided organization, or makes the code harder to debug. Deep modules ≠ monolithic functions. ## Testing Tests verify **behavior through public interfaces, not implementation details**. Code can change entirely; tests shouldn't break unless behavior changed. - Test what callers care about, through the public API only. - One logical assertion per test. - Mock only at **system boundaries** (external APIs, time/randomness, FS/DB when no real instance is practical). **Never mock your own classes/modules or internal collaborators** — if something is hard to test without that, redesign the interface. See [references/testing.md](references/testing.md) for GOOD/BAD examples, the full red-flag list, boundary-mocking detail, and the TDD rationale. ## TDD (when feasible) Vertical slices, one cycle at a time — `test1→impl1`, then `test2→impl2`, … Never write all tests first, and never refactor while RED. TDD is complementary: clean code and deep modules carry the weight.
From noel-lopez/skills, MIT.
More from noel-lopez/skills
- 0.601score
build
noel-lopez
Implement one ticket end-to-end and leave the working tree dirty: no commit, push, branch, or ticket close.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
improve
noel-lopez
Review one ticket's uncommitted implementation in a fresh context: fix and harden in place, flag spec gaps for the human, never commit.
SkillAFreshness: A★ 3Claude Code +9 - 0.566score
walkthrough
noel-lopez
Build a throwaway HTML reading guide for a set of changes (dirty tree, local commits, or a PR): what it means for users and for the system, then an ordered…
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
prune-comments
noel-lopez
Prune the comments in freshly implemented code — every comment earns its place under one test, or it goes.
SkillBFreshness: B★ 3Claude Code +9 - 0.558score
resolve-conflicts
noel-lopez
Resolve conflict markers left by a rebase, merge or cherry-pick, and orchestrate a stacked rebase.
SkillBFreshness: B★ 3Claude Code +9 - 0.519score
check-upstream
noel-lopez
Audits the manifest's tracked copies of Matt Pocock's skills against his upstream repo in two separate passes — main (his released state) and the open PRs.
SkillCFreshness: C★ 3Claude Code +9 - 0.514score
commit
noel-lopez
Split a dirty working tree into an ordered list of atomic conventional commits, then commit them only on an explicit literal OK.
SkillCFreshness: C★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 1, 2026 (28 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/noel-lopez/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from noel-lopez
- 0.601score
build
noel-lopez
Implement one ticket end-to-end and leave the working tree dirty: no commit, push, branch, or ticket close.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
improve
noel-lopez
Review one ticket's uncommitted implementation in a fresh context: fix and harden in place, flag spec gaps for the human, never commit.
SkillAFreshness: A★ 3Claude Code +9 - 0.566score
walkthrough
noel-lopez
Build a throwaway HTML reading guide for a set of changes (dirty tree, local commits, or a PR): what it means for users and for the system, then an ordered…
SkillBFreshness: B★ 3Claude Code +9 - 0.561score
prune-comments
noel-lopez
Prune the comments in freshly implemented code — every comment earns its place under one test, or it goes.
SkillBFreshness: B★ 3Claude Code +9 - 0.558score
resolve-conflicts
noel-lopez
Resolve conflict markers left by a rebase, merge or cherry-pick, and orchestrate a stacked rebase.
SkillBFreshness: B★ 3Claude Code +9 - 0.519score
check-upstream
noel-lopez
Audits the manifest's tracked copies of Matt Pocock's skills against his upstream repo in two separate passes — main (his released state) and the open PRs.
SkillCFreshness: C★ 3Claude Code +9
Cite this page
coding-standards skill. Agent Mart. https://agentmart.dev/skills/noel-lopez-coding-standards (last updated 2026-10-24)