Skip to content

Conversation

maru0914
Copy link

@maru0914 maru0914 commented Sep 13, 2025

Thank you for creating this amazing spec-driven development toolkit and open-sourcing it! 🙏

Problem

When running spec-kit init with Copilot, Gemini, or Cursor, the generated memory/constitution_update_checklist.md contains Claude-specific file paths, which can be confusing for users of other AI agents.

Before (Copilot selection)

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

After (Copilot selection)

- [ ] `/.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

Solution

Replace hard-coded Claude paths with agent-specific placeholders that get resolved during template generation.

Changes

  • memory/constitution_update_checklist.md: Replace Claude paths with readable placeholders (__COMMANDS_PLAN_PATH__, etc.)
  • .github/workflows/scripts/create-release-packages.sh: Add placeholder replacement logic for each agent

Agent-specific paths

Agent Plan Command Tasks Command Config File
Claude /.claude/commands/plan.md /.claude/commands/tasks.md /CLAUDE.md
Copilot /.github/prompts/plan.prompt.md /.github/prompts/tasks.prompt.md /.github/copilot-instructions.md
Gemini /.gemini/commands/plan.toml /.gemini/commands/tasks.toml /GEMINI.md
Cursor /.cursor/commands/plan.md /.cursor/commands/tasks.md /CURSOR.md

I think this change ensures users get relevant file paths in their constitution checklist, improving the developer experience across all supported AI agents

@maru0914 maru0914 requested a review from localden as a code owner September 13, 2025 06:03
@maru0914 maru0914 force-pushed the agent-specific-template-placeholders branch from 93c517d to 370476f Compare September 13, 2025 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant