Writing Prompts

Creates, updates, and corrects prompt files (*.prompt.md) for GitHub Copilot in VS Code. Covers the full prompt lifecycle: routing decision, frontmatter fields (description, agent modes ask/agent/plan/custom, tools, model, argument-hint), body structure, context injection (Markdown links, #tool: references), parameterisation (${input:} and built-in variables like ${file} ${selection}), six prompt patterns, chaining, validation, and debugging. Use when: creating a new prompt file, updating or improving an existing prompt, fixing a broken prompt that doesn't load or misbehaves, converting a repeated chat workflow into a prompt, reviewing a prompt for anti-patterns, or writing *.prompt.md files. Triggers on: 'create prompt', 'write prompt', 'new prompt', 'update prompt', 'fix prompt', 'prompt file', 'slash command', 'prompt.md', 'prompt writer'. Do not use for: writing copilot-instructions.md, custom agents (.agent.md), skills (SKILL.md), hooks, or general prompt engineering outside VS Code.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/pslits--copilot-session-feedback--writing-prompts commit a81f2d6220

Frequently asked questions

npx skillmds@latest add tomevault-io/writing-prompts