Logo vun Prepare Acceptance

Prepare Acceptance

Organisatioun
Codagent-AI
prepare-acceptance

Explores an implemented change to find defects its green test suite missed, exercises every user-visible requirement the change adds or modifies at least once, sizes further exploration to what actually changed, reports findings without fixing them, waits for current-head CI, and prepares evidence for human review when preparing a change for acceptance, gathering review evidence, performing exploratory or human-style testing, or invoking codagent:prepare-acceptance.

Iwwersiicht

EditeurCodagent-AI
Repositoryagent-skills
Skill-Nummprepare-acceptance
Stären
31
Forks
1
Matgeliwwert Fichieren
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum Codagent-AI op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Prepare Acceptance an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Codagent-AI/agent-skills/tree/main/skills/prepare-acceptance
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Codagent-AI/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/prepare-acceptance .claude/skills/prepare-acceptance
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Prepare Acceptance an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Prepare Acceptance automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Prepare Acceptance net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Prepare Acceptance

Explore an implemented change for defects its green test suite missed. Produce concise evidence, the findings, and an honest list of what was not exercised, then hand all of it to a human acceptance session.

Target what is true of the running system but asserted nowhere. The suite already covers what someone thought to assert, so re-running its scenarios by hand proves nothing. The failure mode to avoid is not missing a bug; it is producing a long plan that re-walks the happy path and finds nothing, because thoroughness is the easy thing to simulate.

A first pass has two parts. The coverage floor makes sure every user-visible behavior the change promises was seen working in the running product at least once; it is the one place walking specified behavior is required, and it is kept brief. Exploration beyond the floor hunts for what nobody asserted, and most of this skill is about that part.

Targeting versus oracle

Read the implementation, the diff, and the tests to decide where to look. Never use them to decide what correct means. Code is self-consistent, so an oracle drawn from it declares every defect correct. Draw expected behavior from the approved artifacts and from what a user would reasonably expect.

Inputs

Resolve from the caller: approved artifacts, the testing envelope naming authorized effects, credentials, sandboxes, cost, cleanup, and any HT-* obligations reserved for humans; an implementation summary and any implementation session report; an evidence directory; and optional scratch_dir, the caller-provided scratch folder. If approved artifacts or the evidence directory are missing, report that and stop.

Carry HT-* obligations forward as human-review instructions. Never execute them or claim evidence for them.

Scratch space

Before creating files, check the evidence directory and any caller-provided scratch_dir. Resolve relative paths and symlinks for both locations and both comparison roots. Get the worktree root with git rev-parse --show-toplevel. Reject any candidate inside the git worktree or the system temp folder, including a path that resolves there through a symlink. If the evidence directory is rejected, report the unsafe input and stop without writing evidence or scratch files. If scratch_dir is rejected, use the allowed evidence directory as the scratch fallback.

When the caller provides an allowed scratch_dir, put every temporary file, clone, fixture project, seeded data, and server working folder inside it. Never use the system temp folder or a hard-coded temp path for these. Leave cleanup of a caller-provided scratch folder to the caller.

Otherwise, create a new, unique scratch subfolder under the allowed evidence directory for those disposable files and folders. Do not reuse an existing folder or create one under the system temp folder. Keep durable evidence separate from scratch space: exploration-log.md, acceptance-findings.md, screenshots, and acceptance-tested-revision.txt live under the evidence directory, outside the scratch subfolder. Copy any retained evidence out of scratch space, then remove only the folder this skill created before the skill ends on any path, including early stops for defects, revision misalignment, or pending CI. On successful passes, do this before writing the handoff.

Coverage floor

On the first acceptance pass for a change, exercise every user-visible requirement or scenario that the approved specs add or modify at least once, through the product as a user or client would reach it. Derive the floor from the approved specs when the pass starts; do not expect or accept a pre-written case list. The floor is not subject to the budget, the ceiling, or "What earns a run" below: exercise a floor item even when an automated test appears to own it, because the floor checks the running product against the spec, not the suite.

