@forwardimpact/pathway 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/app/commands/agent.js +109 -21
  2. package/app/commands/command-factory.js +3 -3
  3. package/app/commands/interview.js +14 -7
  4. package/app/commands/job.js +43 -29
  5. package/app/commands/progress.js +14 -7
  6. package/app/commands/serve.js +5 -0
  7. package/app/commands/stage.js +0 -10
  8. package/app/commands/track.js +5 -8
  9. package/app/components/builder.js +111 -27
  10. package/app/css/components/surfaces.css +16 -0
  11. package/app/formatters/agent/profile.js +113 -87
  12. package/app/formatters/agent/skill.js +64 -31
  13. package/app/formatters/behaviour/dom.js +3 -0
  14. package/app/formatters/behaviour/microdata.js +106 -0
  15. package/app/formatters/discipline/dom.js +28 -1
  16. package/app/formatters/discipline/microdata.js +117 -0
  17. package/app/formatters/discipline/shared.js +49 -8
  18. package/app/formatters/driver/dom.js +3 -0
  19. package/app/formatters/driver/microdata.js +91 -0
  20. package/app/formatters/grade/dom.js +3 -0
  21. package/app/formatters/grade/microdata.js +151 -0
  22. package/app/formatters/index.js +32 -1
  23. package/app/formatters/interview/shared.js +13 -8
  24. package/app/formatters/job/description.js +5 -3
  25. package/app/formatters/json-ld.js +242 -0
  26. package/app/formatters/microdata-shared.js +184 -0
  27. package/app/formatters/progress/shared.js +14 -11
  28. package/app/formatters/skill/dom.js +3 -0
  29. package/app/formatters/skill/microdata.js +151 -0
  30. package/app/formatters/stage/dom.js +3 -18
  31. package/app/formatters/stage/microdata.js +110 -0
  32. package/app/formatters/stage/shared.js +0 -27
  33. package/app/formatters/track/dom.js +5 -30
  34. package/app/formatters/track/markdown.js +2 -25
  35. package/app/formatters/track/microdata.js +111 -0
  36. package/app/formatters/track/shared.js +6 -58
  37. package/app/handout-main.js +26 -12
  38. package/app/index.html +11 -0
  39. package/app/lib/card-mappers.js +17 -12
  40. package/app/lib/job-cache.js +12 -9
  41. package/app/lib/template-loader.js +66 -0
  42. package/app/lib/yaml-loader.js +25 -8
  43. package/app/main.js +8 -4
  44. package/app/model/agent.js +158 -130
  45. package/app/model/checklist.js +57 -91
  46. package/app/model/derivation.js +135 -68
  47. package/app/model/index-generator.js +1 -7
  48. package/app/model/job.js +19 -13
  49. package/app/model/levels.js +20 -12
  50. package/app/model/loader.js +41 -17
  51. package/app/model/matching.js +33 -3
  52. package/app/model/profile.js +38 -45
  53. package/app/model/schema-validation.js +438 -0
  54. package/app/model/validation.js +747 -68
  55. package/app/pages/agent-builder.js +119 -25
  56. package/app/pages/assessment-results.js +10 -4
  57. package/app/pages/discipline.js +36 -6
  58. package/app/pages/driver.js +9 -47
  59. package/app/pages/interview-builder.js +3 -1
  60. package/app/pages/interview.js +15 -4
  61. package/app/pages/job-builder.js +4 -1
  62. package/app/pages/job.js +15 -4
  63. package/app/pages/landing.js +10 -10
  64. package/app/pages/progress-builder.js +3 -1
  65. package/app/pages/progress.js +72 -21
  66. package/app/pages/stage.js +3 -126
  67. package/app/slide-main.js +45 -17
  68. package/app/slides/index.js +3 -1
  69. package/app/slides/overview.js +40 -4
  70. package/app/slides/progress.js +4 -2
  71. package/bin/pathway.js +18 -64
  72. package/examples/agents/.claude/skills/architecture-design/SKILL.md +58 -16
  73. package/examples/agents/.claude/skills/cloud-platforms/SKILL.md +59 -18
  74. package/examples/agents/.claude/skills/code-quality-review/SKILL.md +58 -17
  75. package/examples/agents/.claude/skills/devops-cicd/SKILL.md +64 -18
  76. package/examples/agents/.claude/skills/full-stack-development/SKILL.md +59 -15
  77. package/examples/agents/.claude/skills/sre-practices/SKILL.md +64 -18
  78. package/examples/agents/.claude/skills/technical-debt-management/SKILL.md +58 -17
  79. package/examples/agents/.github/agents/se-platform-code.agent.md +39 -88
  80. package/examples/agents/.github/agents/se-platform-plan.agent.md +41 -88
  81. package/examples/agents/.github/agents/se-platform-review.agent.md +38 -15
  82. package/examples/agents/.vscode/settings.json +1 -1
  83. package/examples/behaviours/outcome_ownership.yaml +1 -2
  84. package/examples/behaviours/polymathic_knowledge.yaml +1 -2
  85. package/examples/behaviours/precise_communication.yaml +1 -2
  86. package/examples/behaviours/relentless_curiosity.yaml +1 -2
  87. package/examples/behaviours/systems_thinking.yaml +1 -2
  88. package/examples/capabilities/business.yaml +80 -142
  89. package/examples/capabilities/delivery.yaml +155 -219
  90. package/examples/capabilities/people.yaml +2 -34
  91. package/examples/capabilities/reliability.yaml +161 -80
  92. package/examples/capabilities/scale.yaml +234 -252
  93. package/examples/copilot-setup-steps.yaml +25 -0
  94. package/examples/devcontainer.yaml +21 -0
  95. package/examples/disciplines/_index.yaml +1 -0
  96. package/examples/disciplines/data_engineering.yaml +14 -12
  97. package/examples/disciplines/engineering_management.yaml +63 -0
  98. package/examples/disciplines/software_engineering.yaml +14 -12
  99. package/examples/drivers.yaml +1 -4
  100. package/examples/framework.yaml +1 -2
  101. package/examples/grades.yaml +1 -3
  102. package/examples/questions/behaviours/outcome_ownership.yaml +1 -2
  103. package/examples/questions/behaviours/polymathic_knowledge.yaml +1 -2
  104. package/examples/questions/behaviours/precise_communication.yaml +1 -2
  105. package/examples/questions/behaviours/relentless_curiosity.yaml +1 -2
  106. package/examples/questions/behaviours/systems_thinking.yaml +1 -2
  107. package/examples/questions/skills/architecture_design.yaml +1 -2
  108. package/examples/questions/skills/cloud_platforms.yaml +1 -2
  109. package/examples/questions/skills/code_quality.yaml +1 -2
  110. package/examples/questions/skills/data_modeling.yaml +1 -2
  111. package/examples/questions/skills/devops.yaml +1 -2
  112. package/examples/questions/skills/full_stack_development.yaml +1 -2
  113. package/examples/questions/skills/sre_practices.yaml +1 -2
  114. package/examples/questions/skills/stakeholder_management.yaml +1 -2
  115. package/examples/questions/skills/team_collaboration.yaml +1 -2
  116. package/examples/questions/skills/technical_writing.yaml +1 -2
  117. package/examples/self-assessments.yaml +1 -3
  118. package/examples/stages.yaml +101 -46
  119. package/examples/tracks/_index.yaml +0 -1
  120. package/examples/tracks/platform.yaml +8 -13
  121. package/examples/tracks/sre.yaml +8 -18
  122. package/examples/vscode-settings.yaml +2 -7
  123. package/package.json +9 -3
  124. package/templates/agent.template.md +65 -0
  125. package/templates/skill.template.md +28 -0
  126. package/examples/agents/.claude/skills/data-modeling/SKILL.md +0 -99
  127. package/examples/agents/.claude/skills/developer-experience/SKILL.md +0 -99
  128. package/examples/agents/.claude/skills/knowledge-management/SKILL.md +0 -100
  129. package/examples/agents/.claude/skills/pattern-generalization/SKILL.md +0 -102
  130. package/examples/agents/.claude/skills/technical-writing/SKILL.md +0 -129
  131. package/examples/tracks/manager.yaml +0 -53
