Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix #1148: Update plan-template path reference to be agent-agnostic #1342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
venkatp-infomagnus wants to merge 1 commit into github:main
base: main
Choose a base branch
Loading
from venkatp-infomagnus:fix-issue-1148-plan-template-path

Conversation

@venkatp-infomagnus
Copy link

@venkatp-infomagnus venkatp-infomagnus commented Dec 16, 2025

Description

This PR fixes issue #1148 by updating the hardcoded path reference in plan-template.md to be agent-agnostic.

Problem

The template contained a hardcoded reference to .specify/templates/commands/plan.md which doesn't exist. The actual location varies depending on which AI agent is being used:

  • Claude: .claude/commands/speckit.plan.md
  • Cursor: .cursor/commands/speckit.plan.md
  • Codex: .codex/prompts/speckit.plan.md
  • Qwen: .qwen/commands/speckit.plan.toml
  • GitHub Copilot: .github/agents/speckit.plan.agent.md
  • And others...

This caused confusion for users as the referenced path didn't match their setup.

Solution

Updated the note to provide examples of agent-specific paths, making it clear that the location depends on the AI agent being used.

Changes

  • Modified templates/plan-template.md line 6
  • Changed from hardcoded path to agent-agnostic description with examples

Impact

  • ✅ Removes confusion about where to find the plan command workflow
  • ✅ Provides accurate, agent-agnostic guidance
  • ✅ Users can easily locate their specific agent's configuration
  • ✅ No breaking changes - purely documentation improvement

Testing

This is a documentation-only change that doesn't affect any code logic.

Fixes #1148

...gent-agnostic
The hardcoded path '.specify/templates/commands/plan.md' caused confusion
as it doesn't exist for different AI agents. Updated the note to reference
the correct agent-specific paths (e.g., .claude/commands/, .cursor/commands/,
.codex/prompts/, etc.).
Fixes github#1148 
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses issue #1148 by replacing a hardcoded path reference in the plan template with agent-agnostic guidance. The template previously referenced .specify/templates/commands/plan.md which doesn't exist, causing confusion for users. The change provides examples of agent-specific paths to help users locate their configuration based on which AI agent they're using.

Key Changes

  • Updated documentation in plan-template.md to replace hardcoded path with agent-agnostic examples
  • Provides multiple agent-specific path examples (Claude, Cursor, Codex, etc.)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

**Input**: Feature specification from `/specs/[###-feature-name]/spec.md`

**Note**: This template is filled in by the `/speckit.plan` command. See `.specify/templates/commands/plan.md` for the execution workflow.
**Note**: This template is filled in by the `/speckit.plan` command. The execution workflow is defined in your AI agent's command configuration (e.g., `.claude/commands/speckit.plan.md`, `.cursor/commands/speckit.plan.md`, `.codex/prompts/speckit.plan.md`, etc.).
Copy link

Copilot AI Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path example for Codex is incorrect. According to AGENTS.md line 40, Codex uses .codex/commands/ directory, not .codex/prompts/. The correct path should be .codex/commands/speckit.plan.md.

Suggested change
**Note**: This template is filled in by the `/speckit.plan` command. The execution workflow is defined in your AI agent's command configuration (e.g., `.claude/commands/speckit.plan.md`, `.cursor/commands/speckit.plan.md`, `.codex/prompts/speckit.plan.md`, etc.).
**Note**: This template is filled in by the `/speckit.plan` command. The execution workflow is defined in your AI agent's command configuration (e.g., `.claude/commands/speckit.plan.md`, `.cursor/commands/speckit.plan.md`, `.codex/commands/speckit.plan.md`, etc.).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

@localden localden Awaiting requested review from localden localden is a code owner

At least 0 approving reviews are required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Wrong directory path in the "Note" section of plan-template.md

1 participant

AltStyle によって変換されたページ (->オリジナル) /