clean-code

Enforce pragmatic coding standards for concise, maintainable software.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/flybirdxx/RunningHub --skill clean-code-flybirdxx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code
Source: https://github.com/flybirdxx/RunningHub/tree/main/.gemini/skills/clean-code
Command: npx skills add https://github.com/flybirdxx/RunningHub --skill clean-code-flybirdxx

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers adhere to pragmatic coding standards, ensuring code is concise, direct, and free of unnecessary complexity.

Core Features & Use Cases

  • Coding Standards: Enforces best practices like Single Responsibility Principle, Don't Repeat Yourself, and Keep It Simple.
  • Naming Rules: Provides guidelines for naming variables, functions, booleans, and constants.
  • Function Rules: Ensures functions are small, focused, and have minimal side effects.
  • Code Structure: Offers patterns like Guard Clauses, Flat vs. Nested, and Composition for maintainable code.
  • AI Coding Style: Suggests direct implementation for features, immediate bug fixes, and clear communication with users.
  • Anti-Patterns: Identifies and fixes common coding mistakes like unnecessary comments and helper functions for one-liners.
  • Before Editing Files: Advises on dependencies, imports, tests, and shared components before making changes.
  • Summary: Emphasizes direct code writing, self-documenting code, and immediate bug fixes over explanations.
  • Self-Check Before Completing: Ensures goals are met, files are edited, code works, and no errors are present.
  • Verification Scripts: Runs scripts for UX Audit, A11y Check, API Validator, Mobile Audit, Schema Validate, Security Scan, SEO Check, GEO Check, Lighthouse, Test Runner, Playwright, Lint Check, Type Coverage, and i18n Check.
  • Script Output Handling: Summarizes script results, waits for user confirmation, and re-runs scripts after fixes.

Quick Start

Run the clean-code skill to review your code and ensure it adheres to best practices.

Frequently Asked Questions about clean-code

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

FAQPage Schema
What are clean code standards for software development?

Clean code standards enforce pragmatic principles like Single Responsibility, DRY, and KISS to ensure software development produces concise, direct, and solution-focused code.

How do I enforce coding standards and naming rules in my project?

You can enforce coding standards by applying guidelines for naming variables, writing small focused functions, and using guard clauses to improve overall code structure and maintainability.

What are common clean code anti-patterns to avoid?

Common clean code anti-patterns include writing unnecessary comments, creating helper functions for one-liners, and adding unnecessary complexity instead of writing direct, self-documenting code.

Does this clean code approach work with automated testing and security checks?

Yes, the approach includes verification scripts that run automated checks for security scans, lint checks, type coverage, and test runners, summarizing results and waiting for user confirmation before completing.

What should I check before editing files to maintain code quality?

Before editing files to maintain code quality, you should review dependencies, imports, existing tests, and shared components to ensure changes do not introduce errors or break functionality.

How do I self-check code before completing a software development task?

To self-check code before completing a task, verify that goals are met, files are correctly edited, the code works properly, and no errors are present.