Generates documentation for codebases.

Install

mkdir -p .claude/skills/doc-sei-yukinari && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15857" && unzip -o skill.zip -d .claude/skills/doc-sei-yukinari && rm skill.zip

Installs to .claude/skills/doc-sei-yukinari

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

コードからドキュメント(JSDoc、README、API仕様等)を生成する
37 charsno explicit “when” trigger
Beginner

Key capabilities

  • Analyze exported functions, classes, or types from a file
  • Analyze module structure from a directory
  • Generate JSDoc or docstring for functions/methods
  • Generate README.md for modules or entire projects
  • Generate API specifications for API endpoints

How it works

This skill generates documentation from code by analyzing the target file or directory, determining the type of documentation needed, and then creating it. It considers existing documentation styles and includes details like parameter types and usage examples.

Inputs & outputs

You give it
A file path or directory containing code
You get back
Generated documentation such as JSDoc, README, or API specifications

When to use doc

  • Generate jsdoc for functions
  • Create project readme
  • Document api endpoints

About this skill

/doc - ドキュメント生成

コードからドキュメント(JSDoc、docstring、README、API仕様等)を生成します。

引数

  • $ARGUMENTS から対象ファイルパスまたはディレクトリを取得

実行手順

1. 対象の分析

  • ファイルの場合: エクスポートされた関数/クラス/型を分析
  • ディレクトリの場合: モジュール全体の構造を分析
  • 既存ドキュメントの有無を確認

2. ドキュメント生成の種類判定

対象生成物
関数/メソッドJSDoc / docstring
クラス/型JSDoc / docstring + 使用例
モジュールREADME.md
APIエンドポイントAPI仕様(リクエスト/レスポンス)
プロジェクト全体README.md(セットアップ、使い方、アーキテクチャ)

3. ドキュメント生成

  • 既存のドキュメントスタイルに合わせる
  • パラメータの型と説明
  • 戻り値の型と説明
  • 使用例(可能な場合)
  • エラーケース

4. 既存ドキュメントの更新

  • 既にドキュメントがある場合は更新
  • 新規の場合は作成
  • バレルファイル等の更新

注意事項

  • 自明なコードには過度なドキュメントを付けない
  • パブリックAPIを優先
  • ビジネスロジックの「なぜ」を説明する

When not to use it

  • The task is to generate code from documentation
  • The task is about database schema evolution without API surface impact

Limitations

  • Do not over-document obvious code
  • Prioritize public APIs for documentation
  • Explain the 'why' of business logic

How it compares

This workflow automates the creation of various documentation types directly from code, ensuring consistency and reducing manual effort compared to writing documentation from scratch.

Compared to similar skills

doc side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
doc (this skill)05moNo flagsBeginner
readme-generator39moReviewBeginner
doc-author16moNo flagsIntermediate
repo-source-code-document15moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

readme-generator

aws-samples

This skill should be used when users want to create or improve README.md files for their projects. It generates professional documentation following the Deep Insight/Strands SDK style - comprehensive yet focused, with clear structure and practical examples.

339

doc-author

mintlify

Write and maintain documentation autonomously. Use when assigned to create, update, or improve documentation without direct human oversight. Always opens PRs for review. Built by Mintlify.

15

repo-source-code-document

open-circle

Write JSDoc comments and inline documentation for Valibot library source code in /library/src/. Use when documenting schemas, actions, methods, or utilities. Covers interface documentation, function overloads, purity annotations, inline comment patterns, and terminology consistency.

14

docs

Rune-kit

Auto-generate and maintain project documentation. Creates README, API docs, architecture docs, changelogs, and keeps them in sync with code changes. The \"docs are never outdated\" skill.

00

korean-skill-creator

clwmfksek

한글 기반 클로드 스킬 자동 생성 도구. 사용자가 "클로드 스킬을 만들어줘" 또는 "[요구사항] 스킬 만들어줘"라고 요청할 때 사용. Progressive disclosure 원칙을 따르는 한글 문서 구조(SKILL.md + references/)를 자동으로 생성하고, 실전 예시를 포함한 일관성 있는 스킬 템플릿을 제공.

8132

skill-forge

WilliamSaysX

Automated skill creation workshop with intelligent source detection, smart path management, and end-to-end workflow automation. This skill should be used when users want to create a new skill or convert external resources (GitHub repositories, online documentation, or local directories) into a skill. Automatically fetches, organizes, and packages skills with proactive cleanup management.

11115

Search skills

Search the agent skills registry