agentleFS
anthony-chaudharyanthony-chaudhary/fak/.github/copilot-instructions.md

fak

Copilot instructions41 starsChanged 2 months agoApache-2.0View on GitHub

The canonical agent instructions for this repo are in AGENTS.md — read it first for build/test/run, the repo map, and the rules. Curated doc map: llms.txt. Contributor contract: CONTRIBUTING.md. Must-know rules (enforced below the agent layer): - Delegate substantive work and keep the coordinator context clean — use guarded headless agents or equivalent isolated workers for investigation, implementation, tests, and review. Keep only decisions and compact witnessed evidence in the primary context; independently verify worker effects before landing or reporting…

  • Installs packages

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Must-know rules (enforced below the agent layer):

    line 7
  2. Very specific:

    Commit by explicit path (git commit -- <paths>, never git add -A).

    line 23
  3. Distinctive:

    Keep code comments succinct: omit comments that restate syntax or narrate each step.

    line 29

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

The canonical agent instructions for this repo are in AGENTS.md — read it first for build/test/run, the repo map, and the rules. Curated doc map: llms.txt. Contributor contract: CONTRIBUTING.md.

Must-know rules (enforced below the agent layer):

  • Delegate substantive work and keep the coordinator context clean — use guarded headless agents or equivalent isolated workers for investigation, implementation, tests, and review. Keep only decisions and compact witnessed evidence in the primary context; independently verify worker effects before landing or reporting them. Direct work is for lightweight coordination and truly trivial tasks. See AGENTS.md.
  • Default is to ship — when the tree is green (make ci), commit AND push unprompted; decide from the work in front of you, you don't wait to be asked. The rules below gate that default (stay on trunk, commit by path, never force-push); if a guard refuses (OFF_TRUNK) or a peer's merge is mid-flight, reconcile in place or stop.
  • Work directly on the trunk (main); never open a feature branch or worktree — the trunk guard refuses off-trunk commits (OFF_TRUNK). The one sanctioned exception: a detached per-worker worktree that lands on main via fak worktree worker prepare|land|reap (build isolation, #1334) — detached and lane-serialized, it is not a branch and never trips OFF_TRUNK. Feature branches and off-trunk commits stay forbidden.
  • Commit by explicit path (git commit -- <paths>, never git add -A); sign off with git commit -s (DCO).
  • Focus on "move forward" over "conclusions" — frame diagnostics, benchmarks, and failed attempts around actionable forward momentum. Rather than defeatist conclusions ("X didn't work ... therefore we suck..."), always identify the concrete next action ("the next step to get better performance is X") and state the next checkable step.
  • Keep code comments succinct: omit comments that restate syntax or narrate each step. Preserve comments that explain non-obvious rationale, invariants, safety, concurrency, compatibility, or exported APIs; prefer clearer code and put durable tutorials in docs.
  • The Go module is the repository root — run go commands from the clone root (go install github.com/anthony-chaudhary/fak/cmd/fak@latest resolves directly).

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.