@@ -1,3 +1,5 @@
1
+ # yaml-language-server: $schema=https://schema.forwardimpact.team/json/capability.schema.json
2
+
1
3
  name: Business
2
4
  emoji: 💼
3
5
  displayOrder: 8
@@ -5,40 +7,6 @@ description: |
5
7
  Understanding and driving business value.
6
8
  Includes domain knowledge, stakeholder management, strategic thinking,
7
9
  and translating between technical and business contexts.
8
- transitionChecklists:
9
- plan_to_code:
10
- foundational:
11
- - Business context is understood
12
- - User needs are identified
13
- working:
14
- - Business requirements are documented
15
- - Stakeholder expectations are aligned
16
- - Value proposition is clear
17
- practitioner:
18
- - Business impact is quantified
19
- - Strategic alignment is verified
20
- - Cross-team business needs are considered
21
- expert:
22
- - Enterprise business goals are addressed
23
- - Strategic technology decisions are aligned
24
- - Executive stakeholders are engaged
25
- code_to_review:
26
- foundational:
27
- - Solution addresses the stated business need
28
- - User-facing behavior is correct
29
- - Business requirements are met
30
- working:
31
- - Stakeholder feedback is incorporated
32
- - Business value is delivered
33
- - Success metrics can be measured
34
- practitioner:
35
- - Cross-team business requirements are met
36
- - ROI is demonstrable
37
- - Business risks are mitigated
38
- expert:
39
- - Strategic business outcomes are enabled
40
- - Enterprise value is created
41
- - Business innovation is demonstrated
42
10
  professionalResponsibilities:
