agentleFS
pablodiazjorgepablodiazjorge/prompt-forge/.github/copilot-instructions.md

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…

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
  1. Very specific:

    Read the list of directories under .github/skills/ to discover all available skills.

    line 8
  2. Very specific:

    Run get_errors() across the workspace.

    line 24
  3. Very specific:

    Run the developer skill at the end of every significant iteration or when the user signals they are done with a task.

    line 29
  4. Very specific:

    Run the ai-engineer skill as a subagent when the user asks to organize knowledge, clean up issues, or promote patterns to skills/memories.

    line 32
  5. Very specific:

    When you encounter an error, API change, or workaround worth remembering, note it mentally.

    line 34
  6. Very specific:

    Never use @"..."@ heredocs for files containing {{ }}.

    line 44
  7. Distinctive:

    Use Conventional Commits v1.0.0.

    line 50
  8. Very specific:

    Run the developer skill to capture learnings into the issue registry.

    line 65
  9. Very specific:

    Commit changes to knowledge/issues/ and any updated skills.

    line 66

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

Agent Instructions

Startup Sequence — Mandatory

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 its instructions.
  4. The developer skill 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.
  5. Run get_errors() across the workspace. Fix any existing errors before making new changes.

During the Session

  • Run the developer skill at the end of every significant iteration or when the user signals they are done with a task. It records issues in knowledge/issues/open/ but never promotes or modifies skills.
  • Run the ai-engineer skill 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 developer skill will formalize it into the issue registry at knowledge/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 the create_file or replace_string_in_file tools instead.
  • nvm use X.Y.Z after nvm 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 tests

Branch naming: feature/<name>, fix/<name>, docs/<name>, chore/<name>.

After Each Session

  1. Run the developer skill to capture learnings into the issue registry.
  2. Commit changes to knowledge/issues/ and any updated skills.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.