agentreadme

Report Β· marked 26 Aug 2026

vadimdemedes/ink

An agent can work here, but it will waste turns finding its footing.

TypeScript Β· 39,733 stars Β· 258 files Β· branch master

Fix these first

01
Agent instruction file
Add an AGENTS.md at the root: what the project is, how to install, how to run, how to test, and the two or three conventions a newcomer always gets wrong.
02
Instruction quality
Instructions earn their keep by naming exact commands. 'Run the tests with `pnpm test`' beats three paragraphs of philosophy.
03
Deterministic install
Commit the lockfile your package manager generates. Without it, an agent's install and your install are different builds, and 'works on my machine' becomes unfalsifiable.

The full marking

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

Instructions 3/27 F

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

βœ—Agent instruction file 0/12
None found. Every agent that opens this repo starts from zero.
Add an AGENTS.md at the root: what the project is, how to install, how to run, how to test, and the two or three conventions a newcomer always gets wrong.
Looked for AGENTS.md, CLAUDE.md, .github/copilot-instructions.md, .cursorrules
βœ—Instruction quality 0/12
Nothing to judge, since there are no instructions.
Instructions earn their keep by naming exact commands. 'Run the tests with `pnpm test`' beats three paragraphs of philosophy.
βœ“README as an entry point 3/3
README has a clear getting-started section.
Setup 10/18 B-

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

βœ—Deterministic install 0/6
No lockfile. An agent installing dependencies may not get what CI got.
Commit the lockfile your package manager generates. Without it, an agent's install and your install are different builds, and 'works on my machine' becomes unfalsifiable.
βœ“Discoverable commands 6/6
Commands are declared where an agent will look for them.
package.json scripts (dev, build, prepare, test, lint, format…)
βœ—Environment config 2/4
Env vars are mentioned in the README but there's no example file to copy.
Add a .env.example listing every variable with a safe placeholder value. It's the cheapest possible fix and it unblocks the whole first run.
βœ“Pinned runtime version 2/2
The language runtime version is pinned.
package.json engines.node >=22
–Reproducible environment n/a
Not applicable β€” a library doesn't need a container to be worked on.
Verification loop 21/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
113 test files against 238 source files.
e.g. test/alternate-screen-example.tsx, test/ansi-tokenizer.ts, test/background.tsx
βœ“Test command is discoverable 7/7
An agent can find and run `npm run test`.
βœ“Continuous integration 4/4
1 GitHub Actions workflow define what "passing" means.
βœ—Lint and format rules 0/3
No linter or formatter config. Style is tribal knowledge, so agent output will drift from yours.
A formatter config is the cheapest way to stop reviewing whitespace in agent diffs. It moves style from opinion to a command.
βœ—Static type checking 2/3
Type checking is configured, but not in strict mode.
Turn on `"strict": true`. Type errors are the fastest feedback an agent gets, and non-strict mode silently discards most of them.
Context economy 19/20 A+

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

βœ“No committed build output 6/6
No generated directories committed.
βœ—.gitignore hygiene 2/3
.gitignore has only 2 rules.
Start from a standard template for your stack. It prevents the previous problem before it happens.
βœ“File sizes fit in context 6/6
No source file is large enough to crowd out a context window.
βœ“Repository weight 5/5
About 2.2MB checked out, which is comfortable.

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 vadimdemedes/ink
# AGENTS.md

🌈 React for interactive command-line apps

## Setup

```
npm install
```

## Commands

```
npm run dev         # run locally
npm run build       # produce a build
npm run test        # run the test suite, must pass before any commit
npm run typecheck   # type check without emitting
npm run lint        # lint
npm run format      # format
npm run prepare
npm run example
```

## Layout

- `test/`      112 source files
- `src/`       63 source files
- `examples/`  57 source files
- `benchmark/` 4 source files
- `media/`     1 source file

## Conventions

- Tests live alongside the code they cover, following `test/alternate-screen-example.tsx`.
- TypeScript is not in strict mode. Turning it on catches a whole class of mistakes before they run.
- CI defines what passing means. See `.github/workflows/test.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- No lockfile is committed, so an install here may not match what CI produced.

---

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/vadimdemedes/ink.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 59 out of 100

[![agent ready](https://agentreadme.com/badge/vadimdemedes/ink.svg)](https://agentreadme.com/vadimdemedes/ink)

Other TypeScript repositories, marked

freeCodeCamp/freeCodeCamp 69 B openclaw/openclaw 68 B nilbuild/developer-roadmap 45 C vuejs/vue 67 B n8n-io/n8n 87 A anomalyco/opencode 80 A-

All TypeScript 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