π€― LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
Project layer (.agents/acceptance/)
This skill is project-agnostic. Everything specific to the project under test β how
to start and stop it, which ports and services it needs, how auth works, which
surfaces it has, and how to jump straight into app state β lives in a per-project
adapter at .agents/acceptance/PROJECT.md. The skill reads it; it never guesses the
project's commands.
A repository that verifies itself often has more than commands to share: a
plan gate owned by the acceptance-checker once environment readiness is established, a teardown discipline, a publish
target, a report directory convention. Those live beside the adapter in
.agents/acceptance/PROCESS.md. When that file exists it owns the run process,
and this skill supplies the acceptance contract β plan, evidence, report,
round. The execution owner acquires the relevant sections of both once, or reuses
their already acquired rules for the same revision; other roles receive those
rules and provenance in their handoff. Where they disagree about how to run, the
project layer wins, and where they disagree about what a valid round is, this
skill wins.
Where the adapter lives
<repo>/.agents/acceptance/ # committed β the adapter and project logs are team assets
βββ PROJECT.md # the adapter: commands, ports, services, auth, surfaces
βββ PROCESS.md # optional: the project's run process (gate, teardown, publish)
βββ common-mistakes.md # PROJECT-layer living log (writable)
βββ probe-mock-patterns.md # PROJECT-layer living log (writable)
βββ references/ # optional: project-owned how-tos
βββ scripts/ # optional: project env / probe / capture scripts
.agents/acceptance/ is committed (the adapter and the project living logs are
shared, versioned team assets). The report output directory .acceptances/ is
gitignored β reports are per-run artifacts, published to LobeHub Acceptance
or rendered locally, not committed.
Fixed section skeleton
PROJECT.md always has these six sections, in this order. Sections the skill refers
to by number (PROJECT.md Β§2, Β§3, β¦), so keep the numbering.
- Project summary β what the product is, and the repo layout relevant to testing (which package holds the server, the web app, the desktop shell, the CLI).
- Environment β how to start and stop the dev environment; the required services (database, cache, queue, object store) and how to start each; how to detect "already running" so a run does not clobber a user's server; how env and ports are resolved (the project's own env-resolver command, if any) so the skill never hard-codes a port table.
- Auth β test accounts, seeding commands, and a per-surface status check (one command per surface that answers "am I signed in on this surface?").
- Surfaces β which of CLI / Web / Electron apply, and for each that applies: launch command, base URL / port, agent-browser session name (web/electron), and which probe scripts drive it.
- Project probes & quick navigation β the fast paths into app state: an auth
probe, a current-route probe, a running-operations probe, and a
goto <route>quick-navigation, plus the routes worth jumping to. These are the project's equivalent of a state-introspection helper; the skill uses them instead of hand-rolling store-eval snippets. - Known constraints β anything the generic gates must know before running: services that are hard prerequisites for a code path (e.g. "agent runs require the queue service up"), standalone sub-packages that need their own install, surfaces that only work on macOS, or any repo-specific gotcha a run must respect.
PROJECT.md may reference project scripts under .agents/acceptance/scripts/ or
anywhere in the repo.
Copy-pasteable template
# PROJECT.md β acceptance adapter for <project name>
## 1. Project summary
<One paragraph: what the product is. Then the repo layout that matters for testing β
which directory/package is the server, the web app, the desktop shell, the CLI.>
## 2. Environment
- **Start dev server:** `<command>` (base URL: `<url>`, port: `<port>`)
- **Stop dev server:** `<command>` (must stop only what this run started)
- **Required services:** <db / cache / queue / object store β with the start command
for each, or "none">
- **Already-running detection:** `<health-check command>` β how to tell the server is
up before starting another one.
- **Env / port resolution:** `<command or file>` β the source of truth for ports and
URLs. Do NOT hard-code a port table; read it here.
## 3. Auth
- **Test account(s):** <how to obtain β seeded, fixture, or a real login>
- **Seeding command:** `<command>` (or "n/a")
- **Per-surface status check:**
- CLI: `<command>` β signed-in when <...>
- Web: `<command>` β signed-in when <...>
- Electron: `<command>` β signed-in when <...>
## 4. Surfaces
<For each surface that applies. Delete the ones that don't.>
### CLI
- Invocation: `<how the CLI is run β from source or built binary>`
- Auth: <see Β§3 CLI>
- Standalone install: `<command>` or "covered by root install"
### Web
- Launch: `<dev server command>` (from Β§2)
- Base URL: `<url>`
- agent-browser session: `<session name>`
### Electron
- Launch: `<start command>` β CDP port `<port>`
- Stop: `<command>`
- Login persistence: <how login survives across runs>
## 5. Project probes & quick navigation
- Auth probe: `<command>` β `{ isSignedIn, userId }`
- Route probe: `<command>` β current route
- Operations probe: `<command>` β running operations
- Quick navigation: `<command> goto <route>`
- Routes worth jumping to: <list>
## 6. Known constraints
- <e.g. "agent runs require the queue service (Β§2) up, or the run dies before any
real work">
- <e.g. "the desktop and CLI packages are standalone β install inside each">
- <e.g. "OS-capture surfaces are macOS-only">
First-run bootstrap
When .agents/acceptance/PROJECT.md is absent, build it before doing anything else:
- Explore the repo. Read the signals that reveal how the project runs:
package.jsonscripts,README, CI workflows (.github/workflows/**),Makefile/Justfile,docker-compose*.yml/compose.yaml,.env.example, and any existing test/dev docs. Note the dev-server command, the services it needs, the ports, the auth story, and which surfaces exist. - Draft
PROJECT.mdfrom the fixed skeleton above, filling every section from what you found. Where a value is uncertain, mark it explicitly as a guess rather than inventing a command. - Present it for confirmation. Show the draft to the user and ask them to confirm or correct it β especially the start/stop commands, the required services, and the auth path. Do not run a dev server or write test steps against an unconfirmed adapter.
- Write it only after approval, to
.agents/acceptance/PROJECT.md. Create.agents/acceptance/if it does not exist.
Installing the skill only places its files; it does no repo exploration.
The adapter draft needs a model, so the first verification run is what bootstraps
PROJECT.md.
Drift rule
Treat the adapter like a living log: when observed reality diverges from it during a
run (a port moved, a start command changed, a service is now required), fix
PROJECT.md in place during the run rather than working around it silently. The
next run should not rediscover the same divergence.
Two living-log layers
The skill's references/common-mistakes.md and references/probe-mock-patterns.md
are the generic layer β product-independent, and read-only in a consumer repo:
the installed copy is materialized from the skill source, so an edit there is lost
on the next update. Change it by PR to the skill source. The project's own
.agents/acceptance/common-mistakes.md and .agents/acceptance/probe-mock-patterns.md are
the project layer β writable, and the only place a run records project-specific
learnings. At runtime the agent reads both layers and writes only the project layer.
When a project-layer entry turns out to be product-independent, genericize it (drop
every project-specific noun) and PR it to the generic layer upstream.
Confidentiality runs one way. Anything naming a project's packages, routes, schemas, env vars, service names, or business logic stays in the project layer; only a rule that reads correctly with every project noun removed may be promoted.