agentleFS
PedroMosqueraPedroMosquera/squadai/.github/copilot-instructions.md

squadai

Copilot instructions9 starsChanged 5 months agoMITView on GitHub

- Respect package boundaries and import rules - Keep domain logic free of infrastructure concerns - All mutating operations must support dry-run mode <!-- /squadai:copilot-instructions -->

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    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
  1. Distinctive:

    Follow existing patterns in the codebase.

    line 10
  2. Distinctive:

    Every change should be reviewable: clear purpose, limited scope, easy to verify.

    line 12
  3. Distinctive:

    Follow existing patterns in the codebase

    line 21
  4. Distinctive:

    Write tests for new functionality

    line 22
  5. Distinctive:

    Use clear, descriptive naming

    line 23
  6. Distinctive:

    Keep functions focused on a single responsibility

    line 24
  7. Distinctive:

    Remove dead code and unused imports

    line 25
  8. Distinctive:

    Use conventional commit format (feat:, fix:, docs:, test:, refactor:)

    line 35
  9. Distinctive:

    Keep the first line under 72 characters

    line 36
  10. Distinctive:

    Keep domain logic free of infrastructure concerns

    line 42
  11. Very specific:

    All mutating operations must support dry-run mode <!-- /squadai:copilot-instructions -->

    line 43

≈ “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
<!-- squadai:copilot-instructions -->

Team Standards

Project: squadai

Stack: Go

General Principles

  • Follow existing patterns in the codebase. Consistency matters more than personal preference.
  • Make minimal, focused changes. Avoid unrelated modifications in the same changeset.
  • Every change should be reviewable: clear purpose, limited scope, easy to verify.

Verification Commands

  • Tests: go test ./...
  • Build: go build ./...
  • Lint: go vet ./...

Code Style

  • Follow existing patterns in the codebase
  • Write tests for new functionality
  • Use clear, descriptive naming
  • Keep functions focused on a single responsibility
  • Remove dead code and unused imports

Error Handling

  • Handle errors explicitly. Never silently ignore failures.
  • Provide descriptive error messages with context for debugging.
  • Validate inputs at system boundaries.

Commit Messages

  • Use conventional commit format (feat:, fix:, docs:, test:, refactor:)
  • Keep the first line under 72 characters
  • Explain why the change was made, not just what changed

Architecture

  • Respect package boundaries and import rules
  • Keep domain logic free of infrastructure concerns
  • All mutating operations must support dry-run mode
<!-- /squadai:copilot-instructions -->

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.