मुख्य सामग्री पर जाएँ
Skillpedia
डॉक्यूमेंटेशन85k · #1378

code-documentation

यह क्या करती है

यह स्किल सॉफ़्टवेयर प्रोजेक्ट के लिए दस्तावेज़ बनाती है, जैसे README, API संदर्भ और डेवलपर गाइड। यह उन डेवलपर और टीमों के लिए है जिन्हें दूसरों को अपना कोड साफ़ समझाना है।

कब इस्तेमाल करें

  • ✓जब कोई किसी codebase का दस्तावेज़ बनाना या README लिखना चाहता है।
  • ✓जब कोई स्रोत कोड से API संदर्भ दस्तावेज़ बनवाना चाहता है।
  • ✓जब किसी सॉफ़्टवेयर प्रोजेक्ट को changelog या ऑनबोर्डिंग गाइड चाहिए।

Skill का लिंक

https://github.com/bytedance/deer-flow/blob/main/skills/public/code-documentation/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/bytedance/deer-flow/blob/main/skills/public/code-documentation/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस प्रोजेक्ट के लिए एक README लिखिए, ताकि नए डेवलपर जल्दी शुरू कर सकें।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल पहले प्रोजेक्ट और उसका कोड पढ़ती है, फिर प्रोजेक्ट की जटिलता के अनुरूप दस्तावेज़ का मसौदा बनाती है। वह प्रोग्रामिंग भाषा की शैली में इनलाइन टिप्पणियाँ भी जोड़ सकती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Code Documentation Skill

Overview

This skill generates professional, comprehensive documentation for software projects, codebases, libraries, and APIs. It follows industry best practices from projects like React, Django, Stripe, and Kubernetes to produce documentation that is accurate, well-structured, and useful for both new contributors and experienced developers.

The output ranges from single-file READMEs to multi-document developer guides, always matched to the project's complexity and the user's needs.

Core Capabilities

  • Generate comprehensive README.md files with badges, installation, usage, and API reference
  • Create API reference documentation from source code analysis
  • Produce architecture and design documentation with diagrams
  • Write developer onboarding and contribution guides
  • Generate changelogs from commit history or release notes
  • Create inline code documentation following language-specific conventions
  • Support JSDoc, docstrings, GoDoc, Javadoc, and Rustdoc formats
  • Adapt documentation style to the project's language and ecosystem

When to Use This Skill

Always load this skill when:

  • User asks to "document", "create docs", or "write documentation" for any code
  • User requests a README, API reference, or developer guide
  • User shares a codebase or repository and wants documentation generated
  • User asks to improve or update existing documentation
  • User needs architecture documentation, including diagrams
  • User requests a changelog or migration guide

Documentation Workflow

Phase 1: Codebase Analysis

Before writing any documentation, thoroughly understand the codebase.

Step 1.1: Project Discovery

Identify the project fundamentals:

Field How to Determine
Language(s) Check file extensions, package.json, pyproject.toml, go.mod, Cargo.toml, etc.
Framework Look at dependencies for known frameworks (React, Django, Express, Spring, etc.)
Build System Check for Makefile, CMakeLists.txt, webpack.config.js, build.gradle, etc.
Package Manager npm/yarn/pnpm, pip/uv/poetry, cargo, go modules, etc.
Project Structure Map out the directory tree to understand the architecture
Entry Points Find main files, CLI entry points, exported modules
Existing Docs Check for existing README, docs/, wiki, or inline documentation

Step 1.2: Code Structure Analysis

Use sandbox tools to explore the codebase:

# Get directory structure
ls /mnt/user-data/uploads/project-dir/

# Read key files
read_file /mnt/user-data/uploads/project-dir/package.json
read_file /mnt/user-data/uploads/project-dir/pyproject.toml

# Search for public API surfaces
grep -r "export " /mnt/user-data/uploads/project-dir/src/
grep -r "def " /mnt/user-data/uploads/project-dir/src/ --include="*.py"
grep -r "func " /mnt/user-data/uploads/project-dir/ --include="*.go"

Step 1.3: Identify Documentation Scope

Based on analysis, determine what documentation to produce:

Project Size Recommended Documentation
Single file / script Inline comments + usage header
Small library README with API reference
Medium project README + API docs + examples
Large project README + Architecture + API + Contributing + Changelog

Phase 2: Documentation Generation

Step 2.1: README Generation

Every project needs a README. Follow this structure:

# Project Name

[One-line project description — what it does and why it matters]

[![Badge](link)](#) [![Badge](link)](#)

## Features

- [Key feature 1 — brief description]
- [Key feature 2 — brief description]
- [Key feature 3 — brief description]

## Quick Start

### Prerequisites

- [Prerequisite 1 with version requirement]
- [Prerequisite 2 with version requirement]

### Installation

[Installation commands with copy-paste-ready code blocks]

### Basic Usage

[Minimal working example that demonstrates core functionality]

## Documentation

- [Link to full API reference if separate]
- [Link to architecture docs if separate]
- [Link to examples directory if applicable]

## API Reference

[Inline API reference for smaller projects OR link to generated docs]

## Configuration

[Environment variables, config files, or runtime options]

## Examples

[2-3 practical examples covering common use cases]

## Development

### Setup

[How to set up a development
अक्सर पूछे जाने वाले सवाल

कौन से टिप्पणी फ़ॉर्मेट समर्थित हैं?

स्किल JSDoc, docstrings, GoDoc, Javadoc और Rustdoc फ़ॉर्मेट का ज़िक्र करती है।

क्या यह changelog लिख सकती है?

हाँ। यह कमिट इतिहास या रिलीज़ नोट्स से changelog बना सकती है।

क्या दस्तावेज़ असली कोड से मेल खाएँगे?

स्किल कहती है कि दस्तावेज़ सटीक होने चाहिए और उसी कोड पर आधारित होने चाहिए जो वह पढ़ती है।

जानकारी

लेखक का मूल विवरण

Use this skill when the user requests to generate, create, or improve documentation for code, APIs, libraries, repositories, or software projects. Supports README generation, API reference documentation, inline code comments, architecture documentation, changelog generation, and developer guides. Trigger on requests like "document this code", "create a README", "generate API docs", "write developer guide", or when analyzing codebases for documentation purposes.

repo: bytedance/deer-flow

लोकप्रियता

GitHub स्टार
85k
रैंकिंग में स्थान
#1378
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

engineer-system-change

85k

आपके एजेंट को सॉफ़्टवेयर बदलाव बनाने से पहले जाँचने देती है कि वह सच में ज़रूरी है या नहीं, समस्या, उपयोगकर्ताओं और जोखिमों की जाँच करते हुए।

कोडिंगसामान्य कोडिंग

academic-paper-review

85k

आपके एजेंट को शोध पत्र की समीक्षा एक peer reviewer की तरह करने देती है, तरीकों, मज़बूत पक्षों, कमज़ोरियों और अगले कदमों के साथ।

लेखन और डॉक्यूमेंटरिसर्च

bootstrap

85k

एक दोस्ताना ऑनबोर्डिंग बातचीत का मार्गदर्शन करती है, जो एक निजी SOUL.md फ़ाइल बनाती है और तय करती है कि आपका AI साथी कौन है और कैसे व्यवहार करता है।

AI और एजेंटप्रॉम्प्ट और LLM

chart-visualization

85k

आपके नंबरों को चार्ट इमेज में बदलती है, 26 चार्ट प्रकारों में से चुनकर, जैसे लाइन, बार, पाई, मानचित्र और फ़नल।

डेटाएनालिसिस और स्प्रेडशीट

मिलती-जुलती skills