Community코딩 & 개발github.com

sickn33/api-documentation-generator

코드에서 엔드포인트, 파라미터, 예제, 모범 사례를 포함한 포괄적이고 개발자 친화적인 API 문서를 생성합니다.

api-documentation-generator란 무엇인가요?

이 스킬은 개발자가 코드베이스에서 직접 포괄적인 API 문서를 자동 생성할 수 있도록 돕습니다. 엔드포인트, 요청/응답 파라미터, 실제 사용 예제, 그리고 RESTful 설계 원칙 및 오류 처리와 같은 모범 사례를 포함한 상세 문서를 생성합니다. Claude Code, Cursor, Codex와 같은 AI 에이전트 플랫폼과 호환되며, 프로젝트의 소스 코드와 주석을 분석하여 일관되고 최신 상태의 명세서를 생성합니다. 개발자는 문서를 수동으로 유지보수할 필요 없이 시간을 절약하고, 팀 협업 및 API 소비자 온보딩을 개선할 수 있습니다. 이 스킬은 OpenAPI/Swagger, JSDoc, Sphinx 등 다양한 형식을 지원하며, 특정 프레임워크나 언어에 구애받지 않고 사용할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/api-documentation-generator

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

api-documentation-generator은(는) 무엇을 하나요?

코드에서 엔드포인트, 파라미터, 예제, 모범 사례를 포함한 포괄적이고 개발자 친화적인 API 문서를 생성합니다.

개요

이 스킬은 소스 코드를 분석하여 API 문서를 자동 생성합니다. 개발자는 더 이상 문서 작성을 위해 시간을 낭비할 필요 없이, 일관되고 정확한 문서를 빠르게 얻을 수 있습니다.

주요 기능

  • 엔드포인트 추출: 코드에서 정의된 모든 API 엔드포인트를 자동으로 감지합니다.
  • 파라미터 문서화: 각 엔드포인트의 요청 및 응답 파라미터, 헤더, 쿼리 문자열 등을 상세히 설명합니다.
  • 예제 생성: 실제 사용 예제를 자동으로 생성하여 API 사용법을 명확히 합니다.
  • 모범 사례 통합: RESTful 원칙, 인증, 오류 처리, 속도 제한 등 API 설계 모범 사례를 문서에 포함합니다.
  • 형식 지원: OpenAPI/Swagger, Markdown, HTML 등 다양한 출력 형식을 지원합니다.

사용 방법

  1. 프로젝트의 소스 코드가 있는 디렉토리에서 스킬을 호출합니다.
  2. 스킬이 코드베이스를 분석하여 엔드포인트와 관련 정보를 추출합니다.
  3. 생성된 문서는 기본적으로 docs/api/ 디렉토리에 저장되며, 필요에 따라 출력 경로를 지정할 수 있습니다.

예제 명령어

# markdown 파일로 문서 생성
npm run api-docs -- --format markdown

# OpenAPI 명세 생성
npm run api-docs -- --format openapi --output ./output

구성 옵션

옵션설명기본값
--format출력 형식 (markdown, openapi, html)markdown
--output출력 디렉토리 경로./docs/api
--include포함할 파일 패턴 (glob)**/*.{js,ts,py}
--exclude제외할 파일 패턴node_modules
--title문서 제목API Documentation

지원 언어

  • JavaScript / TypeScript (Express, Fastify, NestJS 등)
  • Python (Flask, Django, FastAPI 등)
  • Java (Spring Boot 등)
  • Go (Gin, Echo 등)
  • Rust (Actix, Rocket 등)

모범 사례

  • JSDoc/주석 활용: 코드에 JSDoc, Sphinx, 또는 기타 문서 주석을 추가하면 더 풍부한 문서를 생성할 수 있습니다.
  • 일관된 명명 규칙: 엔드포인트와 파라미터에 일관된 명명 규칙을 사용하면 더 정확한 문서가 생성됩니다.
  • 정기적인 업데이트: 코드 변경 시 문서를 재생성하여 항상 최신 상태를 유지하세요.
  • 보안 정보 포함 금지: 문서에 비밀 키, 토큰, 비밀번호 등 민감한 정보를 포함하지 마세요.

문제 해결

문서 생성이 예상대로 되지 않는 경우:

  1. 코드에 충분한 주석과 타입 정보가 있는지 확인하세요.
  2. 지원되는 프레임워크 또는 라이브러리를 사용 중인지 확인하세요.
  3. 파일 패턴 옵션(--include, --exclude)을 조정하여 분석할 파일을 제한하세요.
  4. 더 자세한 로그를 보려면 디버그 모드를 활성화하세요.

라이선스

이 스킬은 MIT 라이선스에 따라 제공됩니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

sickn33/3d-web-experience

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

sickn33/agent-memory-mcp

A hybrid memory system that provides persistent, searchable knowledge management for AI agents (Architecture, Patterns, Decisions).

sickn33/agent-memory-systems

Memory is the cornerstone of intelligent agents. Without it, every interaction starts from zero. This skill covers the architecture of agent memory: short-term (context window), long-term (vector stores), and the cognitive architectures that organize them.

sickn33/ai-agents-architect

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration.

sickn33/api-patterns

API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.

sickn33/api-security-best-practices

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities

sickn33/app-store-optimization

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

sickn33/architecture

Architectural decision-making framework. Requirements analysis, trade-off evaluation, ADR documentation. Use when making architecture decisions or analyzing system design.

sickn33/audio-transcriber

Transform audio recordings into professional Markdown documentation with intelligent summaries using LLM integration

sickn33/aws-serverless

Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.

sickn33/backend-architect

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems.

sickn33/backend-dev-guidelines

You are a senior backend engineer operating production-grade services under strict architectural and reliability constraints. Use when routes, controllers, services, repositories, express middleware, or prisma database access.

sickn33/bash-linux

Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

sickn33/bash-scripting

Bash scripting workflow for creating production-ready shell scripts with defensive patterns, error handling, and testing.

sickn33/brainstorming

Use before creative or constructive work (features, architecture, behavior). Transforms vague ideas into validated designs through disciplined reasoning and collaboration.

sickn33/browser-automation

Browser automation powers web testing, scraping, and AI agent interactions. The difference between a flaky script and a reliable system comes down to understanding selectors, waiting strategies, and anti-detection patterns.

sickn33/browser-extension-builder

Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing.

sickn33/bullmq-specialist

BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications.

sickn33/bun-development

Fast, modern JavaScript/TypeScript development with the Bun runtime, inspired by [oven-sh/bun](https://github.com/oven-sh/bun).

sickn33/cc-skill-security-review

This skill ensures all code follows security best practices and identifies potential vulnerabilities. Use when implementing authentication or authorization, handling user input or file uploads, or creating new API endpoints.

관련 스킬