agent-dx
Skill2 starsChanged 3 months agoMITView on GitHub
Improve how well an agent can verify its own work in this repo: setup and worktree flows, debug access, test speed, end-to-end QA loops, screenshots, log access. Use when the user says "improve agent dx", "what do you need to verify your work", "make this repo agent-friendly", "verification loop", "you keep saying it should work", or runs /theo-mode dx.
- Reads credentials
In this repository6 other files it gives its agents.
- theo-modeSkill
- let-it-mergeSkill
- perf-huntSkill
- pr-auditSkill
- slop-auditSkill
- takeoverSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Before touching anything, write down in NOTES.md the answer to:
- Very specific: line 24
Check the last 20 merged PRs (gh pr list --state merged --limit 20) to see what layer they touch: UI, API, internal functions, config.
- Distinctive: line 31
No way to launch the app headless.
- Very specific: line 38
No worktree-safe setup: two checkouts share a node_modules or a database.
- Distinctive: line 65
Do not build a full e2e suite.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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.
Files
Agent DX
Goal: after this session, an agent in this repo can go from "made a change" to "proved the change works" without a human. The deliverable is tooling and docs, committed.
Step 1: answer the question honestly
Before touching anything, write down in NOTES.md the answer to:
"For the kind of change most PRs here make, what would I need to run to be sure it works, and can I run it right now?"
Check the last 20 merged PRs (gh pr list --state merged --limit 20) to see
what layer they touch: UI, API, internal functions, config. That layer is
where the verification loop matters.
Then try to actually verify one recent PR's change. Every place you get stuck is an item for step 2. Common ones:
- No way to launch the app headless. No way to screenshot it.
- Tests take 8 minutes so nobody runs them; or they need a database that needs a secret that needs a person.
- Logs go to a service the agent cannot read.
- The dev server and the test runner fight over the same port.
- A
.env.examplethat is missing half the keys. - Seed data does not exist, so every flow starts with an empty screen.
- No worktree-safe setup: two checkouts share a
node_modulesor a database.
Step 2: build the missing pieces
Fix the top items, cheapest first. Typical outputs:
scripts/dev-up.sh(or amake dev) that gets from clean clone to running app with seed data in one command, idempotent, works in a git worktree.- A
/run-<app>skill with a driver:chromium-cliscript for web,curlsmoke script for a server, tmux wrapper for a TUI. Screenshots to a known path. (Therun-skill-generatorskill builds this if available.) - A fast test target:
test:changedortest:unitthat runs in under 30s. - Debug access: a
DEBUG=flag documented in CLAUDE.md, alogs/tail command, a--jsonoutput mode on the CLI. - A
CLAUDE.mdsection titled "How to verify a change" with the exact commands. Keep it under 20 lines.
Each piece must be run by you, in this session, before it is documented.
Step 3: prove it
Re-do the verification from step 1 using only the new tooling. Time it. Report: what it took before (or "impossible"), what it takes now, what is still missing and why.
Cost guardrail
Do not build a full e2e suite. Build the one path that covers what PRs actually change, and make it fast. Breadth is a follow-up the user can ask for.
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
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.

