agentleFS
stravustravu/crystal/AGENTS.md

crystal

AGENTS.md3.1k starsChanged 14 months agoMITView on GitHub

  • Reads credentials

Trending

Quiet since September.about the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 2 mentionsJul 2026: 2 mentionsAug 2026: 0 mentionsSep 2026: 2 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the stravu/crystal repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about stravu/crystal

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

See all 25

Talked about on GitHub, Hacker News and Bluesky (25 times).

On GitHub · 12

7 more on GitHub

On Hacker News · 10

5 more on Hacker News
  • 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.

  • In this repositoryOne other file it gives its agents.

The file

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

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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
  • could be automatic: a setting could enforce it
  1. Very specific:

    Use TypeScript throughout.

    line 17
  2. Very specific:

    Run pnpm lint && pnpm typecheck before sending PRs.

    line 20
  3. Distinctive:

    Add Playwright tests for user-visible flows.

    line 24
  4. Very specific:

    If dependencies change, run pnpm run generate-notices and commit updated NOTICES.

    line 30
  5. Distinctive:

    Keep changes minimal and scoped.

    line 38
  6. Distinctive:

    Update docs alongside code.

    line 39
  7. Distinctive:

    Use repository scripts (pnpm) and keep formatting consistent with existing files.

    line 40
  8. Distinctive:

    Always review the root CLAUDE.md before beginning any work.

    line 41

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

Repository Guidelines

Project Structure & Module Organization

  • Root pnpm workspace with packages: main/ (Electron main process, TypeScript), frontend/ (React + Vite), shared/ (shared types), and tests/ (Playwright E2E).
  • Key paths: main/src/{services,ipc,utils}/, frontend/src/{components,hooks,stores,utils}/, main/assets/, scripts/.
  • Build artifacts: frontend/dist/, main/dist/, packaged output dist-electron/.

Build, Test, and Development Commands

  • Dev app: pnpm dev (spawns frontend + Electron).
  • Build all: pnpm build (frontend, main, then electron package).
  • Package (examples): pnpm build:mac, pnpm build:linux.
  • Lint: pnpm lint; Type-check: pnpm typecheck (runs per package).
  • Tests (E2E): pnpm test, pnpm test:ui, CI configs in playwright.ci*.config.ts.
  • Main unit tests (if added): pnpm --filter main test, coverage: pnpm --filter main run test:coverage.

Coding Style & Naming Conventions

  • Use TypeScript throughout; follow ESLint configs in frontend/eslint.config.js and main/eslint.config.js.
  • Indentation 2 spaces; prefer explicit types at module boundaries.
  • Naming: camelCase for variables/functions, PascalCase for React components/types, kebab-case for filenames (React files may match component name).
  • Run pnpm lint && pnpm typecheck before sending PRs.

Testing Guidelines

  • E2E tests live in tests/*.spec.ts (Playwright). Example: pnpm test -- tests/smoke.spec.ts.
  • Add Playwright tests for user-visible flows; mock external services where possible.
  • For backend logic in main/, use Vitest colocated under main/src/**/__tests__ or *.spec.ts.

Commit & Pull Request Guidelines

  • Commits: present tense, focused, reference issues (e.g., "Fix session diff flicker, closes #123").
  • PRs must include: clear description, linked issues, testing notes; screenshots/GIFs for UI changes.
  • If dependencies change, run pnpm run generate-notices and commit updated NOTICES.

Security & Configuration Tips

  • Node >= 22.14; pnpm >= 8. Use pnpm only.
  • Secrets via .env (dotenv) for local dev; never commit secrets.
  • To avoid clobbering local data when hacking on Crystal with Crystal: CRYSTAL_DIR=~/.crystal_test pnpm dev.

Agent Notes (for automation)

  • Keep changes minimal and scoped; prefer small patches.
  • Update docs alongside code; do not alter build targets without discussion.
  • Use repository scripts (pnpm) and keep formatting consistent with existing files.
  • Always review the root CLAUDE.md before beginning any work.
  • Scan the repository for every CLAUDE.md, and when working in a folder or any of its subfolders that has one, read and follow that file too.

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.