agents-md-builder
为任意项目扫描 manifest 目录、判定角色、收集证据并生成极简 AGENTS.md 与 CLAUDE.md 重定向文件,形成完整父子导航树;当用户要求为项目生成/刷新 AGENTS.md、构建模块文档导航树、初始化 AI 代理可读的项目导读文档时使用。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
为任意项目扫描 manifest 目录、判定角色、收集证据并生成极简 AGENTS.md 与 CLAUDE.md 重定向文件,形成完整父子导航树;当用户要求为项目生成/刷新 AGENTS.md、构建模块文档导航树、初始化 AI 代理可读的项目导读文档时使用。
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Manage git submodules for the learning-open-code mono-repo. Use when the user wants to: (1) Add a new git submodule — auto-detect or specify the category (open-ai-skills/open-sdd/open-ai-agent/open-ai-desktop/open-knowledge/open-productivity/open-java/open-trading/open-data), record the tracking branch in .gitmodules, clone the repo, and update README.md index. (2) Sync all existing submodules to their configured branches (git fetch + checkout branch + pull). (3) Update the root README.md with an up-to-date index of all synced projects grouped by category. (4) Initialize submodules after git clone — when open-*/ directories are empty or git submodule status returns nothing, guide through the full SOP (git submodule update --init --recursive [--remote]). Trigger keywords: submodule, git submodule, 子模块, add submodule, sync submodule, update submodule, submodule branch, README index, 更新索引, clone, init, 初始化子模块, submodule init, 拉取子模块.
对开源项目进行穷尽式教学文档生成——从宏观架构到微观实现的五层分级讲解,使用 Goal Loop 算法自主驱动完整代码覆盖。所有具体教学内容生成必须激活 `.agents/skills/teach/SKILL.md`。触发条件:用户要求"完整学习某个项目"、"生成项目架构文档"、"从入口到落地讲清楚每个功能"、"代码考古"、"源码分析"、或指定一个项目目录/仓库要求全面教学。
使用并行子 agent 为模块生成多个截然不同的接口设计。当用户想要设计 API、探索接口选项、比较模块形态,或提到 "设计两次" 时使用。
交互式 QA 会话,用户以对话方式报告 bug 或问题,agent 将其录入 GitHub Issue。在后台探索代码库以获取上下文和领域语言。当用户想要报告 bug、做 QA、以对话方式录入 issue,或提及 "QA session" 时使用。
通过用户访谈创建包含微小提交的详细重构计划,并将其录入 GitHub Issue。当用户想要规划重构、创建重构 RFC,或将重构分解为安全的渐进步骤时使用。
从当前对话中提取 DDD 风格的通用语言词汇表,标记歧义并提出规范术语。保存到 UBIQUITOUS_LANGUAGE.md。当用户想要定义领域术语、构建词汇表、固化术语、创建通用语言,或提到 "领域模型" 或 "DDD" 时使用。
| id | agents-md-builder |
| type | skill |
| name | AGENTS.md Builder |
| description | 为任意项目扫描 manifest 目录、判定角色、收集证据并生成极简 AGENTS.md 与 CLAUDE.md 重定向文件,形成完整父子导航树;当用户要求为项目生成/刷新 AGENTS.md、构建模块文档导航树、初始化 AI 代理可读的项目导读文档时使用。 |
当用户要求为项目生成或维护 AGENTS.md 文档时使用。典型触发:
每个 AGENTS.md 是一个模块导读,不是目录卡片。它回答:这个模块是什么、如何工作、从哪里开始读、看完之后去哪里。
每一行必须通过删除测试:“删除这一行会导致 AI 代理犯错吗?” 如果不会,就删掉。
package.json)本 skill 自带全部规范,不外读仓库 docs/。
AGENTS.md(模块导读)CLAUDE.md(一行重定向至 AGENTS.md)references/manifest-discovery.md,确认支持的 manifest 文件列表与忽略目录。references/role-classification.md。references/evidence-collection.md。references/content-contract.md 确认必填章节与禁止项。references/writing-style.md 确认排版、长度与语气。references/templates/ 中对应角色的模板作为骨架。references/claude-redirect.md。读取同层级的AGENTS.md文档。references/manifest-discovery.md:扫描项目确定 manifest 目录列表时读取。references/role-classification.md:为每个 manifest 目录判定角色时读取。references/evidence-collection.md:按角色收集证据时读取。references/content-contract.md:生成 AGENTS.md 必填章节与禁止项时读取。references/claude-redirect.md:生成 CLAUDE.md 重定向文件时读取。references/writing-style.md:确认中文排版、长度密度、语气要求时读取。references/templates/repo-root-AGENTS.md:角色为 repo-root 时读取。references/templates/aggregator-AGENTS.md:角色为 aggregator 时读取。references/templates/runnable-app-AGENTS.md:角色为 runnable-app 时读取。references/templates/capability-module-AGENTS.md:角色为 capability-module 时读取。references/templates/contract-module-AGENTS.md:角色为 contract-module 时读取。references/templates/scripts-docs-AGENTS.md:角色为 scripts-docs 时读取。