agentleFS
Korus-DevKorus-Dev/agent-ui-sdk/.agents/skills/definition-of-done/SKILL.md

definition-of-done

Skill1 starsChanged 21 days agoApache-2.0View on GitHub

Verify Agent UI SDK work before handoff, commit, or push. Use after repository changes.

  • Reads credentials

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use tdd.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • GoogleSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use proportional evidence.

    line 8
  2. Very specific:

    Add focused behavioral tests at the owning boundary, and show a regression test failing for the defect before accepting it green.

    line 13
  3. Distinctive:

    Do not lower the 85% statement coverage threshold.

    line 24
  4. Distinctive:

    Run git diff --check after the final edit.

    line 25
  5. Very specific:

    Never commit credentials, runtime homes, local conversations or .env files.

    line 32
  6. Distinctive:

    Treat VitePress as a public SDK surface.

    line 45

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Definition of Done

Use proportional evidence. The user's requested validation depth is authoritative.

Before handoff

  • Inspect git status --short; preserve unrelated changes.
  • Add focused behavioral tests at the owning boundary, and show a regression test failing for the defect before accepting it green. Read docs/guide/testing.md before changing tests.
  • Iterate with npm run test:ai -- <name-or-path>, or npm run test:ai for the whole unit suite, which includes the deterministic lab specs but not the sample specs. Never call vitest or npx vitest directly, and do not use npm test for agent runs.
  • Finish with npm run check. It owns the typechecks (source and tests), tests with the coverage gate, the build, the real npm tarball check (check:package), the VitePress build, the lab and sample builds, and the sample tests. For a narrow change, run the affected script first, but npm run check remains the handoff gate.
  • Do not lower the 85% statement coverage threshold.
  • Run git diff --check after the final edit.
  • Browser and Playwright suites (test:lab:browser, test:samples:browser), Electron smoke and native macOS tests (test:native:smoke), sample builds or launches, and publishing need an explicit task instruction. For selection, clipboard, layout, scrolling or focus behavior that jsdom cannot prove, say so and record the browser check as not run. Normal checks must not log in, run paid prompts, record microphones, or change the user's provider homes.
  • Never commit credentials, runtime homes, local conversations or .env files.

Scope

This package is reusable Vue conversation controls, renderer-safe host contracts, and optional Electron, browser and speech adapters. Provider execution belongs in multi-agent-sdk, raw Codex protocol in codex-sdk, and product navigation and persistence in applications. Keep behavior capability-driven, preserve the renderer/host boundary, and never expose provider handles, credentials or filesystem authority through renderer APIs.

VitePress gate

Treat VitePress as a public SDK surface. For every change, decide and report one:

  • Updated: an exported component, prop, event, slot, host contract, adapter or recommended workflow changed. Update docs/api/ for exact contracts, docs/guide/ for usage, INTEGRATION.md when host integration steps change, and the samples when they demonstrate the change. Add a user-visible entry under ## Unreleased in CHANGELOG.md. Update README.md only for discovery, update docs/.vitepress/config.mts when pages move or are added, then run npm run build:docs.
  • No impact: state why the change is internal.

A public contract change is incomplete until its documentation matches.

Report

Summarize the outcome and public API, checks actually run and not run (browser, native), VitePress impact, and remaining unrelated changes. Explain selected failures or warnings. Do not create branches, commit, push, bump versions, or publish without explicit authorization; each is a separate action. Release follows the cascade codex-sdk → multi-agent-sdk → agent-ui-sdk → Korus, and only after Nicolas confirms Korus runs with the SDK working trees in local-source mode (SDK_LOCAL_SOURCE=1); green CI alone is not enough.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.