aws-blocks

Builds full-stack applications with AWS Blocks Infrastructure-from-Code Building Blocks.

Updated Sep 8, 2026
One-click install
npx skills add https://github.com/dennisvink/yolomancer --skill aws-blocks-dennisvink
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-blocks
Source: https://github.com/dennisvink/yolomancer/tree/main/skills/aws/core-skills/aws-blocks
Command: npx skills add https://github.com/dennisvink/yolomancer --skill aws-blocks-dennisvink

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building full-stack AWS applications normally requires wiring together CDK infrastructure, SDK calls, and local mocks separately. This Skill guides you through AWS Blocks, an Infrastructure-from-Code framework where each Building Block bundles CDK, SDK, and local mocks into one typed API that works locally without AWS credentials. ## Core Features & Use Cases - Project Scaffolding: Create new apps or add AWS Blocks to existing projects (including Amplify Gen 2) with npx @aws-blocks/create-blocks-app, choosing from templates like default, react, nextjs, demo, and auth-cognito. - Building Block Selection: Get guidance on 18+ Building Blocks covering storage (KVStore, DistributedTable, Database), auth (AuthBasic, AuthCognito), Realtime, AsyncJob, FileBucket, AI/search, email, and observability. - Local Development & Deployment: Run everything locally with mocks persisted to .bb-data/, then deploy ephemeral sandboxes or long-lived environments with least-privilege credentials. - Use Case: Scaffold a todo app with the demo template, add auth-protected CRUD with KVStore and DistributedTable, test it locally without AWS credentials, then deploy with npm run deploy. ## Quick Start Scaffold a new AWS Blocks app with the demo template and walk me through adding an auth-protected API endpoint.

Frequently Asked Questions about aws-blocks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new AWS Blocks application?

Run npx @aws-blocks/create-blocks-app my-app to scaffold a new project. You can pick a template with --template, choosing from default, bare, react, backend, demo, auth-cognito, or nextjs depending on your frontend and feature needs.

How do I add AWS Blocks to an existing project?

Run npx @aws-blocks/create-blocks-app . inside your existing project root. The CLI detects the project and adds an aws-blocks/ workspace alongside your code, and it automatically integrates with Amplify Gen 2 when it finds amplify/backend.ts.

Can I develop AWS Blocks apps locally without AWS credentials?

Yes, all Building Blocks work locally without AWS credentials. Mocks persist data to a .bb-data/ directory, so storage, auth, realtime, and background jobs all function during local development.

Which AWS Blocks Building Block should I use for data storage?

Use KVStore for simple key-value data, DistributedTable for structured data with indexes and Zod schemas, or Database for relational needs. Check each block's package README under node_modules/@aws-blocks for the authoritative API reference of your installed version.

Why are my AWS Blocks API methods accessible without authentication?

ApiNamespace methods are unauthenticated by default. Add await auth.requireAuth(context) to every method that should not be public, and attach schemas to KVStore or AppSetting entries that accept user data.

How do I deploy an AWS Blocks application?

Use npm run sandbox to deploy an ephemeral individual testing environment, or npm run deploy for long-lived environments. Both use least-privilege credentials, and each Building Block already grants scoped IAM permissions for its own resources.