document-agent-smith-package
use when asked to create or update package documentation in the docsite
- License 许可
- MIT
- 最近更新
- 2026-10-13
- Stars
- ★ 48
- Forks
- 3
01 前言 Front Matter
- name
- document-agent-smith-package
- description
- use when asked to create or update package documentation in the docsite
03 SKILL.md 正文
This skill describes the workflow to document a package for the Agent Smith CLI.
Workflow
Execute this one step after the other:
-
Locate the package — Read
.agents/documentation/codebase-summary.mdto 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/*.ymlto 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>.mdusing 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
Actions and tools
<category>
Available tools:
- <kbd>tool-name</kbd> one-line description of what it does (include container image if applicable)
Agents
Available agents:
- <kbd>agent-name</kbd> one-line description. Lists tools used:
tool-a— purposetool-b— purpose
Example agent
description: A brief description
model: qwen4b
toolsList:
- agent-name # this tool is a subagent
Links
Add a next page link. All internal links must be of this form:
<a href="javascript:openLink('/plugins/overview')">Back: Overview</a>
## 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)
04 同仓库更多 Skills
create-workflow
use when asked to create, define, or modify a workflow in Agent Smith - writes the .yml file in features/workflows/, chains actions/agents/adaptaters/commands, registers it with lm update so it runs as `lm <name>` and can be exposed as an agent tool
create-agent
use when asked to create, define, or modify an agent in YAML for Agent Smith, optionally exposes it as a subagent tool
create-adaptater
use when asked to create, define, or modify an adaptater (adapter) in Agent Smith - writes the .js file in features/adaptaters/, registers it with lm update so workflows can use it as a data transformation step between actions and agents
create-action
use when asked to create, define, or modify an action in Agent Smith - writes the .js/.py/.yml file in features/actions/, adds the
update-doc-map
read this only when instructed to update the documentation map