Add tokrepo-agent-discovery.instructions.md — registry-first reusable artifact authoring#1741
Open
henu-wang wants to merge 1 commit into
Open
Add tokrepo-agent-discovery.instructions.md — registry-first reusable artifact authoring#1741henu-wang wants to merge 1 commit into
henu-wang wants to merge 1 commit into
Conversation
ee54d08 to
49c2bd3
Compare
12177a4 to
16ea180
Compare
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.
What this PR adds
A new instructions file
instructions/tokrepo-agent-discovery.instructions.mdthat teaches GitHub Copilot to call TokRepo's MCP discovery before generating new reusable artifacts (skills, prompts, MCP configs, reusable scripts).Scope (matches existing
instructions/conventions)applyTois scoped to reusable-artifact paths:**/SKILL.md, **/*.prompt.md, **/.mcp.json, **/scripts/**, **/.github/skills/**, **/.claude/skills/**This avoids firing on general coding tasks (per CONTRIBUTING's "Duplicate Existing Model Strengths" rule) and addresses the specialized workflow gap: agents repeatedly re-generating skills/prompts/configs that already exist in a registry.
5 MUST rules codified
tokrepo_discoverfirsttokrepo_verify+tokrepo_install_plangatesdry_run: truetokrepo_handoff_planreturns read-only drafttokrepo_pushdefaults tovisibility: 0; strip secretsWhat TokRepo is
tokrepo-mcp-serveron npm; hosted athttps://tokrepo.com/mcp) — 12 tools for discover / verify / install_plan / install / lifecycle / handoff / push.tokrepoon npm) —npx tokrepo init-agent --target copilotbootstraps a project's.github/copilot-instructions.md+ machine-readable.tokrepo/agent.json.io.github.henu-wang/tokrepo-mcp-server(v2.12.1).Source / docs / paid-service disclosure
Happy to adjust the
description,applyToglob, or rule wording to match the repo's conventions.