typescript-clean-code

Enforce Clean Code principles in TypeScript code reviews and development workflows.

14|3|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/bmad-labs/skills --skill typescript-clean-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-clean-code
Source: https://github.com/bmad-labs/skills/tree/main/skills/typescript-clean-code
Command: npx skills add https://github.com/bmad-labs/skills --skill typescript-clean-code

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers write high-quality TypeScript code by adhering to established Clean Code principles and professional practices, reducing bugs and improving maintainability.

Core Features & Use Cases

  • Code Quality: Apply principles from Robert C. Martin's "Clean Code" for naming, functions, classes, and error handling.
  • Professional Practices: Follow guidelines from "The Clean Coder" for estimation, deadlines, and collaboration.
  • Workflows: Execute step-by-step processes for code reviews, TDD, refactoring, and bug fixing.
  • Use Case: When reviewing a pull request, activate this Skill to get guidance on identifying code smells and applying specific Clean Code rules.

Quick Start

Use the typescript-clean-code skill to review the provided TypeScript code snippet for adherence to Clean Code principles.

Frequently Asked Questions about typescript-clean-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply clean code principles to TypeScript code review?

To apply clean code principles during a TypeScript code review, use workflows that identify code smells and check naming conventions, function design, and class structure based on Robert C. Martin's rules.

What is the best way to refactor TypeScript functions and classes?

The best way to refactor TypeScript code involves step-by-step workflows that enforce clean code rules for function design, class structure, and error handling to improve overall maintainability.

How does test-driven development work for professional TypeScript practices?

Test-driven development for TypeScript works by following structured workflows that guide you through writing tests first, executing refactoring safely, and adhering to professional conduct and estimation guidelines.

Can I get guidance on bug fixing and error handling in TypeScript?

Yes, you can get guidance on bug fixing and error handling in TypeScript by following specific workflows designed to enforce clean code principles and reduce potential bugs in your codebase.

Do I need to read The Clean Coder to estimate deadlines and collaborate professionally?

You do not need to read The Clean Coder yourself to estimate deadlines and collaborate professionally, as the guidelines from the book are integrated directly into the professional development practices provided.