smithery/neversight

typescript-clean-code

Clean Code principles, professional practices, and workflows for TypeScript developers. Based on Robert C. Martin's "Clean Code" and "The Clean Coder" books. Use this skill when: - Writing new TypeScript/JavaScript functions, classes, or modules - Reviewing code or pull requests - Refactoring existing code - Following test-driven development (TDD) - Fixing bugs with proper test coverage - Planning test strategy for features - Estimating tasks accurately - Handling deadlines and commitments prof…

Installation

$ npx skills add smithery/neversight --skill typescript-clean-code

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/neversight · top by installs.

npx skills add smithery/neversight

Browse all from smithery/neversight

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 3,486 B
  • docs SUMMARY.md 583 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Clean Code

Principles, practices, and workflows for TypeScript developers.

Quick Start

  1. For a task: Check guidelines.md → find the right workflow
  2. For reference: Load only the files relevant to your work
  3. Follow the workflow: Step-by-step process for consistent results

Workflows

Step-by-step processes for common tasks:

Workflow When to Use
workflows/code-review.md Reviewing code for quality
workflows/pr-review.md Reviewing pull requests
workflows/tdd.md Test-driven development cycle
workflows/refactoring.md Safe refactoring with tests
workflows/new-feature.md Building new functionality
workflows/bug-fix.md Fixing bugs properly
workflows/test-strategy.md Planning test coverage
workflows/estimation.md Estimating tasks (PERT)
workflows/deadline-negotiation.md Handling unrealistic deadlines

Reference Categories

Part 1: Code Quality (Clean Code book)

Category Files Purpose
naming 3 Variable, function, class naming
functions 4 Function design and review
classes 3 Class/module design
comments 3 Comment best practices
error-handling 3 Exception handling
unit-tests 3 Clean test principles
formatting 3 Code layout
smells 3 Code smell catalog (50+)

Part 2: Professional Practices (Clean Coder book)

Category Files Purpose
professionalism 3 Professional ethics
saying-no 3 Declining requests
commitment 3 Making promises
coding-practices 3 Daily habits, flow, debugging
tdd 3 TDD workflow and benefits
practicing 3 Deliberate practice
acceptance-testing 3 Requirements as tests
testing-strategies 3 Test pyramid
time-management 3 Meetings, focus
estimation 3 PERT estimation
pressure 3 Working under pressure
collaboration 3 Working with teams

Key Principles

Code Quality

  1. Readability - Code is read far more than written
  2. Single Responsibility - Each unit does one thing well
  3. Small Units - Functions ~5-20 lines, focused classes
  4. Meaningful Names - Names reveal intent
  5. DRY - Don't Repeat Yourself
  6. Clean Tests - Tests are first-class citizens

Professional Practices

  1. Take Responsibility - Own your code and decisions
  2. Say No - Decline impossible commitments professionally
  3. Commit Clearly - Use "I will... by..." language
  4. Estimates != Commitments - Communicate uncertainty
  5. Stay Clean Under Pressure - Don't abandon practices in crisis

Guidelines

See guidelines.md for:

  • Task → workflow mapping
  • Situation → reference file mapping
  • Decision tree for common scenarios