Agent Native

codegen-doc

Generates specialized project documentation in four formats by analyzing code repositories: thesis chapters, project overviews, technical issues, and resume…

by xstongxueCommunityNot reviewed

Community author

Agents
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
License
Apache-2.0 (permissive)
Pin
9aa4e55pinned Oct 9, 2026
Context cost
about 280 tokenswhen the skill loads
GitHub stars
2,957on xstongxue/best-skills
Scripts
None found

What it does

“基于当前项目/代码生成各类文档,支持论文章节、项目梳理、重点问题、简历项目描述四种类型。当用户提到生成论文章节、项目梳理、技术难点、简历项目描述时使用。要给新同事看的上手文档(新人文档、架构文档、代码导读、onboarding)用 project-docs。”
The author's description, from SKILL.md

Generated summary from the skill's own text

Generates specialized project documentation in four formats by analyzing code repositories: thesis chapters, project overviews, technical issues, and resume descriptions. The skill reads project structure, dependencies, and source code to produce formatted documents tailored for academic advisors, HR, or leadership review.

When to use it

  • Writing thesis chapters or system design documents from current codebase
  • Summarizing project structure and architecture for formal review
  • Documenting technical challenges and known issues in projects
  • Composing project descriptions for resume or portfolio

When not to

  • Creating onboarding or new team member documentation
  • Generating guides meant for internal developer reference

Install

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add xstongxue/best-skills --skill codegen-doc

Installs from the repository's default branch, which may have changed since the commit we checked.

GitHub CLI 2.90 or later

gh skill install xstongxue/best-skills codegen-doc@9aa4e555950da6e43e7d98c5f0c7b70264204850

Installs the commit we checked (9aa4e55).

Copy by hand

Download the folder at 9aa4e55 and put it in .claude/skills/codegen-doc for Claude Code and in .agents/skills/codegen-doc for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.

Skill folder on GitHub at 9aa4e55

Copy for your agent

A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.

Prompt

Install the agent skill "codegen-doc" by xstongxue.

Source, pinned to commit 9aa4e555950da6e43e7d98c5f0c7b70264204850:
https://github.com/xstongxue/best-skills/tree/9aa4e555950da6e43e7d98c5f0c7b70264204850/skills/codegen-doc

1. Download that folder at exactly this commit. Do not use the default branch.
2. Copy every file unchanged, keeping the folder structure, into .claude/skills/codegen-doc/ for Claude Code and .agents/skills/codegen-doc/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist.
3. Do not edit the files, and do not run any script in the folder unless I ask you to.
4. When you are done, list the files you copied and where you put them.

Listing and checks: https://www.agentnative.dev/skills/xstongxue/codegen-doc

SKILL.md at the pin

---
name: codegen-doc
description: 基于当前项目/代码生成各类文档,支持论文章节、项目梳理、重点问题、简历项目描述四种类型。当用户提到生成论文章节、项目梳理、技术难点、简历项目描述时使用。要给新同事看的上手文档(新人文档、架构文档、代码导读、onboarding)用 project-docs。
---

# 代码生成·项目文档

本 Skill 指导 Agent 基于**当前项目/代码仓库**生成各类文档,支持四种类型:论文章节、项目梳理、重点问题、简历项目描述。

## Step 0:任务识别

| 用户表述 / 关键词 | 执行 |
|------------------|------|
| 论文章节、系统设计、总体设计、详细设计 | `reference/thesis-chapter.md` |
| 项目梳理、项目文档结构、按格式梳理 | `reference/overview.md` |
| 重点问题、技术难点、待解决问题、项目风险 | `reference/key-issues.md` |
| 简历项目描述、项目经历、按简历格式 | `reference/resume-format.md` |

**不属于这四种的情况**:用户要的是给新同事看、能照着上手的项目文档(新人文档、架构文档、代码导读、onboarding),用 **project-docs**。本 Skill 产出的是按对方指定格式写、给导师/评委/HR/领导看的东西。

## 怎么读项目

四种类型都要先读代码。不要试图读完所有源文件,分三步:

1. **看轮廓** —— 目录树(排除 `node_modules` / `build` / `dist` / `vendor`)、构建和依赖文件(`package.json` / `pom.xml` / `requirements.txt` / `go.mod` 等)、README,得出项目干什么、用什么技术栈
2. **看骨架** —— 入口文件、路由或接口定义、配置文件、每个顶层目录一句话职责
3. **按类型补读**
   - 论文章节:部署相关文件、模块之间怎么调用
   - 项目梳理:用户格式里点名要的部分(写「核心接口」就去读路由表)
   - 重点问题:`TODO` / `FIXME`、README 的 Known issues / Limitations、异常处理和兜底逻辑
   - 简历项目描述:可量化的东西(接口数、模块数、测试覆盖),只在真有依据时写

技术栈、模块名、接口名要和代码逐字一致,不要凭印象改写。

## 使用时机

- 用户需要根据当前项目生成论文章节、项目梳理、重点问题清单或简历项目描述
- 用户提到「根据当前项目」「根据代码」「按这个格式……」

## 通用原则

- **不编造**:未在仓库中出现的内容不写入
- **有据可依**:尽量从代码、注释、README、文档中抽取
- **格式遵从**:用户提供格式/模板时,严格按格式组织输出

From xstongxue/best-skills at 9aa4e55, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.

View SKILL.md on GitHub at 9aa4e55

Files

5 files, 9.4 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at 9aa4e55
All Docs and writing skills
  • n8n-docs-assistant

    This skill answers questions about n8n configuration, setup, credentials, nodes, and troubleshooting by retrieving information from current n8n documentation.

    by n8nOfficial publisher

    Claude Code, Codex, Cursor +3 · about 450 tokens · pinned 6 days ago

  • algodocs-automation

    This skill automates Algodocs document processing tasks through Composio's toolkit via the Rube MCP server.

    by ComposioOfficial publisher

    Claude Code, Codex, Cursor +3 · about 690 tokens · pinned 6 days ago

  • remotion-docs

    This skill enables agents to search and retrieve Remotion documentation via the Algolia API and fetch pages as Markdown.

    by RemotionOfficial publisher

    Claude Code, Codex, Cursor +3 · about 320 tokens · pinned 6 days ago

  • remotion-docs

    This skill searches the Remotion documentation using the Algolia API and retrieves documentation pages as Markdown.

    by RemotionOfficial publisher

    Claude Code, Codex, Cursor +3 · about 320 tokens · pinned 6 days ago

  • receipts

    This skill generates a personal Claude Code usage report from local session transcripts stored in ~/.claude/projects, mining activity across projects without…

    by AnthropicOfficial publisher

    Contains scripts

    Claude Code · about 4.1K tokens · pinned 6 days ago

  • solo

    This skill enables an agent to work through a single difficult mathematics problem independently within one session.

    by AnthropicOfficial publisher

    Claude Code · about 1.4K tokens · pinned 6 days ago

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use