Create Agent
vectorize-io/hindsight
Create a new Hindsight-powered subagent with long-term memory.
Harness Engineering 第一阶段第二步:深度分析项目代码,填充业务解决方案、架构、约定、技术决策和质量标准等 docs/ 知识库内容。
$ npx skills add simbajigege/book2skills --skill harness-step2-fill-docs -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install simbajigege/book2skills harness-step2-fill-docs --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/simbajigege/book2skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/harness-step2-fill-docs .claude/skills/harness-step2-fill-docs && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "harness-step2-fill-docs" agent skill from https://github.com/simbajigege/book2skills/tree/main/skills/harness-step2-fill-docs into .claude/skills/harness-step2-fill-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness-step2-fill-docs", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/simbajigege/book2skills/tree/main/skills/harness-step2-fill-docsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add simbajigege/book2skills --skill harness-step2-fill-docs -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install simbajigege/book2skills harness-step2-fill-docs --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simbajigege/book2skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/harness-step2-fill-docs .agents/skills/harness-step2-fill-docs && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "harness-step2-fill-docs" agent skill from https://github.com/simbajigege/book2skills/tree/main/skills/harness-step2-fill-docs into .agents/skills/harness-step2-fill-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness-step2-fill-docs", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add simbajigege/book2skills --skill harness-step2-fill-docs -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install simbajigege/book2skills harness-step2-fill-docs --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simbajigege/book2skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/harness-step2-fill-docs .cursor/skills/harness-step2-fill-docs && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "harness-step2-fill-docs" agent skill from https://github.com/simbajigege/book2skills/tree/main/skills/harness-step2-fill-docs into .cursor/skills/harness-step2-fill-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness-step2-fill-docs", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/simbajigege/book2skills.git --path skills/harness-step2-fill-docs--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add simbajigege/book2skills --skill harness-step2-fill-docs -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install simbajigege/book2skills harness-step2-fill-docs --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simbajigege/book2skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/harness-step2-fill-docs .gemini/skills/harness-step2-fill-docs && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "harness-step2-fill-docs" agent skill from https://github.com/simbajigege/book2skills/tree/main/skills/harness-step2-fill-docs into .gemini/skills/harness-step2-fill-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness-step2-fill-docs", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install simbajigege/book2skills harness-step2-fill-docsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add simbajigege/book2skills --skill harness-step2-fill-docs -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/simbajigege/book2skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/harness-step2-fill-docs .github/skills/harness-step2-fill-docs && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "harness-step2-fill-docs" agent skill from https://github.com/simbajigege/book2skills/tree/main/skills/harness-step2-fill-docs into .github/skills/harness-step2-fill-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness-step2-fill-docs", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add simbajigege/book2skills --skill harness-step2-fill-docs -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install simbajigege/book2skills harness-step2-fill-docs --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simbajigege/book2skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/harness-step2-fill-docs .opencode/skills/harness-step2-fill-docs && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "harness-step2-fill-docs" agent skill from https://github.com/simbajigege/book2skills/tree/main/skills/harness-step2-fill-docs into .opencode/skills/harness-step2-fill-docs/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "harness-step2-fill-docs", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
harness-step2-fill-docsHarness Engineering 第一阶段第二步:深度分析项目代码,填充业务解决方案、架构、约定、技术决策和质量标准等 docs/ 知识库内容。
Harness Step2 Fill Docs is an agent skill from simbajigege/book2skills. Harness Engineering 第一阶段第二步:深度分析项目代码,填充业务解决方案、架构、约定、技术决策和质量标准等 docs/ 知识库内容。 在 harness-step1-create-agents-md 创建好目录骨架之后使用。当用户说"填充文档内容"、 "完善 docs/ 文件"、"让文档有实质内容"、"分析项目写架构文档"、"写 ARCHITECTURE.md"、 "写技术决策文档"、"从业务视角理解项目"、"完善 business-solution.md"时,立即使用此 skill。 前置条件:项目中已有 AGENTS.md 和 docs/ 目录骨架(由 harness-step1 创建)。
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files (for example `README.md`, `en/harness-step2-fill-docs.md` and `examples/en.yaml`).
It sits in Agent Workflows, covering Building AI agents. The repository describes itself as: Create best skills based on best books. The licence is Apache-2.0.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e5ba66c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
rgFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Harness Step2 Fill Docs loads about 1.6k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 175 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from simbajigege/book2skills at commit e5ba66c, republished under its Apache-2.0 licence (© simbajigege). 175 words, ~1,567 tokens.
.claude/skills/harness-step2-fill-docs/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.通过深度阅读项目代码,将隐藏在代码里的业务能力、用户流程、架构知识、命名约定、技术决策, 显式地写入 docs/ 各文件。让 agent 在任何 session 都能快速理解项目全貌。
核心原则:推断出来的内容要标注来源,无法确定的内容标注「待补充」, 不要用模糊的占位符糊弄过去。
在写任何文档之前,先充分读懂项目。按顺序执行:
# 1. 确认 docs/ 骨架已存在
ls docs/
# 2. 读懂目录结构(3层)
find . -maxdepth 3 \
-not -path '*/node_modules/*' -not -path '*/.git/*' \
-not -path '*/__pycache__/*' -not -path '*/dist/*' \
-not -path '*/.next/*' -not -path '*/build/*' | sort
# 3. 读主要入口文件
# (根据技术栈判断:main.ts / main.py / app.go / index.js 等)
# 4. 读模块边界(各主要目录的 index 文件或第一个文件)
# 目标:搞清楚每个目录的职责
# 5. 读依赖声明
cat package.json 2>/dev/null || cat pyproject.toml 2>/dev/null || \
cat go.mod 2>/dev/null || cat Cargo.toml 2>/dev/null
# 6. 读已有文档(复用,不重复)
cat README.md 2>/dev/null
cat AGENTS.md 2>/dev/null扫描目标——在写文档前,必须能回答这些问题:
docs/business-solution.md写什么:从业务和需求视角说明项目服务谁、解决什么问题、如何产生价值,以及能力边界。不要把技术组件清单改写成业务价值,也不要把路线图或设想当成现有功能。
⚠️ 强制要求:业务能力必须验证可见入口或执行链路
README 可以用于发现候选能力,但在写“系统可以完成 X”之前,至少找到以下一种证据:
推荐搜索方法:
# 从路由和页面验证用户可见能力
rg -n "path:|Register.*Routes|\.GET\(|\.POST\(" frontend/src/router internal/router
# 从业务对象和服务验证执行能力
rg -n "type .*Service|func New.*Service|Create|Search|Import|Sync|Evaluate" internal/application
# 区分已实现、路线图和待办
rg -n "Roadmap|TODO|planned|coming soon|路线图|规划" README.md docs/ frontend/ internal/每项能力标记证据状态:
格式模板:
# 业务解决方案
## 一句话定位
[服务谁,用什么方式,解决什么核心问题]
## 目标用户与核心任务
| 用户/角色 | 核心任务 | 当前痛点 |
|---|---|---|
## 问题—能力—价值映射
| 业务问题 | 已验证能力 | 产生的价值 | 证据 |
|---|---|---|---|
## 典型业务场景
[3-8 个由代码/产品文档支持的场景,每个说明参与者、输入、过程和结果]
## 核心业务流程
[从用户输入到获得结果的端到端流程]
## 能力边界
- [不适用场景、依赖条件、安全/人工审核要求]
## 二次开发机会
[明确标注为建议,不得混入现有能力]
## 待补充
- [ ] [目标行业、指标、商业规则等需业务负责人确认的内容]写作要求:
docs/ARCHITECTURE.md写什么:模块划分、依赖方向、主要数据流。写"是什么结构"和"为什么这样分",不写具体实现。
⚠️ 强制要求:描述组件/模块关系前,必须验证 import
写任何"A 被 B 使用"、"A 内嵌了 B"、"A 页面包含 C 组件"这类断言之前, 必须用 Grep 确认实际 import,不得根据文件名或目录位置猜测。
# 验证某组件是否被某页面实际引用
grep -r "ChatInterface" frontend/src/app/[locale]/book/[bookCode]/ 2>/dev/null
# 验证某组件被哪些文件实际引用
grep -rl "ComponentName" src/ 2>/dev/null如果 grep 无结果,说明没有引用关系——即使组件在同一目录下也不能断言它被使用。 未经验证的关系统一标注「待验证:未找到 import,请人工确认」。
格式模板:
# 架构说明
## 整体结构
[用文字描述整体分层,再用目录树辅助说明]
[目录树,只到关键层级,不要穷举所有文件]
## 依赖方向规则
[用箭头图或列表说明哪层可以引用哪层]
关键约束:
- [约束1,说明原因]
- [约束2,说明原因]
## 主要数据流
[描述最核心的 1-2 条请求/数据流,从入口到数据库]
## 待补充
- [ ] [扫描时无法确定的内容]写作要求:
docs/CONVENTIONS.md写什么:从代码里归纳出来的命名规律和文件组织规律。
扫描方法:
# 看文件命名规律
find src -name "*.ts" -o -name "*.py" -o -name "*.go" 2>/dev/null | head -30
# 看函数/变量命名(随机抽几个文件)
head -50 [主要源文件路径]格式模板:
# 代码约定
## 文件命名
- [规律1]:示例 `XxxYyy.tsx`
- [规律2]:示例 `xxx-yyy.ts`
## 变量和函数命名
- 变量/函数:[规律 + 示例]
- 类/组件:[规律 + 示例]
- 常量:[规律 + 示例]
## 目录组织
[每个主要目录放什么类型的文件]
## Git Commit 格式
[从 git log 里归纳,或写推荐格式]
`type(scope): 描述`
type 可选:feat / fix / docs / refactor / test
## 待补充
- [ ] [无法从代码推断的约定]写作要求:
docs/TECH_DECISIONS.md写什么:技术选型的原因。这是最难写的一份,因为原因往往不在代码里。
扫描方法:
# 看所有直接依赖
cat package.json | grep '"dependencies"' -A 50 2>/dev/null
# 或
cat pyproject.toml | grep -A 30 '\[tool.poetry.dependencies\]' 2>/dev/null格式模板:
# 技术决策记录
## [框架/库名]
**用途**:[这个库/框架用来做什么]
**选择原因**:[能推断出的原因,或标注「待补充」]
**替代方案**:[如果明显有替代品,列出并说明为何不选]
**注意事项**:[使用时需要特别注意的地方]
## 待补充
- [ ] [无法从代码推断选型原因的库,需要人工说明]写作要求:
docs/QUALITY.md写什么:什么叫"完成",以及代码审查的检查清单。
扫描方法:
# 看测试文件的模式
find . -name "*.test.*" -o -name "*.spec.*" -o -name "*_test.*" 2>/dev/null | head -10
# 看 CI 配置(如果有)
cat .github/workflows/*.yml 2>/dev/null | head -60格式模板:
# 质量标准
## Definition of Done(完成的定义)
一个任务算完成,必须满足:
- [ ] 功能在本地运行正常
- [ ] 写了对应测试(覆盖正常路径 + 至少一个异常路径)
- [ ] [根据项目实际情况补充,如:类型检查通过、lint 无报错]
- [ ] git commit 信息清晰
- [ ] 如修改了架构或约定,docs/ 已同步更新
## 代码审查检查清单
**正确性**
- [ ] [项目特有的正确性检查,如:多租户隔离、权限验证]
**可维护性**
- [ ] 命名是否符合 CONVENTIONS.md?
- [ ] 有无重复代码可提取?
- [ ] 业务逻辑是否在正确的层?(见 ARCHITECTURE.md)
## 测试要求
[从现有测试文件归纳出的测试约定,或写推荐标准]
## 待补充
- [ ] [无法从代码推断的验收标准]docs/exec-plans/tech-debt-tracker.md写什么:扫描过程中发现的潜在问题和技术债务。
格式:
# 技术债务追踪
每条格式:`[优先级: 高/中/低] 问题描述 — 影响范围`
## 当前债务
[扫描时发现的问题,诚实地写]
## 已解决
(空)判断债务的线索:
每个文件写完后,逐一自检:
输出摘要,包含三部分:
已写入的内容:列出每个文件写了什么
业务解决方案摘要:列出目标用户、核心业务问题、已验证场景和能力边界
需要人工确认的「待补充」清单: 汇总所有文件里标注了「待补充」的条目,这是用户最需要关注的部分
下一步:
harness-step3-session-management skill,建立跨 session 的状态管理(progress 文件 + tasks.json)© simbajigege, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files in skills/harness-step2-fill-docs of simbajigege/book2skills.
Open the folder on GitHubat commit e5ba66c
Harness Step2 Fill Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Harness Step2 Fill Docs this skillsimbajigege/book2skills | 183 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Create Agentvectorize-io/hindsight | 48k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Topologychmod777john/swarm-ide | 1.5k | — | ~447 | Automated safety check: Pass | None | |
| Agent Skills PlatformFrancyJGLisboa/agent-skills-platform | 2.4k | — | ~12k | Automated safety check: Notes | MIT | |
| Adk Architecturegoogle/adk-python | 22k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Dashclaw Governanceucsandman/DashClaw | 311 | — | ~2.7k | Automated safety check: Pass | MIT |
vectorize-io/hindsight
Create a new Hindsight-powered subagent with long-term memory.
chmod777john/swarm-ide
Explain the IM+Agent framework: create+send as minimal primitives, IM system vs agent loop separation, message vs llmHistory, and the recursive property.
FrancyJGLisboa/agent-skills-platform
Create cross-platform agent skills from workflow descriptions.
google/adk-python
Explains how the ADK runtime fits together: the node and graph execution model, Context and Event flow, checkpoint and resume, tracing, and the rules governing the public API surface.
ucsandman/DashClaw
Governance behavior for AI agents governed by DashClaw. An agent skill from ucsandman/DashClaw.
jdforsythe/forge
Creates structured agent definitions using the 7-component format grounded in persona science (the alignment-accuracy tradeoff), vocabulary routing, and the MAST failure taxonomy + Forge watchlist.
simbajigege/book2skills
Reorganizes an overgrown MEMORY.md into a short pointer index plus separate topic files, and fixes or deletes outdated memories instead of archiving them.
simbajigege/book2skills
A developer guide to adding compact memory to an agent: when to trigger compaction, how to fork a compactor sub-agent, what the summary holds, and how to restore it.
simbajigege/book2skills
Turns text, screenshots, or existing diagrams into minimal, accessible line-art SVGs for teaching material, with an optional Mermaid relationship spec.
simbajigege/book2skills
Helps define agent tools with a fail-closed pattern: one class holding name, schema, security flags and a validate, permission and call execution chain.
simbajigege/book2skills
Implements a production-style agent loop in your own AI product, with tool calling, tool results fed back, exit conditions and budget guards.
simbajigege/book2skills
Guides designing a layered permission pipeline for agent tools that decides which calls are allowed, need confirmation or are denied, with scopes and hooks.
Categories
Harness Engineering 第一阶段第二步:深度分析项目代码,填充业务解决方案、架构、约定、技术决策和质量标准等 docs/ 知识库内容。. Harness Step2 Fill Docs is an agent skill from simbajigege/book2skills.
Harness Step2 Fill Docs fits situations like: tasks that involve Building AI agents.
Run `npx skills add simbajigege/book2skills --skill harness-step2-fill-docs -a claude-code`. Or copy the skill folder (skills/harness-step2-fill-docs in simbajigege/book2skills) into .claude/skills/harness-step2-fill-docs in your project. Claude Code loads it when a task matches its description.
Run `npx skills add simbajigege/book2skills --skill harness-step2-fill-docs -a codex`. Or copy the skill folder (skills/harness-step2-fill-docs in simbajigege/book2skills) into .agents/skills/harness-step2-fill-docs in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add simbajigege/book2skills --skill harness-step2-fill-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/harness-step2-fill-docs, .gemini/skills/harness-step2-fill-docs, .github/skills/harness-step2-fill-docs and .opencode/skills/harness-step2-fill-docs in your project.
Going by SKILL.md and its folder, Harness Step2 Fill Docs needs the command-line tools its instructions call (rg).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Harness Step2 Fill Docs is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Harness Step2 Fill Docs: Create Agent (vectorize-io/hindsight, 48k stars), Topology (chmod777john/swarm-ide, 1.5k stars), Agent Skills Platform (FrancyJGLisboa/agent-skills-platform, 2.4k stars) and Adk Architecture (google/adk-python, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
simbajigege (a GitHub user) maintains it in simbajigege/book2skills, which has 183 GitHub stars. The repository holds 37 skills in this directory. The repository was last updated on August 26, 2026.
Source: simbajigege/book2skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.