appmod-blueprints-builder
Skill15 starsChanged 9 months agoApache-2.0View on GitHub
Build AWS CDK applications with AppMod Catalog Blueprints. ALWAYS use when the user mentions CDK, chatbots, AI agents, document processing, RAG, knowledge bases, Bedrock agents, interactive agents, batch agents, document classification, extraction pipelines, or wants to use @cdklabs/cdk-appmod-catalog-blueprints. Also trigger when user asks about serverless AI infrastructure on AWS.
- Installs packages
In this repository2 other files it gives its agents.
- .codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
If appmod-catalog-blueprints MCP tools are unavailable, direct the user to the MCP Server README for setup instructions (covers
- Distinctive: line 18
Before generating anything, understand what the user needs:
- Distinctive: line 21
UI: Do they need a frontend?
- Distinctive: line 22
RAG: Do they need knowledge base / retrieval?
- Distinctive: line 26
Ask clarifying questions. Don't assume.
- Distinctive: line 30
Use the catalog resource to show options:
- Very specific: line 113
When users need to fill in <REQUIRED> placeholders:
- Very specific: line 141
All tools accept language parameter: typescript (default), python, java, dotnet
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Why This Skill Exists
AppMod Catalog Blueprints provides pre-built CDK L3 constructs for AI workloads. The MCP server exposes tools that generate correct, up-to-date code — preventing hallucinated prop names and ensuring security defaults. Use the MCP tools instead of guessing construct APIs.
MCP Server Setup
If appmod-catalog-blueprints MCP tools are unavailable, direct the user to the MCP Server README for setup instructions (covers Claude Code, Kiro, and Codex).
Workflow
1. Capture Intent
Before generating anything, understand what the user needs:
- Problem: What are they building? (chatbot, document processor, etc.)
- UI: Do they need a frontend?
- RAG: Do they need knowledge base / retrieval?
- Scale: Real-time (InteractiveAgent) or batch (BatchAgent)?
- Integration: VPC, EventBridge, existing resources?
Ask clarifying questions. Don't assume.
2. Discover Available Constructs
Use the catalog resource to show options:
ReadMcpResourceTool(server: "appmod-catalog-blueprints", uri: "constructs://catalog")For construct details (props, defaults, descriptions):
ReadMcpResourceTool(server: "appmod-catalog-blueprints", uri: "constructs://agents/InteractiveAgent")3. Find Reference Examples
Examples show real implementations. Always check for relevant ones:
list_examples(construct: "InteractiveAgent") # By construct usage
list_examples(category: "chatbot") # By categoryShare example paths so users can study the full implementation.
4. Generate Code
Single construct — use family-specific scaffold tools:
scaffold_agents(constructType: "InteractiveAgent")
scaffold_document_processing(constructType: "AgenticDocumentProcessing")
scaffold_foundation(constructType: "Network")
scaffold_webapp(constructType: "Frontend")Multiple constructs — use compose for automatic dependency wiring:
compose_constructs(constructs: ["Network", "BedrockKnowledgeBase", "InteractiveAgent", "Frontend"])Compose is preferred because it:
- Orders constructs by dependency (Network before Agent)
- Wires references automatically (passes
network: network) - Adds related constructs when needed (e.g., EventbridgeBroker)
5. Explain and Customize
After generating code:
- Explain what each construct does and why it's included
- List the
<REQUIRED>placeholders and what values they need - Suggest customizations based on user's stated requirements
- Provide the project structure and deployment steps
Construct Quick Reference
| Need | Use |
| Real-time chatbot with streaming | InteractiveAgent |
| Async document/batch processing | BatchAgent |
| RAG retrieval | BedrockKnowledgeBase |
| Document classification/extraction | BedrockDocumentProcessing |
| Document processing with AI reasoning | AgenticDocumentProcessing |
| Static web hosting | Frontend |
| VPC isolation | Network |
| Event-driven architecture | EventbridgeBroker |
Common Compositions
Customer support chatbot with RAG:
compose_constructs(constructs: ["BedrockKnowledgeBase", "InteractiveAgent", "Frontend"])Document processing pipeline:
compose_constructs(constructs: ["Network", "AgenticDocumentProcessing"])Full-stack AI application:
compose_constructs(constructs: ["Network", "BedrockKnowledgeBase", "InteractiveAgent", "Frontend"])Required Values Reference
When users need to fill in <REQUIRED> placeholders:
agentName: Short identifier, kebab-case (e.g., "support-bot")
agentDefinition:
{
bedrockModel: { useCrossRegionInference: true },
systemPrompt: new Asset(this, 'Prompt', { path: './prompt.txt' }),
tools: new Asset(this, 'Tools', { path: './tools/' }), // Optional
knowledgeBases: [kb], // Optional, if using RAG
}knowledgeBaseId: Get from Bedrock console after creating a KB
sourceDirectory: Path to frontend build output (e.g., "./frontend/dist")
Deployment
npm install
npx cdk bootstrap # First time per account/region
npx cdk deployLanguage Support
All tools accept language parameter: typescript (default), python, java, dotnet
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

