clean-code

Provide coding standards, naming conventions, and refactoring techniques for clean code.

38|8|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/yun520-1/mark-heartflow-skill --skill clean-code-yun520-1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/yun520-1/mark-heartflow-skill/tree/main/skills/clean-code-review
Command: npx skills add https://github.com/yun520-1/mark-heartflow-skill --skill clean-code-yun520-1

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers write clean, maintainable code by providing guidelines, best practices, and refactoring techniques.

Core Features & Use Cases

  • Coding Standards: Offers a comprehensive guide to naming conventions, function structure, and code anti-patterns.
  • Refactoring Techniques: Provides practical refactoring patterns to improve code readability and maintainability.
  • Use Case: A developer can use this Skill to review and refactor their code, ensuring it adheres to best practices.

Quick Start

Start the clean-code skill to get a comprehensive guide on writing clean code.

Frequently Asked Questions about clean-code

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

FAQPage Schema
What are clean code best practices for writing maintainable software?

Clean code best practices involve following strict coding standards, meaningful naming conventions, and structured function designs. This skill provides comprehensive guidelines to help developers write readable, maintainable code and avoid common anti-patterns during daily programming.

How do I refactor legacy code to improve readability and maintainability?

Refactoring legacy code requires applying targeted techniques to restructure existing logic without altering external behavior. This skill provides practical refactoring patterns to eliminate code anti-patterns, improve function structure, and enhance overall code readability systematically.

Does this clean code skill apply to all programming languages and beginners?

Yes, these coding standards apply to all programming levels and languages, offering significant benefits for beginners learning development. The guidelines focus on universal naming conventions, function structure, and refactoring techniques rather than language-specific syntax rules.

What is the best way to establish coding standards and naming conventions for a project?

The best way to establish coding standards is by implementing consistent naming conventions and clear function structures across the entire codebase. This skill offers a comprehensive guide to defining these standards and identifying code anti-patterns effectively.

When do I need to start reviewing my code for anti-patterns and maintainability?

You need to review code for anti-patterns when writing new features or refactoring legacy systems to ensure long-term maintainability. This skill helps developers evaluate code against established best practices, identifying structural issues and applying refactoring techniques proactively.