agentleFS
MicrosoftKnown publishermicrosoft/iq-samples/.github/copilot-instructions.md

iq-samples

Copilot instructions7 starsChanged 6 months agoMITView on GitHub

This is a multi-sample repository. Each sample folder at the repo root is a completely independent project with its own language, dependencies, configuration, and deployment target.

  • Reads credentials

The file

We split this copilot-instructions.md into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When working on a sample, only read and modify files within that sample's folder.

    line 15
  2. Very specific:

    Before making any changes to a sample, read its .github/copilot-instructions.md file for project-specific context — tech stack, key files, …

    line 18
  3. Distinctive:

    Never modify these without explicit permission:

    line 21
  4. Distinctive:

    No API keys, tokens, connection strings, or credentials in code

    line 25
  5. Very specific:

    Use .env.template files with placeholder values for documentation

    line 26
  6. Distinctive:

    Do not create shared libraries or cross-sample imports

    line 32
  7. Distinctive:

    When adding a new sample:

    line 35
  8. Distinctive:

    Create a new folder at the repo root

    line 36
  9. Distinctive:

    Update the root README.md samples table

    line 39

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

Copilot Instructions — IQ Samples

Repository Structure

This is a multi-sample repository. Each sample folder at the repo root is a completely independent project with its own language, dependencies, configuration, and deployment target.

refund-agent-a365/   ← Python A365 agent + React dashboard
(future samples…)

Critical Rules for Coding Agents

1. Stay in your lane

When working on a sample, only read and modify files within that sample's folder. Never cross-pollinate code, dependencies, environment variables, or configuration between samples.

2. Read the sample's copilot instructions first

Before making any changes to a sample, read its .github/copilot-instructions.md file for project-specific context — tech stack, key files, gotchas, and what not to touch.

3. Do not modify root-level governance files

Never modify these without explicit permission:

  • LICENSE, CODE_OF_CONDUCT.md, SECURITY.md, SUPPORT.md

4. Never commit secrets

  • No API keys, tokens, connection strings, or credentials in code
  • Use .env.template files with placeholder values for documentation
  • Actual .env files are gitignored

5. Each sample is self-contained

  • Each sample has its own requirements.txt, package.json, or equivalent
  • Each sample has its own README with setup instructions
  • Do not create shared libraries or cross-sample imports

6. Adding a new sample

When adding a new sample:

  1. Create a new folder at the repo root
  2. Include a README.md with setup and usage instructions
  3. Include a .github/copilot-instructions.md with coding agent directions for that sample
  4. Update the root README.md samples table

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.