@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.
- package/app/commands/agent.js +109 -21
- package/app/commands/command-factory.js +3 -3
- package/app/commands/interview.js +14 -7
- package/app/commands/job.js +43 -29
- package/app/commands/progress.js +14 -7
- package/app/commands/serve.js +5 -0
- package/app/commands/stage.js +0 -10
- package/app/commands/track.js +5 -8
- package/app/components/builder.js +111 -27
- package/app/css/components/surfaces.css +16 -0
- package/app/formatters/agent/profile.js +113 -87
- package/app/formatters/agent/skill.js +64 -31
- package/app/formatters/behaviour/dom.js +3 -0
- package/app/formatters/behaviour/microdata.js +106 -0
- package/app/formatters/discipline/dom.js +28 -1
- package/app/formatters/discipline/microdata.js +117 -0
- package/app/formatters/discipline/shared.js +49 -8
- package/app/formatters/driver/dom.js +3 -0
- package/app/formatters/driver/microdata.js +91 -0
- package/app/formatters/grade/dom.js +3 -0
- package/app/formatters/grade/microdata.js +151 -0
- package/app/formatters/index.js +32 -1
- package/app/formatters/interview/shared.js +13 -8
- package/app/formatters/job/description.js +5 -3
- package/app/formatters/json-ld.js +242 -0
- package/app/formatters/microdata-shared.js +184 -0
- package/app/formatters/progress/shared.js +14 -11
- package/app/formatters/skill/dom.js +3 -0
- package/app/formatters/skill/microdata.js +151 -0
- package/app/formatters/stage/dom.js +3 -18
- package/app/formatters/stage/microdata.js +110 -0
- package/app/formatters/stage/shared.js +0 -27
- package/app/formatters/track/dom.js +5 -30
- package/app/formatters/track/markdown.js +2 -25
- package/app/formatters/track/microdata.js +111 -0
- package/app/formatters/track/shared.js +6 -58
- package/app/handout-main.js +26 -12
- package/app/index.html +11 -0
- package/app/lib/card-mappers.js +17 -12
- package/app/lib/job-cache.js +12 -9
- package/app/lib/template-loader.js +66 -0
- package/app/lib/yaml-loader.js +25 -8
- package/app/main.js +8 -4
- package/app/model/agent.js +158 -130
- package/app/model/checklist.js +57 -91
- package/app/model/derivation.js +135 -68
- package/app/model/index-generator.js +1 -7
- package/app/model/job.js +19 -13
- package/app/model/levels.js +20 -12
- package/app/model/loader.js +41 -17
- package/app/model/matching.js +33 -3
- package/app/model/profile.js +38 -45
- package/app/model/schema-validation.js +438 -0
- package/app/model/validation.js +747 -68
- package/app/pages/agent-builder.js +119 -25
- package/app/pages/assessment-results.js +10 -4
- package/app/pages/discipline.js +36 -6
- package/app/pages/driver.js +9 -47
- package/app/pages/interview-builder.js +3 -1
- package/app/pages/interview.js +15 -4
- package/app/pages/job-builder.js +4 -1
- package/app/pages/job.js +15 -4
- package/app/pages/landing.js +10 -10
- package/app/pages/progress-builder.js +3 -1
- package/app/pages/progress.js +72 -21
- package/app/pages/stage.js +3 -126
- package/app/slide-main.js +45 -17
- package/app/slides/index.js +3 -1
- package/app/slides/overview.js +40 -4
- package/app/slides/progress.js +4 -2
- package/bin/pathway.js +18 -64
- package/examples/agents/.claude/skills/architecture-design/SKILL.md +58 -16
- package/examples/agents/.claude/skills/cloud-platforms/SKILL.md +59 -18
- package/examples/agents/.claude/skills/code-quality-review/SKILL.md +58 -17
- package/examples/agents/.claude/skills/devops-cicd/SKILL.md +64 -18
- package/examples/agents/.claude/skills/full-stack-development/SKILL.md +59 -15
- package/examples/agents/.claude/skills/sre-practices/SKILL.md +64 -18
- package/examples/agents/.claude/skills/technical-debt-management/SKILL.md +58 -17
- package/examples/agents/.github/agents/se-platform-code.agent.md +39 -88
- package/examples/agents/.github/agents/se-platform-plan.agent.md +41 -88
- package/examples/agents/.github/agents/se-platform-review.agent.md +38 -15
- package/examples/agents/.vscode/settings.json +1 -1
- package/examples/behaviours/outcome_ownership.yaml +1 -2
- package/examples/behaviours/polymathic_knowledge.yaml +1 -2
- package/examples/behaviours/precise_communication.yaml +1 -2
- package/examples/behaviours/relentless_curiosity.yaml +1 -2
- package/examples/behaviours/systems_thinking.yaml +1 -2
- package/examples/capabilities/business.yaml +80 -142
- package/examples/capabilities/delivery.yaml +155 -219
- package/examples/capabilities/people.yaml +2 -34
- package/examples/capabilities/reliability.yaml +161 -80
- package/examples/capabilities/scale.yaml +234 -252
- package/examples/copilot-setup-steps.yaml +25 -0
- package/examples/devcontainer.yaml +21 -0
- package/examples/disciplines/_index.yaml +1 -0
- package/examples/disciplines/data_engineering.yaml +14 -12
- package/examples/disciplines/engineering_management.yaml +63 -0
- package/examples/disciplines/software_engineering.yaml +14 -12
- package/examples/drivers.yaml +1 -4
- package/examples/framework.yaml +1 -2
- package/examples/grades.yaml +1 -3
- package/examples/questions/behaviours/outcome_ownership.yaml +1 -2
- package/examples/questions/behaviours/polymathic_knowledge.yaml +1 -2
- package/examples/questions/behaviours/precise_communication.yaml +1 -2
- package/examples/questions/behaviours/relentless_curiosity.yaml +1 -2
- package/examples/questions/behaviours/systems_thinking.yaml +1 -2
- package/examples/questions/skills/architecture_design.yaml +1 -2
- package/examples/questions/skills/cloud_platforms.yaml +1 -2
- package/examples/questions/skills/code_quality.yaml +1 -2
- package/examples/questions/skills/data_modeling.yaml +1 -2
- package/examples/questions/skills/devops.yaml +1 -2
- package/examples/questions/skills/full_stack_development.yaml +1 -2
- package/examples/questions/skills/sre_practices.yaml +1 -2
- package/examples/questions/skills/stakeholder_management.yaml +1 -2
- package/examples/questions/skills/team_collaboration.yaml +1 -2
- package/examples/questions/skills/technical_writing.yaml +1 -2
- package/examples/self-assessments.yaml +1 -3
- package/examples/stages.yaml +101 -46
- package/examples/tracks/_index.yaml +0 -1
- package/examples/tracks/platform.yaml +8 -13
- package/examples/tracks/sre.yaml +8 -18
- package/examples/vscode-settings.yaml +2 -7
- package/package.json +9 -3
- package/templates/agent.template.md +65 -0
- package/templates/skill.template.md +28 -0
- package/examples/agents/.claude/skills/data-modeling/SKILL.md +0 -99
- package/examples/agents/.claude/skills/developer-experience/SKILL.md +0 -99
- package/examples/agents/.claude/skills/knowledge-management/SKILL.md +0 -100
- package/examples/agents/.claude/skills/pattern-generalization/SKILL.md +0 -102
- package/examples/agents/.claude/skills/technical-writing/SKILL.md +0 -129
- 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
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
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
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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
|
-
-
|
|
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
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
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
|
-
-
|
|
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
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
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
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
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 |
|