Reduce cross-artifact duplication in task and template instructions
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 76/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Read the task guidance in schemas/spec-driven/schema.yaml, the three named skill files, and src/commands/workflow/instructions.ts. Add guidance that keeps tasks actionable while referencing existing requirements and decisions, and permits reference-only or omitted optional sections where the schema allows. Check that required artifact structure and validation behavior are preserved.
由索引模型根据 Issue 内容生成。
描述
What you were trying to do
Scaffold OpenSpec files without wasting tokens on overlapping content or turning spec-driven development into a redundant ceremony.
What happened
#1401 (closing #1382) clarified that design.md should reference the proposal and specs instead of restating them. Two gaps remain in the default spec-driven workflow:
- Task instructions: The tasks guidance says "Reference specs for what needs to be built, design for how to build it", but never explicitly discourages duplicating requirements or technical decisions in
tasks.md. - Template instructions: The generated skills say "Use
templateas the structure for your output file - fill in its sections" (openspec-propose,openspec-ff-change,openspec-continue-change), and the CLI's<template>block says "Use this as the structure for your output file. Fill in the sections." (instructions.ts). Neither clarifies that a concise cross-reference can satisfy a section when its content already exists elsewhere. This can encourage redundant prose despite #1401's guidance to "point to them instead".
What you expected instead
- Explicitly instruct agents to keep tasks independently actionable and verifiable: reference existing specs and design decisions rather than reproducing them, while retaining the technical details necessary to implement and verify each task.
- Clarify that reference-only sections are acceptable when appropriate, and optional sections can be omitted where the schema permits.
- Preserve required artifact structure and existing validation behavior.
This is a guidance-only follow-up to #1401, not a request to change the artifact dependency graph.
Related: #2167 addresses stable reference IDs, a complementary concern rather than the duplication guidance itself.
Minimal steps to reproduce
- In a project using the default
spec-drivenschema, run theopenspec-proposeskill for any major feature. - Compare
design.mdandtasks.md.
Example from one run: tasks restated design decisions instead of referencing them.
- Job permissions: design D3 said "
id-token: writeandattestations: writeonly. No checkout is needed"; task 1.1 said "job-levelpermissionscontaining onlyid-token: writeandattestations: write. It gets no checkout". - Job order: design D4 defined
build-and-verify → attest → prepare-github-release → publish → publish-github-release, and task 1.2 restated the same chain.
OpenSpec version
1.16.1
Coding agent and model
Claude Code 2.1.311, claude-opus-5-5
Agent session trace
No response
OS and Node version
No response
- 主要语言
- TypeScript
- 星标
- 76k
- 派生
- 5.2k
- 平均合并
- 1 天 5 小时
- 30 天内合并 PR
- 58
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Fission-AI/OpenSpec 的其他 Issue
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 74/100
Fission-AI/OpenSpec#2337 ·
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
Fission-AI/OpenSpec#2311 ·
维护者通常 1 天内回复
-
sync-specs skill overwrites an existing ADDED requirement, contradicting the CLI's no-op/conflict rule from #1376可能重新可做 @vaibhavdabas16 于 10 天前认领,目前没有进行中的 PR。 未关闭approved
难度 1/5 1 小时以内 新手友好度 86/100
Fission-AI/OpenSpec#2289 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 76/100
Fission-AI/OpenSpec#2208 · 2 条评论 ·
维护者通常 1 天内回复
-
Document the RFC 2119 keyword rule (attribution lost in docs rebuild) and its clarification update RFC 8174可能已有人在做 @sofiaali1521-cloud 于 5 天前认领。 未关闭documentation needs-triage
难度 1/5 1-3 小时 新手友好度 88/100
Fission-AI/OpenSpec#2200 · 5 条评论 ·
维护者通常 1 天内回复
查看 Fission-AI/OpenSpec 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
tashfeenahmed/freellmapi#2217 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
remotion-dev/skills#37 ·
-
gui: a narrow window's gateway key row with a line under it wraps its faded badges onto blank lines未关闭
难度 2/5 1-3 小时 新手友好度 74/100
-
Slider: Escape during a thumb drag keeps and commits the dragged value, unlike ui-sdk's other drags未关闭
难度 2/5 1-3 小时 新手友好度 76/100
vercel-labs/ui#1758 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
nicobailon/pi-subagents#3425 ·
维护者通常 1 天内回复