A scenario that describes a failure or error is a floor item too: trigger it, with an injected fault or a scratch fixture if needed, instead of leaving it to the suite.

Group floor items that one realistic journey exercises together, and keep each one brief: predict, act, record the observed values. Anything in the floor you could not exercise is a limitation; name it with its reason. If a floor run failed, back an external limitation reason with the failure evidence you read. If no run was permitted by the approved envelope, such as missing authorized credentials, name that constraint; there is no failure evidence to cite. "Out of budget" is not a reason.

Passes after a fix do not repeat the floor. They are sized from the diff; see "After a fix."

Size exploration beyond the floor

Size from seams moved, not lines changed. A change that only rearranges code inside one function rarely earns a hand-run. A change that moves a seam almost always does, because seams are where automated tests stop being able to see.

Kind of moveWhat it puts at risk
Process boundaryLoad paths, environment inheritance, working directory, how failures surface
Error surfaceWhich failures are now silent, and which rescue is too narrow
Control-flow sourceWhether the new source can express every state the old one could
Data sourceShapes the fixture never contained
Identity or ownershipTwo writers, or none

Budget roughly one exploration step per distinct seam, with a minimum of one and a maximum of eight. The budget covers exploration beyond the coverage floor, never the floor itself. Write the floor items and the exploration budget with its rationale to <evidence-directory>/exploration-plan.md before testing. Do not expand the budget silently later.

Step 0: establish what the suite already owns

Read the tests covering the changed surface, not the whole suite. Answer three questions:

  1. What does each assertion prove, as opposed to appear to prove? When one input feeds two outputs and the test asserts the cheap one, the expensive one is uncovered. Names, ids, counts, and "returned without raising" are the usual cheap ones.
  2. What is structurally unreachable under the fixture strategy? Look for a mismatch between what the code reads and what the fixture is. Code that reads from git needs fixtures that exist in git. Unreachable is fine; unreachable and undocumented means someone assumes it is covered.
  3. Which behavior is newest, and does anything cover it? A fix landing late in review is the likeliest thing in the change to have no test at all.

Where candidates come from

In rough yield order:

  • Seams the change moved, per the table above.
  • Accepted gaps and known limitations. Watching a specified-but-odd behavior actually happen is often the highest-value step in a pass, and it is where a limitation turns out worse than documented.
  • Interaction of two independently-correct changes. Ask which two accepted behaviors have never been exercised in the same run. Each was reviewed alone, so no test owns the pair.
  • Negative space. For each guard added, test the configuration where it cannot fire at all, not only the value it rejects.
  • Representation. Live systems echo data in shapes fixtures never contained: floats for integers, a bare value for a one-element collection, an explicit null for an omitted key.
  • The environment. Which secrets, refs, and versions actually exist where this runs, as opposed to which ones the config names. These findings need no test run at all.

What earns a run

Keep a candidate only if it clears all three:

  1. No automated test owns it, established in Step 0 rather than assumed.
  2. A mock could not settle it. If reading the code answers the question, read it and report a code-reading finding. That is cheaper and more certain than a run.
  3. Being wrong has a consequence someone would care about. "Writes to the wrong project" qualifies. "Logs an odd string" does not.

Drop everything else.

Run order

Order steps so each introduces exactly one new source of reality. When a step fails, the newest dependency is the suspect.

  1. Pure logic against saved fixtures, no network or credentials.
  2. The failure path, with the dependency deliberately absent.
  3. A real read against a sandbox.
  4. A real write against a sandbox.
  5. The same operation twice.
  6. The real runner or CI, which adds checkout, credentials, and environment.

Step 5 is disproportionately productive. A large share of real defects are second-run defects: duplicated records, moved timestamps, replaced identity.

Two habits that find things

Predict before running. Write the expected result first, in specifics: how many records, which values, what exit status. Predict from the approved behavior and from the mechanism separately. Where those two predictions differ, that difference is itself a candidate. A wrong prediction is the most valuable event in a pass, because the model and the system disagree and one of them is a defect.