43
11
  awareness:
44
12
  Understand the business context for your assigned work and communicate
@@ -134,118 +102,88 @@ skills:
134
102
  initiatives.
135
103
  agent:
136
104
  name: technical-writing
137
- description: >
105
+ description: |
138
106
  Guide for creating clear technical documentation. Use when writing
139
- READMEs,
140
-
141
- API docs, specifications, or any technical content that needs to be
142
- clear
143
-
144
- and accurate.
145
- body: |
146
- # Technical Writing
147
-
148
- ## When to use this skill
107
+ READMEs, API docs, specifications, or any technical content that needs
108
+ to be clear and accurate.
109
+ stages:
110
+ specify:
111
+ focus: |
112
+ Define documentation requirements and audience needs.
113
+ Clarify what the documentation must accomplish.
114
+ activities:
115
+ - Identify target audience and their skill level
116
+ - Document what questions the docs must answer
117
+ - Define documentation type (README, API, spec, tutorial)
118
+ - Specify accuracy and completeness requirements
119
+ - Mark ambiguities with [NEEDS CLARIFICATION]
120
+ ready:
121
+ - Audience is identified
122
+ - Questions to answer are documented
123
+ - Documentation type is chosen
124
+ - Requirements are clear
125
+ plan:
126
+ focus: Understanding audience and planning documentation
127
+ activities:
128
+ - Identify target audience and their needs
129
+ - Determine document type and structure
130
+ - List prerequisites and assumptions
131
+ - Outline key sections and content
132
+ ready:
133
+ - Audience is identified
134
+ - Document type and structure planned
135
+ - Prerequisites listed
136
+ - Outline complete
137
+ code:
138
+ focus: Writing clear and accurate documentation
139
+ activities:
140
+ - Write using simple, direct language
141
+ - Structure content for scanning
142
+ - Include tested, runnable examples
143
+ - Define technical terms
144
+ ready:
145
+ - Purpose clear in first paragraph
146
+ - Examples are tested and work
147
+ - Technical terms are defined
148
+ - Structure supports scanning
149
+ review:
150
+ focus: Verifying documentation quality
151
+ activities:
152
+ - Check accuracy against implementation
153
+ - Verify examples are runnable
154
+ - Review for clarity and completeness
155
+ - Test with target audience if possible
156
+ ready:
157
+ - Documentation matches implementation
158
+ - All examples verified working
159
+ - No ambiguous pronouns
160
+ - Structure is logical and complete
161
+ deploy:
162
+ focus: |
163
+ Publish documentation and ensure it reaches the audience.
164
+ Set up maintenance process.
165
+ activities:
166
+ - Publish to documentation site
167
+ - Announce to relevant teams
168
+ - Add to search indexes and navigation
169
+ - Establish update and review schedule
170
+ ready:
171
+ - Documentation is published and accessible
172
+ - Audience can discover and find it
173
+ - Search and navigation are updated
174
+ - Maintenance schedule is established
175
+ reference: |
176
+ ## Document Types
149
177
 
