cdkd: Skill for Claude Code

.claude/skills/new-integ/SKILL.md

new-integ is a skill for Claude Code from go-to-k/cdkd. It costs 35 tokens per session (3,006 once invoked), scanned A, original, Apache-2.0.

A recipe for creating an integration test for cdkd, a tool that deploys AWS Cloud Development Kit applications. It creates a small CDK app with chosen AWS resources for real deploy, update, verification, and destroy checks.

In plain words
What is it for?
Use it to add end-to-end tests for AWS resource patterns, including deployment, changes to an existing stack, functional checks, and cleanup.
Why use it?
It provides a consistent test structure and checks for existing coverage first, avoiding duplicate fixtures. The process also ensures tests use a current build and recent project conventions.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

This is go-to-k/cdkd's own configuration. It tells Claude Code how to work on cdkd itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cdkd configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { MyTestStack } from '../lib/<test-name>-stack.ts';.

View source ↗ go-to-k/cdkd
Reuse

Borrowing it

Nothing to install: this file belongs to go-to-k/cdkd. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/go-to-k/cdkd/main/.claude/skills/new-integ/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/go-to-k/cdkd

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for new-integ

README.md
[![agentmods](https://agentmods.dev/badge/skills/go-to-k/cdkd/new-integ.svg)](https://agentmods.dev/skills/go-to-k/cdkd/new-integ)
Your own site
<a href="https://agentmods.dev/skills/go-to-k/cdkd/new-integ"><img src="https://agentmods.dev/badge/skills/go-to-k/cdkd/new-integ.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,006 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.03006
Opus 5 $0.00017 $0.01503
Sonnet 5 $0.00007 $0.00601
Haiku 4.5 $0.00003 $0.00301

Measured 2d ago against content hash ff55f4907095, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

new-integ scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

actually works and reached AWS** (curl the endpoint / put an object and
.claude/skills/new-integ/SKILL.md · 247 lines

How it starts

The opening of the file, as written. The whole thing — 247 lines — stays where its author put it; the contents beside it link to each section on GitHub.

New Integration Test Scaffold

You are scaffolding a new integration test for cdkd.

Input

The user provides a kebab-case test name (e.g., ses-email-identity, s3-event-notification).

Steps

  1. Build cdkd first: vp run build from the repo root — verify.sh and the synth check both run against dist/cli.js, so source changes without a build have no effect.

  2. Check the test does not already exist in tests/integration/<test-name>/, AND that an existing fixture does not already cover the pattern. Grep for the construct/resource type across tests/integration/*/lib before building — a fixture that already deploys the thing (even without a verify.sh) means the higher-value move is often to ADD a functional verify.sh to it rather than a whole new fixture.

  3. Read a recent fixture as the reference shape. Use tests/integration/dynamodb-gsi-update/ (deploy + UPDATE + destroy with real assertions) or tests/integration/s3-event-notification/ (functional check) — NOT the oldest ones, whose conventions have drifted.

  4. Create the test directory at tests/integration/<test-name>/ with these files. The project runs CDK apps via Node 24 type-stripping (node bin/app.ts), so the fixture is ESM ("type": "module") and imports carry the .ts extension — there is NO ts-node / tsx dependency.

    cdk.json:

    {
      "app": "node bin/app.ts"
    }
    

    package.json (note "type": "module"; no ts-node):

    {
      "name": "cdkd-integ-<test-name>",
      "version": "1.0.0",
      "private": true,
      "description": "<one-line description>",
      "scripts": {
        "build": "tsc",
        "watch": "tsc -w"
      },
      "devDependencies": {
        "@types/node": "^20.0.0",
        "aws-cdk": "^2.1112.0",
        "typescript": "^5.0.0"
      },
      "dependencies": {
        "aws-cdk-lib": "^2.169.0",
        "constructs": "^10.0.0"
      },
      "type": "module"
    }
    

Read the full file on GitHub · 247 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +16 lines ff55f4907095
  2. 8d ago First seen · 231 lines · 35 tokens per session scan A b4f22d535fe9

Subscribe to this mod's changes

new-integ is a skill published in the GitHub repository go-to-k/cdkd (137 stars, last pushed today), licensed Apache-2.0. It adds 35 tokens to every session and 3,006 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

aws-testing

Testing strategies for AWS workloads. Use when writing unit tests, integration tests, contract tests, mocking AWS services, or setting up quality gates and CI/CD test pipelines.

eliecer2000/kiro-bootstrap · 36 tokens

dast-scanning

Perform dynamic application security testing with OWASP ZAP, Burp Suite, and Nikto. Test running applications for security vulnerabilities through automated and manual testing. Use when testing web applications, APIs, or performing penetration testing.

BagelHole/DevOps-Security-Agent-Skills · 49 tokens

selenium-ui-test-generator

Generates Selenium WebDriver tests for React/Angular front-ends with STRICT loop prevention. Triggers on: "test UI", "generate Selenium tests", "test React app", "create E2E tests", "test front-end". WARNING: UI tests cost 3x more than unit tests -- generate selectively.

timwukp/agent-skills-best-practice · 70 tokens

aws-cdk-mcp-server-mcp

AWS Cloud Development Kit (CDK) best practices, infrastructure as code patterns, and security compliance with CDK Nag.

Friz-zy/ai-capability-registry · 33 tokens

webapp-testing

Toolkit for testing local web applications and browser workflows with MCP browser tools. Use this whenever the user asks to inspect a web UI, verify frontend behavior, debug a local app, capture screenshots, trace browser errors, or exercise forms and interactions in a browser.

Threat-Vector-Security/guardian-agent · 55 tokens

python-runtime

Python toolchain configuration and best practices. Use when setting up Ruff, pytest, mypy type hints, dependency management, virtual environments or Python project standards.

eliecer2000/kiro-bootstrap · 34 tokens