agentleFS
graphed-incgraphed-inc/marketing-skills/skills/enrichment-tables/app/AGENTS.md

marketing-skills / app

AGENTS.md73 starsChanged 4 days agoMITView on GitHub

This project deploys to Graphed cloud from graphed.yaml. It is the enrichment spreadsheet. The page at / is a Next.js client component. Keep its behavior. Do not wrap it in the scaffold sidebar shell. - Never guess manifest fields or CLI flags. Run graphed docs manifest or graphed <command> --help first. - Use graphed --format json when you need to parse output. - Migrations are TypeScript Kysely modules, modeled on packages/core/src/migrations/0001_enrichment.ts. Register a new file in packages/core/src/db/migrate.ts. Never edit a…

  • Reads credentials

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
  1. Distinctive:

    Do not wrap it in the scaffold sidebar shell.

    line 5
  2. Very specific:

    Never guess manifest fields or CLI flags: Run graphed docs manifest or graphed <command> --help first.

    line 9
  3. Very specific:

    Use graphed --format json: when you need to parse output.

    line 11

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

This project deploys to Graphed cloud from graphed.yaml. It is the enrichment spreadsheet. The page at / is a Next.js client component. Keep its behavior. Do not wrap it in the scaffold sidebar shell.

Golden rules

  • Never guess manifest fields or CLI flags. Run graphed docs manifest or graphed <command> --help first.
  • Use graphed --format json when you need to parse output.
  • Migrations are TypeScript Kysely modules, modeled on packages/core/src/migrations/0001_enrichment.ts. Register a new file in packages/core/src/db/migrate.ts. Never edit a migration that has already been applied. Apply with npm run db:migrate (also the deploy release command).
  • Never read process.env directly in app code. Env goes through packages/core/src/config.ts (envSlice() / coreEnv()).
  • One database. Dashboard routes and the worker use initDb() / getDb(). DATABASE_URL selects Postgres. When it is unset, the process uses embedded PGlite so npm test needs no database server.

Project shape

One npm workspace (packages/*).

  • packages/core (@app/core) — schema, queue, worker, formula runner, presets.
  • packages/dashboard (@app/dashboard) — Next.js App Router. app/page.tsx renders the spreadsheet. app/api/[...path]/route.ts is the JSON API.
  • The worker starts inside the Next server (packages/dashboard/boot.ts), twelve lanes, same as before. It is not a cron job.
  • cli.mjs reads and queues rows. It does not run cells. The web worker does.

UI

The spreadsheet is React in packages/dashboard/components/spreadsheet/. Controls are the shadcn/ui components in components/ui/. Grid geometry (column width, virtual row position) is set on the element from React, not with a style= attribute. app/spreadsheet.css is the sheet layout. New dashboard pages, if you add any later, go under packages/dashboard/app/ and register in lib/plugins.ts.

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.