150
- Use this skill when:
151
- - Writing README files
152
- - Creating API documentation
153
- - Writing technical specifications
154
- - Documenting code and systems
155
- - Creating guides and tutorials
178
+ | Type | Purpose | Key Sections |
179
+ |------|---------|--------------|
180
+ | README | Project overview | Description, Getting Started, Usage |
181
+ | API Docs | API reference | Endpoints, Parameters, Examples |
182
+ | Spec | Design proposal | Problem, Solution, Alternatives |
183
+ | Tutorial | Learning guide | Objective, Steps, Outcomes |
156
184
 
157
185
  ## Writing Principles
158
-
159
- ### Clarity First
160
186
  - Use simple, direct language
161
187
  - One idea per sentence
162
188
  - Active voice over passive
163
- - Avoid jargon unless defined
164
- - Be specific, not vague
165
-
166
- ### Know Your Audience
167
- - What do they already know?
168
- - What do they need to accomplish?
169
- - What's their skill level?
170
- - What questions will they have?
171
-
172
- ### Structure for Scanning
173
- - Lead with the most important information
174
- - Use headings and subheadings
175
- - Keep paragraphs short
176
- - Use lists for multiple items
177
- - Highlight key terms
178
-
179
- ## Document Types
180
-
181
- ### README
182
- - What is this project?
183
- - How do I get started?
184
- - How do I use it?
185
- - Where do I get help?
186
-
187
- ### API Documentation
188
- - Endpoint description
189
- - Parameters and types
190
- - Request/response examples
191
- - Error codes and handling
192
-
193
- ### Technical Specification
194
- - Problem statement
195
- - Proposed solution
196
- - Alternatives considered
197
- - Implementation plan
198
-
199
- ### Tutorial
200
- - Clear learning objective
201
- - Prerequisites listed
202
- - Step-by-step instructions
203
- - Expected outcomes shown
204
-
205
- ## README Template
206
-
207
- ```markdown
208
- # Project Name
209
-
210
- Brief description of what this project does.
211
-
212
- ## Getting Started
213
-
214
- ### Prerequisites
215
- - Required software and versions
216
-
217
- ### Installation
218
- Step-by-step installation instructions.
219
-
220
- ### Quick Start
221
- Minimal example to get running.
222
-
223
- ## Usage
224
- Common use cases with examples.
225
-
226
- ## Contributing
227
- How to contribute to the project.
228
-
229
- ## License
230
- License information.
231
- ```
232
-
233
- ## Code Examples
234
-
235
- Good examples are:
236
- - Complete and runnable
237
- - Minimal but realistic
238
- - Copy-pasteable
239
- - Annotated with comments
240
- - Tested and verified
241
-
242
- ## Technical Writing Checklist
243
-
244
- - [ ] Purpose is clear in first paragraph
245
- - [ ] Audience is identified
246
- - [ ] Prerequisites are listed
247
- - [ ] Examples are tested and work
248
- - [ ] Technical terms are defined
249
- - [ ] Structure supports scanning
250
- - [ ] No ambiguous pronouns
251
- - [ ] Updated when code changes
189
+ - Lead with most important info
@@ -1,3 +1,5 @@
1
+ # yaml-language-server: $schema=https://schema.forwardimpact.team/json/capability.schema.json
2
+
1
3
  name: Delivery
2
4
  emoji: 🚀
3
5
  displayOrder: 1
@@ -5,40 +7,6 @@ description: |
5
7
  Building and shipping solutions that solve real problems.
6
8
  Encompasses full-stack development, data integration, problem discovery,
7
9
  and rapid prototyping.
