agentleFS
cdklabscdklabs/cdk-appmod-catalog-blueprints/skills/appmod-blueprints-builder/SKILL.md

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

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
  1. Very specific:

    If appmod-catalog-blueprints MCP tools are unavailable, direct the user to the MCP Server README for setup instructions (covers

    line 12
  2. Distinctive:

    Before generating anything, understand what the user needs:

    line 18
  3. Distinctive:

    UI: Do they need a frontend?

    line 21
  4. Distinctive:

    RAG: Do they need knowledge base / retrieval?

    line 22
  5. Distinctive:

    Ask clarifying questions. Don't assume.

    line 26
  6. Distinctive:

    Use the catalog resource to show options:

    line 30
  7. Very specific:

    When users need to fill in <REQUIRED> placeholders:

    line 113
  8. Very specific:

    All tools accept language parameter: typescript (default), python, java, dotnet

    line 141

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 category

Share 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:

  1. Explain what each construct does and why it's included
  2. List the <REQUIRED> placeholders and what values they need
  3. Suggest customizations based on user's stated requirements
  4. Provide the project structure and deployment steps

Construct Quick Reference

NeedUse
Real-time chatbot with streamingInteractiveAgent
Async document/batch processingBatchAgent
RAG retrievalBedrockKnowledgeBase
Document classification/extractionBedrockDocumentProcessing
Document processing with AI reasoningAgenticDocumentProcessing
Static web hostingFrontend
VPC isolationNetwork
Event-driven architectureEventbridgeBroker

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 deploy

Language Support

All tools accept language parameter: typescript (default), python, java, dotnet

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.