coding — SRP coding principle coding, my-claude-code-toolkit, 0r0loo, community, SRP coding principle, ai agent skill, ide skills, agent automation, low coupling design, high cohesion development, NestJS backend development, React frontend coding

v1.0.0
GitHub

About this Skill

Perfect for Full Stack Agents needing maintainable and efficient code organization through SRP, coupling, and cohesion principles. Coding is the process of designing, writing, and testing code that follows principles like SRP, low coupling, and high cohesion

Features

Applies Single Responsibility Principle (SRP) to functions and classes
Minimizes coupling between modules using interfaces and abstraction
Maximizes cohesion by grouping related logic into modules
Supports FE/BE development with NestJS, React, and TypeORM
Follows best practices for coding with TailwindCSS and NextJS

# Core Topics

0r0loo 0r0loo
[0]
[0]
Updated: 3/21/2026

Quality Score

Top 5%
23
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add 0r0loo/my-claude-code-toolkit/coding
Supports 19+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The coding skill by 0r0loo is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for SRP coding principle, low coupling design, high cohesion development.

Ideal Agent Persona

Perfect for Full Stack Agents needing maintainable and efficient code organization through SRP, coupling, and cohesion principles.

Core Value

Empowers agents to write modular code using Single Responsibility Principle, reducing coupling and increasing cohesion, while leveraging early return and guard clauses for robust error handling, all within a structured coding framework that utilizes interfaces and abstraction for loose coupling.

Capabilities Granted for coding

Implementing SRP for improved code readability
Reducing coupling through interfaces and abstraction
Enhancing cohesion by grouping related logic
Optimizing functions with early return and guard clauses

! Prerequisites & Limits

  • Requires adherence to specific coding principles
  • May necessitate refactoring of existing codebases
  • Limited to applications where SRP, coupling, and cohesion are relevant
Project
SKILL.md
2.6 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Coding Skill - 공통 원칙

이 문서는 모든 코드 작성 시 적용되는 공통 원칙을 정의한다. FE/BE 상세 규칙은 기술별 스킬에서 다룬다.

코드 예시: references/patterns.md 참조


1. 설계 원칙

SRP (Single Responsibility Principle)

  • 함수는 하나의 작업만 수행한다
  • "이 함수가 하는 일"을 한 문장으로 설명할 수 없으면 분리한다

결합도와 응집도

  • 낮은 결합도: 인터페이스/추상화를 통해 의존. 구현 세부사항에 직접 의존 금지
  • 높은 응집도: 관련 있는 로직을 같은 모듈에 모은다

Early Return (Guard Clause)

  • 예외/실패 조건을 함수 상단에서 먼저 처리하고 빠져나온다

삼항 연산자

  • 1단만 허용. 중첩 삼항은 금지
  • 한 줄(80자) 넘기면 if/else 또는 early return으로 전환
  • JSX: 표시/숨김은 &&, 분기는 삼항 1단, 그 이상은 변수 추출 또는 컴포넌트 분리

DRY

  • 동일한 로직이 3번 이상 반복되면 추출. 2번까지는 중복 허용 (섣부른 추상화 방지)

선언적 & 함수형 스타일

  • 선언적 > 명령적 — "어떻게" 대신 "무엇"을 표현
  • 순수 함수 우선 — 같은 입력이면 항상 같은 출력, 부수효과 없음
  • 불변성 — 기존 데이터를 변경하지 않고 새 데이터를 생성
  • 부수효과 격리 — 순수 로직과 부수효과(I/O)를 분리

상수 관리

  • 매직 넘버/스트링 금지 — 의미 있는 상수명으로 추출
  • 한 모듈에서만 사용 → 같은 파일 상단. 여러 모듈에서 공유 → src/constants/
  • as const로 리터럴 타입을 보장

2. 네이밍 컨벤션

  • 의도를 드러내는 이름 사용. 축약어 회피 (관례적 축약 id, url, api, dto는 허용)
  • Boolean: is, has, can, should 접두사
  • 함수: 동사로 시작. 반환값이 예측 가능한 이름 (getUserById, calculateTotal, isValid)

3. 에러 핸들링

  • 시스템 경계(외부 API, 사용자 입력, 파일 I/O)에서 에러를 처리
  • 내부 로직에서 불필요한 try-catch 남발 금지
  • 에러를 삼키지 않는다. 원본 에러를 { cause: e }로 보존

4. 코드 품질 체크리스트

  • 함수/클래스가 SRP를 지키는가?
  • 네이밍이 의도를 드러내는가?
  • 시스템 경계에서 에러 핸들링이 되어 있는가?
  • 불필요한 복잡도가 없는가?
  • any 타입을 사용하지 않았는가?
  • 기존 프로젝트 패턴과 일관성이 있는가?

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is coding?

Perfect for Full Stack Agents needing maintainable and efficient code organization through SRP, coupling, and cohesion principles. Coding is the process of designing, writing, and testing code that follows principles like SRP, low coupling, and high cohesion

How do I install coding?

Run the command: npx killer-skills add 0r0loo/my-claude-code-toolkit/coding. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for coding?

Key use cases include: Implementing SRP for improved code readability, Reducing coupling through interfaces and abstraction, Enhancing cohesion by grouping related logic, Optimizing functions with early return and guard clauses.

Which IDEs are compatible with coding?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for coding?

Requires adherence to specific coding principles. May necessitate refactoring of existing codebases. Limited to applications where SRP, coupling, and cohesion are relevant.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add 0r0loo/my-claude-code-toolkit/coding. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use coding immediately in the current project.

Related Skills

Looking for an alternative to coding or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

Generate customizable widget plugins for the prompts.chat feed system

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear issue management. MUST USE when: (1) user mentions LOBE-xxx issue IDs (e.g. LOBE-4540), (2) user says linear, linear issue, link linear, (3) creating PRs that reference Linear issues. Provides

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing guide using Vitest. Use when writing tests (.test.ts, .test.tsx), fixing failing tests, improving test coverage, or debugging test issues. Triggers on test creation, test debugging, mock setup

73.3k
0
Communication

zustand

Logo of lobehub
lobehub

Zustand state management guide. Use when working with store code (src/store/**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.

72.8k
0
Communication