8
- transitionChecklists:
9
- plan_to_code:
10
- foundational:
11
- - Requirements are understood and documented
12
- - Acceptance criteria are defined
13
- working:
14
- - Technical approach is documented
15
- - Dependencies are identified and planned for
16
- - Scope is broken into deliverable increments
17
- practitioner:
18
- - Cross-team dependencies are coordinated
19
- - Risks are identified with mitigation strategies
20
- - Delivery timeline is realistic and communicated
21
- expert:
22
- - Strategic alignment is validated with stakeholders
23
- - Resource allocation is optimized across teams
24
- - Success metrics are defined and measurable
25
- code_to_review:
26
- foundational:
27
- - Feature works end-to-end
28
- - Basic tests cover critical paths
29
- - Code is self-reviewed before submitting
30
- working:
31
- - All acceptance criteria are met
32
- - Edge cases are handled
33
- - Technical debt is explicitly documented
34
- practitioner:
35
- - Solution addresses cross-team requirements
36
- - Integration points are tested
37
- - Rollback plan exists
38
- expert:
39
- - Organizational standards are followed
40
- - Pattern can be reused across teams
41
- - Documentation enables others to extend
42
10
  professionalResponsibilities:
43
11
  awareness:
44
12
  Complete assigned implementation tasks within established patterns with
@@ -109,133 +77,90 @@ skills:
109
77
  Guide for designing software systems and making architectural decisions.
110
78
  Use when asked to design a system, evaluate architecture options, or
111
79
  make structural decisions about code organization.
112
- body: >
113
- # Architecture & Design
114
-
115
-
116
- ## When to use this skill
117
-
118
-
119
- Use this skill when:
120
-
121
- - Designing new systems or major features
122
-
123
- - Evaluating architectural options and trade-offs
124
-
125
- - Making decisions about code organization and structure
126
-
127
- - Reviewing or improving existing architecture
128
-
129
-
130
- ## Design Process
131
-
132
-
133
- ### 1. Understand Requirements
134
-
135
-
136
- Before designing, clarify:
137
-
138
- - What problem are we solving?
139
-
140
- - What are the non-functional requirements (scale, latency,
141
- availability)?
142
-
143
- - What are the constraints (existing systems, team skills, timeline)?
144
-
145
- - What will change over time?
146
-
147
-
148
- ### 2. Identify Key Decisions
149
-
150
-
151
- Architecture is the set of decisions that are hard to change:
152
-
153
- - Data storage and schema design
154
-
155
- - Service boundaries and communication patterns
156
-
157
- - Synchronous vs asynchronous processing
158
-
159
- - Stateful vs stateless components
160
-
161
-
162
- ### 3. Evaluate Trade-offs
163
-
164
-
165
- Every architectural choice has trade-offs:
166
-
167
- - Consistency vs availability
168
-
169
- - Simplicity vs flexibility
170
-
171
- - Performance vs maintainability
172
-
173
- - Build vs buy
174
-
175
-
176
- Document trade-offs explicitly.
177
-
178
-
179
- ### 4. Design for Change
180
-
181
-
182
- Good architecture accommodates change:
183
-
184
- - Separate what changes from what stays the same
185
-
186
- - Define clear interfaces between components
187
-
188
- - Prefer composition over inheritance
189
-
190
- - Make dependencies explicit
191
-
192
-
80
+ stages:
81
+ specify:
82
+ focus: |
83
+ Define system requirements and constraints before design.
84
+ Clarify functional and non-functional requirements.
85
+ activities:
86
+ - Document functional requirements and use cases
87
+ - Identify non-functional requirements (scale, latency,
88
+ availability)
89
+ - Document system constraints and integration points
90
+ - Identify stakeholders and their concerns
91
+ - Mark ambiguities with [NEEDS CLARIFICATION]
92
+ ready:
93
+ - Functional requirements are documented
94
+ - Non-functional requirements are specified
95
+ - Constraints are identified
96
+ - Stakeholder concerns are understood
97
+ plan:
98
+ focus: Understanding requirements and designing solutions
99
+ activities:
100
+ - Gather context about existing systems and constraints
101
+ - Clarify non-functional requirements (scale, latency, availability)
102
+ - Identify key decisions that are hard to change later
103
+ - Evaluate trade-offs between architectural options
104
+ - Document approach with rationale
105
+ ready:
106
+ - Requirements are clearly understood
107
+ - Key decisions are documented with rationale
108
+ - Trade-offs are explicit
109
+ - Dependencies are identified
110
+ code:
111
+ focus: Implementing architecture faithfully while adapting to reality
112
+ activities:
113
+ - Verify implementation aligns with design decisions
114
+ - Implement interfaces and boundaries before internals
115
+ - Document any deviations from design with rationale
116
+ - Keep architecture documentation in sync with implementation
117
+ ready:
118
+ - Implementation matches documented design
119
+ - Deviations documented with rationale
120
+ - Failure modes are considered and handled
121
+ - Security implications are reviewed
122
+ review:
123
+ focus: Verifying architecture implementation and documentation
124
+ activities:
125
+ - Compare implementation to design documentation
126
+ - Verify all decisions were followed or documented
127
+ - Assess maintainability and extensibility
128
+ - Ensure architecture enables future changes
129
+ ready:
130
+ - Design docs reflect actual implementation
131
+ - Architecture decisions validated in practice
132
+ - Scalability requirements addressed
133
+ deploy:
134
+ focus: |
135
+ Deploy architecture and verify it performs as designed
136
+ in production environment.
137
+ activities:
138
+ - Deploy system components to production
139
+ - Verify architectural boundaries work under load
140
+ - Monitor performance against requirements
141
+ - Document any operational learnings
142
+ ready:
143
+ - System deployed successfully
144
+ - Performance meets requirements
145
+ - Monitoring confirms design assumptions
146
+ - Operational procedures are documented
147
+ reference: |
193
148
  ## Common Patterns
