agentleFS
MicrosoftKnown publishermicrosoft/testfx/.github/skills/feature-delivery/SKILL.md

feature-delivery

Skill1.1k starsChanged 23 days agoMITView on GitHub

Keep TestFx feature research and decision records, challenge material design choices, plan consumer E2E coverage, inspect rendered UI/layout, and prove regression-test sensitivity. Use before new features or material design decisions, when adding regression coverage, and when preparing feature PR evidence.

We split this skill into the rules it gives an agent

14 rules. 0 are common, 14 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read repository instructions and apply session-delivery-hygiene.

    line 8
  2. Distinctive:

    Use proportionate evidence.

    line 11
  3. Distinctive:

    Keep temporary logs and captures in task-owned artifact storage, not in source control.

    line 19
  4. Distinctive:

    Start before coding. Update after meaningful research, experiments, decisions, and direction changes, not just at handoff.

    line 23
  5. Distinctive:

    Use this compact structure, adapting depth to risk:

    line 28
  6. Distinctive:

    Do not treat the first proposed implementation, an AI answer, or missing rationale as a specification.

    line 56
  7. Distinctive:

    When no design information was provided, explicitly record assumptions and test them against callers, supported targets, and failure paths.

    line 69
  8. Distinctive:

    Before coding a new feature or changed consumer boundary, map the user journey from input/configuration through execution to the final …

    line 78
  9. Distinctive:

    Use an isolated, task-owned comparison worktree/output area, never the main checkout or someone else's worktree.

    line 117
  10. Distinctive:

    Use the smallest relevant selector, and reconcile discovered/selected identities with executed results in both states.

    line 127
  11. Distinctive:

    If a new API cannot compile against the old production state, a compiler error is not behavioral red-phase proof.

    line 132
  12. Distinctive:

    If no safe executable comparison is feasible, explain why and report

    line 137
  13. Distinctive:

    If text or an artifact communicates the result better, use it and explain the choice.

    line 191
  14. Distinctive:

    Use a descriptive, user-facing PR title.

    line 197

“Common” is measured: kept by at least 6 in 10 of the 6 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

Feature delivery evidence

Read repository instructions and apply session-delivery-hygiene. This skill does not authorize publication, new dependencies, or unrelated changes. Use proportionate evidence; do not turn a small fix into a repository-wide audit.

1. Start and maintain the decision record

For every new feature, extend its existing design document/RFC or create docs/decisions/<feature-name>.md. Keep it versioned with the implementation and link it from the PR so the reasoning survives the session. Do not create duplicate records; non-feature fixes can use existing issue/PR rationale. Keep temporary logs and captures in task-owned artifact storage, not in source control; preserve concise findings and accessible evidence references in the record. Do not include secrets, personal data, or public vulnerability details.

Start before coding. Update after meaningful research, experiments, decisions, and direction changes, not just at handoff. Distinguish research, proposed experiments, experiments actually run, and results; never invent attempts. Record unsuccessful approaches too, including why they were abandoned.

Use this compact structure, adapting depth to risk:

# <Feature>: research and decisions

## Problem and contract
User outcome, confirmed requirements, assumptions, constraints, non-goals,
affected consumers, and compatibility/lifecycle/failure behavior.

## Research and experiments
Dated entries: question, source/link or exact experiment and source state,
observed result, and how it changed the decision. Mark untried options as such.

## Alternatives and decision
Existing/no-change approach, simpler alternative, chosen approach, tradeoffs,
rejected options and reasons, and evidence that would trigger reconsideration.

## Validation and demonstration
Source states, commands, exits, selected/executed identities and counts,
red/green or green/green evidence, assertions/artifact links, media/provenance,
and explicit unavailable or inapplicable checks.

## Open questions
Unresolved assumptions, risks, owners, and rollout/servicing decisions as needed.

2. Challenge the design before implementing it

