Generates reusable Prompt Template files (.github/prompts/*.prompt.md) with variable substitution for ad-hoc, high-frequency tasks. Use when the user needs quick, repeatable prompts for common operations (explain code, fix bug, add tests, refactor, document). Creates templates with handlebars variables, optimized context structure, and strict output constraints. Not for complex workflows (use skills) or persistent roles (use agents).
$npx -y skills add canonical/copilot-collections --skill generate-promptInstalls into the current project.
Run `npx skills use "https://github.com/canonical/copilot-collections" --skill "canonical/copilot-collections/generate-prompt"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/canonical/copilot-collections" that are relevant to the current task. Run `npx skills add "https://github.com/canonical/copilot-collections"` and select the relevant skills, then follow their instructions.