fix(templates): point constitution sync checklist at installed command files#3418
Open
marcelsafin wants to merge 6 commits into
Open
fix(templates): point constitution sync checklist at installed command files#3418marcelsafin wants to merge 6 commits into
marcelsafin wants to merge 6 commits into
Conversation
…d files The consistency-propagation checklist told the agent to read .specify/templates/commands/*.md, but specify init never creates that directory — command templates are rendered straight into the agent-specific directory (.github/prompts/, .claude/commands/, ...). The checklist step could therefore never run against real files. Point it at the installed speckit.* command files for the active agent instead. Fixes github#660 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes an incorrect reference in the Constitution command template so the “consistency propagation checklist” points to command files that actually exist in initialized projects (agent-installed commands/skills), rather than a non-existent .specify/templates/commands/ directory.
Changes:
- Update the checklist to reference installed command files for the active agent instead of
.specify/templates/commands/*.md.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot skills mode installs speckit-<name>/SKILL.md under .github/skills/, not .github/agents/. Mention both directories and the SKILL.md layout. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The previous commit dropped the speckit-* flat-file variant used by Cline and others while adding the SKILL.md layout. Name all three: speckit.*, speckit-*, and speckit-<name>/SKILL.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mnriem
requested changes
Jul 10, 2026
mnriem
left a comment
Collaborator
There was a problem hiding this comment.
Please address Copilot feedback
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
Copilot re-reviewed 180d33a and raised no new comments. The requested feedback is addressed and this is ready for another maintainer pass. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #660
Root cause
Step 4 of the constitution command's consistency-propagation checklist tells the agent to:
specify initnever creates.specify/templates/commands/— command templates are rendered directly into the agent-specific directory (.github/prompts/,.claude/commands/,.codex/commands/, …). See also the assessment on #3086: keeping commands out of.specify/templates/is intentional, so the fix is to correct the reference, not to start copying files there.The result today: this checklist step points at a path that does not exist in any initialized project, so the outdated-reference sweep it describes can never actually run.
Change
One line — the step now reads the installed
speckit.*command files for the active agent (with.github/prompts/and.claude/commands/as examples), instead of the nonexistent template path.Testing
No tests pin this template's prose. Verified the new strings are untouched by
CommandRegistrar.rewrite_project_relative_paths(only barescripts/,templates/,memory/prefixes are rewritten).