agentreadme

Report · marked 25 Aug 2026

TryGhost/Ghost

Solid foundations, held back in a few specific places.

JavaScript · 55,057 stars · 8,608 files · branch main

Fix these first

01
File sizes fit in context
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.
02
Repository weight
Large binaries and vendored trees slow every operation an agent performs. Git LFS or a separate assets repo keeps the working tree navigable.
03
Static type checking
A type checker gives an agent an error message instead of a runtime surprise. It's the second-fastest feedback loop after the compiler.

The full marking

Every deduction below names the file or setting it came from.

Instructions 25/27 A+

Whether the repo tells an agent how to behave before it starts guessing.

Agent instruction file 12/12
AGENTS.md is present, which is the format the most tools read.
Also found: CLAUDE.md
Instruction quality 10/12
Specific enough that an agent can act on it.
Worth fixing: has no code blocks.
3,295 characters, a workable length
names the actual commands to run
uses headings, so an agent can skim it
README as an entry point 3/3
README has a clear getting-started section.
Setup 20/20 A+

Whether an agent can install the project and get it running without a human.

Deterministic install 6/6
pnpm-lock.yaml pins the dependency tree.
Found pnpm-lock.yaml
Discoverable commands 6/6
Commands are declared where an agent will look for them.
package.json scripts (archive, build:production, build, build:clean, clean:hard, dev…)
scripts/ directory
Environment config 4/4
.env.example documents what the app needs to run.
Pinned runtime version 2/2
The language runtime version is pinned.
Found .nvmrc
Reproducible environment 2/2
.devcontainer/devcontainer.json gives a known-good environment.
Verification loop 22/25 A

Whether an agent can check its own work. This is the category that most decides whether agent output is trustworthy.

Tests exist 8/8
2249 test files against 5870 source files.
e.g. .github/scripts/i18n-review/test/analyzer.test.js, apps/activitypub/src/api/activitypub.test.ts, apps/activitypub/src/hooks/use-activity-pub-queries.test.ts
Test command is discoverable 7/7
An agent can find and run `npm run check`.
Continuous integration 4/4
21 GitHub Actions workflows define what "passing" means.
Lint and format rules 3/3
eslint.config.mjs encodes the house style.
Static type checking 0/3
No static type checking.
A type checker gives an agent an error message instead of a runtime surprise. It's the second-fastest feedback loop after the compiler.
Context economy 9/20 C

Whether the repo fits in a context window, or fights it.

No committed build output 6/6
No generated directories committed.
.gitignore hygiene 3/3
.gitignore covers 127 patterns.
File sizes fit in context 0/6
10 source files are over 100KB.
A single file that fills the context window forces an agent to work from fragments, and it will confidently edit code it never saw. Splitting the worst offenders pays for itself immediately.
koenig/kg-simplemde/debug/simplemde.debug.js — 1544KB
koenig/kg-simplemde/debug/simplemde.js — 598KB
apps/activitypub/src/views/preferences/components/dots-pattern.tsx — 220KB
Repository weight 0/5
About 573MB checked out. Large enough that cloning and searching are both slow.
Large binaries and vendored trees slow every operation an agent performs. Git LFS or a separate assets repo keeps the working tree navigable.

Here is your AGENTS.md

Drafted from what is actually in this repository: the install command from your lockfile, the commands you already declare, your real directory layout. Anything marked TODO needs a person. Save it at the root as AGENTS.md.

AGENTS.md — drafted for TryGhost/Ghost
# AGENTS.md

Independent technology for modern publishing, memberships, subscriptions and newsletters.

## Setup

```
pnpm install
```

## Commands

```
pnpm dev                # run locally
pnpm build              # produce a build
pnpm test               # run the test suite, must pass before any commit
pnpm lint               # lint
pnpm format             # format
pnpm check              # lint and type check
pnpm archive
pnpm build:production
```

## Layout

- `apps/`     2385 source files
- `ghost/`    2245 source files
- `koenig/`   794 source files
- `e2e/`      257 source files
- `packages/` 123 source files
- `scripts/`  39 source files

## Conventions

- Tests live alongside the code they cover, following `.github/scripts/i18n-review/test/analyzer.test.js`.
- CI defines what passing means. See `.github/workflows/ci.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `koenig/kg-simplemde/debug/simplemde.debug.js` is 1544KB. It will not fit comfortably in context, so read it in parts.
- Copy `.env.example` before running anything that needs configuration.

---

Drafted by agentreadme.com from what is in this repository. Everything marked TODO
needs a human. Check it in as AGENTS.md at the root.

Open the raw markdown  or  curl -o AGENTS.md agentreadme.com/draft/TryGhost/Ghost.md

Show the mark

The badge re-checks daily, so it keeps up as the repository changes. Use mark again to force it now.

agent ready 84 out of 100

[![agent ready](https://agentreadme.com/badge/TryGhost/Ghost.svg)](https://agentreadme.com/TryGhost/Ghost)

Other JavaScript repositories, marked

react/react 71 B+ affaan-m/ECC 90 A trekhleb/javascript-algorithms 69 B Snailclimb/JavaGuide 53 C+ airbnb/javascript 54 C+ vercel/next.js 77 B+

All JavaScript repositories

Think this mark is wrong?

Every deduction above names the file it came from, so this can be settled by looking. If a check missed something, that is a rule worth fixing.

Open an issue, already filled in