agentreadme

Report ยท marked 26 Aug 2026

KRTirtho/spotube

An agent will struggle here, mostly for fixable reasons.

Dart ยท 48,691 stars ยท 1,001 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
Test command is discoverable
Add a `test` script or a `test` target that runs the whole suite with no arguments. The convention is the interface โ€” an agent tries `npm test` and `make test` before it tries reading your CI config.

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 16/18 A

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

โœ“Deterministic install 6/6
pubspec.lock pins the dependency tree.
Found pubspec.lock
โœ“Discoverable commands 6/6
Commands are declared where an agent will look for them.
Makefile
scripts/ directory
โœ“Environment config 4/4
.env.example documents what the app needs to run.
โœ—Pinned runtime version 0/2
No pinned runtime version.
Add a .nvmrc, .python-version, or equivalent so the agent's toolchain matches yours.
โ€“Reproducible environment n/a
Not applicable โ€” a library doesn't need a container to be worked on.
Verification loop 8/22 D

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

โœ—Tests exist 4/8
14 test files against 488 source files.
Coverage is thin enough that an agent can break real behavior and still see green.
e.g. integration_test/app_test.dart, test/drift/app_db/generated/schema.dart, test/drift/app_db/generated/schema_v1.dart
โœ—Test command is discoverable 0/7
There's no obvious way to run the tests. Even if tests exist, an agent won't reliably find the entry point.
Add a `test` script or a `test` target that runs the whole suite with no arguments. The convention is the interface โ€” an agent tries `npm test` and `make test` before it tries reading your CI config.
โœ“Continuous integration 4/4
4 GitHub Actions workflows 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 n/a
Not applicable โ€” the Dart compiler type checks every build.
Context economy 15/20 B+

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 52 patterns.
โœ—File sizes fit in context 2/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.
test/drift/app_db/generated/schema_v9.dart โ€” 132KB
test/drift/app_db/generated/schema_v8.dart โ€” 130KB
test/drift/app_db/generated/schema_v7.dart โ€” 130KB
โœ—Repository weight 4/5
About 146.9MB 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 KRTirtho/spotube
# AGENTS.md

๐ŸŽง Open source music streaming app! Available for both desktop & mobile!

## Setup

```
dart pub get
```

## Commands

```
make tar
make aursrcinfo
make publishaur
make innoinstall
make inno
make choco
```

## Layout

- `lib/`     402 source files
- `website/` 25 source files
- `test/`    13 source files
- `android/` 12 source files
- `windows/` 10 source files
- `cli/`     7 source files

## Conventions

- Tests live alongside the code they cover, following `integration_test/app_test.dart`.
- CI defines what passing means. See `.github/workflows/potential-duplicates.yml`, and keep it green.
- TODO: add the two or three conventions a newcomer always gets wrong here.

## Gotchas

- `test/drift/app_db/generated/schema_v9.dart` is 132KB. 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/KRTirtho/spotube.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 48 out of 100

[![agent ready](https://agentreadme.com/badge/KRTirtho/spotube.svg)](https://agentreadme.com/KRTirtho/spotube)

Other Dart repositories, marked

flutter/flutter 40 C localsend/localsend 80 A- AppFlowy-IO/AppFlowy 45 C chen08209/FlClash 75 B+

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