agentleFS
MicrosoftKnown publishermicrosoft/intelligent-terminal/.github/skills/pr-integration-test/SKILL.md

pr-integration-test

Skill2k starsChanged 4 months agoMITView on GitHub

Design, implement, and validate Intelligent Terminal integration tests for a target pull request or regression. Use when asked to add PR integration tests, convert a bug fix into E2E coverage, prove existing behavior still works, map tests to the release checklist, or verify E2E reports mark checklist cases complete.

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 3 mentionsAug 2026: 2 mentionsSep 2026: 3 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/intelligent-terminal repository that our weekly crawl found: only 10 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about microsoft/intelligent-terminal

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

See all 10

Talked about on GitHub and Bluesky (10 times).

On GitHub · 9

4 more on GitHub

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read test/e2e/README.md and reuse the ItE2E framework instead of creating a parallel harness.

    line 21
  2. Distinctive:

    Treat the source revision and deployed package as separate decisions.

    line 23
  3. Distinctive:

    Before running any live integration test, identify the target package from the user's request.

    line 26
  4. Distinctive:

    Use Store only when the user explicitly asks to test the production/shipped build.

    line 31
  5. Very specific:

    Run pwsh -File test/e2e/bootstrap.ps1 -Check before live E2E validation.

    line 36
  6. Distinctive:

    Follow workflow.md. Track the phases with a TODO list.

    line 40
  7. Distinctive:

    Prefer the earliest deterministic product-owned signal:

    line 61
  8. Distinctive:

    Use model output only when it is the behavior under test.

    line 69
  9. Very specific:

    Add one unchecked [E2E] checklist item per independently releasable behavior.

    line 74
  10. Very specific:

    Prefer exact-title matching.

    line 77
  11. Distinctive:

    Do not call the work complete until all of these are true:

    line 85
  12. Distinctive:

    Do not use Store to validate a PR's unshipped code: Prefer a Dev package built and deployed from the PR head/feature branch.

    line 100
  13. Distinctive:

    Do not duplicate a unit test at E2E level: Add the missing process, protocol, persistence, packaging, or UI boundary.

    line 105
  14. Distinctive:

    When the contract is downstream, assert both the trigger and its downstream effect.

    line 108

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

PR Integration Test

Turn a target PR into durable, behavior-focused integration coverage that proves the fixed path, protects existing behavior, and updates the generated release checklist.

When to Use This Skill

  • Convert an open or merged PR into cross-component regression coverage.
  • Extend doc/release-check-list.md and make report scripts check the new rows.
  • Audit whether a PR's existing tests cover the user-visible behavior rather than only its implementation details.

Prerequisites

  • Read test/e2e/README.md and reuse the ItE2E framework instead of creating a parallel harness.
  • Treat the source revision and deployed package as separate decisions. For a PR, test the intended PR head/feature-branch revision through a Dev build by default; a previously installed Dev package is not proof that the PR code ran.
  • Before running any live integration test, identify the target package from the user's request. If the user did not explicitly choose Dev or Store/production, use ask_user and wait for the answer. In a PR context, make Dev built from the PR head/feature branch the recommended/default choice. Never select a package solely from installed-package discovery.
  • Use Store only when the user explicitly asks to test the production/shipped build. Store results establish a production baseline; they do not validate unshipped changes in the PR.
  • Pin the chosen package through $env:ITE2E_PACKAGE = 'Dev' or $env:ITE2E_PACKAGE = 'Store' for every live validation command.
  • Run pwsh -File test/e2e/bootstrap.ps1 -Check before live E2E validation.

Workflow

Follow workflow.md. Track the phases with a TODO list.

analyze PR -> reconstruct behavior -> audit coverage -> design matrix -> write ItE2E -> wire checklist -> validate -> deliver

Test Design Standard

For every proposed case, record:

FieldRequired answer
ContractWhat user-visible behavior must remain true?
TriggerWhat exact action or input exercises it?
BoundaryWhich real component handoff does this test add beyond unit tests?
OracleWhat deterministic observable proves success or suppression?
Negative controlWhat similar input must not trigger the behavior?
Existing protectionWhich existing tests protect old behavior and must still run?
Checklist titleWhich exact bold release-checklist title contains the Pester test name?

Oracle Priority

Prefer the earliest deterministic product-owned signal:

  1. Protocol/event stream
  2. Persisted or queryable application state
  3. Structured diagnostic log
  4. Rendered terminal or UI state
  5. LLM-generated text

Use model output only when it is the behavior under test; never use it to prove routing, triggers, suppression, or idempotency.

Release Checklist Contract

  • Add one unchecked [E2E] checklist item per independently releasable behavior.
  • Give each item a concise bold title that appears verbatim in the matching Pester full name (Describe.Context.It).
  • Prefer exact-title matching. Add test/e2e/release-coverage-map.psd1 entries only when an exact test name would be misleading or one case intentionally covers multiple checklist items.
  • Assign stable IDs and verify [x] output through the full and incremental report paths in workflow.md.

Completion Gate

Do not call the work complete until all of these are true:

  • Pre-fix evidence identifies the regression, and the fixed path crosses the real integration boundary.
  • For PR validation against Dev, the tested package is proven to contain the intended PR head/feature-branch revision.
  • Relevant false positives, replay risks, and existing behavior are covered.
  • The correct build passes related suites and marks new checklist IDs [x]; every skip is explained.

Gotchas

  • Never run a live integration test with an implicit or Auto package selector. Ask first, then pin ITE2E_PACKAGE. Installed-package discovery cannot establish user intent or prove that a Dev package contains PR code.
  • Do not use Store to validate a PR's unshipped code. Prefer a Dev package built and deployed from the PR head/feature branch. Use Store only for an explicitly requested production baseline and label the result accordingly.
  • Do not test only the implementation detail named in the PR. Reconstruct the end-to-end user path and assert the observable contract.
  • Do not duplicate a unit test at E2E level. Add the missing process, protocol, persistence, packaging, or UI boundary.
  • Do not use a successful lower-layer event as proof of the final feature. When the contract is downstream, assert both the trigger and its downstream effect.
  • Do not turn product failures into skips. Skip only when an external prerequisite is genuinely unavailable. A connected product that behaves incorrectly must fail.

References

  • Detailed PR-to-integration-test workflow
  • ItE2E framework
  • Release checklist

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.