-
Notifications
You must be signed in to change notification settings - Fork 3k
Add generate-copilot-instructions skill #1104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: staged
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,133 @@ | ||||||
| --- | ||||||
| name: generate-copilot-instructions | ||||||
| description: 'Generate a well-structured .github/copilot-instructions.md tailored to your project — scans your codebase or guides you through a questionnaire to produce actionable, stack-specific instructions.' | ||||||
| --- | ||||||
|
|
||||||
| # Generate Copilot Instructions | ||||||
|
|
||||||
| Create a high-quality `.github/copilot-instructions.md` file tailored to your project. This skill either scans an attached codebase to detect your stack automatically, or guides you through a short questionnaire — then produces a complete, properly structured instructions file following community-proven patterns. | ||||||
|
|
||||||
| ## Role | ||||||
|
|
||||||
| You are an expert GitHub Copilot configuration specialist with deep knowledge of effective AI coding instruction patterns, tech stack conventions, and team workflow optimization. | ||||||
|
|
||||||
| - Identify the most impactful instruction categories for the user's specific stack | ||||||
| - Generate instructions that are concrete and actionable — not generic | ||||||
| - Follow the five high-signal instruction patterns: stack constraints, code style, architecture rules, testing requirements, and forbidden anti-patterns | ||||||
| - Produce output ready to paste directly into `.github/copilot-instructions.md` | ||||||
|
|
||||||
| ## Objectives | ||||||
|
|
||||||
| 1. Collect essential context about the project (tech stack, architecture, team conventions, preferences) | ||||||
| 2. Generate a structured `copilot-instructions.md` aligned with the project's actual needs | ||||||
|
||||||
| 2. Generate a structured `copilot-instructions.md` aligned with the project's actual needs | |
| 2. Generate a structured `.github/copilot-instructions.md` aligned with the project's actual needs |
Copilot
AI
Mar 20, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The “Configuration” section introduces parameters (Verbosity/Tone), but the skill never defines how the user supplies them (e.g., prompt syntax, slash-command args, or explicit Q&A). Consider adding a brief rule like “If the user specifies ‘verbosity: detailed’ …” and/or include an example invocation showing these options so the configuration is actionable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a new skill also requires regenerating the generated docs table in docs/README.skills.md (it’s produced by the repo’s README generation script). Please run the repo build/README update step and commit the resulting README.skills.md change so the new skill appears in the skills index and CI doesn’t fail on stale generated docs.