Skip to content

fix(agents): spec directory naming contradiction between write-product-spec and spec-driven-implementation #10059

@nateberggren

Description

@nateberggren

Summary

write-product-spec and spec-driven-implementation contradict each other on allowed specs/ directory naming.

The contradiction

.agents/skills/spec-driven-implementation/SKILL.md (line 24):

specs/ should contain only ticket-named directories as direct children. Do not create engineer-named subdirectories or feature-slug directories there.

.agents/skills/write-product-spec/SKILL.md (lines 25-29):

Write specs to specs/<id>/PRODUCT.md, where <id> is one of:

  • a Linear ticket number
  • a GitHub issue id, prefixed with gh-
  • a short kebab-case feature name

spec-driven-implementation explicitly prohibits feature-slug directories, while write-product-spec explicitly allows them.

Context

Discovered while porting these skills to a downstream repo. spec-driven-implementation also says to create a Linear issue before writing specs (line 26-27), which makes the feature-slug escape hatch unnecessary.

Suggested fix

Align write-product-spec with spec-driven-implementation: remove the feature-slug option, keep ticket IDs only (Linear or GitHub issue), and note that a ticket should be created first if none exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions