CDK Contribution Skill is an Agent Skill that combines multiple specialized subagents, AWS tooling, and Agent SOPs to streamline the entire contribution process. It helps experienced developers move faster from issue analysis to PR submission while maintaining human oversight at critical decision points.
- Lower Contribution Barriers: Standardized LLM prompt templates maintained by the CDK team make it easier for new developers to contribute to AWS CDK
- Enhanced Development Efficiency: Kiro IDE integration accelerates PR authoring and self-review processes
- Knowledge Standardization: Codifies CDK team best practices into reusable, version-controlled prompt templates
- Skill Definition (
cdk-contribution-skill/SKILL.md) - Orchestrator instructions with phased workflow, approval gates, and deliverable requirements - CDK Team Agent SOPs (
cdk-contribution-skill/references/) - Standard operating procedures for each specialized phase of the contribution workflow - Subagent Orchestration - Parallel execution of specialized agents (Issue Analyst, Solution Architect, Implementation Specialist, Test Engineer, QA, Documentation, Security Review, etc.)
The skill implements an orchestrator pattern that:
- Runs subagents in parallel where possible
- Includes a human approval gate before implementation
- Produces all PR artifacts (code changes, tests, documentation, changelog)
- Writes structured deliverables to
.kiro/contributions/<ISSUE_NUMBER>/ - Automates the journey from "here's a GitHub issue" to "here's a ready-to-submit PR"
A contributor acceleration tool that helps experienced developers move faster from issue → PR ready for review, with:
- Human-in-the-loop at critical decision points
- Approval gateway before implementation
- Contributor remains accountable for the final PR
- Not a "zero-coding" AI PR generator
- Not a tool for users with no CDK/coding experience
- Not producing unreviewed "AI slop" PRs
- Developers with coding experience looking to contribute to AWS CDK
- Beginning contributors who want guidance on CDK patterns and conventions
- Repeat/seasoned contributors who want to accelerate routine PR tasks
- Anyone comfortable reviewing and taking ownership of AI-assisted code
- Users with no coding experience
- Anyone expecting fully automated, zero-review PRs
- Users unwilling to review and approve AI-generated changes
- Those looking to bulk-generate low-quality contributions
┌─────────────────────────────────────┐
│ MAIN ORCHESTRATOR │
│ (Me - Coordinates work) │
└─────────────────┬───────────────────┘
│
┌─────────────┴─────────────┐
│ PHASE 1: ANALYSIS │
└─────────────┬─────────────┘
▼
┌───────────────────────────┐
│ ISSUE ANALYST │
│ Analyze issue & code │
└─────────────┬─────────────┘
│
┌─────────────┴─────────────┐
│ PHASE 2: PLANNING │
└─────────────┬─────────────┘
▼
┌───────────────────────────┐
│ SOLUTION ARCHITECT │
│ Create impl plan │
└─────────────┬─────────────┘
▼
┌───────────────────────────┐
│ 🧑 YOUR APPROVAL 🧑 │
│ Review plan before │
│ any code is written │
└─────────────┬─────────────┘
[YES] │
┌─────────────┴─────────────┐
│ PHASE 3: BUILD & IMPL │
└─────────────┬─────────────┘
▼
┌───────────────────────────┐
│ BUILD + IMPLEMENT │
│ Setup env & write code │
└─────────────┬─────────────┘
│
┌─────────────┴─────────────┐
│ PHASE 4: PARALLEL VALID │
└─────────────┬─────────────┘
┌─────────┼─────────┐
▼ ▼ ▼
┌───────┐ ┌───────┐ ┌───────┐
│ TEST │ │ QA │ │ DOCS │
└───┬───┘ └───┬───┘ └───┬───┘
└─────────┼─────────┘
│
┌─────────────┴─────────────┐
│ PHASE 5: SELF REVIEW │
└─────────────┬─────────────┘
┌─────────┴─────────┐
▼ ▼
┌───────────┐ ┌───────────┐
│ SECURITY │ │REGRESSION │
│ REVIEW │ │ REVIEW │
└─────┬─────┘ └─────┬─────┘
└─────────┬─────────┘
▼
┌───────────────────┐
│ SYNTHESIZE │
│ REVIEW REPORT │
└─────────┬─────────┘
▼
┌───────────────────────────┐
│ 🧑 REVIEW FINDINGS 🧑 │
│ Submit PR or fix issues │
└───────────────────────────┘
The Issue Analyst examines the GitHub issue and relevant codebase to understand requirements and context.
The Solution Architect creates a detailed implementation plan based on the analysis.
🧑 Human Approval Gate: You review and approve the plan before any code is written.
The Build Engineer sets up the environment, and the Implementation Specialist writes the code according to the approved plan.
Multiple specialists work in parallel:
- Test Engineer creates and runs tests
- QA Specialist validates quality standards
- Documentation Specialist updates docs
Security and Regression reviewers examine the changes, then synthesize findings into a comprehensive review report.
🧑 Final Review: You review all findings and decide whether to submit the PR or address issues.
Each phase writes its output to .kiro/contributions/<ISSUE_NUMBER>/:
| Phase | Output File |
|---|---|
| Phase 1 | 01-analysis.md |
| Phase 2 | 02-solution.md |
| Phase 3 | 03-build.md |
| Phase 4 | 04-validation.md |
| Phase 5 | 05-review.md |
Each deliverable includes ASCII diagrams summarizing key findings for that phase.
Detailed standard operating procedures are in cdk-contribution-skill/references/:
| SOP | Phase | Purpose |
|---|---|---|
issue-analyst-sop.md |
1 – Analysis | Issue analysis and classification |
solution-architect-sop.md |
2 – Planning | Solution design and planning |
build-engineer-sop.md |
3 – Build & Impl | Build environment setup |
implementation-specialist-sop.md |
3 – Build & Impl | Code implementation |
test-engineer-sop.md |
4 – Validation | Unit and integration testing |
quality-assurance-sop.md |
4 – Validation | Lint, build, and quality checks |
documentation-specialist-sop.md |
4 – Validation | README and docs updates |
security-reviewer-sop.md |
5 – Self Review | Security review |
regression-reviewer-sop.md |
5 – Self Review | Regression review |
review-report-generator-sop.md |
5 – Self Review | Final review report synthesis |
Supplementary references: debug-ci.md, integ-testing.md, linting.md
Kiro IDE
- Open Agent Steering & Skills in the Kiro panel
- Click + → Import a skill
- Select GitHub and paste:
https://github.com/cdklabs/cdk-contribution-skill/tree/main/cdk-contribution-skill
Kiro CLI
Ask Kiro to install it:
Install https://github.com/cdklabs/cdk-contribution-skill to my Kiro skills
- Point the skill at a CDK GitHub issue
- Review and approve the implementation plan
- Review the final output and submit your PR
- Local clone of the
aws-cdkrepository - Node.js v18+, Yarn
ghCLI (preferred for issue analysis) withgh auth logincompleted- GitHub MCP server (fallback if
ghCLI is unavailable)
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.