Do not treat the first proposed implementation, an AI answer, or missing rationale as a specification. Search for repository prior art and authoritative contracts. For each material choice, compare the current/no-change design, the simplest viable alternative, and the proposed approach. Explain concrete tradeoffs, not generic claims that an architecture is "cleaner" or "more scalable".

Identify the consumer, ownership/lifetime, failure and cancellation behavior, compatibility, observability, and cost of new abstractions or public APIs. For cross-product/package/process changes, define the producer-consumer contract and use testfx-acceptance-validation. Apply testfx-parallel-safety-preflight before changing tests or the lifecycle/shared-state paths they exercise.

When no design information was provided, explicitly record assumptions and test them against callers, supported targets, and failure paths. Resolve consequential unknowns before committing to an incompatible or irreversible design; seek clarification when required. In unattended work, proceed only with a safe, reversible assumption and label unresolved decisions rather than claiming them confirmed. Do not require a separate agent or multi-model review for routine work.

Plan coverage through the consuming surface

Before coding a new feature or changed consumer boundary, map the user journey from input/configuration through execution to the final consumed result. List affected supported surfaces, such as terminal output, TRX/HTML reports, CI publishing, and IDE discovery. Scope by the changed mappings and failure modes; do not require every reporter, IDE, or state for every change.

Maintain a compact matrix in the decision record or existing fix evidence:

Requirement / riskAutomated E2E evidenceRendered check / gap
Real consumer observes the featureExact existing or planned test/case, shipping entry point, input, and independent expected outcome.Affected surface and how it will be inspected, or why it is nonvisual.
Defaults, opt-in behavior, and compatibilityRelevant default/disabled and configured paths, plus a representative boundary or failure case.Relevant empty/error/long-content state, not just the happy-path screenshot.
Result identity and presentation survive the boundaryFinal consumed names, identities/grouping, counts, and associated outcomes/metadata.Verify distinct entries stay distinct and labels/details belong to the right result.

Credit existing tests when their assertions protect the contract. Add missing automated E2E checks for changed boundaries using the existing harness and real shipping packages; unit tests support but do not replace that proof. Inspect each affected consumer's mapping separately: a formatter test, correct HTML report, or correct testCaseTitle does not prove Azure DevOps groups results correctly by automatedTestName.

For data-driven naming, use multiple distinguishable rows, not a single row. Cover default names, full-name overrides, arguments-only overrides, and method display names where affected. Check per-row identity and metadata association; include folded/unfolded or reflection/source-generated variants when their different paths matter. Do not substitute a count or unordered text-presence check for the association that can be lost.

3. Prove the tests are sensitive to the change

Establish the focused existing-test baseline before implementation when possible. For a regression fix or new feature's behavioral tests, run the same new/changed tests with the same assertions and selection in two production states:

StateRequired observation
Without the relevant production change, with the tests retainedTests execute the targeted scenario and fail at the intended behavioral assertion.
With the production changeThe same tests execute and pass; relevant existing tests remain green.

Use an isolated, task-owned comparison worktree/output area, never the main checkout or someone else's worktree. Record the exact base/head commits and any test/support-code patch retained in the comparison. Do not remove the tests with the production change, weaken assertions between runs, alter shared caches, or destructively revert user work. Clean up only owned comparison resources.

Rebuild each state with the repository-pinned toolchain, capture binlogs for MSBuild commands, and keep outputs/results separate. For package-consuming tests, repack each state and verify the consumer's resolved/loaded bits; identical package versions and --no-build against stale outputs are not evidence. Use the smallest relevant selector, and reconcile discovered/selected identities with executed results in both states. A nonzero command exit alone is not a failing assertion. Compilation, restore, launch, timeout/infrastructure failures, missing tests, zero tests, and skips do not establish regression sensitivity.

If a new API cannot compile against the old production state, a compiler error is not behavioral red-phase proof. Prefer a comparison retaining the API/test harness while removing the feature behavior, or a deliberate compiling mutation that violates the asserted contract. Record exactly what was removed/mutated; label this as a behavior-removal/mutation check, not a pristine-baseline run. If no safe executable comparison is feasible, explain why and report regression sensitivity unproven, not an invented red result.

