spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

Add Spec Trace extension to community catalog

Open Quratulain-bilal opened this issue 6 months ago • 7 comments

Adds Spec Trace to the community catalog — a build-time requirement → test traceability extension.

/speckit.trace.build parses spec.md for REQ-XXX tokens and the test suite for the same tokens, then writes .specify/trace.md containing a coverage matrix. Companion commands:

  • /speckit.trace.gaps — list requirements with zero matching tests
  • /speckit.trace.orphans — list tests that do not anchor to any REQ
  • /speckit.trace.report — human-readable summary

Effect is Read+Write (because trace.build writes .specify/trace.md).

Changes

  • extensions/catalog.community.json — new "trace" entry, alphabetically placed between token-analyzer and v-model.
  • docs/community/extensions.md — new row added alphabetically between Spec Sync and Spec Validate. The public community extensions table lives here per the repo convention documented in .github/skills/add-community-extension/SKILL.md (lines 104-108). README.md is intentionally not touched — the old table there has been migrated.

Extension repo

  • Source: https://github.com/Quratulain-bilal/spec-kit-trace
  • Release: https://github.com/Quratulain-bilal/spec-kit-trace/releases/tag/v1.0.0
  • License: MIT

Verification

  • python -m json.tool extensions/catalog.community.json passes — valid JSON.
  • Row position confirmed alphabetical against neighbours in both catalog.community.json and docs/community/extensions.md.
  • Extension installs cleanly via specify extension add trace --from <release-url>; all four commands execute without errors against a project with spec.md containing REQ-XXX tokens.
  • Effect column matches actual behavior (Read+Write, since trace.build writes .specify/trace.md).

Review feedback addressed

All Copilot review notes are addressed in the commit history on this branch:

  • Read-only vs Read+Write (Copilot comments on README.md:276 and README.md:278) — fixed in 0679e73 (catalog Effect column flipped to Read+Write).
  • Missing row in docs/community/extensions.md (Copilot comment on extensions/catalog.community.json:2952) — fixed in 0a5482b (row added alphabetically between Spec Sync and Spec Validate).
  • PR description pointed at README instead of docs/ (Copilot comment on docs/community/extensions.md:104) — fixed in this body update (the "Changes" section now correctly names docs/community/extensions.md and explicitly notes README is intentionally untouched).

For future submissions I will use the Extension Submission issue template up-front, per @mnriem's note on the initial review.

Quratulain-bilal avatar May 12 '26 08:05 Quratulain-bilal

Please address Copilot feedback

mnriem avatar May 12 '26 16:05 mnriem

Conflicts resolved in 71300c4 clean diff now (README +1, catalog +32).

Thank you for the heads-up about the Extension Submission template I'll absolutely follow that process for all future extensions and updates going forward. Sorry for the extra work this caused; I appreciate the patience .

Quratulain-bilal avatar May 13 '26 02:05 Quratulain-bilal

Please address Copilot feedback

mnriem avatar May 13 '26 13:05 mnriem

Please address Copilot feedback. Note that huge table of community extensions in the README.md has moved to docs/community/extensions.md hence why it is asking you to list it there

mnriem avatar May 14 '26 20:05 mnriem

Please address Copilot feedback

mnriem avatar May 15 '26 21:05 mnriem

@mnriem all three Copilot notes are addressed on the current head (0a5482b):

  • Effect column corrected to Read+Write in 0679e73 (catalog) — matches trace.build writing .specify/trace.md.
  • docs/community/extensions.md row added in 0a5482b, alphabetically between Spec Sync and Spec Validate, so the public table stays in sync with the catalog JSON.
  • PR description updated above to point at docs/community/extensions.md instead of the migrated README table.

Apologies for missing the Extension Submission template on the initial submission I'll use it for all future catalog entries.

Ready for another pass whenever you have a moment 🙏

Quratulain-bilal avatar Jun 03 '26 02:06 Quratulain-bilal

Please address Copilot feedback

mnriem avatar Jun 03 '26 21:06 mnriem