Code Documenter

Analyzes source code to generate accurate, contextaware documentation at multiple levels: inline comments for complex logic, function/class docstrings, modulelevel overviews, architecture documents, and onboarding guides. Understands control flow, data transformations, side effects, and crossmodule dependencies.

概要

The Code Documenter is a specialized AI agent skill hosted within the TerminalSkills/skills repository, which currently maintains a popularity of 72 stars. This tool automates the creation of technical documentation by performing deep analysis of source code structures. It evaluates control flows, data transformations, and side effects to produce multi-level outputs, ranging from function-specific docstrings to comprehensive onboarding guides and architectural overviews. Compatible with agents like Codex and Claude, it identifies cross-module dependencies to ensure context-aware documentation. By interpreting complex logic and data paths, the skill assists developers in maintaining clear, up-to-date records of their codebase without manual drafting, leveraging the broader capabilities of the TerminalSkills collection.

ユースケース

Generating comprehensive docstrings and inline comments for legacy Python codebases.
Creating high-level architectural overviews and onboarding guides for new team members.
Mapping cross-module dependencies and data transformations to document system-wide logic.

導入方法

# Review source first
open https://github.com/TerminalSkills/skills/blob/main/skills/code-documenter/SKILL.md

Copy or clone the skill folder into your agent skills directory after reviewing its instructions and scripts.

セキュリティ

This skill requires access to source code files to perform its analysis. Users should ensure that the AI agents utilizing this skill are operating within a secure environment and that sensitive information within the code is handled according to organizational data privacy policies.

関連Skills

Skill Creator

anthropics/skills

コーディング

新しいスキルの作成、既存スキルの修正と改善、およびスキルパフォーマンスの測定を行います。ユーザーがスキルをゼロから作成、既存スキルの編集や最適化、スキルテストのための評価(evals)の実行、分散分析によるスキルパフォーマンスのベンチマーク、またはトリガー精度の向上のためのスキル説明の最適化を行いたい場合に使用します。

Claude CodeClaude
pythondesign
165,880 StarsApache-2.0

Claude API

anthropics/skills

コーディング

Claude API / Anthropic SDK のリファレンス — model ids、pricing、params、streaming、tool use、MCP、agents、caching、token counting、model migration。TRIGGER — ターゲットファイルを開く BEFORE を読み取ります。「1行のように見える」という理由でスキップしないでください。— 次の場合:プロンプトに Claude/Anthropic が何らかの形式(Claude、Anthropic、Fable、Opus、Sonnet、Haiku、`anthropic`、`@anthropic-ai`、`claude-*`、`us.anthropic.*`、`[1m]`)で指定されている場合、またはユーザーが LLM(pricing/model choice/limits/caching)について質問した場合 — 決して回答しないでください

Claude CodeClaude
typescriptpython
165,880 StarsApache-2.0

MCP Builder

anthropics/skills

コーディング

適切に設計されたツールを通じて、LLMが外部サービスと連携できるようにする高品質な MCP (Model Context Protocol) サーバーを作成するためのガイドです。Python (FastMCP) または Node/TypeScript (MCP SDK) を使用して、外部APIやサービスを統合する MCP サーバーを構築する際に使用します。

CodexClaude
typescriptpython
165,880 StarsApache-2.0

CI Cd And Automation

addyosmani/agent-skills

DevOps

CI/CDパイプラインのセットアップを自動化します。ビルドおよびデプロイパイプラインの設定や変更時に使用します。クオリティゲートの自動化、CIでのテストランナーの設定、またはデプロイ戦略の確立が必要な場合に使用してください。

typescriptsecurity
81,373 StarsMIT

API And Interface Design

addyosmani/agent-skills

コーディング

安定した API とインターフェース設計をガイドします。API、モジュールの境界、またはパブリックインターフェースの設計時に使用します。REST や GraphQL エンドポイントの作成、モジュール間の型コントラクトの定義、フロントエンドとバックエンドの境界設定に活用してください。

typescriptfrontend
81,373 StarsMIT

Browser Testing With Devtools

addyosmani/agent-skills

コーディング

Chrome DevTools MCP を介して実際のブラウザでテストを実行します。ブラウザで動作するものの構築やデバッグ時に使用します。DOM の検査、コンソールエラーのキャプチャ、ネットワークリクエストの分析、パフォーマンスのプロファイリング、または実際のランタイムデータによる視覚的出力の検証が必要な場合に使用してください。chrome-devtools MCP サーバーの設定が必要です。

Claude CodeClaude
javascriptreact
81,373 StarsMIT