본문으로 건너뛰기
Skillpedia
일반 코딩48k · #5825

software-architecture

하는 일

이 도구는 좋은 구성과 설계 방식을 따라 고품질 소프트웨어를 만드는 데 도움을 줍니다. 더 깔끔하고 이해하기 쉬우며 유지 관리하기 좋은 코드를 쓰는 방법을 가르칩니다.

사용하는 경우

  • ✓새 소프트웨어 프로젝트를 시작하고 싶을 때.
  • ✓기존 프로그램의 코드를 검토할 때.
  • ✓소프트웨어의 여러 부분을 더 잘 정리해야 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/software-architecture/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/software-architecture/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“클린 아키텍처 원칙에 따라 웹 애플리케이션의 구조를 정리하는 데 도와주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

'클린 아키텍처'와 '도메인 주도 설계' 같은 원칙을 사용해 조언합니다. 코드를 더 작고 정리된 부분으로 나누는 방법과 이름을 명확하게 짓는 방법을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Software Architecture Development Skill

This skill provides guidance for quality focused software development and architecture. It is based on Clean Architecture and Domain Driven Design principles.

Code Style Rules

General Principles

  • Early return pattern: Always use early returns when possible, over nested conditions for better readability
  • Avoid code duplication through creation of reusable functions and modules
  • Decompose long (more than 80 lines of code) components and functions into multiple smaller components and functions. If they cannot be used anywhere else, keep it in the same file. But if file longer than 200 lines of code, it should be split into multiple files.
  • Use arrow functions instead of function declarations when possible

Best Practices

Library-First Approach

  • ALWAYS search for existing solutions before writing custom code
    • Check npm for existing libraries that solve the problem
    • Evaluate existing services/SaaS solutions
    • Consider third-party APIs for common functionality
  • Use libraries instead of writing your own utils or helpers. For example, use cockatiel instead of writing your own retry logic.
  • When custom code IS justified:
    • Specific business logic unique to the domain
    • Performance-critical paths with special requirements
    • When external dependencies would be overkill
    • Security-sensitive code requiring full control
    • When existing solutions don't meet requirements after thorough evaluation

Architecture and Design

  • Clean Architecture & DDD Principles:
    • Follow domain-driven design and ubiquitous language
    • Separate domain entities from infrastructure concerns
    • Keep business logic independent of frameworks
    • Define use cases clearly and keep them isolated
  • Naming Conventions:
    • AVOID generic names: utils, helpers, common, shared
    • USE domain-specific names: OrderCalculator, UserAuthenticator, InvoiceGenerator
    • Follow bounded context naming patterns
    • Each module should have a single, clear purpose
  • Separation of Concerns:
    • Do NOT mix business logic with UI components
    • Keep database queries out of controllers
    • Maintain clear boundaries between contexts
    • Ensure proper separation of responsibilities

Anti-Patterns to Avoid

  • NIH (Not Invented Here) Syndrome:
    • Don't build custom auth when Auth0/Supabase exists
    • Don't write custom state management instead of using Redux/Zustand
    • Don't create custom form validation instead of using established libraries
  • Poor Architectural Choices:
    • Mixing business logic with UI components
    • Database queries directly in controllers
    • Lack of clear separation of concerns
  • Generic Naming Anti-Patterns:
    • utils.js with 50 unrelated functions
    • helpers/misc.js as a dumping ground
    • common/shared.js with unclear purpose
  • Remember: Every line of custom code is a liability that needs maintenance, testing, and documentation

Code Quality

  • Proper error handling with typed catch blocks
  • Break down complex logic into smaller, reusable functions
  • Avoid deep nesting (max 3 levels)
  • Keep functions focused and under 50 lines when possible
  • Keep files focused and under 200 lines of code when possible

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Example

User request:

Use @software-architecture for this task: Guide for quality focused software architecture.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

「클린 아키텍처」란 무엇인가요?

소프트웨어 코드를 이해, 테스트, 수정하기 쉽게 정리하는 방법으로, 핵심 업무 로직과 기술적인 부분을 분리합니다.

「코드 중복 피하기」는 무슨 뜻인가요?

같은 코드를 여러 번 쓰지 않는다는 뜻입니다. 대신 여러 곳에서 재사용할 수 있는 함수나 모듈을 만듭니다.

왜 기성 라이브러리를 쓰는 것이 좋나요?

이미 다른 사람들이 테스트하고 해결한 것이므로 시간과 노력을 아껴 줍니다. 정말 필요한 경우에만 직접 코드를 작성하는 것이 좋습니다.

상세 정보

작성자의 원본 설명

Guide for quality focused software architecture. This skill should be used when users want to write code, design architecture, analyze code, in any case that relates to software development.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5825
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