For behavior-preserving refactors or test-only safety-net additions protecting already-correct behavior, focused tests should pass before and after. Record green/green equivalence; use a deliberate relevant mutation to demonstrate any new safety net's sensitivity, clearly labeled. Documentation-only changes do not require product tests or fabricated red/green runs.

For each run preserve source state and retained patches, working directory, configuration/TFM/SDK/packages, exact command/filter, process exit, test identities and planned/selected/executed/pass/fail/skip counts, intended assertion failure, and logs/results. Identify any outer acceptance host versus child product exits. Link retained evidence from the decision record and PR; a local absolute path alone is not accessible reviewer evidence. Publish evidence only when authorized, using approved artifact storage or concise text excerpts if logs cannot be shared.

4. Demonstrate the feature and prepare the PR

For user-visible output or layout changes, open the actual built product's rendered surface and exercise the changed interaction before claiming it works. Generated HTML/JSON, string assertions, and successful commands establish different contracts; none alone proves browser, terminal, IDE, or hosted-service layout. Use the existing browser/terminal/IDE harness when available, adding deterministic DOM, accessibility, or layout assertions where practical instead of introducing a new visual-test stack or brittle whole-screen pixel snapshots.

Choose representative normal and constrained viewport/terminal widths. Exercise the states affected by the change: long labels and details, quotes/markup and Unicode, empty/single/multiple results, failure/skip output, or filtered and expanded/collapsed views as applicable. Check text remains readable or available through its intended disclosure, names/outcomes/durations stay on the correct rows, columns align, and clipping, wrapping, overlap, or overflow does not hide controls. Exercise relevant sorting/filtering/detail interactions rather than only loading the page. For terminal changes, include ANSI/non-ANSI output when the changed path differs.

Record the inspected surface, dimensions, states/interactions, observed result, and artifact/source provenance in the coverage matrix. A loopback publisher proves its payload, not the live Azure DevOps Tests tab; the same distinction applies to discovery payloads versus an IDE's Test Explorer. If an external UI or required tooling is unavailable, state the exact unverified contract and required follow-up. Do not call an applicable but inaccessible surface inapplicable, invent visual proof, or write to an external service without authorization.

Whenever practical, show new or changed user-visible behavior in screenshots or a short GIF/video, including terminal/CLI output, analyzer UX, and reports. Capture the actual changed product, preferably before/after, with enough context to identify the behavior. A diagram can explain a design but is not proof the feature ran. Do not manufacture or stage output as a successful demonstration.

Provide a caption, reproduction command/steps, and source/package provenance. Pair visual output with a readable text explanation/transcript for accessibility. If text or an artifact communicates the result better, use it and explain the choice. For internal, documentation-only, inaccessible, or nonvisual changes, state why media is inapplicable/unavailable and provide the relevant evidence. Redact sensitive data; avoid unrelated windows, credentials, and private paths. Media supplements executable assertions and composed-product validation.

Use a descriptive, user-facing PR title; category prefixes are not required. See the PR-title research. Preserve prefixes required by existing automation. Follow the PR template, linking the decision record, demonstration, and regression evidence, and state remaining gaps. For authorized media publication, use github-pr-media when available. Preserve existing body content and verify published text and attachment links by reading them back. Do not upload, open a PR, or post a review just because this skill asks for evidence.

Download now (ZIP)

Trending

Quiet since September.about the whole repository

Dec 2025: 1 mentionJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 14 mentionsApr 2026: 0 mentionsMay 2026: 3 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 2 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/testfx repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about microsoft/testfx

The biggest 5 of 68 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 68

Talked about on GitHub and Stack Overflow (68 times).

On GitHub · 41

36 more on GitHub

On Stack Overflow · 27

22 more on Stack Overflow

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.