typescript-clean-code

Evaluate and refactor TypeScript and JavaScript codebases against ES6+ Clean Code standards.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/MING-CHUNLee/Tyla --skill typescript-clean-code-ming-chunlee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-clean-code
Source: https://github.com/MING-CHUNLee/Tyla/tree/main/skills/typescript-clean-code
Command: npx skills add https://github.com/MING-CHUNLee/Tyla --skill typescript-clean-code-ming-chunlee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses technical debt by automatically evaluating TypeScript and JavaScript code against ES6+ Clean Code standards, identifying anti-patterns, and applying verified refactoring fixes.

Core Features & Use Cases

  • Automated Evaluation: Scores code across seven categories including Variables, Functions, Classes, and SOLID principles.
  • Automated Refactoring: Applies standardized fixes for common issues like magic numbers, long parameter lists, and callback hell.
  • Verification: Ensures all changes are safe by running existing test suites before and after refactoring.

Quick Start

Run the typescript clean code skill on the src directory to evaluate code quality, apply necessary fixes, and verify the changes with tests.

Frequently Asked Questions about typescript-clean-code

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

FAQPage Schema
How do I automate TypeScript refactoring to align with clean code standards?

Automated TypeScript refactoring applies standardized fixes for common issues like magic numbers, long parameter lists, and callback hell to align your codebase with ES6+ clean code standards and improve maintainability.

How does automated code quality evaluation work for JavaScript and TypeScript?

Automated code quality evaluation scores your code across seven categories, including Variables, Functions, Classes, and SOLID principles, to identify specific anti-patterns and technical debt.

Do I need existing test coverage to safely refactor TypeScript code?

You need existing test coverage to verify refactoring safety, as the process runs your test suites before and after applying standardized fixes to ensure all changes are safe.

What are the limitations of automated clean code refactoring for ES6+?

A key limitation is its dependence on existing test coverage; without tests, the tool cannot verify the safety of applied fixes for issues like magic numbers or callback hell.

Can I use automated refactoring to fix callback hell and magic numbers in JavaScript?

Yes, automated refactoring applies standardized fixes specifically targeting common issues like magic numbers, long parameter lists, and callback hell in your JavaScript and TypeScript files.