Print values, not verdicts. Emit the actual identifiers, timestamps, and objects rather than pass or fail. A boolean can only answer the question already thought of. For a UI, read the API for exact values and look at the interface for the mental model; some views are the only proof that a run wrote nothing.

Before blaming the environment

When any run you make or observe during this pass fails, whether a coverage-floor item, an exploration step, or an acceptance case an older plan still lists, read that run's retained failure evidence before ruling it out of scope or recording a host, platform, engine, or external limitation or assumption. Limit this reading to the failed run's retained artifacts: the failing message or warning, its request, response, config, and provenance files, and its log. Check the run's output directory and the evidence directory before concluding that no artifacts were retained. Inspect which CLI, agent, credentials, or endpoint the run actually used. This reading does not count against the exploration budget. Do not debug engines or code outside the change, or re-run with a changed config outside the envelope, to prove a cause.

If the evidence points to anything the change owns, including its fixtures, smoke configs, pins, or defaults, record a defect in <evidence-directory>/acceptance-findings.md instead of a limitation or assumption. For every failed run ruled external, out of scope, pre-existing, or unconfirmed, record in exploration-log.md and any assumptions-ledger entry the evidence path, a short verbatim excerpt of the failing message or warning (with secrets redacted), and the provenance line supporting the attribution: the CLI, agent, credentials, or endpoint the run actually used. If reading the retained artifacts is inconclusive, or no evidence was retained, record the failure as an unresolved assumption with the excerpt (if any) and the available paths. State that the cause is unconfirmed; do not assert an external cause.

For example, a smoke run fails with Not logged in; the run's recorded request shows it used the real CLI rather than the fixture's stub, because the fixture never pinned the agent. That missing pin is a defect in the change.

When to stop

Do not stop until every floor item is exercised or named as a limitation with its reason. For a failed run ruled external, out of scope, or pre-existing, include the evidence path, a short verbatim excerpt of the failing message or warning, and the provenance line supporting that ruling. Beyond the floor, stop when the remaining untested paths are enumerable and named, not when they are empty. "Not exercised" paths deliberately not run have no failure evidence; name why they were excluded without assigning an external cause. End with a sentence like: "Not exercised: the conflict path against live data, and behavior above the deletion cap." That is a complete result. "Everything tested" is never true.

Signs the exploration beyond the floor has drifted into theatre: steps that re-walk floor journeys, re-running a journey the end-to-end suite already walks, hand-testing pure logic with no I/O, more than one step per seam, or a step with no recorded prediction.

If every step passed and nothing surprised, re-read Step 0; the pass probably covered ground the suite already owned. Never manufacture or escalate a finding to compensate. An honest empty pass is a better result than an inflated one.

Report

Record defects in <evidence-directory>/acceptance-findings.md with the tested SHA, affected behavior, expected versus observed, concise reproduction, and evidence paths. Do not fix them, and continue through the remaining independent steps after finding one. Stop early only when a defect makes the rest unreachable or untrustworthy.

Append product, scope, or design ambiguity to the assumptions ledger, defaulting to <evidence-directory>/acceptance-assumptions.md. Never report ambiguity as a defect or silently choose an interpretation. Name the evidence file for each reproduction an entry reports. Keep this pass autonomous and leave those decisions to the human acceptance session.

Write <evidence-directory>/exploration-log.md: each floor item with where it was exercised or why it was not, the exploration budget and rationale, each step with its prediction, its observation, and the resulting finding or nothing, plus the named list of what was deliberately not exercised and why. For failed-run rulings, include the evidence path, short verbatim excerpt, and provenance line as described in "Before blaming the environment."

After every pass, overwrite <evidence-directory>/acceptance-tested-revision.txt with the exact SHA just tested. That file is the diff base for the next pass.

For any UI, store screenshots under <evidence-directory>/acceptance-screenshots/ with the behavior demonstrated, what the reviewer should notice, the tested SHA, and a concise text equivalent. Screenshots support an observation; they are not proof on their own.

