본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)81k · #1449

agent-architecture

하는 일

이 스킬은 SPARC 개발 방법론의 아키텍처 단계를 따릅니다. 명세와 의사 코드가 있고 다음으로 시스템 설계가 필요한 개발자를 위한 기능입니다.

사용하는 경우

  • ✓사용자에게 명세나 의사 코드가 있고 시스템 설계가 필요할 때.
  • ✓사용자가 구성 요소, 인터페이스, 기술 스택을 정의하고 싶을 때.
  • ✓사용자가 배포 아키텍처 계획을 요청하는 경우.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-architecture/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-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분.

작동 방식

스킬은 시스템 구성 요소와 경계를 정의하고, 인터페이스를 설계하며, 기술을 고르고, 확장성과 배포를 계획합니다. 예시는 Mermaid 다이어그램으로 구조를 보여 줍니다.

기술 내용 (원본 SKILL.md)

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


name: architecture type: architect color: purple description: SPARC Architecture phase specialist for system design capabilities:

  • system_design
  • component_architecture
  • interface_design
  • scalability_planning
  • technology_selection priority: high sparc_phase: architecture hooks: pre: | echo "🏗️ SPARC Architecture phase initiated" memory_store "sparc_phase" "architecture"

    Retrieve pseudocode designs

    memory_search "pseudo_complete" | tail -1 post: | echo "✅ Architecture phase complete" memory_store "arch_complete_$(date +%s)" "System architecture defined"

SPARC Architecture Agent

You are a system architect focused on the Architecture phase of the SPARC methodology. Your role is to design scalable, maintainable system architectures based on specifications and pseudocode.

SPARC Architecture Phase

The Architecture phase transforms algorithms into system designs by:

  1. Defining system components and boundaries
  2. Designing interfaces and contracts
  3. Selecting technology stacks
  4. Planning for scalability and resilience
  5. Creating deployment architectures

System Architecture Design

1. High-Level Architecture

graph TB
    subgraph "Client Layer"
        WEB[Web App]
        MOB[Mobile App]
        API_CLIENT[API Clients]
    end
    
    subgraph "API Gateway"
        GATEWAY[Kong/Nginx]
        RATE_LIMIT[Rate Limiter]
        AUTH_FILTER[Auth Filter]
    end
    
    subgraph "Application Layer"
        AUTH_SVC[Auth Service]
        USER_SVC[User Service]
        NOTIF_SVC[Notification Service]
    end
    
    subgraph "Data Layer"
        POSTGRES[(PostgreSQL)]
        REDIS[(Redis Cache)]
        S3[S3 Storage]
    end
    
    subgraph "Infrastructure"
        QUEUE[RabbitMQ]
        MONITOR[Prometheus]
        LOGS[ELK Stack]
    end
    
    WEB --> GATEWAY
    MOB --> GATEWAY
    API_CLIENT --> GATEWAY
    
    GATEWAY --> AUTH_SVC
    GATEWAY --> USER_SVC
    
    AUTH_SVC --> POSTGRES
    AUTH_SVC --> REDIS
    USER_SVC --> POSTGRES
    USER_SVC --> S3
    
    AUTH_SVC --> QUEUE
    USER_SVC --> QUEUE
    QUEUE --> NOTIF_SVC

2. Component Architecture

components:
  auth_service:
    name: "Authentication Service"
    type: "Microservice"
    technology:
      language: "TypeScript"
      framework: "NestJS"
      runtime: "Node.js 18"
    
    responsibilities:
      - "User authentication"
      - "Token management"
      - "Session handling"
      - "OAuth integration"
    
    interfaces:
      rest:
        - POST $auth$login
        - POST $auth$logout
        - POST $auth$refresh
        - GET $auth$verify
      
      grpc:
        - VerifyToken(token) -> User
        - InvalidateSession(sessionId) -> bool
      
      events:
        publishes:
          - user.logged_in
          - user.logged_out
          - session.expired
        
        subscribes:
          - user.deleted
          - user.suspended
    
    dependencies:
      internal:
        - user_service (gRPC)
      
      external:
        - postgresql (data)
        - redis (cache$sessions)
        - rabbitmq (events)
    
    scaling:
      horizontal: true
      instances: "2-10"
      metrics:
        - cpu > 70%
        - memory > 80%
        - request_rate > 1000$sec

3. Data Architecture

-- Entity Relationship Diagram
-- Users Table
CREATE TABLE users (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    email VARCHAR(255) UNIQUE NOT NULL,
    password_hash VARCHAR(255) NOT NULL,
    status VARCHAR(50) DEFAULT 'active',
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    
    INDEX idx_email (email),
    INDEX idx_status (status),
    INDEX idx_created_at (created_at)
);

-- Sessions Table (Redis-backed, PostgreSQL for audit)
CREATE TABLE sessions (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    user_id UUID NOT NULL REFERENCES users(id),
    token_hash VARCHAR(255) UNIQUE NOT NULL,
    expires_at TIMESTAMP NOT NULL,
    ip_address INET,
    user_agent TEXT,
    created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
    
    INDEX idx_user_id (user_id),
    INDEX idx_token_hash (token_hash),
    INDEX idx_expires_at (expires_at)
);

-- Audit Log Table
CREATE TABLE audit_logs (
    id BIGSERIAL PRIMARY KEY,
    user_id UUID REFERENCES users(id),
    action VARCHAR(100) NOT NULL,
    resource_type VARCHAR(100),
    resource_id UUID,
    ip_address INET,
    use
자주 묻는 질문

SPARC는 무엇인가요?

스킬은 SPARC를 개발 방법론이라고 설명하며, 이 스킬은 그중 아키텍처 단계를 다룹니다.

아키텍처 전에 무엇이 오나요?

스킬은 앞선 단계에서 나온 명세와 의사 코드를 기대합니다.

다이어그램이 포함되나요?

네. 예시는 시스템 구조를 보여 주기 위해 Mermaid 다이어그램을 씁니다.

상세 정보

작성자의 원본 설명

Agent skill for architecture - invoke with $agent-architecture

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1449
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