agentleFS
MicrosoftKnown publishermicrosoft/waza/.github/copilot-instructions.md

waza

Copilot instructions1.4k starsChanged 6 months agoMITView on GitHub

You are working on a project that uses Squad, an AI team framework. When picking up issues autonomously or using Squad, follow these guidelines. IMPORTANT — run this check only when the session is expected to use Squad Coordinator behavior, before doing any Squad work: Look for the exact token SQUAD_COORDINATOR_CANARY_a8f3 in your agent_instructions. This token is placed at the end of squad.agent.md. If it is missing, the coordinator file is missing or truncated. Do not run this check for…

  • Deletes or force-pushes

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 6 mentionsApr 2026: 4 mentionsMay 2026: 5 mentionsJun 2026: 4 mentionsJul 2026: 7 mentionsAug 2026: 8 mentionsSep 2026: 1 mentionOct 2026: 4 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/waza repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/waza

The biggest 5 of 39 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 39

Talked about on GitHub and Bluesky (39 times).

On GitHub · 37

32 more on GitHub

On Bluesky · 2

The file

Show its rules and text

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

16 rules. About 0 are common, 6 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Look for the exact token SQUAD_COORDINATOR_CANARY_a8f3 in your agent_instructions.

    line 9
  2. Distinctive:

    Do not run this check for ordinary Copilot Coding Agent work, or when the user explicitly asks not to use Squad.

    line 11
  3. Distinctive:

    Do not continue with normal Squad routing, spawning, PR, or branch-protection behavior after emitting the warning.

    line 19
  4. Distinctive:

    Before starting work on any issue:

    line 23
  5. Very specific:

    Read .squad/team.md for the team roster, member roles, and your capability profile.

    line 25
  6. Very specific:

    Read .squad/routing.md for work routing rules.

    line 26
  7. Very specific:

    If the issue has a squad:{member} label, read that member's charter at .squad/agents/{member}/charter.md to understand their domain …

    line 27
  8. Very specific:

    Before starting work, check your capability profile in .squad/team.md under the Coding Agent → Capabilities section.

    line 31
  9. Distinctive:

    Use the squad branch convention:

    line 42
  10. Distinctive:

    When opening a PR:

    line 50
  11. Very specific:

    If the issue had a squad:{member} label, mention the member: Working as {member} ({role})

    line 52
  12. Very specific:

    If this is a 🟡 needs-review task, add to the PR description: ⚠️ This task was flagged as "needs review" — please have a squad member …

    line 53
  13. Very specific:

    Follow any project conventions in .squad/decisions.md

    line 54
  14. Distinctive:

    If you make a decision that affects other team members, write it to:

    line 58
  15. Very specific:

    Run this once at the start of any session before go build, go test, or golangci-lint run.

    line 84
  16. Very specific:

    Only commit web/dist/index.html changes when you intentionally shipped new dashboard code.

    line 97

≈ “Common” is an estimate: at least 1 in 5 of the 1,645 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 Coding Agent — Squad Instructions

You are working on a project that uses Squad, an AI team framework. When picking up issues autonomously or using Squad, follow these guidelines.

Coordinator Canary Check

IMPORTANT — run this check only when the session is expected to use Squad Coordinator behavior, before doing any Squad work:

Look for the exact token SQUAD_COORDINATOR_CANARY_a8f3 in your agent_instructions. This token is placed at the end of squad.agent.md. If it is missing, the coordinator file is missing or truncated.

Do not run this check for ordinary Copilot Coding Agent work, or when the user explicitly asks not to use Squad. In that case, proceed without Squad routing, spawning, PR, or branch-protection behavior.

When the token is missing and Squad Coordinator behavior is required, you MUST:

  1. STOP — do not proceed with standard Squad behavior.
  2. WARN the user with this exact message:
    ⚠️ Squad coordinator (squad.agent.md) appears to be missing or truncated. The canary token was not found. Do NOT proceed with standard Squad behavior — Squad's safety rails are not loaded. Please restart your session.
  3. Do not continue with normal Squad routing, spawning, PR, or branch-protection behavior after emitting the warning.

Team Context

Before starting work on any issue:

  1. Read .squad/team.md for the team roster, member roles, and your capability profile.
  2. Read .squad/routing.md for work routing rules.
  3. If the issue has a squad:{member} label, read that member's charter at .squad/agents/{member}/charter.md to understand their domain expertise and coding style — work in their voice.

Capability Self-Check

Before starting work, check your capability profile in .squad/team.md under the Coding Agent → Capabilities section.

  • 🟢 Good fit — proceed autonomously.
  • 🟡 Needs review — proceed, but note in the PR description that a squad member should review.
  • 🔴 Not suitable — do NOT start work. Instead, comment on the issue:
    🤖 This issue doesn't match my capability profile (reason: {why}). Suggesting reassignment to a squad member.

Branch Naming

Use the squad branch convention:

squad/{issue-number}-{kebab-case-slug}

Example: squad/42-fix-login-validation

PR Guidelines

When opening a PR:

  • Reference the issue: Closes #{issue-number}
  • If the issue had a squad:{member} label, mention the member: Working as {member} ({role})
  • If this is a 🟡 needs-review task, add to the PR description: ⚠️ This task was flagged as "needs review" — please have a squad member review before merging.
  • Follow any project conventions in .squad/decisions.md

Decisions

If you make a decision that affects other team members, write it to:

.squad/decisions/inbox/copilot-{brief-slug}.md

The Scribe will merge it into the shared decisions file.

Repository Gotchas (learned from past sessions)

These come up repeatedly across sessions. Handle them proactively.

1. First go build/test/lint in a fresh worktree needs a web/dist stub

The Go binary embeds the dashboard via //go:embed all:dist (web/embed.go). In a fresh worktree the built assets don't exist, so commands that compile packages including the embedded dashboard assets fail until you scaffold them:

mkdir -p web/dist
if [ ! -f web/dist/index.html ]; then
  printf '<html><body>stub</body></html>\n' > web/dist/index.html
fi
if [ ! -f web/dist/favicon.svg ]; then
  printf '<svg xmlns="http://www.w3.org/2000/svg"></svg>\n' > web/dist/favicon.svg
fi

Run this once at the start of any session before go build, go test, or golangci-lint run.

2. Never restage a regenerated web/dist/index.html

web/dist/assets/* is gitignored but web/dist/index.html is tracked. Running cd web && npm run build rewrites index.html with new hashed asset refs, which then shows up as an unrelated diff. Before git add:

git diff -- web/dist/index.html   # if only hash refs changed, revert it
git checkout -- web/dist/index.html

Only commit web/dist/index.html changes when you intentionally shipped new dashboard code.

3. Standard verify chain: format → test → lint

golangci-lint fails on unformatted code, so always run go fmt first to avoid a retry loop:

go fmt ./... && go test ./... && golangci-lint run

For the docs site and dashboard, add:

cd site && npm run build
cd ../web && npm run build && npm run lint

4. Clean up scratch dirs before committing

Agent tooling can leave .impeccable/ in the worktree, and Node builds create web/node_modules/ and site/node_modules/. None of these should be staged. Before git add:

rm -rf .impeccable web/node_modules site/node_modules
git status --short   # verify only intended files remain

git add -A from the repo root is risky — prefer explicit paths.

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.