跳到正文
cccskills
免费在 GitHub 公开

authoring-agent-skills

Meta-skill for creating Agent Forge skills under .claude/skills/ with SKILL.md, optional references/ and scripts/, and Bun scaffolds. Use when the user wants to add or author a skill, scaffold a new skill folder, or align skill docs with harness conventions (JSON script output, Beads for tasks).

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(4)

  • SKILL.md2.9 KB
  • references/AUTHORING-GUIDE.md3.0 KB
  • scripts/scaffold-lib.ts623 B
  • scripts/scaffold.ts968 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

authoring-agent-skills

Creates well-structured skills for this harness. Upstream port: concepts from mattpocock write-a-skill are folded in here so one meta-skill stays canonical for Agent Forge.

When to Use

  • Creating a new repeatable workflow or tool as a skill
  • Explaining how description: in YAML routes agents to the right skill
  • Deciding whether logic belongs in markdown steps vs scripts/*.ts

Process

  1. Gather requirements — task/domain, main use cases, scripts vs docs only, any reference material to bundle.
  2. Draft — SKILL.md first; add references/ or scripts/ only when needed.
  3. Review — use the checklist in references/AUTHORING-GUIDE.md.

Skill anatomy

A skill lives in .claude/skills/<name>/:

PieceRole
SKILL.mdRequired instructions and entrypoint
references/Optional deep docs (progressive disclosure)
scripts/Optional Bun TypeScript; emit JSON per AGENTS.md

SKILL.md frontmatter

---
name: <skill-name>
description: <one line + Use when … triggers>
---

See Description field and checklist in references/AUTHORING-GUIDE.md.

Harness conventions

  1. Single responsibility per skill.
  2. Numbered steps with exact commands where possible.
  3. Scripts return structured JSON (ok, data, error).
  4. Idempotent scripts when reruns are likely.
  5. Tracked work uses Beads (bd), not TODO files or TODO comments.
  6. Ship self-contained — never depend on repos/. repos/ holds cloned sub-repos and is gitignored, so anything under it is absent for other users. A command or skill must not reference repos/skills/... (or any other repos/<x> dependency) as something it needs to read. Vendor a copy into the harness (e.g. .claude/skills/<name>/) and reference that. Referring to repos/<repo>/ as the runtime location of the user's own sub-repos (e.g. bun run repo refresh --repo <name>, repos/repos.json) is fine — that is user data, not a harness dependency.

Scaffold

Creates .claude/skills/<name>/ with SKILL.md, scripts/, and references/:

bun run .claude/skills/authoring-agent-skills/scripts/scaffold.ts <skill-name> "<description>"

Use a slug for <skill-name> (kebab-case, matches name: in frontmatter).

Long-form template and split-file guidance

references/AUTHORING-GUIDE.md — full template, description examples, when to script vs split, review checklist.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

add-bead

免费

Capture free-text work as a tracked Beads issue. Use when the user runs /add-bead or wants to quickly file a Beads issue.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

add-repo

免费

Register a new sub-repo in the knowledge base.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

Add focused Bun unit tests for mission-critical behavior and edge cases — not blanket coverage.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

ask

免费

Answer questions about the codebase from knowledge files. Use when the user runs /ask or asks a domain/knowledge question about the repos.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

Choose Beads issue priority (P0–P4, numeric, or named) from urgency, impact, and risk when creating or triaging work.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

caveman

免费

Ultra-compressed communication mode that preserves technical accuracy while dropping filler. Use when the user explicitly says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.

中文简介正在准备中。当前显示原文说明。

jupes/agent-forge-harness22026年10月19日 更新

查看 jupes 的全部技能

报告此技能的问题