r/GithubCopilot • • 17d ago

GitHub Copilot Team Replied does github copilot includes something like /doctor

there's a prompt that audits your agents.md to verify it's still works with all models and what needs to be removed (like skills and so on)

3 Upvotes

9 comments sorted by

3

u/digitarald GitHub Copilot Team 12d ago

I work on skills in Copilot. Let me actually look into that as I had something like a repair command in the back of my mind for a while.

It would also help with some of the migrations for the new harness which can cause some work to track down.

1

u/emaayan 11d ago

Thanks, y'all should the recommenation to use init on agents.md because these days it more likely hurts the models

1

u/AutoModerator 12d ago

u/digitarald thanks for responding. u/digitarald from the GitHub Copilot Team has replied to this post. You can check their reply here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Solid_Fox1718 15d ago

“Build a copilot skill like /doctor that audits your agents.md to verify it still works with all models and what needs to be removed (like skills and so on). Make no mistakes”

2

u/emaayan 14d ago

*/find-skill a copilot skill like /doctor in claude code that audits my agents.md against a specific mocel to verify it still works with that model and what needs to be removed (like skills and so on).

https://www.skills.sh/coleam00/skills/ablate-ai-layer

1

u/Solid_Fox1718 13d ago

Make no mistakes*

1

u/ShelLuser42 17d ago

You can do that in multiple ways... Copilot relies on /init to create ~/.github/copilot-instructions.md, and that same command can also be used to rebuild.

I prefer to simply load the instructions file, apply changes and then ask Copilot directly to check the structure of the file.

1

u/emaayan 17d ago

/init i think does the opposite of what i want , it just analyzes the codebase and generates instructions which just muddles and confuses the models as research indidates.

2

u/fergoid2511 17d ago

Try /chronicle it might have it.