AGENT SKILL

agent-experience

Use when writing or changing a model-facing tool definition (name, description, parameter schema, or its system-prompt section), and when designing skills, context loading, or multi-step workflows, to make information discoverable and use context efficiently.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 4.1w
Forks
3.6k

01 前言 Front Matter

name
agent-experience
description
Use when writing or changing a model-facing tool definition (name, description, parameter schema, or its system-prompt section), and when designing skills, context loading, or multi-step workflows, to make information discoverable and use context efficiently.

03 SKILL.md 正文

  • Start with minimal context: expose purpose, available actions, and constraints first; load detailed instructions when needed.
  • Make discovery explicit: every deferred resource needs a clear description and a reliable way to retrieve it.
  • Keep critical constraints visible: permissions, destructive effects, and required validation should appear before the relevant action.
  • Prefer bounded outputs: return concise results with identifiers or paths for retrieving details; avoid dumping entire logs or documents.
  • Use locality: include a bounded amount of likely needed adjacent context with an operation’s result. For example, deliver a thread reply with a few preceding messages. Mark omissions and truncation explicitly, and provide a way to retrieve more.
  • Evaluate total work: saving context is useful only if it does not cause more searches, repeated reads, or mistakes.

Tool definitions

  • Delete obvious constraints. Omit rules the model learns from the call result, such as a missing file failing to read or a failed send not being delivered.
  • Describe behavior, not implementation. State what the tool does and returns; omit internal mechanisms, output markers the model sees in results, and enforcement details.
  • Put parameter rules on the parameter. Defaults, ranges, pairing, and when-to-set rules belong in that parameter's description or schema; a description that varies with configuration usually means the varying part belongs to a parameter.
  • Say each fact once. Do not repeat the tool definition in its system-prompt section, a parameter description in the tool description, or one tool's rules in another tool.
  • Measure the change. Compare first-turn prompt tokens before and after a tool-definition change.

04 同仓库更多 Skills

codewhale-hq
codewhale-hq/Codewhale

editing-cordis-compositions

Use when creating, changing, or validating an agent preset or other Cordis composition for this harness, including deciding host versus preset placement and checking that an authored preset mounts.

★ 4.1w
codewhale-hq
codewhale-hq/Codewhale

cordis-plugin-development

Use when designing, reviewing, adding, enabling, disabling, installing, configuring, or debugging a plugin, bundle, feature, page, panel, tool, or MCP connection in the current Harness profile, including a shipped plugin that is disabled by default, and for any visual object, decoration, or widget request that names no other destination, which means an installed UI plugin rendered in the Harness Web UI.

★ 4.1w
codewhale-hq
codewhale-hq/Codewhale

cordis-composition-reference

Use when writing or reading a Cordis bundle patch or agent preset for this harness and you need the Loader YAML dialect (insert, override by id, group, disabled, isolate, !!js) or the list of installable Harness plugin packages and what each provides.

★ 4.1w
codewhale-hq
codewhale-hq/Codewhale

GitHub PR 与议题队列审查

gh-find-prs

以只读方式梳理开放的 Codewhale PR 和议题队列:获取每一项,对照当前代码进行核查,并生成一份包含引用证据和应致谢对象的覆盖度与处置矩阵。

软件开发工程师代码仓库协作管理
★ 4.1w
codewhale-hq
codewhale-hq/Codewhale

GitHub 议题创建

gh-file-issue

用于提交新的 Codewhale GitHub 议题:将 bug 或想法转化为结构良好、可执行的议题,包含复现步骤、验收标准、标签和里程碑。

测试工程师代码仓库协作管理
★ 4.1w
codewhale-hq
codewhale-hq/Codewhale

GitHub 议题关闭验证

gh-close-issues

仅在验证已落地的行为之后才关闭已解决的 Codewhale 议题:每次落地使用 Refs #N,仅在复现了报告者的场景时才使用 Fixes #N,在发布步骤或报告者确认时关闭,并始终附上致谢评论。

项目经理代码仓库协作管理
★ 4.1w