GitHub Copilot Starter
Scaffold Copilot configuration for a new project.
When NOT to use
- The project already has custom Copilot/OpenCode config — this skill would overwrite it. Check for
.github/copilot-instructions.md,.opencode/opencode.json, or~/.config/opencode/skills/first. - The user is not on GitHub (GitLab, Bitbucket, etc.) — Copilot config structure differs per platform.
Steps
Detect tech stack
- Primary language/framework
- Project type (web app, API, library)
- Additional tech (database, cloud, testing)
- Development style
- GitHub Actions usage (yes/no)
Research patterns
- Search for Copilot patterns from these concrete sources (verify URLs still resolve — if one 404s, skip and note it):
awesome-copilot— https://github.com/github/awesome-copilot- GitHub's official
copilot-docs— https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot - GitHub Marketplace Copilot actions — https://github.com/marketplace?type=actions&query=copilot
- User's own
awesome-copilotfork or internal patterns repo
- Record attribution for every source you copy from.
- Search for Copilot patterns from these concrete sources (verify URLs still resolve — if one 404s, skip and note it):
Generate files
.github/copilot-instructions.md.github/instructions/{language,testing,security,documentation,performance,code-review}.instructions.md.github/skills/<new-skill>/SKILL.md— only when creating a new skill; never overwrite the catalog at.github/skills/when this repo is the catalog (ask first if.github/skills/already exists).github/agents/*.agent.md— only for new agents; skip if.github/agents/exists unless user confirms overwrite.github/workflows/copilot-setup-steps.ymlif Actions are used
Use templates from
references/file-templates.mdandreferences/workflow-templates.md. Keep.instructions.mdfiles high-level — no code snippets.Validate
.instructions.mdfiles have validapplyTofrontmatter and guidelines only..agent.mdfiles havedescription,tools, andmodelfrontmatter.- Workflow uses job name
copilot-setup-steps. - Attribution comments are present where content was adapted.
- Functional validation: Open a file in VS Code and verify Copilot Chat loads the instruction files (check
.github/copilot-instructions.mdis referenced in the Copilot status indicator). For agents, confirm the agent appears in the Copilot Chat agent dropdown.
Completion criteria
- No existing Copilot/OpenCode config overwritten without user confirmation
- Files generated from
references/file-templates.md+references/workflow-templates.mdwithapplyTofrontmatter - Validation checks above pass (instructions, agents, workflow, attribution, functional VS Code check)
Completion
Provide the user with:
- How to enable the files in VS Code
- Usage examples for skills and agents
- Customization tips
- Testing recommendations
Related skills
writing-great-skills— author skills installed here.documentation-writer— instructions are guidance, not code.