Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
69b42fc
add diagram skill
mayakost Mar 20, 2026
55b946c
fix: resolve CI failures — use defusedxml for safe XML parsing, fix m…
mayakost Mar 23, 2026
f2a2579
Add architecture diagram skill
mayakost Mar 23, 2026
28b9b5c
fix: split SKILL.md into references to pass skill-length lint rule
mayakost Mar 23, 2026
1f466d9
fix: apply dprint formatting to pass fmt:check
mayakost Mar 23, 2026
d92c414
fix(diagram-skill): remove defusedxml dependency, fix code quality is…
scoropeza Mar 24, 2026
68caa21
refactor(diagram-skill): consolidate references, delete outdated exam…
scoropeza Mar 24, 2026
1d1a401
refactor(diagram-skill): restructure SKILL.md for progressive disclosure
scoropeza Mar 24, 2026
35fc174
fix(diagram-skill): remove white background and edge label background…
scoropeza Mar 24, 2026
41ae138
feat(diagram-skill): support non-AWS architecture diagrams
scoropeza Mar 24, 2026
eb78b16
merge: resolve marketplace.json conflict with upstream/main
scoropeza Mar 24, 2026
9bf773c
fix(diagram-skill): restore defusedxml, add README, fix markdown lint
scoropeza Mar 27, 2026
1b7dcf2
fix(diagram-skill): apply dprint formatting to group-styles.md table
scoropeza Mar 27, 2026
59d21cb
Merge branch 'main' into feat/diagram-skill
theagenticguy Apr 1, 2026
7742c33
fix(diagram-skill): align validator with skill rules, fix template an…
scoropeza Apr 1, 2026
223e412
Merge branch 'main' into feat/diagram-skill
scoropeza Apr 2, 2026
0febe00
Merge branch 'main' into feat/diagram-skill
scoropeza Apr 3, 2026
aed9aca
fix(diagram-skill): harden scripts against injection, error suppressi…
scoropeza Apr 6, 2026
6ecd423
fix(diagram-skill): add nosec/nosemgrep suppression for stdlib indent…
scoropeza Apr 6, 2026
2356984
fix(diagram-skill): use bare nosemgrep suppression for stdlib indent(…
scoropeza Apr 6, 2026
6f51d7b
fix(diagram-skill): use full semgrep rule IDs for nosemgrep suppression
scoropeza Apr 6, 2026
059308d
fix(diagram-skill): remove stdlib xml.etree.ElementTree import entirely
scoropeza Apr 6, 2026
38dda38
Merge branch 'main' into feat/diagram-skill
scoropeza Apr 6, 2026
3d0f77c
fix(diagram-skill): sanitize XML attributes in validator error messages
mayakost Apr 6, 2026
90a8a01
Merge branch 'main' into feat/diagram-skill
mayakost Apr 6, 2026
575876c
fix(deploy-on-aws): harden diagram scripts against DoS, symlink write…
scottschreckengaust Apr 7, 2026
dbc12d6
fix(deploy-on-aws): resolve file paths to prevent path traversal in h…
scottschreckengaust Apr 7, 2026
b1a1ece
fix(deploy-on-aws): use os.path.realpath() for semgrep-recognized tai…
scottschreckengaust Apr 7, 2026
d683870
fix(deploy-on-aws): sync Codex plugin manifest with v1.2.0 diagram sk…
mayakost Apr 7, 2026
f69c849
Update plugins/deploy-on-aws/skills/aws-architecture-diagram/SKILL.md
mayakost Apr 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
},
{
"category": "deployment",
"description": "Deploy applications to AWS with architecture recommendations, cost estimates, and IaC deployment.",
"description": "Deploy applications to AWS with architecture recommendations, cost estimates, and IaC deployment. Generate validated AWS architecture diagrams as draw.io XML.",
"keywords": [
"aws",
"aws agent skills",
Expand All @@ -115,12 +115,15 @@
"cdk",
"cloudformation",
"infrastructure",
"pricing"
"pricing",
"diagrams",
"draw.io",
"architecture"
],
"name": "deploy-on-aws",
"source": "./plugins/deploy-on-aws",
"tags": ["aws", "deploy", "infrastructure", "cdk"],
"version": "1.1.0"
"tags": ["aws", "deploy", "infrastructure", "cdk", "diagrams"],
"version": "1.2.0"
},
{
"category": "migration",
Expand Down
9 changes: 6 additions & 3 deletions plugins/deploy-on-aws/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,21 @@
"author": {
"name": "Amazon Web Services"
},
"description": "Deploy applications to AWS with architecture recommendations, cost estimates, and IaC deployment.",
"description": "Deploy applications to AWS with architecture recommendations, cost estimates, and IaC deployment. Generate validated AWS architecture diagrams as draw.io XML.",
"homepage": "https://github.com/awslabs/agent-plugins",
"keywords": [
"aws",
"deploy",
"infrastructure",
"cdk",
"cloudformation",
"pricing"
"pricing",
"diagrams",
"draw.io",
"architecture"
],
"license": "Apache-2.0",
"name": "deploy-on-aws",
"repository": "https://github.com/awslabs/agent-plugins",
"version": "1.1.0"
"version": "1.2.0"
}
9 changes: 6 additions & 3 deletions plugins/deploy-on-aws/.codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "deploy-on-aws",
"version": "1.1.0",
"description": "Deploy applications to AWS with architecture recommendations, cost estimates, and IaC deployment.",
"version": "1.2.0",
"description": "Deploy applications to AWS with architecture recommendations, cost estimates, and IaC deployment. Generate validated AWS architecture diagrams as draw.io XML.",
"author": {
"name": "Amazon Web Services",
"email": "aws-agent-plugins@amazon.com",
Expand All @@ -16,7 +16,10 @@
"infrastructure",
"cdk",
"cloudformation",
"pricing"
"pricing",
"diagrams",
"draw.io",
"architecture"
],
"skills": "./skills/",
"mcpServers": "./.mcp.json",
Expand Down
57 changes: 57 additions & 0 deletions plugins/deploy-on-aws/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Deploy on AWS Plugin

