smithery.ai

code-quality

Code quality guidelines. ALWAYS use skill for ANY code changes.

First seen Mar 19, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,034 B
  • docs SUMMARY.md 83 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 24 installs

SKILL.md

Code Quality Guidelines

Don't write forgiving code

  • Don't permit multiple input formats

- In TypeScript, this means avoiding Union Type (the | in types)

  • Use preconditions

- Use schema libraries - Assert that inputs match expected formats - When expectations are violated, throw, don't log

  • Don't add defensive try/catch blocks

- Usually we let exceptions propagate out

  • Don't keep legacy code paths as fallbacks

- Remove old code instead of keeping it around for compatibility

Naming Conventions

  • Don't use abbreviations or acronyms

- Choose number instead of num and greaterThan instead of gt

File Management

  • Prefer editing an existing file to creating a new one
  • Confirm with the user before creating any new markdown files

Style

  • Emoji and unicode characters are welcome

- Use them at the beginning of comments, commit messages, and in headers in docs