agentleFS
PralhadYadawadPralhadYadawad/avvarre/.github/copilot-instructions.md

avvarre

Copilot instructions4 starsChanged 4 months agoMITView on GitHub

TypeScript, Node.js, ES modules. Build: npm run build. Run: npm start. No API key = regex-only mode. Never crashes from missing config.

The file

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

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No API key = regex-only mode.

    line 23
  2. Very specific:

    Read .avvarre/conventions.md before writing code

    line 26
  3. Very specific:

    Check .avvarre/skills/ for a matching skill file (e.g., react_ui_guidelines.md, authentication_flow.md)

    line 36
  4. Distinctive:

    If one exists, read ONLY that skill — don't load all skills at once

    line 37
  5. Distinctive:

    Follow the architectural rules in that skill file while coding

    line 38
  6. Very specific:

    If no .avvarre/ directory exists, suggest: "Run /avvarre:init to set up project memory."

    line 41
  7. Very specific:

    Read .avvarre/session-log.md and .avvarre/tasks.md first

    line 42

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

avvarre — Copilot Instructions

Project

avvarre is an MCP server + VS Code agent plugin enforcing Google Style Guides across 21 languages/formats (Python, JS, TS, Java, Go, C++, Kotlin, Dart, Swift, ObjC, C#, Shell, R, HTML, CSS, Markdown, JSON, XML, Vimscript, Lisp, Angular). 650+ regex rules + optional AI deep review.

TypeScript, Node.js, ES modules. Build: npm run build. Run: npm start.

Key Paths

  • Rules: src/analyzer/rules/ | Engine: src/analyzer/engine.ts | Scorer: src/analyzer/scorer.ts
  • AI clients: src/ai/ | MCP server: src/server.ts | Entry: src/index.ts
  • Project memory: .avvarre/ (context.md, tasks.md, conventions.md, session-log.md)
  • Plugin: plugin/ (hooks.json, SKILL.md, agent.md, commands/)

MCP Tools

ToolPurpose
avvarre_fileFull AI + regex review with fixes (regex-only fallback if no API key)
avvarre_workspaceScan directory → heatmap, trends, optional badge
list_rulesBrowse all 650+ rules by language
scaffold_avvarreCreate .avvarre/ ecosystem
avvarre_prPR quality gate on git diff

No API key = regex-only mode. Never crashes from missing config.

Conventions

  • Read .avvarre/conventions.md before writing code
  • Rule IDs: LANG-CATEGORY-NN (e.g., PY-EXC-01)
  • Imports use .js extensions. Max 1500 lines per file.

On Every Session End

  1. Session log — Append to .avvarre/session-log.md: ## YYYY-MM-DD with bullet changes, files modified, next steps.
  2. Task sync — Update .avvarre/tasks.md using compressed format: [x] Summary (steps: a→b→c→d) for done, [/] Summary (done: a→b | next: c→d) for partial. Never expand subtasks in the .md — the step chain IS the expansion key.
  3. Quality nudge — If source code was written or changed, end with: "Run /avvarre on changed files?"

Before Building a Feature

  • Check .avvarre/skills/ for a matching skill file (e.g., react_ui_guidelines.md, authentication_flow.md)
  • If one exists, read ONLY that skill — don't load all skills at once
  • Follow the architectural rules in that skill file while coding

On Picking Up Work

  • If no .avvarre/ directory exists, suggest: "Run /avvarre:init to set up project memory."
  • Read .avvarre/session-log.md and .avvarre/tasks.md first
  • Expand step chains from tasks.md into your internal working memory
  • Read .avvarre/conventions.md before writing code

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.