跳到正文
Skillpedia
技术文档48k · #6179

wiki-onboarding

它能做什么

生成两份指南,帮助工程师理解代码库。一份是面向专家的详细指南,讲解设计决策;另一份是面向新手的分步实操指南。

适用场景

  • ✓当你需要为新团队成员准备项目理解指南时。
  • ✓当你想深入了解代码库的运作方式时。
  • ✓当你需要一份快速指南,以便开始参与项目开发时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wiki-onboarding/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wiki-onboarding/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为这个代码库创建入职文档。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会先分析代码,识别主要编程语言,然后生成两份文档。一份侧重高层决策和架构,另一份提供上手编码的实用说明。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Wiki Onboarding Guide Generator

Generate two complementary onboarding documents that together give any engineer — from newcomer to principal — a complete understanding of a codebase.

When to Use

  • User asks for onboarding docs or getting-started guides
  • User runs /deep-wiki:onboard command
  • User wants to help new team members understand a codebase

Language Detection

Scan the repository for build files to determine the primary language for code examples:

  • package.json / tsconfig.json → TypeScript/JavaScript
  • *.csproj / *.sln → C# / .NET
  • Cargo.toml → Rust
  • pyproject.toml / setup.py / requirements.txt → Python
  • go.mod → Go
  • pom.xml / build.gradle → Java

Guide 1: Principal-Level Onboarding

Audience: Senior/staff+ engineers who need the "why" behind decisions.

Required Sections

  1. System Philosophy & Design Principles — What invariants does the system maintain? What were the key design choices and why?
  2. Architecture Overview — Component map with Mermaid diagram. What owns what, communication patterns.
  3. Key Abstractions & Interfaces — The load-bearing abstractions everything depends on
  4. Decision Log — Major architectural decisions with context, alternatives considered, trade-offs
  5. Dependency Rationale — Why each major dependency was chosen, what it replaced
  6. Data Flow & State — How data moves through the system (traced from actual code, not guessed)
  7. Failure Modes & Error Handling — What breaks, how errors propagate, recovery patterns
  8. Performance Characteristics — Bottlenecks, scaling limits, hot paths
  9. Security Model — Auth, authorization, trust boundaries, data sensitivity
  10. Testing Strategy — What's tested, what isn't, testing philosophy
  11. Operational Concerns — Deployment, monitoring, feature flags, configuration
  12. Known Technical Debt — Honest assessment of shortcuts and their risks

Rules

  • Every claim backed by (file_path:line_number) citation
  • Minimum 3 Mermaid diagrams (architecture, data flow, dependency graph)
  • All Mermaid diagrams use dark-mode colors (see wiki-vitepress skill)
  • Focus on WHY decisions were made, not just WHAT exists

Guide 2: Zero-to-Hero Contributor Guide

Audience: New contributors who need step-by-step practical guidance.

Required Sections

  1. What This Project Does — 2-3 sentence elevator pitch
  2. Prerequisites — Tools, versions, accounts needed
  3. Environment Setup — Step-by-step with exact commands, expected output at each step
  4. Project Structure — Annotated directory tree (what lives where and why)
  5. Your First Task — End-to-end walkthrough of adding a simple feature
  6. Development Workflow — Branch strategy, commit conventions, PR process
  7. Running Tests — How to run tests, what to test, how to add a test
  8. Debugging Guide — Common issues and how to diagnose them
  9. Key Concepts — Domain-specific terminology explained with code examples
  10. Code Patterns — "If you want to add X, follow this pattern" templates
  11. Common Pitfalls — Mistakes every new contributor makes and how to avoid them
  12. Where to Get Help — Communication channels, documentation, key contacts
  13. Glossary — Terms used in the codebase that aren't obvious
  14. Quick Reference Card — Cheat sheet of most-used commands and patterns

Rules

  • All code examples in the detected primary language
  • Every command must be copy-pasteable
  • Include expected output for verification steps
  • Use Mermaid for workflow diagrams (dark-mode colors)
  • Ground all claims in actual code — cite (file_path:line_number)

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Example

User request:

Create onboarding documentation that helps a new engineer run, understand, and safely change this codebase.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

AI 能识别哪些编程语言?

AI 可以通过检查项目配置文件,识别 TypeScript/JavaScript、C#、Rust、Python、Go、Java 等语言。

「(file_path:line_number)」这种引用是什么意思?

意思是指南中每一处重要信息都会附上它在源代码中的确切位置,方便你进行核对。

这些指南只有文字吗?

不是的。指南中包含可视化图表,比如架构图和数据流图,这些图表使用 Mermaid 工具制作,帮助你理解。

详情

作者的原始描述

Generate two complementary onboarding documents that together give any engineer — from newcomer to principal — a complete understanding of a codebase. Use when user asks for onboarding docs or getting-started guides, user runs /deep-wiki, or user wants to help new team members understand a codebase.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6179
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能