agentleFS
doui445doui445/brace/AGENTS.md

brace

AGENTS.md2 starsChanged 22 days agoMITView on GitHub

Instructions for AI coding agents (Antigravity, Claude Code, Codex) working in this repo. CLAUDE.md is a symlink to this file for Anthropic tooling compatibility. This repo is the BRACE plugin (formerly project-tracker); it also tracks itself (see docs/brace/). A multi-platform AI assistant plugin (Antigravity & Claude Code) that bootstraps and maintains nine standard Markdown tracking files for projects under configured scope roots, manages GitHub repo creation, and regenerates a unified PORTFOLIO.html. Behaviour spec: skills/track/SKILL.md. - skills/track/ — SKILL.md (the full…

  • Commits and pushes
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep test fixtures ASCII/English.

    line 61
  2. Distinctive:

    Never guess: If a needed fact is missing, ask — a section stays marked "to fill in" rather than filled by assumption.

    line 84
  3. Very specific:

    Before a release, also test locally in a throwaway config: claude --plugin-dir .

    line 102
  4. Very specific:

    Never commit or push without explicit confirmation.

    line 109
  5. Very specific:

    Update STATUS.md (version, next actions), append to JOURNAL.md, move any completed BACKLOG.md items, add a DECISIONS.md entry if the …

    line 136
  6. Distinctive:

    Run the tests (see Build / test).

    line 139

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
AGENTS.md

AGENTS.md — BRACE

Instructions for AI coding agents (Antigravity, Claude Code, Codex) working in this repo. CLAUDE.md is a symlink to this file for Anthropic tooling compatibility. This repo is the BRACE plugin (formerly project-tracker); it also tracks itself (see docs/brace/).

What this is

A multi-platform AI assistant plugin (Antigravity & Claude Code) that bootstraps and maintains nine standard Markdown tracking files for projects under configured scope roots, manages GitHub repo creation, and regenerates a unified PORTFOLIO.html. Behaviour spec: skills/track/SKILL.md.

Layout

  • skills/track/ — SKILL.md (the full behaviour specification, source of truth for how the skill acts); references/ (backlog-phases.md, reminders-sync.md, subprojects.md, writing-tracking-files.md, skills-contract.md, platform notes, and i18n/{en,fr}.md, the output-language catalogue); hooks/session_start.sh and hooks/post_tool_use.sh (neutral skill scripts, + their test_*.sh; self-relative, never hardcode ~/.claude/... paths); scripts/generate_portfolio.py (stdlib only, no deps) and scripts/migrate_project.sh (+ their tests).
  • skills/brand/ — SKILL.md, references/ (one per session, plus the content of each brand file), assets/ (the presentation template: deck.css, example.html, fonts/ with Fraunces and Inter under OFL, tested by test_assets.py), and hooks/session_start.sh (review reminder) / hooks/post_tool_use.sh (voice drift on touchpoints, macOS notification when a presentation is ready), + their test_*.sh; scripts/shoot_deck.sh (one screenshot per slide for the creative director) and scripts/render.py (documents, decks and the client space from Markdown, stdlib), + their tests; assets/doc.css and assets/example.md (the deck model, rendered into example.html).
  • agents/ — BRACE agents (analyst, strategist, copywriter, creative-director): agents/<agent>.md for Antigravity, agents/claude/<agent>.md for Claude Code (listed in .claude-plugin/plugin.json); same body, a test enforces it.
  • dispatch/ — the dispatcher run.sh, lib.sh, machine.sh, migrate_plugins.sh, migrate_config.sh, agent_write.sh (may a BRACE agent write this file without a prompt), and the per-tool adapters claude/ (including pre_tool_use.sh, Claude Code only) and antigravity/ (+ tests).
  • Manifests: .claude-plugin/{plugin,marketplace}.json and claude-hooks.json (Claude Code); plugin.json + hooks.json at the repo root (Antigravity). Never recreate hooks/hooks.json — Antigravity would merge it and no hook would fire any more. test_plugin_manifest.py at the root validates them.
  • bridge/ — the project-tracker 0.14.0 bridge plugin that installs BRACE; do not touch it once released. Its hooks/swap_lib.sh (CLI time budget, backoff marker, installed_plugins.json key format) is sourced by dispatch/migrate_plugins.sh too: BRACE may stop sourcing it, never edit it.
  • commands/config.md — the /brace:config command.
  • docs/superpowers/ — gitignored local specs, plans and research notes; keep French, do not ship.

Conventions

  • Shipped strings are English. Prose, comments, messages, generated HTML. Keep test fixtures ASCII/English. This is a review discipline (a "French sweep" you run by eye), not an automated in-repo gate.
  • No real names or personal data anywhere in the repo — including the self-tracking files under docs/brace/, which are committed and public. When a note needs to refer to one of the user's other projects, use a generic placeholder ("a dogfood project", "an external project", "a git sub-repo"), never the actual name, folder path, or Reminders-list name. doui445 (the GitHub handle in the manifests and URLs) is the sole exception. Run this "names sweep" by eye alongside the French sweep before every commit.
  • Deliberate French exceptions, whitelisted by any "is the shipped skill all-English" review:
    • skills/track/references/i18n/ except en.md (the fr.md catalogue and any future non-English catalogue);
    • the STRINGS["fr"] table in skills/track/scripts/generate_portfolio.py (the portfolio's French UI strings);
    • the French assertions in skills/track/scripts/test_generate_portfolio.py (they check the fr rendering).
  • Never translate machine values: frontmatter keys and enum values (active, "non", "adopté", "leger", "superpowers", …), standard file names, hook names, #tracker-sync.
  • Never guess. If a needed fact is missing, ask — a section stays marked "to fill in" rather than filled by assumption. This is the skill's own first principle; hold to it when editing the skill too.
  • Propose or impose — think twice. Too much choice kills choice. Whenever a design asks "offer the user a choice, or just do it?", weigh it against the context: impose when the choice brings the user nothing (e.g. the BRACE folder migration); offer only when the options genuinely differ for them. See DECISIONS.md (2026-10-05).
  • Version lives in .claude-plugin/plugin.json, the brace entry of .claude-plugin/marketplace.json and the root plugin.json — keep them equal (a test enforces it). Bump on every release.

Build / test

bash run_tests.sh

Before a release, also test locally in a throwaway config: claude --plugin-dir . and agy plugin install "$PWD".

Git / GitHub

  • uses_git: true, remote origin → github.com/doui445/brace, default branch main.
  • Never commit or push without explicit confirmation. Conventional-commit style messages (skill:, hooks:, portfolio:, plugin:, docs:, test:, release:).

Releasing

Version scheme — product-style (decided 2026-10-05, applies from the BRACE 1.0 launch; 0.x was the project-tracker pre-history):

  • major (N.0.0) — a new generation, launched and announced (BRACE 1.0 = the launch).
  • minor (N.M.0) — a new skill, command, hook, config knob or standard file, or any change to how the plugin behaves.
  • patch (N.M.P) — fixes, doc and guidance changes, refactors with no behaviour change.
  • Zero breakage, whatever the bump: a release never breaks an existing project. The old project folder docs/project-tracker/ stays recognised for good; the old config paths are symlinks to ~/.brace/.

Routine (every release):

  1. Bump version in .claude-plugin/plugin.json, the brace entry of .claude-plugin/marketplace.json and the root plugin.json — kept equal, test_plugin_manifest.py enforces it.
  2. In docs/brace/CHANGELOG.md: rename [Unreleased] to [X.Y.Z] — YYYY-MM-DD, add a fresh empty [Unreleased] above it. Update STATUS.md (version, next actions), append to JOURNAL.md, move any completed BACKLOG.md items, add a DECISIONS.md entry if the release settled a structural choice.
  3. Run the tests (see Build / test).
  4. Commit release: vX.Y.Z — <summary>, then git tag -a vX.Y.Z -m "<summary>", then git push origin main --follow-tags.

Phases

phase_model: "superpowers" — this repo uses the spec → plan flow. Specs and plans live in docs/superpowers/{specs,plans}/ (the skill's default path), kept gitignored and in French; research notes sit alongside in docs/superpowers/research/. Only the shipped tracking files under docs/brace/ are committed.

Dogfooding note

This repo tracks itself. After a significant change, update docs/brace/STATUS.md (+ JOURNAL.md, and CHANGELOG.md / DECISIONS.md / ERRORS.md where relevant) like any other tracked project.

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.