agentreadme

Report · marked 24 Nov 2026

chen08209/FlClash

Solid foundations, held back in a few specific places.

Dart · 65,201 stars · 1,417 files · branch main

Fix these first

01
Instruction quality
Worth fixing: it never states a build, test, or run command; has no code blocks.
02
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.
03
Lint and format rules
A formatter config is the cheapest way to stop reviewing whitespace in agent diffs. It moves style from opinion to a command.

The full marking

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

Instructions 21/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.
✗Instruction quality 6/12
Real instructions, with gaps.
Worth fixing: it never states a build, test, or run command; has no code blocks.
4,340 characters, a workable length
uses headings, so an agent can skim it
✓README as an entry point 3/3
README has a clear getting-started section.
Setup 12/14 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
–Environment config n/a
Not applicable — this reads as a library, with no environment to configure.
✗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 19/22 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
449 test files against 1117 source files.
e.g. .github/scripts/issue-gate.test.js, android/tests/app/ChinaPackageMatcherTest.kt, android/tests/app/ServiceStateMachineTest.kt
✓Test command is discoverable 7/7
An agent can find and run `make test`.
✓Continuous integration 4/4
3 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 56 patterns.
✗File sizes fit in context 2/6
8 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.
plugins/rust_api/rust/src/frb_generated.rs — 216KB
lib/l10n/l10n.dart — 198KB
plugins/rust_api/lib/src/rust/frb_generated.dart — 147KB
✗Repository weight 4/5
About 86.6MB 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 chen08209/FlClash
# AGENTS.md

A multi-platform proxy client based on ClashMeta,simple and easy to use, open-source and ad-free.

## Setup

```
dart pub get
```

## Commands

```
make help
make setup
make submodules
make pub-get
make doctor
make hooks
```

## Layout

- `test/`    401 source files
- `lib/`     340 source files
- `plugins/` 182 source files
- `core/`    65 source files
- `android/` 57 source files
- `tool/`    37 source files

## Conventions

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

## Gotchas

- `plugins/rust_api/rust/src/frb_generated.rs` is 216KB. It will not fit comfortably in context, so read it in parts.

---

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/chen08209/FlClash.md

A draft gets the commands right and stops at the things only a maintainer knows. what AGENTS.md is explains the format itself.

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 81 out of 100

[![agent ready](https://agentreadme.com/badge/chen08209/FlClash.svg)](https://agentreadme.com/chen08209/FlClash)

Other Dart repositories, marked

flutter/flutter 41 C localsend/localsend 80 A- AppFlowy-IO/AppFlowy 45 C KRTirtho/spotube 48 C+

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