Deploy applications to AWS with architecture recommendations, cost estimates, IaC deployment, and validated architecture diagrams.

## Overview

This plugin provides two skills: infrastructure deployment with cost estimation, and AWS architecture diagram generation as draw.io XML with official AWS4 icons.

## Skills

| Skill | Description |
| -------------------------- | ----------------------------------------------------------------------------------------------------- |
| `deploy` | Analyze codebases, recommend AWS services, estimate costs, and generate CDK/CloudFormation IaC |
| `aws-architecture-diagram` | Generate validated draw.io architecture diagrams with AWS4 icons, step legends, and dark mode support |

## MCP Servers

| Server | Description |
| -------------- | ------------------------------------------------- |
| `awsiac` | AWS IaC best practices and patterns |
| `awsknowledge` | Architecture guidance and service recommendations |
| `awspricing` | Real-time AWS pricing data for cost estimation |

## Installation

```bash
/plugin marketplace add awslabs/agent-plugins
/plugin install deploy-on-aws@agent-plugins-for-aws
```

## Prerequisites

- Python 3.9+
- `defusedxml` — required for diagram XML validation: `pip3 install defusedxml>=0.7.1`
- AWS CLI with configured credentials (for deployment skills)
- [draw.io desktop](https://www.drawio.com/) (optional, for PNG/SVG/PDF export)

## Examples

- "Deploy my app to AWS"
- "Estimate AWS costs for this project"
- "Generate an architecture diagram for a serverless REST API"
- "Create a sketch-mode diagram of my IoT pipeline"
- "Analyze my codebase and generate an architecture diagram"

## Files

- `skills/deploy/SKILL.md` — Infrastructure deployment workflow
- `skills/aws-architecture-diagram/SKILL.md` — Diagram generation skill
- `skills/aws-architecture-diagram/references/` — Style guides, templates, and example diagrams
- `scripts/validate-drawio.sh` — PostToolUse hook for diagram validation
- `scripts/lib/` — Post-processing pipeline (icon colors, badge placement, legend sizing)
- `scripts/requirements.txt` — Python dependencies

## License

Apache-2.0
16 changes: 16 additions & 0 deletions plugins/deploy-on-aws/hooks/hooks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-drawio.sh",
"timeout": 30
}
]
}
]
}
}
Loading
Loading