Home › Agent workflows › Implementation plan prompt file (Copilot)

Implementation plan prompt file (Copilot)

A Copilot prompt file (/plan-feature) that researches the codebase and writes a step-by-step plan before coding.

GitHub CopilotAgent workflows

How to use

Save this as .github/prompts/plan-feature.prompt.md in your repository root, commit it, and your agent will pick it up automatically. Edit the commands to match your project.

Note: Review and test before use. Provided as is, without warranty. See Terms.

.github/prompts/plan-feature.prompt.mdDownload  
---
description: Research the codebase and write an implementation plan for a feature
agent: plan
argument-hint: feature description
---

Create an implementation plan for: ${input:feature:Describe the feature or change}

Do not write or edit code in this step.

1. Restate the goal and acceptance criteria in a few bullets. List open questions first if requirements are ambiguous.
2. Research: find the relevant modules, similar existing features to copy patterns from, data models, and tests. Cite the files.
3. Plan:
   - **Approach** in a paragraph, plus one alternative and why you didn't choose it.
   - **Steps**, numbered, each small enough for one commit, naming files to create/change.
   - **Data changes:** schema/migrations, backfills, config or env vars.
   - **Tests** to add per step (unit, integration, e2e).
   - **Risks:** breaking changes, performance, security, rollout (feature flag?).
   - **Done when:** the commands that must pass and what to check manually.
4. Estimate size (S/M/L) and flag anything that should be a separate PR.

Save nothing; output the plan in chat for my review.

More: all Agent workflows rules · all GitHub Copilot rules

Related rules

Code review Copilot instructions

Copilot instructions focused on pull request review: what to flag, severity labels, and how to word comments.

GitHub CopilotAgent workflows

Code review prompt file (Copilot)

A Copilot prompt file (/review-changes) that reviews the current changes and reports issues by severity without editing.

GitHub CopilotAgent workflows

Code reviewer subagent (Claude Code)

A Claude Code subagent definition that reviews the current diff for bugs, security, and tests, reporting by severity.

Claude Code (CLAUDE.md)Agent workflows

/commit slash command (Claude Code)

A Claude Code /commit slash command that reviews staged changes and writes a Conventional Commits message.

Claude Code (CLAUDE.md)Agent workflows

Context management for long agent sessions CLAUDE.md

CLAUDE.md practices for keeping Claude Code effective in long sessions: lean memory, notes files, subagents, and resets.

Claude Code (CLAUDE.md)Agent workflows

Git commits & PRs AGENTS.md

AGENTS.md rules for how agents commit: Conventional Commits, atomic changes, safe git commands, and PR descriptions.

AGENTS.mdAgent workflows

Get new rules weekly

One email a week: fresh rule files, agent tips, and what's changing in Cursor, Claude Code and Copilot. Free, unsubscribe anytime.

Opens the Rulestack Newsletter on beehiiv in a new tab. Or subscribe directly on beehiiv.