agentleFS
SentryKnown publishergetsentry/praise/AGENTS.md

praise

AGENTS.md4 starsChanged 3 months agoMITView on GitHub

PRaise is a Chrome extension (Manifest V3) that adds a one-click praise button to GitHub PR review and comment boxes. TypeScript + React, bundled with webpack. Run npm test, npm run typecheck, and npm run verify before proposing changes. None of them load the extension, so none of them can tell you the button actually appears — two bugs that broke it everywhere passed all of them. For anything affecting placement, drive a real PR page with npm run probe;…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 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.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    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. Very specific:

    Run npm test, npm run typecheck, and npm run verify before proposing changes.

    line 25
  2. Very specific:

    Put new logic in src/lib/ with a test rather than inline in the entry points.

    line 36
  3. Distinctive:

    Keep commit messages short and precise.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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

PRaise is a Chrome extension (Manifest V3) that adds a one-click praise button to GitHub PR review and comment boxes. TypeScript + React, bundled with webpack.

Layout

  • src/content_script.tsx — injected into GitHub pages
  • src/background.ts — service worker
  • src/options.tsx, src/lib/Options.tsx — options page
  • src/lib/ — shared modules (keep logic here so it is testable)
  • src/__tests__/ — Jest tests
  • public/ — manifest.json and static assets
  • dist/ — build output, never edit by hand

Commands

npm test          # jest
npm run typecheck # tsc --noEmit
npm run verify    # format + lint check (CI)
npm run fix       # auto-format and fix lint
npm run build     # typecheck + production bundle

Run npm test, npm run typecheck, and npm run verify before proposing changes.

None of them load the extension, so none of them can tell you the button actually appears — two bugs that broke it everywhere passed all of them. For anything affecting placement, drive a real PR page with npm run probe; see the fast feedback loop.

Code style

  • Formatting and linting come from the oxc toolchain (oxfmt, oxlint); do not hand-format.
  • Comments explain non-obvious why only — never restate the code.
  • Put new logic in src/lib/ with a test rather than inline in the entry points.

Commits

Keep commit messages short and precise.

  • Conventional Commits: type: summary (feat, fix, refactor, test, docs, perf, build, style).
  • Subject in imperative mood, lower case, no trailing period, ideally under 60 characters.
  • Body only when the why is not obvious from the subject. No filler, no change logs.

Example: fix: store no praises for an empty textarea

Pull requests

Same standard as commits: short and precise.

  • Title follows the Conventional Commit format of the change.
  • Description is a few lines at most — what changed and why. Skip boilerplate sections.
  • One logical change per PR.

See CONTRIBUTING.md for setup and build details.

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.