Automated summary
This skill guides the use of SST (Serverless Stack) to define typed AWS infrastructure in TypeScript, link resources to Lambda functions, and deploy full-stack apps per stage.
Strengths
- Explains resource linking through the `link` property and access via `Resource.Name`, avoiding hand-written IAM policies
- Covers the full workflow: `sst dev` with hot reload against real AWS services, staged deploys, and `sst remove` teardown
- Provides concrete conventions for deploying frontends (Nextjs, Remix, Astro) and for managing stage-specific secrets
- Enforces a clear split between thin handlers in `packages/functions/` and business logic in `packages/core/`
Limitations
- The skill is strictly AWS-focused: no other cloud or provider is considered
- It does not go into authentication, queues, or custom domains beyond what it explicitly names
- `sst dev` requires valid AWS credentials and runs against real resources, with the associated cost and risk
Use it to design, link, or deploy a serverless application on AWS with SST, including per-pull-request preview environments.
Avoid it if you target a cloud other than AWS, if you are not using SST, or if you want infrastructure work with no dependency on live AWS services.
Security analysis
SafeThe skill is purely instructional documentation for using the SST framework. It references standard AWS deployment and teardown commands such as `sst deploy` and `sst remove --stage dev`, but contains no destructive, exfiltrating, obfuscated, or safety-disabling instructions.
No concerns found
How this analysis is madeExamples
Create an SST app with an API Gateway route backed by a DynamoDB table. Link the table to the handler functions so permissions are generated automatically, and access it via Resource.MyTable in the handlers.Set up CI so each pull request deploys its own SST stage with `sst deploy --stage pr-${PR_NUMBER}`, and add a cleanup step running `sst remove` when the PR is closed.Deploy my Next.js app on AWS using the sst.aws.Nextjs component with a custom domain, and link my existing API and database resources to it.SST
Overview
SST (Serverless Stack) is a framework for building and deploying full-stack applications on AWS with high-level constructs for Lambda, API Gateway, DynamoDB, S3, and frontend frameworks. It features live local development connected to real AWS services, type-safe resource linking, and zero-config TypeScript support.
Instructions
- When defining infrastructure, use
sst.config.tswith typed components likesst.aws.Function,sst.aws.Api,sst.aws.Bucket, andsst.aws.Dynamo. - When connecting resources, use the
linkproperty on Functions to automatically grant IAM permissions and inject environment variables, and access linked resources viaResource.Namein handlers. - When developing locally, use
sst devwhich runs Lambda locally with hot reload while connected to real AWS services (DynamoDB, S3, SQS), with support for VS Code breakpoint debugging. - When deploying, use
sst deploy --stage prodfor named stages,sst deploy --stage pr-${PR_NUMBER}for preview environments, andsst remove --stage devfor teardown. - When deploying frontends, use
sst.aws.Nextjs,sst.aws.Remix, orsst.aws.Astrocomponents for SSR on Lambda with static assets on S3 + CloudFront. - When managing secrets, use
sst secret set KEY valuefor encrypted, stage-specific secret storage. - When organizing code, keep handlers thin in
packages/functions/as orchestrators, and place business logic inpackages/core/.
Examples
Example 1: Build a serverless API with DynamoDB
User request: "Create a REST API on AWS with DynamoDB using SST"
Actions:
- Define DynamoDB table and API Gateway in
sst.config.ts - Link the table to API handler functions for automatic permissions
- Implement CRUD handlers accessing
Resource.MyTable.name - Run
sst devfor live local development against real AWS services
Output: A serverless REST API with type-safe resource access and live debugging.
Example 2: Deploy a Next.js app with preview environments
User request: "Deploy my Next.js app on AWS with per-PR preview environments"
Actions:
- Configure
sst.aws.Nextjscomponent with custom domain and linked resources - Set up CI to run
sst deploy --stage pr-${PR_NUMBER}for each pull request - Link backend resources (API, database) to the Next.js deployment
- Add cleanup step with
sst removewhen PR is closed
Output: A production Next.js deployment on AWS with isolated preview environments for each PR.
Guidelines
- Use
linkinstead of manual IAM policies; SST generates least-privilege permissions automatically. - Access linked resources via
Resource.Namein handlers; never hardcode table names or bucket ARNs. - Use
sst devfor daily development; it is faster than deploying to AWS on every change. - Create per-developer stages (
sst dev --stage alice) so each developer gets isolated AWS resources. - Keep handlers thin: business logic in
packages/core/, handlers inpackages/functions/. - Use
sst secretfor API keys and credentials; they are encrypted and stage-specific. - Set up
sst deploy --stage pr-${PR_NUMBER}in CI for preview environments on every pull request.
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/sst-serverless-stack-framework-for-aws-mrx3xyr9/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/sst-serverless-stack-framework-for-aws-mrx3xyr9' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/sst-serverless-stack-framework-for-aws-mrx3xyr9/download' --output '.skill-downloads/sst-serverless-stack-framework-for-aws-mrx3xyr9/SKILL.md.part' && mv '.skill-downloads/sst-serverless-stack-framework-for-aws-mrx3xyr9/SKILL.md.part' '.skill-downloads/sst-serverless-stack-framework-for-aws-mrx3xyr9/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
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual 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/sst-serverless-stack-framework-for-aws-mrx3xyr9/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.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.