sst

Assist with building and deploying full-stack serverless applications on AWS using SST. Suitable for defining Lambda functions, API Gateway routes, DynamoDB tables, S3 buckets, or deploying SSR-capable Next.js/Remix/Astro apps on AWS. Example trigger words: sst, serverless stack, sst dev, sst deploy, aws lambda, sst ion, resource linking.

Last repository push
GitHub Stars
219
Forks
38
Issues / PRs
7

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sst" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7d2ad1df67befae4719225247eee664500ae333da848e89887b025e03e0b707c. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Assist with building and deploying full-stack serverless applications on AWS using SST. Suitable for defining Lambda functions, API Gateway routes, DynamoDB tables, S3 buckets, or deploying SSR-capable Next.js/Remix/Astro apps on AWS. Example trigger words: sst, serverless stack, sst dev, sst deploy, aws lambda, sst ion, resource linking.

0 Downloads

Introduction source: third_party · TerminalSkills · 1.0.0 Reference

SkillPi interpretation

Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: sst
description: >-
  Assists with building and deploying full-stack serverless applications on AWS using SST.
  Use when defining Lambda functions, API Gateway routes, DynamoDB tables, S3 buckets, or
  deploying Next.js/Remix/Astro with SSR on AWS. Trigger words: sst, serverless stack, sst dev,
  sst deploy, aws lambda, sst ion, resource linking.
license: Apache-2.0
compatibility: "Requires Node.js 18+ and AWS credentials"
metadata:
  author: terminal-skills
  version: "1.0.0"
  category: devops
  tags: ["sst", "serverless", "aws", "lambda", "full-stack"]

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.ts with typed components like sst.aws.Function, sst.aws.Api, sst.aws.Bucket, and sst.aws.Dynamo.
  • When connecting resources, use the link property on Functions to automatically grant IAM permissions and inject environment variables, and access linked resources via Resource.Name in handlers.
  • When developing locally, use sst dev which 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 prod for named stages, sst deploy --stage pr-${PR_NUMBER} for preview environments, and sst remove --stage dev for teardown.
  • When deploying frontends, use sst.aws.Nextjs, sst.aws.Remix, or sst.aws.Astro components for SSR on Lambda with static assets on S3 + CloudFront.
  • When managing secrets, use sst secret set KEY value for encrypted, stage-specific secret storage.
  • When organizing code, keep handlers thin in packages/functions/ as orchestrators, and place business logic in packages/core/.

Examples

Example 1: Build a serverless API with DynamoDB

User request: "Create a REST API on AWS with DynamoDB using SST"

Actions:

  1. Define DynamoDB table and API Gateway in sst.config.ts
  2. Link the table to API handler functions for automatic permissions
  3. Implement CRUD handlers accessing Resource.MyTable.name
  4. Run sst dev for 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:

  1. Configure sst.aws.Nextjs component with custom domain and linked resources
  2. Set up CI to run sst deploy --stage pr-${PR_NUMBER} for each pull request
  3. Link backend resources (API, database) to the Next.js deployment
  4. Add cleanup step with sst remove when PR is closed

Output: A production Next.js deployment on AWS with isolated preview environments for each PR.

Guidelines

  • Use link instead of manual IAM policies; SST generates least-privilege permissions automatically.
  • Access linked resources via Resource.Name in handlers; never hardcode table names or bucket ARNs.
  • Use sst dev for 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 in packages/functions/.
  • Use sst secret for 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.

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • SST 是 AWS 无服务器开发的高频刚需工具,覆盖 Lambda、API Gateway、DynamoDB、S3 及 Next.js/Remix/Astro SSR 部署等核心场景
  • 提供 live local development、type-safe resource linking、per-PR preview environments 等高价值特性
Trigger Precision90/100

Highlights

  • 触发词覆盖全面:sst、serverless stack、sst dev、sst deploy、aws lambda、sst ion、resource linking
  • 边界清晰,能有效区分 SST 相关需求与其他 AWS 工具
Structure and Standards90/100

Highlights

  • 文档结构完整:Overview、Instructions、Examples、Guidelines 层次清晰
  • 提供两个端到端示例(REST API with DynamoDB、Next.js with preview environments)
  • frontmatter 包含 name、description、license、compatibility、metadata 等完整信息
Execution Reliability90/100

Highlights

  • 工具来源明确:基于官方 SST 框架
  • 参数使用正确:sst dev、sst deploy --stage、sst remove、sst secret set 等命令准确
  • 覆盖主要异常场景:per-developer stages、preview environments、secret management
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 9, 66

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.