Skip to content

Commit cd1dea7

Browse files
committed
Updated prompts up to stage 06, infrastructure deployment
1 parent 12d96bd commit cd1dea7

File tree

9 files changed

+947
-92
lines changed

9 files changed

+947
-92
lines changed

workshops/modernizr/prompts/01-mysql-analysis/tasks.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
- The subfolders have compiled projects, make sure to create a gitignore so you track only what you will be modifying not the compiled version or the node_modules
1515
- Use a temporary file called `artifacts/stage-01/01_working_log.md` to track your current work and important notes throughout this entire stage
1616
- Update the file task.md once completed, please let the user know that you have completed this task and summarize what has been done
17-
- Commit the latest changes registered in the working log and other artifacts
17+
- **COMMIT**: Commit the latest changes with message "stage-01 task 0: Set up Git source control and initialize project structure"
1818
- _Requirements: 1.1, 1.2, 1.3, 1.4, 1.5_
1919

2020
- [ ] 1. Identify current application access patterns
@@ -30,6 +30,7 @@
3030
- Detailed explanation on the relationship between the different entities
3131
- Enumerate the access patterns so it is easier to know how many the application will need to support
3232
- **Clear statement**: "These patterns represent ALL access patterns that must be supported in the DynamoDB design"
33+
- **COMMIT**: Commit API analysis with message "stage-01 task 1: Identify current application access patterns from backend API"
3334
- Update the file task.md once completed, please let the user know that you have completed this task and summarize what has been done
3435
- _Requirements: 3.3, 4.2, 4.4_
3536

@@ -45,6 +46,7 @@
4546
- RPS estimates based on log data WHERE AVAILABLE
4647
- **Explicit statement**: "This log analysis provides performance data for observed queries only. Complete access pattern requirements come from API analysis in task 1."
4748
- Use the working log file `artifacts/stage-01/01_working_log.md` to track your current work and important notes
49+
- **COMMIT**: Commit MySQL log analysis with message "stage-01 task 2: Analyze MySQL database logs for performance data"
4850
- Update the file task.md once completed, please let the user know that you have completed this task and summarize what has been done
4951
- DO NOT SUGGEST A DYNAMODB TABLE STRUCTURE - focus only on current MySQL analysis
5052
- _Requirements: 2.1, 2.2, 2.3, 2.4, 2.5, 2.6_
@@ -62,6 +64,7 @@
6264
- Current database schema structure showing the complete data model
6365
- **Clear statement**: "This represents the complete source data model that must be migrated to DynamoDB"
6466
- Use the working log file `artifacts/stage-01/01_working_log.md` to track your current work and important notes
67+
- **COMMIT**: Commit table structure analysis with message "stage-01 task 3: Extract complete table structure using MySQL MCP server"
6568
- DO NOT SUGGEST A DYNAMODB TABLE STRUCTURE - focus only on current MySQL analysis
6669
- Update the file task.md once completed, please let the user know that you have completed this task and summarize what has been done
6770
- _Requirements: 3.1, 3.2, 3.4, 3.5, 4.1, 4.3, 4.5_

workshops/modernizr/prompts/02-a-dynamodb-data-modeling/tasks.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
- Extract key entities, relationships, and access patterns from the artifacts without making any design assumptions
2626
- Identify current MySQL schema structure, constraints, and performance characteristics from table structure analysis
2727
- Document any existing bottlenecks or performance issues from the MySQL log analysis
28-
- **COMMIT**: Commit artifact analysis with message "Analyze stage-01 artifacts for DynamoDB modeling context"
28+
- **COMMIT**: Commit artifact analysis with message "stage-02-a task 1.1: Analyze stage-01 artifacts for DynamoDB modeling context"
2929
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
3030
- _Requirements: 1.1_
3131

@@ -37,7 +37,7 @@
3737
- **STEP 4**: Work with user to estimate RPS based on business context if not available from performance analysis
3838
- **STEP 5**: ONLY AFTER all information is gathered, create comprehensive access patterns analysis table with Pattern #, Description, RPS (Peak/Average), Type, Attributes, Key Requirements, and Design Considerations
3939
- **IMPORTANT**: Do not create any files until user has provided all RPS estimates and confirmed pattern completeness
40-
- **COMMIT**: Commit access pattern requirements with message "Document complete access patterns with RPS estimates"
40+
- **COMMIT**: Commit access pattern requirements with message "stage-02-a task 1.2: Document complete access patterns with RPS estimates"
4141
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
4242
- _Requirements: 1.2, 1.3_
4343

@@ -51,7 +51,7 @@
5151
- **USER CONFIRMATION GATE**: Ask user "Do these access patterns and requirements look complete? Are there any other patterns we should consider?"
5252
- Do not proceed until user explicitly confirms all patterns are captured
5353
- **IMPORTANT**: Do not create any intermediate context document - proceed directly to MCP server interaction in task 2.1
54-
- **COMMIT**: Commit requirements validation with message "Validate complete access pattern requirements with user"
54+
- **COMMIT**: Commit requirements validation with message "stage-02-a task 1.3: Validate complete access pattern requirements with user"
5555
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
5656
- _Requirements: 1.4, 1.5_
5757

