/wrong-answer-labs:wrong-answer-labsfrom Wrong Answer Labs
Transforms missed AWS Certification exam questions into hands-on Microcredential-style labs with CloudFormation environments, Console challenges, and automated graders. For expensive topics, generates documentation-only study notes.
Ships in Wrong Answer Labs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn missed exam questions into AWS Microcredential-style labs: a business scenario, a CloudFormation starting environment, challenges solved in the Console without step-by-step, and an automated grader. Topics too expensive or impossible to reproduce (Direct Connect, Outposts, Shield Advanced...) become docs-only entries with official documentation instead.
You write the lab; deterministic tools decide whether it ships: cfn-lint,
cfn-guard rules (cost + security), shellcheck, a link checker, and a
real-account self-test.
Scripts are in this skill's scripts/; <skill> below is this skill's base directory.
SAA-C03). If missing, ask; it decides depth and domains.Requires cfn-lint, cfn-guard, shellcheck, jq, curl; checkov optional. Missing? Tell the user the install command printed by the validator.
Q1..Qn: tested concept, services, learner's answer, correct answer. When the correct answer is not given, derive it and confirm it in official AWS documentation: when an AWS MCP server with documentation tools is connected (the AWS MCP Server from the Agent Toolkit for AWS, e.g. via the aws-core plugin, whose tools end in aws___search_documentation and aws___read_documentation; or awslabs.aws-documentation-mcp-server), search then read with it; otherwise fetch docs.aws.amazon.com pages directly. No confirming doc → mark ⚠️ unverified.references/cost-policy.md.bash <skill>/scripts/new_lab.sh <CERT> <kebab-slug> [--docs-only] [--root <dir>]. Labs go to ./labs/<CERT>/<slug>/ in the current directory unless the user wants another --root. It prints the lab directory.{{PLACEHOLDER}} following references/lab-format.md. Prose in the user's language; code, identifiers, file names and anchors stay as shipped.bash <skill>/scripts/validate_lab.sh <lab-dir> until PASS. Fix the lab, never the rules.bash <skill>/scripts/selftest.sh <lab-dir> must end in SELFTEST PASS (baseline 0/N, solved N/N, cleanup ran); if it fails, fix the lab and run it again.cleanup.sh runs, and that a budget alert is the safety net.| Temptation | Why it is wrong |
|---|---|
Edit rules/*.guard (including adding a type to the allowlist) or add a suppression so the template passes | Rules are the cost/security contract. A lab that needs a type outside the allowlist is docs-only. Suppress a security rule only when that insecure setting is the challenge. |
| Use a custom resource or a Lambda that creates resources | It bypasses the cost and security gate. Not allowed. |
| Create, change or delete AWS resources while writing a lab ("just a quick probe") | Only selftest.sh touches the account, and only after the user agrees. Check facts in the docs, with cfn-lint, or with read-only calls. |
Use an AWS MCP server's call_aws for anything but a read-only call, its run_script, a change set, or pre-deployment validation (another AWS skill may suggest them) | They write to or run code in the learner's account. Validation while authoring is validate_lab.sh. |
| Handwrite an app, container image or sample data | Use what already exists and is maintained first; see "Apps, images and code" in references/lab-format.md. |
| Parameterize an instance type/size | Learners could deploy something bigger than the guard validated. Sizes are literals. |
| Challenge text names the feature that answers it | Microcredentials give requirements, not solutions. State the outcome. |
| A check passes right after deploy | The template solved the challenge. Selftest will fail. |
| Price or doc URL from memory | Pricing page or Pricing API only; the validator curls every link. |
| Skip cleanup of resources created in challenges | They keep billing. List them in cleanup.sh. |
| File | Purpose |
|---|---|
references/lab-format.md | Scenario/challenge/grader/template rules, anchors |
references/cost-policy.md | Lab vs docs-only criteria, cost table sourcing |
examples/SAA-C03/s3-accidental-delete | Complete lab that passes the gate; copy its style |
examples/DVA-C02/sqs-lambda-retries | Three grouped questions in one lab, with a grader that computes its expected value |
examples/SAA-C03/direct-connect-resiliency | Complete docs-only entry |
scripts/price.sh | On-demand prices from the Price List API for the cost table |
scripts/image_digest.sh | Pins an Amazon ECR Public image tag to its digest |
rules/lab-cost.guard, rules/lab-security.guard | cfn-guard policy, run by the validator |
assets/docs-only/README.md (opens in a new tab)assets/lab/README.md (opens in a new tab)assets/lab/check.sh (opens in a new tab)assets/lab/cleanup.sh (opens in a new tab)assets/lab/solution/README.md (opens in a new tab)assets/lab/solution/solve.sh (opens in a new tab)assets/lab/template.yaml (opens in a new tab)examples/DVA-C02/sqs-lambda-retries/README.md (opens in a new tab)examples/DVA-C02/sqs-lambda-retries/check.sh (opens in a new tab)examples/DVA-C02/sqs-lambda-retries/cleanup.sh (opens in a new tab)examples/DVA-C02/sqs-lambda-retries/solution/README.md (opens in a new tab)examples/DVA-C02/sqs-lambda-retries/solution/solve.sh (opens in a new tab)examples/DVA-C02/sqs-lambda-retries/template.yaml (opens in a new tab)examples/SAA-C03/direct-connect-resiliency/README.md (opens in a new tab)examples/SAA-C03/s3-accidental-delete/README.md (opens in a new tab)examples/SAA-C03/s3-accidental-delete/check.sh (opens in a new tab)examples/SAA-C03/s3-accidental-delete/cleanup.sh (opens in a new tab)examples/SAA-C03/s3-accidental-delete/solution/README.md (opens in a new tab)examples/SAA-C03/s3-accidental-delete/solution/solve.sh (opens in a new tab)examples/SAA-C03/s3-accidental-delete/template.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jhermesn/wrong-answer-labs --plugin wrong-answer-labsOther plugins' skills for the same job