AgentSkillsCN

logics-spec-writer

在本仓库内创建轻量级的功能规格文档。当Codex需要依据待办事项或任务,以logics/specs/*.md文件的形式撰写结构化的规格文档,明确其范围、验收标准以及验证与测试计划时,这一工具便能大显身手。

SKILL.md
--- frontmatter
name: logics-spec-writer
description: Create lightweight functional specs inside this repo. Use when Codex should write a structured spec document in `logics/specs/*.md` derived from a backlog item or task, with clear scope, acceptance criteria, and validation/test plan.

Backlog/Task → Spec

Create a spec doc

bash
python3 logics/skills/logics-spec-writer/scripts/logics_spec.py new --title "..." --from-version X.X.X

Fill it from inputs

  • Start from the backlog acceptance criteria and convert them into spec sections.
  • Keep it concise; put implementation details in tasks, not in specs.