Automated summary
Scaffolds a complete Go package for a new AWS service under pkg/aws/<servicename>/, mirroring the existing cloudformationservice pattern including mocks and tests.
Strengths
- Faithfully reproduces an existing repo pattern: client interface, service struct, and errors wrapped with fmt.Errorf %w
- Generates the full file set: service.go, hand-written mock, unit tests, and LocalStack integration tests
- Wires the new client into internal/dependencies/dependencies.go and runs the unit tests after scaffolding
- Keeps unit tests (mocks) cleanly separated from integration tests gated by //go:build integration
Limitations
- Assumes the repo already has pkg/aws/cloudformationservice/ and a testhelpers.StartLocalStack() helper to copy from
- Does not map specific AWS SDK methods, so the actual business logic of each public method is left to you
- Integration tests are not executed (Docker needed); the skill only reminds the user to run them with -tags integration
Use it when adding a new AWS service wrapper to a Go project that already follows the repo's pkg/aws/<service>/ convention.
Avoid it on Go projects without a reference cloudformationservice package or LocalStack helper, or when editing an existing wrapper rather than creating one.
Security analysis
SafeThe skill instructs scaffolding Go files and running go test within a specific package; no destructive commands, data exfiltration, credential handling, or obfuscated execution. Integration tests may use LocalStack/Docker, but this is a legitimate development workflow and not directly invoked by the skill.
No concerns found
How this analysis is madeExamples
/new-aws-service s3Add a new AWS service wrapper for SQS under pkg/aws/sqs, following the same pattern as cloudformationservice, with mocks, unit tests and LocalStack integration tests, then wire it into dependencies.Scaffold pkg/aws/dynamodb based on the cloudformationservice package, then run go test ./pkg/aws/dynamodb/... and tell me how to run the integration tests.name: new-aws-service description: Scaffold a new AWS service wrapper in pkg/aws/<servicename>/ following the established cloudformationservice pattern disable-model-invocation: false
When the user asks to add a new AWS service wrapper (or invokes /new-aws-service <servicename>), create the full package at pkg/aws/<servicename>/ following the pkg/aws/cloudformationservice/ pattern.
Steps
-
Determine the service name from
$ARGUMENTSor ask the user. -
Read the canonical example to understand the pattern:
pkg/aws/cloudformationservice/service.go— interface + implementationpkg/aws/cloudformationservice/mock_client_test.go— mock of the AWS client interfacepkg/aws/cloudformationservice/service_test.go— unit tests using mockspkg/aws/cloudformationservice/service_integration_test.go— LocalStack integration tests
-
Create
pkg/aws/<servicename>/service.go:- Define an interface for the AWS SDK client methods you need (keeps the dependency mockable)
- Define a
<ServiceName>Servicestruct that wraps the client - Implement the public methods the rest of the app will call
- Return structured errors using
fmt.Errorf("context: %w", err)wrapping
-
Create
pkg/aws/<servicename>/mock_client_test.go:- Hand-write a mock struct that implements the client interface
- Include configurable return values for each method
-
Create
pkg/aws/<servicename>/service_test.go:- Use the mock client to test each method in isolation
- Cover happy path and key error cases
-
Create
pkg/aws/<servicename>/service_integration_test.go:- Gate with
//go:build integration - Use
testhelpers.StartLocalStack()to spin up a container - Test the critical end-to-end path against real LocalStack
- Gate with
-
Wire it up in
internal/dependencies/dependencies.goalongside existing clients. -
After scaffolding, run
go test ./pkg/aws/<servicename>/...to confirm unit tests pass, and remind the user to run integration tests with-tags integrationonce Docker is available.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/scaffold-aws-service-wrapper-mt11k89h/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/scaffold-aws-service-wrapper-mt11k89h' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/scaffold-aws-service-wrapper-mt11k89h/download' --output '.skill-downloads/scaffold-aws-service-wrapper-mt11k89h/SKILL.md.part' && mv '.skill-downloads/scaffold-aws-service-wrapper-mt11k89h/SKILL.md.part' '.skill-downloads/scaffold-aws-service-wrapper-mt11k89h/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/scaffold-aws-service-wrapper-mt11k89h/SKILL.md' && test -s '.skill-downloads/scaffold-aws-service-wrapper-mt11k89h/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/new-aws-service' && cp -R '.skill-downloads/scaffold-aws-service-wrapper-mt11k89h' '.claude/skills/new-aws-service'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/scaffold-aws-service-wrapper-mt11k89h'openskills read 'scaffold-aws-service-wrapper-mt11k89h'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/scaffold-aws-service-wrapper-mt11k89h/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.