用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/SocketDev/action --skill authoring-spec命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Propagate a wheelhouse template change across fleet repos: worktrees, push/PR fallback, cleanup.
Run this repo's GitHub Actions locally with Agent-CI before pushing CI-sensitive changes.
Audit package exports for dead, internal-only, or weakly-consumed subpaths before pruning.
基于 SOC 职业分类
正在显示 SKILL.md
| name | authoring-spec |
| description | Turn the current conversation into a spec: problem, solution, stories, tests, enforcement. |
| user-invocable | true |
| metadata | {"internal":true} |
Turn the conversation + codebase understanding into a spec. Do NOT interview — just
synthesize what you already know. Adapted from mattpocock/to-spec; the natural
input to decomposing-tickets. Two fleet additions: test seams are a first-class
output, and every spec names its enforcement plan.
Explore the repo (if you haven't) so the spec uses the project's domain vocabulary; respect ADRs in the area.
Sketch the seams at which the feature is tested. Prefer existing seams; use the
highest seam possible; the fewer across the codebase the better — the ideal is
one. New seams go in at the highest point. Fleet seam doctrine:
test-layout (public interface, no
source-text assertions). Check the seams with the user before writing.
Sections: Problem (user's perspective) · Solution (user's perspective) · User Stories (a long numbered "As an , I want , so that " list, exhaustive) · Implementation Decisions (modules, interfaces, schema/API contracts — no file paths or code snippets, they go stale; exception: a prototype snippet that encodes a decision more precisely than prose) · Testing Decisions (what makes a good test here, which modules, prior art) · Enforcement plan · Out of Scope.
Enforcement plan is the fleet's code-is-law addition: name which hook / lint
rule / check script will verify each discipline the feature introduces. A spec that
introduces a rule with no enforcer is policy on paper
(code-is-law).
The spec is a public-facing surface. Run the prose skill over it and apply
prose-style-and-doctrine:
lead with the point, cut throat-clearers/hedges/filler, evidence over assertion.
Public-surface hygiene: no real customer/company name, no private repo, no Linear
ref, no bare #N.
Publish to the tracker (GitHub via gh, or the Linear MCP save_document /
save_issue tool) with the ready-for-agent triage label. Publishing is mutating +
outward-facing — confirm the destination first.
The spec has all sections including named test seams and an enforcement plan, passed the prose + doctrine pass, leaks no private name, and is published to the confirmed tracker.
Use grilling-plan to challenge the plan, decomposing-tickets to publish slices, and building-tdd to implement them.