Reduce cross-artifact duplication in task and template instructions
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 76/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- developer-experience, documentation
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 76k
- Fork
- 5.2k
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 58
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Fission-AI/OpenSpec
-
enhancement needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Fission-AI/OpenSpec#2337 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Fission-AI/OpenSpec#2311 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
sync-specs skill overwrites an existing ADDED requirement, contradicting the CLI's no-op/conflict rule from #1376Có thể làm lại được @vaibhavdabas16 đã nhận 10 ngày trước và không có pull request nào đang mở. Đang mởapproved
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Fission-AI/OpenSpec#2289 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
Fission-AI/OpenSpec#2208 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document the RFC 2119 keyword rule (attribution lost in docs rebuild) and its clarification update RFC 8174Có thể đã có người làm @sofiaali1521-cloud đã nhận 5 ngày trước. Đang mởdocumentation needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
Fission-AI/OpenSpec#2200 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Fission-AI/OpenSpec
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
tashfeenahmed/freellmapi#2217 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 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Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
Slider: Escape during a thumb drag keeps and commits the dragged value, unlike ui-sdk's other dragsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
vercel-labs/ui#1758 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nicobailon/pi-subagents#3425 ·
Maintainer thường phản hồi trong vòng 1 ngày