当用户完成一轮 feature 分支开发、准备合并回 develop/main 之前,需要把本次迭代做了什么记录成一份结构化文档时使用。典型请求包括:"生成迭代文档"、"记录这次开发"、"本次改动整理一下"、"把这次 feature 做的事情记下来"、"/bgp-document-iteration"。
Analyze existing codebase and generate a two-layer project wiki under docs/wiki/ (project overview + domain docs), covering domain models, business flows, architecture, and dependencies. Use when the user asks to document a project, create a project wiki, analyze codebase structure, or mentions terms like "项目 wiki", "项目文档", "整理文档", "项目说明", "代码分析", "架构梳理", "onboarding 文档".
BGP 团队内部的 Claude Code agent skill 分发仓库,通过 Claude Code plugin marketplace 机制安装和更新。
在 Claude Code 中:
/plugin marketplace add pangjiawei19/agent-skills
/plugin install bgp-docs@bgp-skills
后续更新:
/plugin marketplace update bgp-skills
bgp-docs — 项目文档套件生成和维护项目文档的配套 skill:
| Skill | 用途 | 典型触发 |
|---|---|---|
bgp-document-wiki | 从代码库生成两层项目文档(项目层 + 领域层),输出至 docs/wiki/ | 新接手项目、onboarding 材料、代码重构后同步 |
bgp-document-iteration | 基于 git diff 生成本次迭代改动文档 | feature 分支合并 develop 前 |
配套关系:bgp-document-wiki 维护项目现状(随代码演进),bgp-document-iteration 记录每次变更历史(不可变时间线)。两者输出互不覆盖,通过链接串联。
调用格式:/bgp-docs:bgp-document-wiki、/bgp-docs:bgp-document-iteration。也可以让 Claude 自动根据任务描述触发。
agent-skills/
├── .claude-plugin/
│ └── marketplace.json # 分发清单
├── plugins/
│ └── bgp-docs/ # 分发给团队的 plugin
│ ├── .claude-plugin/plugin.json
│ └── skills/
│ ├── bgp-document-wiki/
│ └── bgp-document-iteration/
└── skills/ # 维护者本地使用的游离 skill(不参与分发)
└── ...
新增 skill 到既有 plugin:
cd plugins/bgp-docs/skills/
# 创建 <skill-name>/SKILL.md
git add . && git commit -m "feat(bgp-docs): add <skill-name>"
新增 plugin:
plugins/ 下创建新目录 <new-plugin>/plugins/<new-plugin>/.claude-plugin/plugin.json.claude-plugin/marketplace.json 的 plugins 数组里追加 entry/plugin marketplace update bgp-skills 后可见游离 skill:顶层 skills/ 下的 skill 不进任何 plugin,仅供维护者本地使用(通过 symlink 到 ~/.claude/skills/)。
本地测试 plugin 可用性:
/plugin marketplace add ./agent-skills # 添加本地 repo 作为 marketplace
/plugin install bgp-docs@bgp-skills
调用 /bgp-docs:bgp-document-wiki 能响应即为正常。
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub pangjiawei19/agent-skills --plugin bgp-docsAccess official Microsoft documentation, API references, and code samples for Azure, .NET, Windows, and more.
Make your AI agent code with your project's architecture, rules, and decisions.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Build and maintain an LLM-curated personal knowledge base in your project — Andrej Karpathy's LLM Wiki pattern, designed to scale to thousands of pages without becoming a context bottleneck. Now with an optional compiled graph layer for typed, provenance-backed relationships.
Connect to Atlassian products including Jira and Confluence. Search and create issues, access documentation, manage sprints, and integrate your development workflow with Atlassian's collaboration tools.
AI-powered wiki generator for code repositories. Generates comprehensive, Mermaid-rich documentation with dark-mode VitePress sites, onboarding guides, deep research, and source citations. Inspired by OpenDeepWiki and deepwiki-open.