Skip to content

Rename prompt files to include 'agentic-workflow' suffix#9789

Merged
pelikhan merged 2 commits intomainfrom
copilot/rename-prompt-files
Jan 13, 2026
Merged

Rename prompt files to include 'agentic-workflow' suffix#9789
pelikhan merged 2 commits intomainfrom
copilot/rename-prompt-files

Conversation

Copy link
Contributor

Copilot AI commented Jan 13, 2026

Renames create.md, update.md, and debug.md prompt files to create-agentic-workflow.md, update-agentic-workflow.md, and debug-agentic-workflow.md for improved clarity and discoverability.

Changes

File Renames

  • .github/aw/: create.mdcreate-agentic-workflow.md, update.mdupdate-agentic-workflow.md, debug.mddebug-agentic-workflow.md
  • pkg/cli/templates/: Same renames applied to embedded template files

Code Updates

  • Updated //go:embed directives in pkg/cli/commands.go
  • Updated prompt file paths in ensureCreateWorkflowPrompt(), ensureUpdateWorkflowPrompt(), ensureDebugWorkflowPrompt() functions
  • Removed obsolete cleanupLegacyCreateAgenticWorkflowPrompt() function and its call site
  • Updated documentation strings in pkg/cli/init_command.go
  • Updated Makefile sync-templates target
  • Updated template references in .github/agents/agentic-workflows.agent.md and pkg/cli/templates/agentic-workflows.agent.md

Test Updates

  • Updated file path assertions in pkg/cli/agentic_workflow_agent_test.go, pkg/cli/init_test.go, and pkg/cli/fix_command_test.go
Original prompt

Rename the prompt files create.md update.md debug.md to create-agentic-workflow.md update-agentic-workflow.md debug-agentic-workflow.md


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Renamed template files in pkg/cli/templates/
  - create.md → create-agentic-workflow.md
  - update.md → update-agentic-workflow.md
  - debug.md → debug-agentic-workflow.md
- Renamed actual files in .github/aw/
- Updated Go code references (embed directives, functions, comments)
- Updated test files (agentic_workflow_agent_test.go, init_test.go, fix_command_test.go)
- Updated template references in agentic-workflows.agent.md
- Updated .github/agents/agentic-workflows.agent.md
- Updated Makefile sync-templates target
- Removed obsolete cleanupLegacyCreateAgenticWorkflowPrompt function
- All tests passing

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Rename prompt files for agentic workflow Rename prompt files to include 'agentic-workflow' suffix Jan 13, 2026
Copilot AI requested a review from pelikhan January 13, 2026 03:26
@pelikhan pelikhan marked this pull request as ready for review January 13, 2026 03:27
@pelikhan pelikhan merged commit 5f01d70 into main Jan 13, 2026
115 checks passed
@pelikhan pelikhan deleted the copilot/rename-prompt-files branch January 13, 2026 05:22
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.

2 participants