一键导入
document-agent-smith-package
use when asked to create or update package documentation in the docsite
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
use when asked to create or update package documentation in the docsite
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | document-agent-smith-package |
| description | use when asked to create or update package documentation in the docsite |
This skill describes the workflow to document a package for the Agent Smith CLI.
Execute this one step after the other:
Locate the package — Read .agents/documentation/codebase-summary.md to find the package path
Read codebase summary — Read [package-path].agents/documentation/codebase-summary.md (e.g., agent-smith-plugins/system/shell/.agents/documentation/codebase-summary.md). This provides a quick overview of tools, agents, dependencies, and architecture.
Read source code — Inspect src/actions/, dist/agents/*.yml, dist/tasks/*.yml to identify tools, agents, and capabilities.
Find next number — List existing docs in agent-smith/docsite/public/doc/plugins/. Use the next available number (e.g., if 1-8 exist, use 9).
Write the doc at agent-smith/docsite/public/doc/plugins/<N>.<name>.md using this exact structure:
# <PackageName>

One-line description of what the package does.
## Install
```bash
npm i -g @agent-smith/feat-<name>
Add the package to your config.yml file and run the conf command:
plugins:
- "@agent-smith/feat-<name>"
lm conf
Available tools:
Available agents:
tool-a — purposetool-b — purposedescription: A brief description
model: qwen4b
toolsList:
- agent-name # this tool is a subagent
Add a next page link. All internal links must be of this form:
## Rules
- Keep it short and information-dense — match the style of `6.filesystem.md` and `8.search.md`
- Use `<kbd>tool-name</kbd>` for all tools/agents
- Use backticks `for tool names in prose
- End with navigation link to overview (or next package if known)