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

[Bug] Constitution update checklist templates reference incorrect paths for non-Claude agents

Open Inventrohyder opened this issue 1 year ago • 3 comments

Description

The constitution_update_checklist.md files in the AI agent template folders contain hardcoded references to .claude/ paths, regardless of which agent the template is for. This affects the Copilot and Gemini templates in release 0.0.14.

Problem

All three template folders contain identical constitution_update_checklist.md files that reference:

  • /.claude/commands/plan.md
  • /.claude/commands/tasks.md
  • /CLAUDE.md

But these should be agent-specific:

  • Claude: .claude/commands/ and CLAUDE.md ✅
  • Copilot: .github/copilot/ and .github/copilot-instructions.md ❌
  • Gemini: .gemini/ and GEMINI.md ❌

Affected Files

  • spec-kit-template-copilot-v0/memory/constitution_update_checklist.md
  • spec-kit-template-gemini-v0/memory/constitution_update_checklist.md
  • spec-kit-template-claude-v0/memory/constitution_update_checklist.md (correct)

Current Incorrect References

- [ ] `/.claude/commands/plan.md` - Update if planning process changes
- [ ] `/.claude/commands/tasks.md` - Update if task generation affected
- [ ] `/CLAUDE.md` - Update runtime development guidelines

Expected Fix

For Copilot Template:

- [ ] `/.github/prompts/plan.prompt.md` - Update if planning process changes
- [ ] `/.github/prompts/tasks.prompt.md` - Update if task generation affected
- [ ] `/.github/copilot-instructions.md` - Update runtime development guidelines

For Gemini Template:

- [ ] `/.gemini/commands/plan.toml` - Update if planning process changes
- [ ] `/.gemini/commands/tasks.toml` - Update if task generation affected
- [ ] `/GEMINI.md` - Update runtime development guidelines

Note

Interestingly, the plan-template.md files in each folder already have the correct agent-specific references, suggesting this was an oversight during the template duplication process.

Impact

Users of Copilot and Gemini templates get confusing/incorrect guidance about which files to update when modifying their constitution.

Inventrohyder avatar Sep 06 '25 09:09 Inventrohyder

Rather than .github/copilot/, based on the files that are created by the kit, I think it should actually be .github/prompts/ for each tasks, spec, plan prompt file, which is then supported by VSCode.

intel352 avatar Sep 06 '25 21:09 intel352

This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Feb 12 '26 00:02 github-actions[bot]

This issue has been automatically closed due to inactivity (180 days total). If you believe this issue is still relevant, please reopen it or create a new issue.

github-actions[bot] avatar Apr 03 '26 14:04 github-actions[bot]