@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: Scale
|
|
2
4
|
emoji: 📐
|
|
3
5
|
displayOrder: 4
|
|
@@ -5,40 +7,6 @@ description: |
|
|
|
5
7
|
Building systems that grow gracefully.
|
|
6
8
|
Encompasses architecture, code quality, testing, performance,
|
|
7
9
|
and technical decision-making.
|
|
8
|
-
transitionChecklists:
|
|
9
|
-
plan_to_code:
|
|
10
|
-
foundational:
|
|
11
|
-
- Architectural patterns are identified
|
|
12
|
-
- Coding standards are understood
|
|
13
|
-
working:
|
|
14
|
-
- Technical approach considers scalability
|
|
15
|
-
- Design trade-offs are documented
|
|
16
|
-
- Testing strategy is defined
|
|
17
|
-
practitioner:
|
|
18
|
-
- Architecture aligns with cross-team systems
|
|
19
|
-
- Technical debt impact is assessed
|
|
20
|
-
- Performance requirements are specified
|
|
21
|
-
expert:
|
|
22
|
-
- Architecture follows enterprise patterns
|
|
23
|
-
- Strategic technical decisions are documented
|
|
24
|
-
- Long-term maintainability is considered
|
|
25
|
-
code_to_review:
|
|
26
|
-
foundational:
|
|
27
|
-
- Code follows team style guide
|
|
28
|
-
- Basic tests exist
|
|
29
|
-
- Code is readable and well-structured
|
|
30
|
-
working:
|
|
31
|
-
- Error handling is comprehensive
|
|
32
|
-
- Edge cases are tested
|
|
33
|
-
- Performance implications are considered
|
|
34
|
-
practitioner:
|
|
35
|
-
- Architectural patterns are documented
|
|
36
|
-
- Security review is completed
|
|
37
|
-
- Backward compatibility is verified
|
|
38
|
-
expert:
|
|
39
|
-
- Cross-cutting concerns are addressed
|
|
40
|
-
- Solution can scale to enterprise needs
|
|
41
|
-
- Technical decisions enable future evolution
|
|
42
10
|
professionalResponsibilities:
|
|
43
11
|
awareness:
|
|
44
12
|
Follow established architectural patterns and coding standards with guidance
|
|
@@ -103,88 +71,91 @@ skills:
|
|
|
103
71
|
recognized as an authority on cloud architecture.
|
|
104
72
|
agent:
|
|
105
73
|
name: cloud-platforms
|
|
106
|
-
description:
|
|
74
|
+
description: |
|
|
107
75
|
Guide for working with cloud infrastructure and services. Use when
|
|
108
|
-
|
|
109
|
-
deploying to cloud, selecting cloud services, configuring
|
|
110
|
-
infrastructure,
|
|
111
|
-
|
|
76
|
+
deploying to cloud, selecting cloud services, configuring infrastructure,
|
|
112
77
|
or solving cloud-specific challenges.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
78
|
+
stages:
|
|
79
|
+
specify:
|
|
80
|
+
focus: |
|
|
81
|
+
Define cloud infrastructure requirements and constraints.
|
|
82
|
+
Clarify availability, security, and cost expectations.
|
|
83
|
+
activities:
|
|
84
|
+
- Document availability and reliability requirements
|
|
85
|
+
- Identify security and compliance constraints
|
|
86
|
+
- Specify cost budget and constraints
|
|
87
|
+
- Define performance requirements (latency, throughput)
|
|
88
|
+
- Mark ambiguities with [NEEDS CLARIFICATION]
|
|
89
|
+
ready:
|
|
90
|
+
- Availability requirements are documented
|
|
91
|
+
- Security requirements are specified
|
|
92
|
+
- Cost constraints are defined
|
|
93
|
+
- Performance requirements are clear
|
|
94
|
+
plan:
|
|
95
|
+
focus: Selecting and designing cloud architecture
|
|
96
|
+
activities:
|
|
97
|
+
- Evaluate service options for the use case
|
|
98
|
+
- Plan multi-AZ deployment for availability
|
|
99
|
+
- Design IAM roles with least privilege
|
|
100
|
+
- Estimate costs and plan resource sizing
|
|
101
|
+
ready:
|
|
102
|
+
- Service selection matches requirements
|
|
103
|
+
- Architecture designed for availability
|
|
104
|
+
- Security approach documented
|
|
105
|
+
- Cost estimate prepared
|
|
106
|
+
code:
|
|
107
|
+
focus: Implementing cloud infrastructure and deployments
|
|
108
|
+
activities:
|
|
109
|
+
- Define infrastructure as code (Terraform/CloudFormation)
|
|
110
|
+
- Configure security groups and network policies
|
|
111
|
+
- Set up encryption at rest and in transit
|
|
112
|
+
- Implement monitoring and alerting
|
|
113
|
+
ready:
|
|
114
|
+
- Infrastructure defined as code
|
|
115
|
+
- Security groups properly configured
|
|
116
|
+
- Encryption enabled for data
|
|
117
|
+
- Monitoring and alerting in place
|
|
118
|
+
review:
|
|
119
|
+
focus: Validating cloud configuration and security
|
|
120
|
+
activities:
|
|
121
|
+
- Verify IAM follows least privilege
|
|
122
|
+
- Check multi-AZ deployment
|
|
123
|
+
- Validate cost controls are in place
|
|
124
|
+
- Review security configuration
|
|
125
|
+
ready:
|
|
126
|
+
- IAM permissions are minimal
|
|
127
|
+
- Multi-AZ deployment confirmed
|
|
128
|
+
- Cost controls established
|
|
129
|
+
- Security review complete
|
|
130
|
+
deploy:
|
|
131
|
+
focus: |
|
|
132
|
+
Deploy cloud infrastructure and verify production readiness.
|
|
133
|
+
Confirm failover and monitoring work correctly.
|
|
134
|
+
activities:
|
|
135
|
+
- Deploy infrastructure to production
|
|
136
|
+
- Verify multi-AZ failover works
|
|
137
|
+
- Confirm monitoring and alerting are operational
|
|
138
|
+
- Validate cost tracking is in place
|
|
139
|
+
ready:
|
|
140
|
+
- Infrastructure deployed successfully
|
|
141
|
+
- Failover tested in production
|
|
142
|
+
- Monitoring is operational
|
|
143
|
+
- Cost tracking is active
|
|
144
|
+
reference: |
|
|
125
145
|
## Service Categories
|
|
126
146
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
|
|
139
|
-
### Databases
|
|
140
|
-
- **Managed SQL (RDS/Cloud SQL)**: Relational, ACID transactions
|
|
141
|
-
- **NoSQL (DynamoDB/Firestore)**: Flexible schema, high scale
|
|
142
|
-
- **Cache (ElastiCache/Memorystore)**: Low-latency data access
|
|
143
|
-
- **Data Warehouse (Redshift/BigQuery)**: Analytics at scale
|
|
144
|
-
|
|
145
|
-
### Messaging
|
|
146
|
-
- **Queues (SQS/Cloud Tasks)**: Decoupled processing
|
|
147
|
-
- **Pub/Sub (SNS/Cloud Pub/Sub)**: Event distribution
|
|
148
|
-
- **Streaming (Kinesis/Dataflow)**: Real-time data processing
|
|
149
|
-
|
|
150
|
-
## Cloud-Native Design
|
|
151
|
-
|
|
152
|
-
### Principles
|
|
153
|
-
- Design for failure (everything fails eventually)
|
|
154
|
-
- Use managed services when possible
|
|
155
|
-
- Automate everything (infrastructure as code)
|
|
156
|
-
- Monitor and alert on all services
|
|
157
|
-
|
|
158
|
-
### High Availability
|
|
159
|
-
- Deploy across multiple availability zones
|
|
160
|
-
- Use load balancers for traffic distribution
|
|
161
|
-
- Implement health checks and auto-healing
|
|
162
|
-
- Design for graceful degradation
|
|
163
|
-
|
|
164
|
-
### Security
|
|
165
|
-
- Principle of least privilege for IAM
|
|
166
|
-
- Encrypt data at rest and in transit
|
|
167
|
-
- Use security groups and network policies
|
|
168
|
-
- Rotate credentials regularly
|
|
169
|
-
|
|
170
|
-
## Cost Optimization
|
|
171
|
-
|
|
172
|
-
- Right-size instances based on actual usage
|
|
173
|
-
- Use reserved instances for predictable workloads
|
|
174
|
-
- Leverage spot/preemptible instances for fault-tolerant work
|
|
175
|
-
- Set up billing alerts and budgets
|
|
176
|
-
- Delete unused resources
|
|
177
|
-
|
|
178
|
-
## Cloud Checklist
|
|
179
|
-
|
|
180
|
-
- [ ] Service selection matches requirements
|
|
181
|
-
- [ ] Multi-AZ deployment for availability
|
|
182
|
-
- [ ] Security groups properly configured
|
|
183
|
-
- [ ] IAM follows least privilege
|
|
184
|
-
- [ ] Data encrypted at rest and in transit
|
|
185
|
-
- [ ] Monitoring and alerting in place
|
|
186
|
-
- [ ] Cost controls established
|
|
187
|
-
- [ ] Infrastructure defined as code
|
|
147
|
+
| Category | Services | Use Case |
|
|
148
|
+
|----------|----------|----------|
|
|
149
|
+
| Compute | EC2, ECS, Lambda | VMs, Containers, Serverless |
|
|
150
|
+
| Storage | S3, EBS, EFS | Objects, Blocks, Files |
|
|
151
|
+
| Database | RDS, DynamoDB | SQL, NoSQL |
|
|
152
|
+
| Messaging | SQS, SNS, Kinesis | Queues, Pub/Sub, Streaming |
|
|
153
|
+
|
|
154
|
+
## Cloud-Native Principles
|
|
155
|
+
- Design for failure
|
|
156
|
+
- Use managed services
|
|
157
|
+
- Automate everything
|
|
158
|
+
- Monitor and alert
|
|
188
159
|
- id: code_quality
|
|
189
160
|
name: Code Quality & Review
|
|
190
161
|
human:
|
|
@@ -218,64 +189,82 @@ skills:
|
|
|
218
189
|
agent:
|
|
219
190
|
name: code-quality-review
|
|
220
191
|
description: |
|
|
221
|
-
Guide for
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
192
|
+
Guide for writing quality code and conducting code reviews. Use when
|
|
193
|
+
reviewing code, checking for best practices, or verifying AI-generated
|
|
194
|
+
code before committing.
|
|
195
|
+
stages:
|
|
196
|
+
specify:
|
|
197
|
+
focus: |
|
|
198
|
+
Define code quality requirements and review criteria.
|
|
199
|
+
Clarify standards and acceptance criteria for the change.
|
|
200
|
+
activities:
|
|
201
|
+
- Identify applicable coding standards
|
|
202
|
+
- Document quality acceptance criteria
|
|
203
|
+
- Specify test coverage requirements
|
|
204
|
+
- Define review depth based on risk level
|
|
205
|
+
- Mark ambiguities with [NEEDS CLARIFICATION]
|
|
206
|
+
ready:
|
|
207
|
+
- Coding standards are identified
|
|
208
|
+
- Quality criteria are documented
|
|
209
|
+
- Test requirements are specified
|
|
210
|
+
- Review approach matches risk level
|
|
211
|
+
plan:
|
|
212
|
+
focus: Planning for quality before implementation
|
|
213
|
+
activities:
|
|
214
|
+
- Review project coding conventions
|
|
215
|
+
- Plan testing strategy for the feature
|
|
216
|
+
- Identify edge cases to handle
|
|
217
|
+
- Consider error handling approach
|
|
218
|
+
ready:
|
|
219
|
+
- Coding conventions understood
|
|
220
|
+
- Testing strategy defined
|
|
221
|
+
- Edge cases identified
|
|
222
|
+
- Error handling planned
|
|
223
|
+
code:
|
|
224
|
+
focus: Writing and testing quality code
|
|
225
|
+
activities:
|
|
226
|
+
- Follow project coding conventions
|
|
227
|
+
- Write tests alongside implementation
|
|
228
|
+
- Handle error conditions appropriately
|
|
229
|
+
- Self-review before requesting review
|
|
230
|
+
ready:
|
|
231
|
+
- Code follows project conventions
|
|
232
|
+
- Changes are covered by tests
|
|
233
|
+
- Error handling is appropriate
|
|
234
|
+
- Self-review completed
|
|
235
|
+
review:
|
|
236
|
+
focus: Verifying code quality and correctness
|
|
237
|
+
activities:
|
|
238
|
+
- Verify code does what it claims
|
|
239
|
+
- Check test coverage is adequate
|
|
240
|
+
- Evaluate maintainability
|
|
241
|
+
- Ensure no code you don't understand
|
|
242
|
+
ready:
|
|
243
|
+
- Code compiles and passes all tests
|
|
244
|
+
- No obvious security vulnerabilities
|
|
245
|
+
- No unnecessary complexity
|
|
246
|
+
- Documentation updated if needed
|
|
247
|
+
deploy:
|
|
248
|
+
focus: |
|
|
249
|
+
Merge and deploy reviewed code. Verify quality checks pass
|
|
250
|
+
in production pipeline.
|
|
251
|
+
activities:
|
|
252
|
+
- Merge approved changes
|
|
253
|
+
- Verify CI pipeline passes
|
|
254
|
+
- Monitor for issues after deployment
|
|
255
|
+
- Document any lessons learned
|
|
256
|
+
ready:
|
|
257
|
+
- Code merged successfully
|
|
258
|
+
- CI pipeline passes all checks
|
|
259
|
+
- No regressions detected
|
|
260
|
+
- Deployment verified
|
|
261
|
+
reference: |
|
|
262
|
+
## Review Checklist
|
|
263
|
+
|
|
264
|
+
1. **Correctness**: Does it work as intended?
|
|
265
|
+
2. **Tests**: Is it properly tested?
|
|
266
|
+
3. **Maintainability**: Will it be easy to change?
|
|
267
|
+
4. **Style**: Does it follow conventions?
|
|
279
268
|
- id: data_modeling
|
|
280
269
|
name: Data Modeling
|
|
281
270
|
human:
|
|
@@ -310,85 +299,78 @@ skills:
|
|
|
310
299
|
Guide for designing database schemas, data structures, and data
|
|
311
300
|
architectures. Use when designing tables, optimizing queries, or
|
|
312
301
|
making decisions about data storage technologies.
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
- [ ] Requirements understood
|
|
390
|
-
- [ ] Appropriate storage technology selected
|
|
391
|
-
- [ ] Schema normalized appropriately
|
|
392
|
-
- [ ] Indexes support query patterns
|
|
393
|
-
- [ ] Migration plan is safe
|
|
394
|
-
- [ ] Backward compatibility maintained
|
|
302
|
+
stages:
|
|
303
|
+
specify:
|
|
304
|
+
focus: |
|
|
305
|
+
Define data requirements and access patterns.
|
|
306
|
+
Clarify schema requirements before designing.
|
|
307
|
+
activities:
|
|
308
|
+
- Document data entities and relationships
|
|
309
|
+
- Identify query patterns and access requirements
|
|
310
|
+
- Specify consistency and performance requirements
|
|
311
|
+
- Define data retention and compliance needs
|
|
312
|
+
- Mark ambiguities with [NEEDS CLARIFICATION]
|
|
313
|
+
ready:
|
|
314
|
+
- Data entities are documented
|
|
315
|
+
- Query patterns are identified
|
|
316
|
+
- Performance requirements are specified
|
|
317
|
+
- Compliance needs are clear
|
|
318
|
+
plan:
|
|
319
|
+
focus: Understanding data requirements and designing schema
|
|
320
|
+
activities:
|
|
321
|
+
- Gather data requirements and access patterns
|
|
322
|
+
- Choose appropriate storage technology
|
|
323
|
+
- Design normalized schema
|
|
324
|
+
- Plan indexing strategy
|
|
325
|
+
ready:
|
|
326
|
+
- Requirements understood
|
|
327
|
+
- Storage technology selected
|
|
328
|
+
- Schema design documented
|
|
329
|
+
- Index strategy planned
|
|
330
|
+
code:
|
|
331
|
+
focus: Implementing schema and migrations
|
|
332
|
+
activities:
|
|
333
|
+
- Create database migrations
|
|
334
|
+
- Implement schema changes
|
|
335
|
+
- Add indexes for query patterns
|
|
336
|
+
- Write efficient queries
|
|
337
|
+
ready:
|
|
338
|
+
- Schema implemented correctly
|
|
339
|
+
- Indexes support query patterns
|
|
340
|
+
- Migrations are reversible
|
|
341
|
+
- Queries are optimized
|
|
342
|
+
review:
|
|
343
|
+
focus: Validating schema design and performance
|
|
344
|
+
activities:
|
|
345
|
+
- Verify schema matches requirements
|
|
346
|
+
- Check migration safety
|
|
347
|
+
- Validate query performance
|
|
348
|
+
- Review backward compatibility
|
|
349
|
+
ready:
|
|
350
|
+
- Schema meets requirements
|
|
351
|
+
- Migrations tested on production-like data
|
|
352
|
+
- Query performance acceptable
|
|
353
|
+
- Backward compatibility maintained
|
|
354
|
+
deploy:
|
|
355
|
+
focus: |
|
|
356
|
+
Deploy schema changes to production safely.
|
|
357
|
+
Verify data integrity and query performance.
|
|
358
|
+
activities:
|
|
359
|
+
- Run migrations in production
|
|
360
|
+
- Verify data integrity after migration
|
|
361
|
+
- Monitor query performance
|
|
362
|
+
- Confirm rollback plan works
|
|
363
|
+
ready:
|
|
364
|
+
- Migration completed successfully
|
|
365
|
+
- Data integrity verified
|
|
366
|
+
- Performance meets requirements
|
|
367
|
+
- Rollback procedure tested
|
|
368
|
+
reference: |
|
|
369
|
+
## Storage Selection Guide
|
|
370
|
+
|
|
371
|
+
| Type | Use When | Examples |
|
|
372
|
+
|------|----------|----------|
|
|
373
|
+
| Relational | ACID needed, complex queries | PostgreSQL, MySQL |
|
|
374
|
+
| Document | Flexible schema, hierarchical | MongoDB, Firestore |
|
|
375
|
+
| Key-Value | Simple lookups, caching | Redis, DynamoDB |
|
|
376
|
+
| Time Series | Temporal data, metrics | InfluxDB, TimescaleDB |
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Copilot Coding Agent setup steps workflow
|
|
2
|
+
# This workflow is executed when a Copilot Coding Agent starts
|
|
3
|
+
# to prepare the environment for the agent session.
|
|
4
|
+
#
|
|
5
|
+
# Reference: https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
|
|
6
|
+
|
|
7
|
+
name: Copilot Setup Steps
|
|
8
|
+
|
|
9
|
+
on: copilot_setup_steps
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
setup:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- name: Checkout repository
|
|
16
|
+
uses: actions/checkout@v4
|
|
17
|
+
|
|
18
|
+
- name: Setup Node.js
|
|
19
|
+
uses: actions/setup-node@v4
|
|
20
|
+
with:
|
|
21
|
+
node-version: "22"
|
|
22
|
+
cache: npm
|
|
23
|
+
|
|
24
|
+
- name: Install dependencies
|
|
25
|
+
run: npm ci
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Dev Container configuration template
|
|
2
|
+
# Settings are dynamically populated at generation time
|
|
3
|
+
|
|
4
|
+
# Base image for Node.js development
|
|
5
|
+
image: mcr.microsoft.com/devcontainers/javascript-node:22-bookworm
|
|
6
|
+
|
|
7
|
+
# VS Code customizations are populated dynamically from vscode-settings.yaml
|
|
8
|
+
# customizations:
|
|
9
|
+
# vscode:
|
|
10
|
+
# settings: { ... dynamically injected ... }
|
|
11
|
+
|
|
12
|
+
# Features to add to the dev container
|
|
13
|
+
features:
|
|
14
|
+
ghcr.io/devcontainers/features/github-cli:1: {}
|
|
15
|
+
|
|
16
|
+
# Lifecycle commands
|
|
17
|
+
postCreateCommand: npm install
|
|
18
|
+
|
|
19
|
+
# Forward ports from the container (e.g., for dev server)
|
|
20
|
+
forwardPorts:
|
|
21
|
+
- 3000
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Designs and builds data infrastructure
|
|
1
|
+
# yaml-language-server: $schema=https://schema.forwardimpact.team/json/discipline.schema.json
|
|
3
2
|
|
|
4
3
|
specialization: Data Engineering
|
|
5
4
|
roleTitle: Data Engineer
|
|
5
|
+
isProfessional: true
|
|
6
|
+
# null = allow trackless (generalist)
|
|
7
|
+
validTracks:
|
|
8
|
+
- null
|
|
9
|
+
- platform
|
|
10
|
+
- sre
|
|
6
11
|
|
|
7
12
|
# Shared content (human and agent)
|
|
8
13
|
description:
|
|
@@ -47,21 +52,18 @@ human:
|
|
|
47
52
|
|
|
48
53
|
# Agent-specific content
|
|
49
54
|
agent:
|
|
50
|
-
|
|
55
|
+
identity: |
|
|
51
56
|
You are a {roleTitle} agent. Your focus is designing and building
|
|
52
57
|
data integration, storage systems, and data infrastructure that enables
|
|
53
58
|
analytics and AI capabilities.
|
|
54
|
-
|
|
55
|
-
Before making changes:
|
|
56
|
-
1. Understand the data sources and their quality characteristics
|
|
57
|
-
2. Map data lineage and dependencies
|
|
58
|
-
3. Consider performance implications for downstream consumers
|
|
59
|
-
|
|
59
|
+
priority: |
|
|
60
60
|
Data quality is paramount. Always validate data at ingestion points and
|
|
61
61
|
document schema assumptions. Treat undocumented schemas with suspicion.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
beforeMakingChanges:
|
|
63
|
+
- Understand the data sources and their quality characteristics
|
|
64
|
+
- Map data lineage and dependencies
|
|
65
|
+
- Consider performance implications for downstream consumers
|
|
66
|
+
delegation: |
|
|
65
67
|
When facing tasks outside your expertise, use `runSubagent` to delegate:
|
|
66
68
|
- Statistical analysis or model validation → data science subagent
|
|
67
69
|
- Application code changes → software engineering subagent
|