typescript-clean-code

Review TypeScript code for adherence to Clean Code principles.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/arch-playground/ai-workflow-runner --skill typescript-clean-code-arch-playground
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-clean-code
Source: https://github.com/arch-playground/ai-workflow-runner/tree/main/.agents/skills/typescript-clean-code
Command: npx skills add https://github.com/arch-playground/ai-workflow-runner --skill typescript-clean-code-arch-playground

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers write cleaner, more maintainable TypeScript code by adhering to established Clean Code principles and professional practices, reducing bugs and improving collaboration.

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 "Clean Coder" principles for estimation, deadlines, and teamwork.
  • Workflows: Execute step-by-step processes for code reviews, refactoring, TDD, and bug fixing.
  • Use Case: When reviewing a pull request, use the workflows/code-review/workflow.md to ensure adherence to Clean Code standards, loading specific reference files like references/functions/rules.md and references/smells/rules.md for guidance.

Quick Start

Use the typescript-clean-code skill to review the provided TypeScript code 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 review TypeScript code for Clean Code principles?

To review TypeScript code for Clean Code principles, follow a structured workflow that checks naming, functions, and error handling against established rules and code smells. This ensures adherence to quality standards during pull requests.

What are the best practices for refactoring TypeScript?

Best practices for refactoring TypeScript involve following step-by-step workflows that identify code smells and apply Robert C. Martin's Clean Code rules. This process improves maintainability while reducing bugs.

How does Test-Driven Development work with TypeScript?

Test-Driven Development in TypeScript works by executing structured workflows that guide writing tests before implementation. This approach enforces professional practices and ensures code quality throughout development.

Can I use these Clean Code rules for estimating deadlines and teamwork?

Yes, you can use Clean Code rules alongside professional practices for estimating deadlines and teamwork. The guidance includes Clean Coder principles to improve collaboration and professional conduct.

When do I need to apply Clean Code standards to my TypeScript project?

You need to apply Clean Code standards to your TypeScript project when you want to reduce bugs and improve collaboration. It provides comprehensive guidance on maintaining code quality through professional practices.

What is the best way to handle errors in TypeScript according to Clean Code?

The best way to handle errors in TypeScript according to Clean Code is by applying specific rules for error handling derived from Robert C. Martin's principles. This ensures your functions and classes remain robust.