After a fix

A fix is a change. Apply this same method to it: read <evidence-directory>/acceptance-tested-revision.txt, diff the current worktree against that SHA, size the result by seams moved, and explore that. The coverage floor does not apply again. Do not re-run the previous pass, and do not derive the new scope from what was tested before.

If that file is missing, or names a SHA that does not resolve in this repository, report it as an impediment and explore the change as a whole rather than guessing a base.

Read the prior exploration log as history, meaning "this area already behaves this way," never as coverage, meaning "this area is signed off." An empty diff sizes to zero steps.

Wait for CI and hand off

Once no finding remains, require a clean tracked worktree, a pushed local HEAD, and a matching PR head before invoking codagent:wait-ci. If any of those is missing, tell the caller to commit, push, or align the PR; do not do it here. After CI returns, re-read local HEAD and the PR head and require both to match the returned SHA.

On failed, read the failing check's logs; on comments, read the comments. Then apply "Before blaming the environment" before reporting either as external. Add anything attributable to the implementation to the findings file and report it; report a confirmed external failure as a blocker with its log path and a short verbatim excerpt rather than a defect. On pending, report and stop. With no configured checks, continue after recording that CI coverage is absent. Treat skipped, neutral, cancelled, and timed-out checks as evidence states, never as passes.

Then write <evidence-directory>/acceptance-handoff.md:

  1. Decision brief: delivered behavior, unresolved decisions (read the ledger again now; never say none are pending without it showing none), overall status, suggested review path.
  2. Revision identity: repository, PR URL, current head SHA, tracked worktree status.
  3. Exploration: coverage-floor results, the budget and rationale, what was exercised, what was found, and the named list of what was not exercised. For each limitation attributed to a failed run, include the evidence path, a short verbatim excerpt of the failing message or warning, and the provenance line; give the reason for each item that could not be run.
  4. CI: status and durable links. Say plainly when no automated-validation evidence was supplied.
  5. Visual and client evidence: screenshot metadata, text equivalents, and practical review steps.
  6. Human-only obligations: applicable HT-* items as instructions, with no execution outcome.
  7. Assumptions: the ledger path, then each unresolved decision named by its ledger heading with its options and consequence, each material limitation the ledger, findings, or log record, and each risky or notable assumption in the implementation session report, if one was supplied. A count or a pointer alone does not carry a decision.

Before reporting ready, confirm every referenced path exists, that any scratch folder created by this skill was removed, and that no persisted evidence exposes secrets, credentials, or private data. Report the ready SHA, PR URL, handoff path, unresolved-decision count, CI status, and known limitations.

Out of scope

  • Do not fix defects, modify tracked source or approved artifacts, commit, push, or alter PR metadata. Disposable setup and build outputs are fine; outside the worktree, put them under the scratch folder.
  • Do not run automated suites, linters, or the Validator. Setup and builds needed to use the product are fine.
  • Do not change approved requirements, scope, or design to make something pass.
  • Do not obtain human acceptance, mark the PR ready, merge, archive, or release.
  • Do not fuzz or build an exhaustive edge-case matrix. Exploration is targeted by risk, not by volume.
  • Do not treat a successful command exit, an agent summary, or a screenshot alone as proof of behavior.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Prepare Acceptance?

Explores an implemented change to find defects its green test suite missed, exercises every user-visible requirement the change adds or modifies at least once, sizes further exploration to what actually changed, reports findings without fixing them, waits for current-head CI, and prepares evidence for human review when preparing a change for acceptance, gathering review evidence, performing exploratory or human-style testing, or invoking codagent:prepare-acceptance.

Firwat Prepare Acceptance op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Prepare Acceptance besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Prepare Acceptance an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Codagent-AI/agent-skills/tree/main/skills/prepare-acceptance an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Prepare Acceptance benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Prepare Acceptance benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Prepare Acceptance domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Prepare Acceptance gratis?

Jo. De Skill gëtt vum Codagent-AI ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