mcpbeat

Awsx Test Authoring

pulumi/awsx-test-authoring

Tactical AWSX test-authoring guidance for pulumi-awsx. Use when choosing or writing tests for modern awsx/** changes, including Jest mock tests, acceptance tests, provider upgrade tests, schema/SDK proof, and assertions that prove component behavior.

5k tokens
context cost
the whole folder, loaded on every use
8
files
instructions only
0
copies elsewhere
how many repositories repackaged it
244
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/pulumi/pulumi-awsx --skill awsx-test-authoring

What comes with it

19 163 bytes besides the instruction
agents/openai.yaml
rules/acceptance-tests.md
rules/assertion-quality.md
rules/component-construction-mocks.md
rules/provider-upgrade-tests.md
rules/pure-typescript-logic.md
rules/schema-and-sdk-proof.md

The instruction itself

4 sections, as written by the author

AWSX Test Authoring

Use this skill to choose and write proof for modern AWSX changes.

This skill is for test selection and assertion quality. For component shape

guidance, use $awsx-component-design. For compatibility classification, use

$awsx-breaking-change-evaluation.

Rule Index

  • rules/pure-typescript-logic.md: deterministic helpers, validators,

allocators, and argument transformations.

  • rules/component-construction-mocks.md: Pulumi runtime mock tests for child

resources, args passed to children, providers, region flow, and outputs.

  • rules/schema-and-sdk-proof.md: schema generation, schema-tools comparison,

generated SDK diffs, and schemagen gaps.

  • rules/provider-upgrade-tests.md: recorded provider upgrade preview coverage

for existing programs and state.

  • rules/acceptance-tests.md: targeted examples and AWS-observed behavior.
  • rules/assertion-quality.md: exact assertions, weak smoke tests, and what

counts as proof.

How To Use

  • Identify the behavior that needs proof: pure logic, component construction,

schema/SDK shape, existing-state upgrade, or AWS-observed behavior.

  • Read the matching rule file before adding or accepting a test.
  • Prefer the cheapest test surface that proves the behavior directly.
  • If the change is compatibility-sensitive, pair the test choice with

$awsx-breaking-change-evaluation.

  • Report what the test proves and what it does not prove.

Stop Early

Stop before settling on a test plan if:

  • the proposed test only proves that TypeScript compiles or the program runs;
  • component logic is being pushed into an AWS-backed example instead of a Pulumi

runtime mock test;

  • AWS-observed behavior is being asserted only through mocked child resources;
  • schema changes are being judged without a generated schema or SDK diff;
  • provider-upgrade evidence is being treated as refresh/update proof when it

only checks preview/no replacements;

  • a broad acceptance test is proposed for a narrow deterministic change.

How to use it

Copy the folder

Take pulumi/awsx-test-authoring from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.