Agent Skills: πŸ“ λ¬Έμ„œν™” μŠ€μœ„νŠΈ (Dev Doc Suite)

μ½”λ“œλ² μ΄μŠ€λ₯Ό λΆ„μ„ν•˜μ—¬ README, API λ¬Έμ„œ, μ•„ν‚€ν…μ²˜ κ°€μ΄λ“œλ₯Ό μžλ™μœΌλ‘œ 생성/μ—…λ°μ΄νŠΈν•©λ‹ˆλ‹€.

UncategorizedID: lastdays03/claude_skills/dev-doc-suite

Install this agent skill to your local

pnpm dlx add-skill https://github.com/lastdays03/claude_skills/tree/HEAD/.agent/skills/dev-doc-suite

Skill Files

Browse the full folder contents for dev-doc-suite.

Download Skill

Loading file tree…

.agent/skills/dev-doc-suite/SKILL.md

Skill Metadata

Name
dev-doc-suite
Description
μ½”λ“œλ² μ΄μŠ€λ₯Ό λΆ„μ„ν•˜μ—¬ README, API λ¬Έμ„œ, μ•„ν‚€ν…μ²˜ κ°€μ΄λ“œλ₯Ό μžλ™μœΌλ‘œ 생성/μ—…λ°μ΄νŠΈν•©λ‹ˆλ‹€.

πŸ“ λ¬Έμ„œν™” μŠ€μœ„νŠΈ (Dev Doc Suite)

이 μ›Œν¬ν”Œλ‘œμš°λŠ” dev-doc-suite μŠ€ν‚¬μ„ μ‚¬μš©ν•˜μ—¬ ν”„λ‘œμ νŠΈ λ¬Έμ„œλ₯Ό μ½”λ“œλŠ” 항상 'μ§„μ‹€(Truth)'μ΄λΌλŠ” 원칙 ν•˜μ— μ΅œμ‹  μƒνƒœλ‘œ μœ μ§€ν•©λ‹ˆλ‹€.

1. μ΄ˆκΈ°ν™” (Initialization)

  1. μŠ€ν‚¬ λ‘œλ“œ: this documentλ₯Ό 읽어 λ¬Έμ„œν™” 원칙(Core Principles)을 νŒŒμ•…ν•©λ‹ˆλ‹€.
  2. λŒ€μƒ 확인: μ‚¬μš©μžμ—κ²Œ λ¬Έμ„œν™”ν•  λŒ€μƒ(전체 ν”„λ‘œμ νŠΈ, νŠΉμ • λͺ¨λ“ˆ, λ˜λŠ” νŠΉμ • 파일)을 λ¬»μŠ΅λ‹ˆλ‹€.

2. 뢄석 (Analysis - Phase 1)

"μ½”λ“œκ°€ κ³§ λ¬Έμ„œμ˜ μ›μ²œμž…λ‹ˆλ‹€."

  1. ꡬ쑰 νŒŒμ•…: λŒ€μƒ κ²½λ‘œμ— λŒ€ν•΄ list_dirλ₯Ό μˆ˜ν–‰ν•˜μ—¬ 파일 ꡬ쑰λ₯Ό νŒŒμ•…ν•©λ‹ˆλ‹€.
  2. λ‚΄μš© μŠ€μΊ”: μ£Όμš” 파일(μ§„μž…μ , 핡심 λͺ¨λ“ˆ)에 λŒ€ν•΄ view_file_outline λ˜λŠ” read_file을 μ‚¬μš©ν•˜μ—¬ 클래슀, ν•¨μˆ˜ μ‹œκ·Έλ‹ˆμ²˜, λ…μŠ€νŠΈλ§(Docstring)을 μΆ”μΆœν•©λ‹ˆλ‹€.
  3. μ˜μ‘΄μ„± 뢄석: μ£Όμš” νŒŒμΌλ“€μ΄ μ„œλ‘œ μ–΄λ–»κ²Œ μ—°κ²°λ˜μ–΄ μžˆλŠ”μ§€ νŒŒμ•…ν•©λ‹ˆλ‹€.

3. μž‘μ„± (Drafting - Phase 2)

"λ…μžλ₯Ό λ¨Όμ € μƒκ°ν•˜μ„Έμš” (개발자 vs μ‚¬μš©μž)."

  1. μ΄ˆμ•ˆ μž‘μ„±: λΆ„μ„λœ λ‚΄μš©μ„ λ°”νƒ•μœΌλ‘œ λ¬Έμ„œ μœ ν˜•μ„ μ„ νƒν•˜μ—¬ μž‘μ„±ν•©λ‹ˆλ‹€. (SKILL.md μ°Έμ‘°)
    • Code Docs (Docstrings): ν•¨μˆ˜/클래슀 λ‹¨μœ„μ˜ 상세 μ„€λͺ… (Python/JS).
    • API Docs: REST API μ—”λ“œν¬μΈνŠΈ λͺ…μ„Έ (Request/Response).
    • Architecture: Mermaid λ‹€μ΄μ–΄κ·Έλž¨μ„ ν¬ν•¨ν•œ μ‹œμŠ€ν…œ ꡬ쑰도.
    • README: ν”„λ‘œμ νŠΈ λͺ©μ , μ„€μΉ˜, μ‚¬μš©λ²•μ„ ν¬ν•¨ν•œ λŒ€λ¬Έ.
    • Explanations: λ³΅μž‘ν•œ λΉ„μ¦ˆλ‹ˆμŠ€ λ‘œμ§μ— λŒ€ν•œ "How it works" 심측 ν•΄μ„€.
  2. ν¬λ§·νŒ… 적용: SKILL.md의 "Standardized Format"에 따라 λ§ˆν¬λ‹€μš΄μ„ μ •λˆν•©λ‹ˆλ‹€.