194
149
 
195
-
196
150
  ### Service Architecture
197
-
198
- - Microservices: Independent deployment, clear boundaries
199
-
200
- - Monolith: Simpler deployment, easier refactoring
201
-
202
- - Modular monolith: Boundaries within single deployment
203
-
151
+ - **Microservices**: Independent deployment, clear boundaries
152
+ - **Monolith**: Simpler deployment, easier refactoring
153
+ - **Modular monolith**: Boundaries within single deployment
204
154
 
205
155
  ### Data Patterns
206
-
207
- - Event sourcing: Full audit trail, complex queries
208
-
209
- - CQRS: Separate read and write models
210
-
211
- - Repository pattern: Abstract data access
212
-
156
+ - **Event sourcing**: Full audit trail, complex queries
157
+ - **CQRS**: Separate read and write models
158
+ - **Repository pattern**: Abstract data access
213
159
 
214
160
  ### Communication Patterns
215
-
216
- - REST: Synchronous, request-response
217
-
218
- - Event-driven: Asynchronous, loose coupling
219
-
220
- - gRPC: Efficient, strongly typed
221
-
222
-
223
- ## Architecture Checklist
224
-
225
-
226
- - [ ] Requirements are clearly understood
227
-
228
- - [ ] Key decisions are documented with rationale
229
-
230
- - [ ] Trade-offs are explicit
231
-
232
- - [ ] Failure modes are considered
233
-
234
- - [ ] Scalability requirements are addressed
235
-
236
- - [ ] Security implications are reviewed
237
-
238
- - [ ] Dependencies are minimal and explicit
161
+ - **REST**: Synchronous, request-response
162
+ - **Event-driven**: Asynchronous, loose coupling
163
+ - **gRPC**: Efficient, strongly typed
239
164
  - id: full_stack_development
240
165
  name: Full-Stack Development
241
166
  human:
@@ -270,24 +195,78 @@ skills:
270
195
  polymathic engineering.
271
196
  agent:
272
197
  name: full-stack-development
273
- description: >
198
+ description: |
274
199
  Guide for building complete solutions across the full technology stack.
275
-
276
- Use when asked to implement features spanning frontend, backend,
277
- database,
278
-
200
+ Use when implementing features spanning frontend, backend, database,
279
201
  and infrastructure layers.
