Agent Skills
› AjayIrkal23/agentic-mercy-10x
› invoke-spec
invoke-spec
GitHub执行SPEC规范生成流程,调度spec-architect智能体并输出规范文档。支持复用运行目录、自动处理失败重试及结果报告,是规范制定环节的核心自动化技能。
Trigger Scenarios
需要生成软件规格说明书
调用invoke spec命令
初始化新项目规范文档
Install
npx skills add AjayIrkal23/agentic-mercy-10x --skill invoke-spec -g -y
SKILL.md
Frontmatter
{
"name": "invoke-spec",
"description": "Run the SPEC act — dispatches spec-architect (default opus; opus-guard routes) and writes `SPEC-{slug}.md` into a run folder. Single-act form of `\/invoke spec -- <task>`.",
"argument-hint": "[--run <dir>] [task]"
}
Run the spec act for: $ARGUMENTS
This is /invoke spec without the closers; ~/.claude/skills/invoke/SKILL.md governs anything not said here.
- Run folder:
--run <dir>in the arguments → reuse that folder (absolute path) and update itsrun.jsonwith Edit; otherwise create a new one exactly as/invoke§2 (RUN="$(git rev-parse --show-toplevel)/.claude/runs/$(date -u +%Y%m%dT%H%M)-$SLUG",BRIEF.md,run.jsonwith"acts": ["spec"]). Never write into any other existing run folder. - Set
run.json.expected_artifacts["spec-architect"] = "SPEC-{slug}.md". Agent(subagent_type="spec-architect", description="spec: <task>", prompt=...). The prompt names$RUN/BRIEF.md, every artifact already in$RUN/, and the exact output path$RUN/SPEC-{slug}.md. Nomodel=: opus-guard routes it (pins, escalation, per-project mode). Artifact missing or the act failed → re-dispatch once with the prompt prefixedPrevious attempt failed: <one-line reason>.- Append
spectorun.json.done, then report the artifact path and a one-paragraph verdict.
Version History
- 2315578 Current 2026-10-18 19:22


