clean-code

Enforce pragmatic coding standards for JavaScript/TypeScript projects.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/emelleby/tc-vsme --skill clean-code-emelleby
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/emelleby/tc-vsme/tree/main/.agent/skills/clean-code
Command: npx skills add https://github.com/emelleby/tc-vsme --skill clean-code-emelleby

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pragmatic coding standards reduce boilerplate, prevent over-engineering, and keep code readable and maintainable by enforcing concise rules and discouraging unnecessary comments.

Core Features & Use Cases

  • Single Responsibility: Functions and classes do one thing and expose a clear interface.
  • DRY & KISS: Eliminate duplication and keep solutions simple.
  • Naming Discipline: Use meaningful, expressive identifiers and avoid ambiguous abbreviations.
  • Refactoring Guidance: Provides step-by-step transformation patterns to improve existing codebases.
  • AI-Assisted Review: Guides AI to generate concise, high-quality code in responses.

Quick Start

Refactor a small code sample to adhere to SRP, DRY, and KISS, removing unnecessary comments and simplifying structure.

Frequently Asked Questions about clean-code

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

FAQPage Schema
How do I refactor JavaScript code to follow clean coding standards?

Refactor JavaScript code to clean coding standards by enforcing SRP, DRY, and KISS rules to simplify structures, eliminate duplication, and ensure functions do one thing. This skill provides step-by-step transformation patterns to improve existing codebases.

What is the best way to enforce KISS and DRY principles during AI-assisted coding?

Enforce KISS and DRY principles during AI-assisted coding by applying pragmatic coding standards that guide the AI to generate concise implementations, eliminate duplicate logic, and avoid over-engineering in JavaScript and TypeScript projects.

How do I apply Single Responsibility Principle to TypeScript functions and classes?

Apply the Single Responsibility Principle to TypeScript functions and classes by ensuring each does one thing and exposes a clear interface. This skill codifies SRP requirements to reduce boilerplate and keep code readable and maintainable.

Can I use clean code rules to guide naming discipline and remove unnecessary comments?

Yes, you can use clean code rules to guide naming discipline by enforcing meaningful, expressive identifiers while avoiding ambiguous abbreviations. The standards actively discourage unnecessary comments to keep solutions minimal and well-documented.

Does this clean code skill work for both JavaScript and TypeScript refactoring?

Yes, this clean code skill works for both JavaScript and TypeScript refactoring. It is applied during AI-assisted code reviews and refactoring tasks across these projects to produce cleaner structures and actionable feedback.