280
- body: |
281
- # Full-Stack Development
282
-
283
- ## When to use this skill
284
-
285
- Use this skill when:
286
- - Building features that span multiple layers
287
- - Implementing end-to-end functionality
288
- - Working across frontend, backend, and infrastructure
289
- - Debugging issues that cross layer boundaries
290
-
202
+ stages:
203
+ specify:
204
+ focus: |
205
+ Define full-stack feature requirements and acceptance criteria.
206
+ Clarify user needs and system integration points.
207
+ activities:
208
+ - Identify user stories and acceptance criteria
209
+ - Document expected user interactions
210
+ - Clarify integration requirements with existing systems
211
+ - Define non-functional requirements (performance, security)
212
+ - Mark ambiguities with [NEEDS CLARIFICATION]
213
+ ready:
214
+ - User stories are documented
215
+ - Acceptance criteria are defined
216
+ - Integration points are identified
217
+ - Non-functional requirements are clear
218
+ plan:
219
+ focus: Designing the complete solution across layers
220
+ activities:
221
+ - Define the API contract between frontend and backend
222
+ - Design database schema to support the feature
223
+ - Plan infrastructure requirements
224
+ - Identify cross-layer dependencies
225
+ ready:
226
+ - API contract is defined
227
+ - Database schema is designed
228
+ - Infrastructure needs identified
229
+ - Layer boundaries are clear
230
+ code:
231
+ focus: Building vertically across all layers
232
+ activities:
233
+ - Implement backend API endpoints
234
+ - Build frontend components and integrate with API
235
+ - Set up database migrations and queries
236
+ - Configure infrastructure as code
237
+ - Test across layer boundaries
238
+ ready:
239
+ - Frontend connects to backend correctly
240
+ - Database schema supports the feature
241
+ - Error handling spans all layers
242
+ - Feature works end-to-end
243
+ review:
244
+ focus: Verifying integration across the stack
245
+ activities:
246
+ - Test complete user flows end-to-end
247
+ - Verify error handling at each layer
248
+ - Check deployment pipeline works
249
+ - Validate monitoring and logging
250
+ ready:
251
+ - End-to-end tests pass
252
+ - Deployment is automated
253
+ - Cross-layer errors are handled gracefully
254
+ deploy:
255
+ focus: |
256
+ Deploy full-stack feature to production and verify end-to-end
257
+ functionality in live environment.
258
+ activities:
259
+ - Deploy backend services
260
+ - Deploy frontend changes
261
+ - Run database migrations
262
+ - Verify feature works in production
263
+ - Monitor for errors and performance issues
264
+ ready:
265
+ - All components deployed successfully
266
+ - Feature works end-to-end in production
267
+ - No errors in monitoring
268
+ - Performance meets requirements
269
+ reference: |
291
270
  ## Technology Stack
292
271
 
293
272
  ### Primary Languages
@@ -301,52 +280,9 @@ skills:
301
280
 
302
281
  ## Layer Responsibilities
303
282
 
304
- ### Frontend
305
- - User interface and experience
306
- - Client-side validation
307
- - API integration
308
- - State management
309
-
310
- ### Backend API
311
- - Business logic
312
- - Data validation
313
- - Authentication/authorization
314
- - External service integration
315
-
316
- ### Database
317
- - Data persistence
318
- - Query optimization
319
- - Schema migrations
320
- - Data integrity
321
-
322
- ### Infrastructure
323
- - Deployment pipelines
324
- - Environment configuration
325
- - Scaling and reliability
326
- - Monitoring and logging
327
-
328
- ## Development Process
329
-
330
- ### 1. Start with the Interface
331
- - Define the API contract first
332
- - Frontend and backend can work in parallel
333
- - Clear interface = fewer integration issues
334
-
335
- ### 2. Build Vertically
336
- - Complete one feature end-to-end before starting another
337
- - Validates assumptions early
338
- - Delivers demonstrable progress
339
-
340
- ### 3. Test Across Layers
341
- - Unit tests per layer
342
- - Integration tests across layers
343
- - End-to-end tests for critical paths
344
-
345
- ## Full-Stack Checklist
346
-
347
- - [ ] API contract is defined
348
- - [ ] Frontend connects to backend correctly
349
- - [ ] Database schema supports the feature
350
- - [ ] Error handling spans all layers
351
- - [ ] Feature works end-to-end
352
- - [ ] Deployment is automated
283
+ | Layer | Responsibilities |
284
+ |-------|-----------------|
285
+ | Frontend | UI/UX, client validation, API integration |
286
+ | Backend | Business logic, auth, external services |
287
+ | Database | Persistence, queries, migrations |
288
+ | Infrastructure | Deployment, scaling, monitoring |