4. 검증 및 μ™„λ£Œ (Verification - Phase 3)

  1. μ •ν•©μ„± 확인: μž‘μ„±λœ μ„€λͺ…이 μ‹€μ œ μ½”λ“œ λ™μž‘κ³Ό μΌμΉ˜ν•˜λŠ”μ§€ μž¬ν™•μΈν•©λ‹ˆλ‹€.
  2. μ €μž₯: docs/ 디렉토리 λ˜λŠ” ν•΄λ‹Ή 파일 μœ„μΉ˜(README.md λ“±)에 λ¬Έμ„œλ₯Ό μ €μž₯ν•©λ‹ˆλ‹€.
  3. μ‚¬μš©μž μ•Œλ¦Ό: notify_userλ₯Ό 톡해 μƒμ„±λœ λ¬Έμ„œμ˜ μœ„μΉ˜μ™€ μš”μ•½μ„ μ•Œλ¦¬κ³  리뷰λ₯Ό μš”μ²­ν•©λ‹ˆλ‹€.

Standards & Rules

Documentation Suite (Dev Doc Suite)

Core Principles

  1. Code as Truth: Documentation must always be derived from the actual code implementation, not assumptions.
  2. Living Documents: Documentation is NOT a post-mortem artifact; it must evolve with every commit.
  3. Audience-Centric: Clearly distinguish between User Docs (Ease of use) and Developer Docs (Implementation details).
  4. Standardized Format: Follow the "3-Tier Language Strategy" (Korean for high-level structure, English for technical details).

Documentation Types & Templates (Source: document-suite-skills)

1. Code Documentation (Docstrings)

Goal: Clear, comprehensive function/class documentation

Example Format:

def function_name(param1: Type, param2: Type) -> ReturnType:
    """
    Brief one-line description.

    Detailed explanation of purpose, behavior, and context.

    Args:
        param1: Description with type and example values
        param2: Description with constraints

    Returns:
        Description of return value and meaning

    Example:
        >>> function_name(example_value1, example_value2)
        expected_output

    Raises:
        ErrorType: When and why this error occurs

    Note:
        Important details, gotchas, performance considerations
    """

2. API Documentation

Goal: Complete API reference for endpoints

REST API Example:

## Authentication API

### POST /api/auth/login

Authenticate user and return JWT access token.

**Request:**

```json
{
  "email": "user@example.com",
  "password": "SecureP@ss123"
}

Response (200 OK):

{
  "success": true,
  "data": {
    "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "expiresIn": 3600
  }
}

### 3. Architecture Documentation

**Goal:** Clear system overview and component relationships

**Example:**

```markdown
# System Architecture

## System Diagram

```mermaid
graph TD
    Client[Frontend] -->|HTTPS| Gateway[API Gateway]
    Gateway --> Auth[Auth Service]
    Gateway --> Trade[Trading Service]
    Trade --> DB[(Database)]

Core Components

1. API Gateway

Responsibility: Entry point for all client requests

  • Request routing
  • Rate limiting

2. Auth Service

Responsibility: User authentication

  • JWT generation
  • Session management

### 4. README Generation

**Goal:** Comprehensive project README

**Essential Sections:**

```markdown
# [Project Name]

[One-line description] - [What problem it solves]

## Features
- Key feature 1
- Key feature 2

## Installation
\`\`\`bash
npm install
npm run dev
\`\`\`

## Configuration
| Variable | Description | Required |
|----------|-------------|----------|
| `DATABASE_URL` | DB connection string | Yes |

5. Code Explanations

Goal: Clear explanations of complex code

Process:

  1. High-Level Purpose: What problem does this solve?
  2. Step-by-Step Logic: Break down into phases.
  3. Key Algorithms: Identify important patterns.
  4. Edge Cases: validation and error handling.

Quality Standards

  • Freshness: All generated docs must be verified against the current codebase state.
  • Completeness: Every public function/class must have at least a summary description.
  • Readability: Use clear formatting, bullet points, and code blocks.
  • Safe YAML: Frontmatter descriptions with special characters must be quoted.

Checklist

  • [ ] Analysis: Did you read all relevant code files before writing?
  • [ ] Verification: Does the documentation accurately reflect the code behavior?
  • [ ] Formatting: Is the markdown syntax correct and consistent?
  • [ ] Language: Is the appropriate language (Korean/English) used for the target audience?