·clean-code-principles
</>

clean-code-principles

Enforce clean code principles when writing or reviewing code. Use when writing new functions, refactoring existing code, or reviewing code for readability and maintainability. Covers guard clauses, modularization, naming conventions, and more.

5Installs·0Trend·@aj-comp

Installation

$npx skills add https://github.com/aj-comp/agent-skills --skill clean-code-principles

How to Install clean-code-principles

Quickly install clean-code-principles AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/aj-comp/agent-skills --skill clean-code-principles
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: aj-comp/agent-skills.

SKILL.md

View raw

A collection of principles and patterns for writing clean, readable, and maintainable code.

Note: The principles and rules in each document apply to all programming languages. Examples are shown in a specific language for concreteness, but the patterns themselves are language-agnostic.

Important: When refactoring, remove comments that are no longer relevant to the changed code. However, comments that are still valid and provide useful context (e.g., why a decision was made, business rules, workarounds, warnings) must be preserved.

Enforce clean code principles when writing or reviewing code. Use when writing new functions, refactoring existing code, or reviewing code for readability and maintainability. Covers guard clauses, modularization, naming conventions, and more. Source: aj-comp/agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/aj-comp/agent-skills --skill clean-code-principles
Category
</>Dev Tools
Verified
First Seen
2026-02-22
Updated
2026-03-11

Browse more skills from aj-comp/agent-skills

Quick answers

What is clean-code-principles?

Enforce clean code principles when writing or reviewing code. Use when writing new functions, refactoring existing code, or reviewing code for readability and maintainability. Covers guard clauses, modularization, naming conventions, and more. Source: aj-comp/agent-skills.

How do I install clean-code-principles?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/aj-comp/agent-skills --skill clean-code-principles Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/aj-comp/agent-skills

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-22

Related Skills

None