Logo von Automation Scoping

Automation Scoping

Community
arozumenko
automation-scoping

Use when a scope of test cases (or a described backlog, before any cases even exist as files) needs sizing or a cost/time estimate BEFORE automation work starts — presales scoping, a proposal, "how long/much to automate these N cases", "size these cases S/M/L/XL", estimating the framework/CI/foundation work an engagement needs on top of its cases, sizing a new engagement, or recalibrating an estimate against a project's own delivery history. Produces a scoping report with a range and a stated confidence level, never a bare point number.

Übersicht

Herausgeberarozumenko
Repositorysdlc-skills
Skill-Nameautomation-scoping
Sterne
26
Forks
10
Mitgelieferte Dateien
16
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 16

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von arozumenko auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Automation Scoping in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/arozumenko/sdlc-skills/tree/main/bundles/test-automation/skills/automation-scoping
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/arozumenko/sdlc-skills.git /tmp/sdlc-skills
mkdir -p .claude/skills
cp -r /tmp/sdlc-skills/bundles/test-automation/skills/automation-scoping .claude/skills/automation-scoping
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Automation Scoping in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Automation Scoping automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Automation Scoping nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Automation Scoping

Estimate how much active-agent time (and, derived from that, how much money) it will cost to automate a scope of test cases — before the batch pipeline runs, sometimes before the target app is even reachable. This is the tool that turns "we think this will take a while" into a number with a stated confidence level, defensible enough to put in a proposal.

Core philosophy — a cone of uncertainty, not a fortune-telling machine. Confidence narrows as more is known, and every mode below states honestly where it sits on that cone:

Mode 1 (blind, case text only)  →  Mode 2 (scored sample, extrapolated)  →  Mode 3 (app-informed)  →  delivery  →  Mode 4 (calibrate against what actually happened)
   widest band                                                                    narrower band                        the model gets sharper for next time

The one number this skill will never produce is a bare point estimate. Every output is a range with a named confidence tier (references/scoping-report-format.md § Confidence statement). A presales number without its band is the anti-pattern this whole skill exists to replace.

Two currencies, reported side by side, never reconciled into one. Agent cost (active-minutes → $, the base × tier × novelty model) answers what will this burn. Work size (XS/S/M/L/XL → Service Points, 1 SP = 1 hour of conventional engineer effort) answers how big is this and what would it cost the old way. They diverge on purpose, and the gap is the engagement's value story. The sharp edge is foundation work — framework, CI, abstraction layer, data layer — which on the source engagement was 25.8% of delivered SP but only 5.9% of token cost: price it in agent-dollars and a quarter of the engagement vanishes into rounding. Full reasoning and the measured numbers: references/sizing-rubric.md.

What this is built on, so it isn't guessed from scratch