@@ -70,8 +70,17 @@
7070
- Log analysis as SUPPLEMENTAL performance data (where available) - This provides performance context
7171
- **IMPORTANT**: Execute each step of the MCP server's workflow in sequence, using the prepared context to fulfill each specific requirement
7272
- **IMPORTANT**: Ensure any files created are placed in the `artifacts/stage-02/` folder as specified by MCP server prompt
73+
- **STEP 4 - MANDATORY ACCESS PATTERN VALIDATION**: After completing the MCP server workflow, perform explicit validation:
74+
- **CRITICAL**: Read the access patterns file created in task 1.2 (likely named `access_patterns_with_rps.md` or similar)
75+
- **CRITICAL**: For EACH access pattern listed in that file, verify it is explicitly addressed in the MCP-generated artifacts
76+
- **VALIDATION FORMAT**: Create a checklist showing:
77+
- Pattern #1: [Pattern Name] - ✓ Addressed in [Table Name/GSI] OR ✗ MISSING
78+
- Pattern #2: [Pattern Name] - ✓ Addressed in [Table Name/GSI] OR ✗ MISSING
79+
- Continue for ALL patterns
80+
- **CRITICAL**: If ANY patterns are marked as MISSING, immediately update the MCP-generated artifacts to include them
81+
- **CRITICAL**: Do not proceed until ALL access patterns from the requirements file are explicitly addressed
7382
- **EXPECTED OUTCOME**: The MCP server prompt will likely request comprehensive DynamoDB design documentation including table designs, access pattern mapping, cost analysis, and migration considerations
74-
- **COMMIT**: Commit complete MCP design analysis with message "Generate comprehensive DynamoDB design using MCP server prompt and prepared context"
83+
- **COMMIT**: Commit complete MCP design analysis with message "stage-02-a task 2.1: Generate comprehensive DynamoDB design using MCP server prompt and prepared context"
7584
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
7685
- _Requirements: 2.1, 2.2, 2.3, 2.4, 2.5, 3.1_
7786

@@ -83,7 +92,7 @@
8392
- Validate that all MySQL entities are properly mapped to DynamoDB structures
8493
- Verify that the MCP server's design approach is well-justified and addresses all requirements
8594
- If any sections are missing or incomplete, request MCP server to regenerate the file
86-
- **COMMIT**: Commit design validation with message "Validate MCP-generated dynamodb_data_model.md file completeness"
95+
- **COMMIT**: Commit design validation with message "stage-02-a task 3.1: Validate MCP-generated dynamodb_data_model.md file completeness"
8796
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
8897
- _Requirements: 3.2, 3.3_
8998

@@ -100,7 +109,7 @@
100109
- **USER VALIDATION PER TABLE**: Ask user "Does this table design make sense? Do you understand why we're combining/splitting these MySQL tables this way?"
101110
- **CRITICAL**: Do not proceed to next table until user confirms understanding of current table
102111
- Document any user concerns or requested modifications for each table
103-
- **COMMIT**: Commit table-by-table validation with message "Complete table-by-table design validation with user"
112+
- **COMMIT**: Commit table-by-table validation with message "stage-02-a task 3.2: Complete table-by-table design validation with user"
104113
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
105114
- _Requirements: 3.4, 3.5_
106115

@@ -112,7 +121,7 @@
112121
- Make any necessary adjustments to the document based on validation findings and user concerns
113122
- **USER CONFIRMATION GATE**: Ask user "After reviewing each table individually, does the complete design approach look good?"
114123
- Do not proceed until user explicitly approves the overall design approach
115-
- **COMMIT**: Commit finalized data model with message "Finalize MCP-generated DynamoDB data model with table-by-table validation"
124+
- **COMMIT**: Commit finalized data model with message "stage-02-a task 3.3: Finalize MCP-generated DynamoDB data model with table-by-table validation"
116125
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
117126
- _Requirements: 3.4, 3.5_
118127

@@ -125,7 +134,7 @@
125134
- For denormalized attributes: MUST include denormalized=true, justification, and join object with local_column and source_column
126135
- Implement proper unique constraint handling patterns with lookup tables as specified in the data model
127136
- Map all table designs and access patterns from the data model document to the JSON contract format
128-
- **COMMIT**: Commit migration contract generation with message "Generate migration contract from finalized data model"
137+
- **COMMIT**: Commit migration contract generation with message "stage-02-a task 4.1: Generate migration contract from finalized data model"
129138
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
130139
- _Requirements: 4.1, 4.2, 4.3_
131140

@@ -137,7 +146,7 @@
137146
- Check that unique constraint handling is properly implemented with TransactWriteItems patterns
138147
- **USER CONFIRMATION GATE**: Ask user "Does this migration contract look complete and accurate? Are all the mappings correct?"
139148
- Do not proceed until user explicitly validates the migration contract
140-
- **COMMIT**: Commit contract validation with message "Validate migration contract completeness and accuracy"
149+
- **COMMIT**: Commit contract validation with message "stage-02-a task 4.2: Validate migration contract completeness and accuracy"
141150
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
142151
- _Requirements: 4.4, 4.5_
143152

@@ -148,7 +157,7 @@
148157
- Document any deviations from MCP server recommendations and reasons
149158
- Create troubleshooting guide for common issues identified during analysis
150159
- Include recommendations for monitoring and operational considerations
151-
- **COMMIT**: Commit documentation summary with message "Create comprehensive documentation summary"
160+
- **COMMIT**: Commit documentation summary with message "stage-02-a task 5.1: Create comprehensive documentation summary"
152161
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
153162
- _Requirements: 5.1_
154163

@@ -158,7 +167,7 @@
158167
- Verify that all design decisions are documented with trade-offs and rollback strategies
159168
- Validate that outputs provide sufficient information for stage 04 DynamoDB implementation
160169
- Confirm user has approved all major design decisions and migration contract
161-
- **COMMIT**: Commit final validation with message "Complete DynamoDB data modeling with MCP server assistance"
170+
- **COMMIT**: Commit final validation with message "stage-02-a task 5.2: Complete DynamoDB data modeling with MCP server assistance"
162171
- **MARK COMPLETE**: Update this task to [x] and commit the tasks.md change
163172
- _Requirements: 5.2_
164173

0 commit comments

Comments
 (0)