agentleFS
florian101010florian101010/awesome-agentic-AI-coding-template/.github/copilot-instructions.md

awesome-agentic-AI-coding-template

Copilot instructions4 starsChanged 9 months agoMITView on GitHub

Persistent instructions for GitHub Copilot Chat, Code Review, and Coding Agents. See also AGENTS.md (root) for the full rule set and .agent/workflows/ for common task procedures. [FILL: Project Name] — [FILL: 1-sentence description. Tech stack. Target environment.] [FILL: Any additional context line, e.g. "No build step. No frameworks." or "TypeScript monorepo, runs on Node 22+."] Agent Skills (via /skill-name in chat) and Prompt Files (via /command) are available for all common workflows: Full docs at docs/ — start with README.md.…

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

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

    Use repo-local hooks via .githooks/ (git config core.hooksPath .githooks) and ensure pre-commit passes before finalizing

    line 18
  2. Very specific:

    Use commit format type(optional-scope): description

    line 19

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

Persistent instructions for GitHub Copilot Chat, Code Review, and Coding Agents. See also AGENTS.md (root) for the full rule set and .agent/workflows/ for common task procedures.

<!-- SETUP: Fill in all [FILL: ...] placeholders. See README.md for the full setup guide. -->

Project Context

[FILL: Project Name] — [FILL: 1-sentence description. Tech stack. Target environment.]

[FILL: Any additional context line, e.g. "No build step. No frameworks." or "TypeScript monorepo, runs on Node 22+."]

Always Do

  • [FILL: Rule 1 — e.g. "Use vanilla JS — no frameworks, no runtime npm dependencies"]
  • [FILL: Rule 2 — e.g. "Keep all data in config/*.js files"]
  • Use repo-local hooks via .githooks/ (git config core.hooksPath .githooks) and ensure pre-commit passes before finalizing
  • Use commit format type(optional-scope): description

Never Do

  • [FILL: Prohibition 1 — e.g. "Introduce frameworks, bundlers, or package managers"]
  • [FILL: Prohibition 2 — e.g. "Use localStorage, sessionStorage, cookies, or postMessage"]
  • [FILL: Prohibition 3 — e.g. "Hardcode data that belongs in config files"]

Key Files

FilePurpose
[FILL: src/index.ts][FILL: Entry point]
[FILL: config/app.ts][FILL: Application configuration]
[FILL: docs/README.md][FILL: Primary documentation]

Common Tasks

Agent Skills (via /skill-name in chat) and Prompt Files (via /command) are available for all common workflows:

TaskInvokeDetails
QA audit/qa-audit skill.agents/skills/qa-audit/SKILL.md — security + robustness audit
Documentation audit/doc-audit skill.agents/skills/doc-audit/SKILL.md — drift audit
Feature delivery/feature-delivery skill.agents/skills/feature-delivery/SKILL.md
Plan a new feature/new-feature prompt.github/prompts/new-feature.prompt.md — structured plan before coding
Review changes pre-commit/review-changes prompt.github/prompts/review-changes.prompt.md — rule compliance check
Release readiness/release-readiness skill.agents/skills/release-readiness/SKILL.md
Hotfix/hotfix skill.agents/skills/hotfix/SKILL.md

Documentation

Full docs at docs/ — start with README.md. [FILL: Add link to engineering playbook or architecture doc if applicable.]

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.