What this factory/family already does, stitched together rather than reinvented:

  • test-sizer (manual-qa factory) already sizes cases from step count + complexity modifiers into S/M/L — its step-count table is this skill's base_minutes floor, and four of its six modifiers are this skill's modifier vocabulary (the setup/data/teardown/assertion axis the interaction tier doesn't see — references/complexity-taxonomy.md § Modifiers). Where a project ran test-sizer, its size: frontmatter is an input, not just a cross-check: the scorer prices it directly unless a reader's verdict overrides it — never re-derive what's already rated (§ The verdict pass).
  • app-profiler (manual-qa factory) already does interview-then-explore against a live app — when the project runs the manual-qa factory, Mode 3 reads its output (.agents/manual-qa/app_profile.md) first and dispatches app-profiler for surfaces it hasn't covered. This skill's own live probing is the standalone fallback, not the default.
  • efficiency-audit (this factory) already produces the historical ground truth (.agents/efficiency/*) that Mode 4 calibrates against — this skill doesn't compute a single dollar itself; it reads what that skill already metered.
  • The batch pipeline's own artifacts — on a project that has started automating, the surface cache (.agents/automation/surface/<feature>.md: observed handles, real interaction patterns, accreted from live probing), .agents/automation/*/report.json (which cases landed and what blocked), and the merged tests themselves are the strongest complexity/novelty evidence there is, and Mode 3 reads them before probing anything itself. For a high-stakes estimate, Mode 3's live spot-check is dispatched — to the engineer standalone, or to manual-qa's roles when that factory is present — never improvised in your own context.

Detecting the mode

Input you were givenMode
Case descriptions / TMS case files / a requirements doc, no live app access, scope count = what's providedMode 1 — Blind
A sample of cases explicitly representative of a larger stated scopeMode 2 — Sample-extrapolation
Live app URL/credentials available alongside the casesMode 3 — App-informed (run in addition to Mode 1/2, refines it)
A request to recalibrate / "how are our estimates doing" / a project with .agents/efficiency/ history and a completed batchMode 4 — Calibration

Modes aren't mutually exclusive — the common presales sequence is 1 or 2, then 3 if access exists, and 4 runs later, after delivery, on the same project, to sharpen the next estimate.

Step 0 — fix the sizing model for THIS project, before scoring anything

Two checks, both cheap, both recorded in the report's methodology paragraph:

  1. Which taxonomy applies? A project-local .agents/estimation/complexity-taxonomy.json (a prior Mode 4 calibration) wins over the bundled default — the scripts already resolve that precedence; your job is to say which one applied.
  2. Do the tiers even fit this project? The bundled tiers are a UI-web starting point. For an API / mobile / perf scope, adapt the tier set FIRST in a project-local copy per complexity-taxonomy.md § Extending — an API project's expensive tier is more likely "multi-service orchestration / async callback" than "canvas/drag-drop". Scoring an API backlog against UI keywords produces confident-looking nonsense. The verdict pass below is what makes adaptation practical: readers judge against tier definitions, so a renamed or added tier works before anyone invents keyword lists for it.

The verdict pass — agents read the cases; the script does the arithmetic

score-cases.mjs can classify from raw text (keyword match). That is the fallback, fine for a two-minute triage — not the method. Keywords can't judge complexity of functionality, and they can't see what a case fails to say — the exact "edit the report" ambiguity § Mode 3 describes, and part of why two same-step-count cases differ 2×+ in cost (step count measured at r≈0.37–0.41). The method is a verdict pass: sub-agents actually read every case and return a structured verdict; the script only prices what they judged.

Fan out the reading; never absorb it. Case bodies are payload — the same context-frugality rule the lead's playbook measures at ~10K tokens per 14 cases read in-context. Dispatch readers over the case files in chunks of ~10–20 cases each. Reading writes nothing, so this is the sanctioned read-only fan-out. On Claude Code the shipped mini-workflow IS this pass — enumerate the case files (one ls/glob) and invoke:

Workflow({ scriptPath: '<this skill>/scripts/sizing.workflow.mjs',
           args: { scope: '<scope-slug>', files: ['<case>.md', …] } })

It fans the chunks out in parallel (schema-forced verdicts, project taxonomy preferred over the bundled one), lands .agents/estimation/<scope-slug>-verdicts.json, runs score-cases.mjs --verdicts itself, and returns only the rollup — the scored file it leaves behind is exactly what the tokenomics sizing join and the dataset export read. On other hosts, sequential sub-agent dispatches with the same verdict contract; verdicts land in the same file and you run the scorer yourself.

The verdict, per case:

json
{ "id": "CASE-1042",
  "tier": "rich-widget",
  "tier_rationale": "the 'report' being edited is a drag-drop builder (step 4)",
  "steps": 9,
  "surfaces": 3,
  "new_abstractions": 2,
  "size": "L",
  "size_rationale": "3 screens + 2 page objects that don't exist + drag-drop",
  "modifiers": ["rich-test-data", "heavy-teardown"],
  "quality_flags": ["vague-steps", "missing-expected"],
  "risk_flags": ["nondeterministic-oracle"],
  "signals": ["needs seeded multi-user test data"],
  "split_recommended": false,
  "confidence": "high" }

Verdict rules: tier is judged against the tier labels/definitions — what interaction the case actually exercises — never by scanning for the keyword lists (those exist for the script's fallback). steps is the count of real actions: split compound rows, drop narration — not the raw table-row count. modifiers is the second complexity axis (adapted from manual-qa's test-sizer rubric): complex-preconditions (specific role AND seeded data AND a reached app state), rich-test-data (5+ distinct fields, file upload, or dynamically generated unique values), heavy-teardown (3+ cleanup steps, persistent-data deletion, config reset), high-assertion-density (6+ distinct checkpoints). Interaction-shaped modifiers (multi-page flows, drag-drop/editors) are deliberately NOT in this list — the tier axis already prices them, and double-counting is worse than missing. quality_flags vocabulary: vague-steps ("verify it works"), missing-expected (no expected results), missing-data (test data unstated and not derivable from the text), likely-drift (references screens/fields that contradict each other or look stale against the described product). signals is free-form — observed cost drivers neither axis names yet; they feed the report's risks section and future calibration hypotheses instead of being lost. split_recommended: true — with the reason in signals — flags a case so large or multi-flow that its estimate is unreliable and the honest presales line is "split before automating" (test-sizer's L-split advice, carried over); it forces the case to XL and marks the row. Two cross-checks while reading: a frontmatter size: (manual-qa's test-sizer ran here) is a rating to adopt, not re-derive — the scorer prices it directly when your verdict doesn't override it; set size yourself only when the case reads otherwise (an L landing in a cheap tier with no modifiers deserves a second look, a signals note, and the why in size_rationale). And modifiers don't change the price (see below), so record them even when they feel minor.

The three sizing fields. surfaces (distinct screens/endpoints/views the case touches) is the most important field in the whole verdict — measured against real per-case cost it is the strongest estimate-time predictor in the model (r=+0.522, beating the composite estimate itself). Count it carefully. new_abstractions (page objects / service clients / screen objects the case needs that do not yet exist) is a secondary refinement — it correlates only weakly with cost (r=+0.169) and was over-weighted before v0.6.0. Both are technically optional; omitting them scores them 0, which systematically under-sizes and marks the row derived-partial.

risk_flags — the field most likely to save a bad quote. Two values, both judged from the case text: nondeterministic-oracle (the central assertion isn't deterministically checkable as written — it depends on a model choosing to do something, or names no concrete string/field/schema) and external-dependency (needs a system outside the app under test that the case assumes into existence — a credentialed third-party service, a tool server, a real API token, a second tenant/user session). On two independent holdout batches the single most expensive case in each carried both, was correctly spotted by the reader, and was then priced below baseline by the formula. Flag them. They don't move the number — they force the widest band and put the case in the report's risks section, where a reader can see that this line isn't safely quotable.

Your confidence and split_recommended now also carry weight: a low confidence or a split recommendation is promoted to a risk flag automatically. Rate confidence honestly rather than defaulting to medium.

Use a shared abstraction vocabulary when readers are fanned out. Give every reader the same naming convention up front — <Screen>Page, <Thing>Dialog / <Thing>Menu / <Thing>Panel, <Concern>Helper — and seed it from the scope's own route/endpoint inventory where you have one. Without this, parallel readers reliably invent three names for the same helper and cross-chunk dedup becomes hand work; it happened on a 6-reader run and had to be reconciled manually. Answer new_abstractions honestly cold too: in Mode 1/2 you're estimating how many abstractions the case would need, not counting what a repo scan found — say signals: ["abstraction count is a cold guess"] when that's what it is. size itself is optional and overrides the derived size entirely — set it when you've read the case and the rubric's answer is wrong, and put why in size_rationale. The rubric is a defensible default a reader overrides, not a measurement (sizing-rubric.md § How well it fits).

Then price it: score-cases.mjs <cases> --verdicts <verdicts.json>. Judged tier/steps override the keyword guess (each row's provenance is marked), and a quality-flagged case keeps its point estimate but is priced with the widest band regardless of calibration — a flag is measured uncertainty about the case itself, and no cost premium for it has earned its way into the model yet (complexity-taxonomy.md § Case quality). modifiers and split_recommended likewise never move the number: they ride the output rows and the report's risks section as named, comparable observations (complexity-taxonomy.md § Modifiers) — candidate factors a future calibration can price, not arithmetic today.

The verdicts file outlives the estimate — it is the delivery pipeline's exclusion budget. When the batch pipeline later automates these cases, an engineer excluding a step or case as un-automatable must name a category from this skill's complexity taxonomy, and the reviewer cross-checks the exclusion against <scope>-verdicts.json: the grounds have to be visible here — a risk_flags entry (nondeterministic-oracle, external-dependency), a tier judgement, a signals note. Un-automatability the screening didn't record isn't the engineer's to mint at build time; it goes to the lead as an escalation. So when a case smells un-automatable at reading time, say so in taxonomy terms a reviewer can point at — not in your head, not in free text.

Foundation — the work that isn't attached to any case

Cases are not the whole engagement. Framework scaffolding, CI, the abstraction layer, the test-data layer, reporting, handover — one-time work that no per-case model prices, and on the source engagement a quarter of everything delivered. Every mode runs this step; what changes by mode is how much of it is measured versus assumed.

Each item in references/foundation-catalog.json carries a default_size, an applies_when and a skip_when. Your job is the gate — does this project already have it? — which is a question Mode 3 answers directly (the repo-grep reuse check and live spot-check establish what exists) and Mode 1/2 can only assume.

Write a selection file, then pass it:

json
{ "blended_rate_usd_per_hour": 45,
  "items": [
    { "id": "framework-core", "reason": "empty repo, no runner config (checked)", "confidence": "measured" },
    { "id": "ci-pipeline", "size": "XL", "reason": "GitLab + parallel shards", "confidence": "estimated" },
    { "id": "ci-advanced", "include": false, "reason": "single browser, no device farm in scope" } ] }
node {skill}/scripts/score-cases.mjs <cases> --verdicts <verdicts.json> \
  --foundation <foundation.json>

Four rules that make the output honest rather than merely large:

  1. Gate every item; never include the whole catalog. An engagement adding cases to a mature suite may legitimately select nothing. Including items "to be safe" is padding wearing a checklist's clothes.
  2. Record what you excluded, with the reason ("include": false). The excluded list shows what was checked, and it is the difference between a scoped estimate and an optimistic one. The script prints it.
  3. Mark per-item confidence — measured (you looked at the repo/app) / estimated / assumption, the same H/M/L discipline the source trackers' baseline sheets use. In Mode 1/2 most items are honestly assumption; say so rather than dressing a guess as a finding.
  4. A blended rate is never defaulted. SP → money needs the engagement's own $/hr; without it the report quotes SP only, which is the correct behaviour, not a degraded one. Ask for the rate or leave it out.

The script drops superseded items (selecting framework-full-greenfield absorbs framework-core + base-abstractions + ci-pipeline) and checks the foundation share against the 20–26% band measured on two comparable engagements. The band is a prompt, not a rule — a small scope legitimately lands above it, and that ratio is itself the finding worth reporting (it is the argument for widening scope or reusing a framework). Never edit a selection just to land inside the band.

Sizing without costing

"Size these cases S/M/L/XL" is a smaller ask than a scoping report and deserves a smaller answer. Run the verdict pass (readers still read the cases — the drivers surfaces and new_abstractions are judgements, not greppable facts), then:

node {skill}/scripts/score-cases.mjs <cases> --verdicts <verdicts.json> --sizes-only

That emits the per-case size, SP, and the driver breakdown that produced it — the "with some explanation" part, so a reader can disagree with a specific driver rather than with a letter. No cost model, no report, no rate needed. Escalate to a full report when the question turns into "and what will it cost".

Mode 1 — Blind (no app access, no project history)

  1. Gather the case inputs: TMS case files, a requirements doc, or plain prose descriptions of what needs automating.
  2. Run the verdict pass (§ above) over the case files — skippable only for a scope small enough that you read every case yourself anyway (≲10 cases; reading them is still mandatory, only the fan-out is not).
  3. Price it:
    node {skill}/scripts/score-cases.mjs <cases> --verdicts <verdicts.json> \
      --match '^(TC|ELITEA|CASE)-'
    Always pass --match when the input is a directory. A bare scan takes every .md it finds — on a real run it silently scored README.md and a test-data status doc as cases, inflating the scope by 4. The script reports what it filtered out. It reads .agents/estimation/complexity-taxonomy.json if the target project already has one (a prior Mode 4 calibration), else falls back to the bundled references/complexity-taxonomy.json default — always the right precedence, never ask.
  4. Every case gets novelty = unknown (1.0) — don't guess reuse blind (see references/complexity-taxonomy.md § novelty_multiplier). This is why Mode 1 alone always reports the cold_no_history confidence band.
  5. Select foundation items (§ Foundation above) — blind, so nearly every item is confidence: "assumption". Say that plainly; a foundation set nobody could verify is the widest part of a Mode 1 estimate, not a detail.
  6. Write the scoping report (references/scoping-report-format.md).

Cases don't need to exist as files yet. If the user describes scope in prose ("about 40 requirements across checkout, account settings, and a drag-and-drop dashboard builder"), score-cases.mjs accepts a JSON array of {id, text} descriptions the same way test-sizer's Mode B accepts rough descriptions — decompose the prose into distinct implied cases yourself first, the same judgment call test-sizer makes.

Mode 2 — Sample-extrapolation

Same as Mode 1, plus:

  1. Confirm with whoever supplied the sample: how was it chosen, and what's the real total scope count? Don't assume "representative" — ask.
  2. score-cases.mjs --sample-of <total_scope_count> — this widens the confidence band per references/sampling-methodology.md and adds the extrapolation block to the report.
  3. Sanity-check the sample's tier distribution against what you know about the described scope (same reference, § "does the tier distribution look plausible"). Flag any mismatch in the report's risks section — don't silently trust an unrepresentative sample.

Full mechanics, including the "never extrapolate past 10x without flagging it" rule: references/sampling-methodology.md.

Mode 3 — App-informed (refines Mode 1 or 2)

Run this whenever a live app is reachable — it resolves the single factor Mode 1/2 can't (novelty), which was the largest single cost driver found on the seed project outside interaction tier itself. Gate on availability, not perfection: needs a base URL and some way in (credentials, or auth_state/a dev-token bypass) — a scope with no app access at all just stays at Mode 1/2, cold. Missing test data for one flow doesn't block exploring the others.

  1. Read what's already known — don't re-derive a sibling's work. In order of evidence strength: the pipeline's own artifacts, on a project that has started automating — the surface cache (.agents/automation/surface/<feature>.md: observed handles, real interaction patterns, waits/quirks, accreted from live probing), .agents/automation/*/report.json (which cases landed and what blocked), and the merged tests themselves — a delivered test on the same surface answers tier, novelty, and data needs with ground truth, no probing needed; then a prior .agents/estimation/surface_recon.md (this skill's own log — step 6 below); then the manual-qa factory's artifacts if the project runs it — .agents/manual-qa/app_profile.md (app-profiler's interview-then-explore output: base URL, auth, key pages, reliable selectors, fragile areas) and .agents/manual-qa/knowledge/ (read-only); then scout's seed (.agents/testing.md, architecture.md, profile.md). Anything answered there is answered — the steps below fill gaps, not repeat questions.

  2. Interview, briefly — base URL, auth, and which of the scope's features already have some automation (ask; don't assume none does) — only for what step 1 left open.

  3. Repo-grep reuse check — cheap, but a first pass, not the answer. For each distinct surface/feature the case scope touches: check whether the project's existing test suite / page objects / API clients already cover it — grep -ril "<feature keyword>" pages/ tests/ (plus wherever .agents/testing.md says the suite lives). Covered → tentatively established_surface. Nothing found → tentatively novel_surface_no_existing_coverage. Tentative is the operative word: a grep hit can be a false positive (a page object for a similar-sounding but different feature), and "nothing found" doesn't distinguish a genuinely novel surface from a suite this scan just didn't search correctly — treat both readings as needing the next step, not as settled.

  4. Live spot-check — a couple of representative areas, not a full app-profiler sweep. app-profiler (manual-qa factory) profiles an entire app for manual-QA authoring; this is narrower on purpose — pick 2–3 surfaces, not every one the scope touches, prioritized by:

    • Surfaces step 3 flagged ambiguous (grep hit looks like it might be a false positive, or the surface has zero suite footprint at all).
    • Surfaces carrying the most cases (biggest leverage on the total estimate — confirming or correcting one assumption here moves the whole scope's number, not just one case's).
    • Surfaces whose case text sounds underspecified about how the interaction actually works (a case that says "edit the report" without saying whether that's a form or a drag-drop builder — the exact ambiguity that changes which interaction_tier applies).

    Probe with whatever tool fits the surface under test — same universality as the rest of this factory (the surface cache's handle vocabulary: selectors for UI, endpoints + named response fields for API, accessibility-ids / ids for mobile, metric queries + thresholds for perf). A browser session (browser-verify, snapshot-before-act, screenshot evidence to disk) is the UI case, not the general case:

    SurfaceToolWhat "already covered" looks like
    UIbrowser (MCP or CLI)the interaction matches the case text's implied pattern; the elements the case needs already carry this project's own stable-handle convention — read it from THIS project's .agents/testing.md / role-overrides.md, don't assume; one project's team may rule testid-only, another may key on aria-label, id, or something else entirely, and that ruling is never this skill's to impose
    APIHTTP client, or read the OpenAPI/Swagger spec if the project exposes onethe endpoint/schema already exists and is exercised by an existing client/service object, not just "a similar-sounding endpoint exists"
    Mobiledevice/emulator sessionthe screen/flow exists and the elements carry stable accessibility-ids, not just that a screen with a similar name exists
    Perfthe project's load-test tool/configa script + threshold already targets this specific endpoint/flow, not just that the tool is set up at all

    Who runs it: dispatched, never improvised in your own context. When the manual-qa factory is present, this is their ground — dispatch app-profiler to profile a surface app_profile.md doesn't cover, or, for the most load-bearing cluster of a high-stakes estimate, their test-runner to execute one representative case end-to-end (real execution evidence grounds tier, novelty, data needs, and case quality for the whole cluster in observation). Standalone, dispatch the engineer (test-automation-engineer): targeted live probing is exactly their investigation mode, and what they learn goes into the surface cache (.agents/automation/surface/), where the delivery pipeline reuses it — presales probing is not throwaway. Either way you keep the verdict, the dispatched agent keeps the payload, and scoping-grade exploration stays read-only against the live app.

    Whichever form it takes, two things every spot-check answers:

    1. Does the live interaction match what the case text implies, or does it undersell/oversell it? (tier-correction candidate — the same "edit the report" example above.)
    2. Does the surface already carry this project's own ground-truth reuse signal (whatever .agents/testing.md documents as the stable handle/coverage convention) on the specific elements/endpoints/ screens/flows this case needs — not just "does something adjacent exist." A page object / service object / screen object existing is necessary but not sufficient; the specific handle the case needs is the real signal, because that's the actual cost driver (new handle work), not file existence. Save evidence to disk (screenshot / response capture / whatever the surface produces), cite the path, don't inline it into context.
    A live finding **overrides** step 3's grep-based guess for that surface
    — a false-positive grep hit corrected live is exactly the kind of thing
    this step exists to catch (this factory's own audit trail has repeated
    examples of grep/snapshot claims turning out wrong on inspection; don't
    repeat that pattern here by trusting the cheap pass alone when a live
    check is available).
  5. Fold findings back: update the affected cases' rows in the verdicts file — a live-corrected tier goes in as tier + tier_rationale, a resolved surface as novelty: established_surface / novel_surface_no_existing_coverage — and re-run score-cases.mjs --verdicts (a per-case verdict novelty overrides the blunter --known-surfaces keyword list, which remains the quick path when no verdicts file exists). This is how a live correction actually reaches the number.

    Two things Mode 3 resolves that Mode 1/2 can only assume, and both move the total more than a tier correction does. First, new_abstractions stops being a guess: you can now count which page objects / service clients / screen objects the case actually needs and which already exist, which is the dominant size driver. Second, the foundation gate — this is the mode that turns foundation items from assumption into measured. Walk the catalog's applies_when list against the repo and the live app, then rewrite the selection's confidence fields to match what you actually checked. A foundation set that stays all-assumption after a Mode 3 pass means the pass didn't finish.

  6. Write (or refresh) .agents/estimation/surface_recon.md — one entry per surface checked, whichever step resolved it (grep-only, or grep + live-corrected), including stable-handle-presence notes from step 4. This is what makes the NEXT Mode 3 pass on the same project cheaper — step 1 reads it before re-deriving a surface that's already logged.

Mode 4 — Calibration (after delivery, owned by scout's Phase-3 reinforcement)

Run this after a project has delivered at least a handful of cases through the batch pipeline and has .agents/efficiency/ history. Full mechanics: references/calibration-methodology.md.

node {skill}/scripts/build-training-set.mjs --automation-dir .agents/automation \
  --ledger <rollup.json from efficiency-audit --json> --out training-set.json
node {skill}/scripts/calibrate.mjs --training-set training-set.json      # dry-run: writes a proposal, changes nothing
node {skill}/scripts/calibrate.mjs --training-set training-set.json --apply  # writes .agents/estimation/*, appends the log

Never runs silently as a side effect of something else. This is a deliberate scout action (session-retrospective's sibling — mining what already happened, proposing a delta, waiting for it to be looked at), not something a batch triggers automatically on its own completion.

Output

Every mode writes .agents/estimation/<scope-slug>-scoping-report.md per references/scoping-report-format.md — range + confidence tier + methodology paragraph + risks, always, in both currencies (agent cost and SP, with the conventional-cost column whenever a blended rate was supplied). Three scope-level assumptions are part of every report because they move the total more than any per-case factor: the operating shape (batch size and dispatch mechanism — single-case runs measured $19–$22/delivered vs $7–$11 batched, but bigger batches are not cheaper: a 13-case sequential batch beat both a 39-case batch and a 55-case Workflow campaign), the delivery rate (blocked cases cost ~1.85× a delivered one), and the clustering shape (clustered cases came in ~2.2× cheaper relative to estimate than solo ones) — complexity-taxonomy.md § Batch shape & delivery rate, § Repetition/clustering. Tell the user the path and read the headline back to them; don't just leave it on disk.

Quote the batch total, not per-case dollars — and say which cost layer. Validated against 89 blind-read cases on a project with metered actuals: per-case dollar figures had ~zero rank correlation with what cases actually cost (Spearman 0.015), while batch totals landed within 0.89–1.83×. The per-case table is for sizing and sequencing; the money is only meaningful in aggregate, and a reader must not be able to lift one row. Separately, always name the layer: base × tier × novelty prices per-case build, and fully-loaded pipeline cost is ~1.79× that (batch trunk + orchestrator share — complexity-taxonomy.json § fully_loaded_multiplier).

Quote all-in $/case with its scope count attached. Foundation is paid once and amortizes, so per-case economics are a function of how many cases there are — the manual-baseline engagement ran 11.1 h/TC for case work but 21.1 h/TC all-in across a 10-case scope. A pilot's all-in per-case figure compared against a programme's is a comparison of two different questions, and the report should make that hard to do by accident (sizing-rubric.md § Amortization).

Anti-patterns

  • A bare dollar figure with no range. Every output has a confidence band and a stated tier — see § Core philosophy.
  • Keyword-classifying at scale when readers are available. The keyword scan is a triage fallback; a proposal-grade estimate reads every case via the verdict pass. Same-step-count cases differ 2×+ in cost precisely on what a substring match can't see — what the interaction actually is, and what the case fails to say.
  • Absorbing case bodies into your own context. Scoping a backlog by cat-ing the cases is the measured ~10K-tokens-per-14-cases mistake the lead's playbook already names — dispatch readers in chunks, keep only the verdicts and the rollup.
  • Guessing novelty cold. Mode 1/2 without app access leaves novelty unknown (1.0) and says so; it does not assume "probably established" or "probably novel" — either guess is worse than an honest wide band.
  • Trusting an unrepresentative sample silently. Mode 2 asks how the sample was chosen and flags a mismatched tier distribution — see sampling-methodology.md.
  • Silently auto-applying a recalibration. calibrate.mjs defaults to a dry-run proposal; --apply is an explicit, logged choice — see calibration-methodology.md § Why the dry-run gate.
  • Trusting report.json's outcome field as terminal without checking. It can lag a real merge (confirmed twice on the seed project — a mid-loop snapshot never regenerated after a manual or batch-stabilize recovery closed the case out clean). build-training-set.mjs cross-checks against the base branch's merge history and flags rows it couldn't verify.
  • Assuming a clustering/"known surface" discount applies uniformly, or assuming it doesn't exist at all. A real, moderate, tier-and-step- controlled correlation between clustering and lower per-case cost has been found (corr ≈ -0.4) — but a selection-effect confound (clustered cases may just be the ones already chosen because they look cheap/similar) isn't resolved, so it's not in the formula yet. Don't silently discount a scope's clusterable-looking cases, and don't assume clustering can't help either — see references/complexity-taxonomy.md § Repetition/clustering discount for the current state of the evidence.
  • Reusing another project's calibrated taxonomy wholesale. A project-local .agents/estimation/complexity-taxonomy.json is that project's posterior; a different stack/pipeline starts from the bundled prior, not another project's calibration.
  • Quoting a scope with no foundation line at all. Unless you checked and the project genuinely has everything, an estimate of cases-only is an estimate of ~74% of the engagement (measured share, § Foundation). Say "foundation: none required, verified" — or price it.
  • Pricing foundation in agent-dollars. It ran ~4.8× cheaper per SP than case work on the source engagement (5.9% of token cost for 25.8% of SP). The agent-cost model is a per-case model; pointing it at framework work produces a number that is wrong in the direction that loses money.
  • Treating a derived size as a measurement. The rubric reproduces the source tracker's hand sizes on most rows and misses on some — and those hand sizes were themselves revised between tracker versions. A derived size is a prompt to agree or disagree; record the disagreement in verdict.size rather than shipping a letter nobody read the case for.
  • Quoting a derived-partial size without saying so. Omitted surfaces / new_abstractions score zero, which under-sizes in one direction only. The script marks those rows; the report must keep the mark.
  • Reconciling the two currencies. SP is not agent-minutes converted, and the agent estimate is not SP priced differently. Size predicts agent cost only coarsely (S and M were indistinguishable in the source data; L/XL ran ~2.5–3×). Report both columns and let them disagree.
  • Forcing the foundation share into the 20–26% band. The band is a prompt to re-check a selection, not a target. On a small scope a high share is the honest finding and belongs in the report.
  • Handing over a per-case dollar figure as if it were reliable. Measured Spearman 0.015 against real per-case cost. Quote batch totals; use per-case output for size and sequencing (§ Output).
  • Quoting a number without naming its cost layer. Build-only and fully-loaded differ by ~1.79×. This was the largest single error in v0.5.0.
  • Pricing a case whose oracle is unspecified. A nondeterministic-oracle / external-dependency case was the most expensive in each of two holdout batches, and even the widest band missed the worst of them. Report it as unquotable until specified — don't dress a guess in a band.
  • Letting a scope's clustering shape go unstated. Clustered cases came in ~2.2× cheaper relative to estimate than solo ones. The report must say which shape it assumes.
  • Scanning a directory without --match. A bare .md sweep scores READMEs and status docs as cases.
  • Raising novelty_multiplier toward the 2× the wave-01 data seems to imply. Tested on 89 cases; it made every batch worse. The 2× is per-surface-per-wave, not per-case (complexity-taxonomy.md § Novelty is per-SURFACE-per-WAVE).

References

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Automation Scoping?

Use when a scope of test cases (or a described backlog, before any cases even exist as files) needs sizing or a cost/time estimate BEFORE automation work starts — presales scoping, a proposal, "how long/much to automate these N cases", "size these cases S/M/L/XL", estimating the framework/CI/foundation work an engagement needs on top of its cases, sizing a new engagement, or recalibrating an estimate against a project's own delivery history. Produces a scoping report with a range and a stated confidence level, never a bare point number.

Warum Automation Scoping in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Automation Scoping besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Automation Scoping in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/arozumenko/sdlc-skills/tree/main/bundles/test-automation/skills/automation-scoping ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Automation Scoping nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Automation Scoping verwenden?

So viele Sie möchten. In TypingMind können Sie Automation Scoping mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Automation Scoping kostenlos?

Ja. Der Skill wird von arozumenko auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