prompt-forge
Copilot instructions2 starsChanged 5 months agoMITView on GitHub
At the start of every session, before doing anything else, execute these steps in order: 1. Read the list of directories under .github/skills/ to discover all available skills. 2. For each skill found, read only the YAML frontmatter block (lines between the first two --- delimiters). This exposes the skill's name and description at minimal token cost. 3. Compare the current task against each skill's description. If the task matches, read the FULL SKILL.md body for that skill and follow…
In this repository6 other files it gives its agents.
- ai-engineerSkill
- developerSkill
- explore-codebaseSkill
- git-workflowSkill
- powershell-patternsSkill
- skill-creatorSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
9 rules. About 0 are common, 1 is distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read the list of directories under .github/skills/ to discover all available skills.
- Very specific: line 24
Run get_errors() across the workspace.
- Very specific: line 29
Run the developer skill at the end of every significant iteration or when the user signals they are done with a task.
- Very specific: line 32
Run the ai-engineer skill as a subagent when the user asks to organize knowledge, clean up issues, or promote patterns to skills/memories.
- Very specific: line 34
When you encounter an error, API change, or workaround worth remembering, note it mentally.
- Very specific: line 44
Never use @"..."@ heredocs for files containing {{ }}.
- Distinctive: line 50
Use Conventional Commits v1.0.0.
- Very specific: line 65
Run the developer skill to capture learnings into the issue registry.
- Very specific: line 66
Commit changes to knowledge/issues/ and any updated skills.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Instructions
Startup Sequence — Mandatory
At the start of every session, before doing anything else, execute these steps in order:
- Read the list of directories under
.github/skills/to discover all available skills. - For each skill found, read only the YAML frontmatter block (lines between
the first two
---delimiters). This exposes the skill'snameanddescriptionat minimal token cost. - Compare the current task against each skill's description. If the task
matches, read the FULL
SKILL.mdbody for that skill and follow its instructions. - The
developerskill handles continuous issue tracking and applies to ALL work. Load it immediately. All other skills use progressive disclosure (steps 2-3): read only their frontmatter descriptions and load the full body only when the task matches the description. - Run
get_errors()across the workspace. Fix any existing errors before making new changes.
During the Session
- Run the
developerskill at the end of every significant iteration or when the user signals they are done with a task. It records issues inknowledge/issues/open/but never promotes or modifies skills. - Run the
ai-engineerskill as a subagent when the user asks to organize knowledge, clean up issues, or promote patterns to skills/memories. - When you encounter an error, API change, or workaround worth remembering,
note it mentally. The
developerskill will formalize it into the issue registry atknowledge/issues/after the session.
PowerShell (Windows)
These rules are ambient and apply even if the powershell-patterns skill is
not explicitly triggered:
- Chain commands with
;, never&&. - Never use
@"..."@heredocs for files containing{{ }}. Use thecreate_fileorreplace_string_in_filetools instead. nvm use X.Y.Zafternvm install. It does not auto-activate.
Git
Use Conventional Commits v1.0.0. One logical change per commit.
feat: New feature
fix: Bug fix
docs: Documentation
chore: Build, deps, tooling
refactor: Code change, no fix or feature
test: Adding or correcting testsBranch naming: feature/<name>, fix/<name>, docs/<name>, chore/<name>.
After Each Session
- Run the
developerskill to capture learnings into the issue registry. - Commit changes to
knowledge/issues/and any updated skills.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

