Internal guidance for composing Copilot prompts for coding, review, diagnosis, and research tasks inside the Copilot Claude Code plugin
Use this skill when copilot:copilot-rescue needs to ask Copilot for help.
Copilot supports multiple model families (Claude Opus 4.5, Claude Sonnet 4.5, GPT-5.2 Codex). The prompting guidance below is model-agnostic and works across all supported backends.
Prompt Copilot like an operator, not a collaborator. Keep prompts compact and block-structured with XML tags. State the task, the output contract, the follow-through defaults, and the small set of extra constraints that matter.
Core rules:
Default prompt recipe:
<task>: the concrete job and the relevant repository or failure context.<structured_output_contract> or <compact_output_contract>: exact shape, ordering, and brevity requirements.<default_follow_through_policy>: what Copilot should do by default instead of asking routine questions.<verification_loop> or <completeness_contract>: required for debugging, implementation, or risky fixes.<grounding_rules> or <citation_rules>: required for review, research, or anything that could drift into unsupported claims.When to add blocks:
completeness_contract, verification_loop, and missing_context_gating.grounding_rules, structured_output_contract, and dig_deeper_nudge.research_mode and citation_rules.action_safety so Copilot stays narrow and avoids unrelated refactors.How to choose prompt shape:
review or adversarial-review commands when the job is reviewing local git changes. Those prompts already carry the review contract.task when the task is diagnosis, planning, research, or implementation and you need to control the prompt more directly.task call instead of restating the whole prompt unless the direction changed materially.Working rules:
Prompt assembly checklist:
<task>.Reusable blocks live in references/prompt-blocks.md. Concrete end-to-end templates live in references/copilot-prompt-recipes.md. Common failure modes to avoid live in references/copilot-prompt-antipatterns.md.