Wire the harness for GitHub Copilot - #5
Merged
Merged
Conversation
The harness was built for Claude Code (AGENTS.md + .agents/.claude skills). Make the same harness drive Copilot so the demo runs there. - .github/copilot-instructions.md: auto-loaded repo instructions that point at AGENTS.md as the steering doc and restate the critical laws, the verify-gate/commit loop, and the skill run order. - .github/prompts/*.prompt.md: the four skills exposed as Copilot `/` prompts. Each is a thin pointer to the canonical .agents SKILL.md, so there is no extra copy to maintain. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds GitHub Copilot–native repo guidance so the existing “harness” (steering doc + skills) is discoverable and runnable when the demo is executed in Copilot rather than Claude.
Changes:
- Add
.github/copilot-instructions.mdto auto-load the project steering guidance (points toAGENTS.md, restates key “laws” and thenpm run verifygate). - Add four Copilot
/prompt files under.github/prompts/that act as thin entry points to the canonical.agents/skills/*/SKILL.mddocs (no duplicated skill logic). - Encode the intended run order and task entry convention (“Complete Task N”) to keep Copilot aligned with the existing task workflow.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
.github/copilot-instructions.md |
Repo-level Copilot instructions pointing at AGENTS.md and summarizing the harness rules + workflow. |
.github/prompts/scaffold-code-app.prompt.md |
Adds /scaffold-code-app prompt that routes to the existing scaffold skill and enforces the quality-tooling step. |
.github/prompts/dataverse-scaffold-tables.prompt.md |
Adds /dataverse-scaffold-tables prompt pointing to the scaffold-tables skill and the schema file. |
.github/prompts/dataverse-create-records.prompt.md |
Adds /dataverse-create-records prompt pointing to the seed skill and the seed YAML file. |
.github/prompts/dataverse-add-data-source.prompt.md |
Adds /dataverse-add-data-source prompt pointing to the add-data-source skill and the correct table logical names/order. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes the same harness drive GitHub Copilot, since the demo will be run there. The harness was built for Claude Code (
AGENTS.md+.agents/.claudeskills); Copilot has its own conventions, so without this it would ignore the steering and the skills, leaving a bare model with no harness, the exact failure mode the talk warns about.What's added (
.github/only, no conflicts with the strip-back PR).github/copilot-instructions.md— auto-loaded by Copilot as repo custom instructions. Points atAGENTS.mdas the steering doc and restates the essentials inline (the non-negotiable laws, thenpm run verifygate, commit-per-task, the skill run order) so they're in context even ifAGENTS.mdisn't opened..github/prompts/*.prompt.md— the four skills exposed as Copilot/prompts (/dataverse-scaffold-tables,/dataverse-create-records,/scaffold-code-app,/dataverse-add-data-source). Each is a thin pointer to the canonical.agents/.../SKILL.md, so there's no fourth copy to keep in sync, just a Copilot-shaped entry point.Verify on the dry run (I can't confirm from here)
AGENTS.mdnatively and picks up.github/copilot-instructions.md. The instructions file is the guaranteed path; AGENTS.md native support has been rolling out and varies by version..github/prompts/slash prompts are enabled in your Copilot (the prompt-files feature). If your version names or locates them differently, the bodies are thin so they're trivial to move..mjsskill scripts (terminal tool enabled).Your Code App authoring skill
You mentioned adding your own skill to steer how Copilot writes Code App code. When you do, drop it in
.agents/skills/<name>/SKILL.mdand.claude/skills/<name>/SKILL.md(keep both identical), then add a matching thin.github/prompts/<name>.prompt.md. Say the word and I'll scaffold that empty slot, wired into all three, for you to fill.🤖 Generated with Claude Code