@forwardimpact/pathway 0.1.0 → 0.3.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 +119 -31
- package/app/commands/command-factory.js +3 -3
- package/app/commands/interview.js +14 -7
- package/app/commands/job.js +52 -33
- 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 +117 -30
- package/app/css/components/surfaces.css +16 -0
- package/app/formatters/agent/profile.js +30 -115
- package/app/formatters/agent/skill.js +23 -44
- 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 +5 -4
- 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 +70 -81
- package/app/formatters/job/dom.js +40 -113
- package/app/formatters/job/markdown.js +17 -13
- 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/shared.js +7 -2
- 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/handout.html +7 -0
- package/app/index.html +11 -0
- package/app/lib/card-mappers.js +17 -12
- package/app/lib/form-controls.js +64 -1
- package/app/lib/job-cache.js +12 -9
- package/app/lib/render.js +8 -1
- package/app/lib/template-loader.js +75 -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 +125 -28
- 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 +43 -8
- package/app/pages/landing.js +10 -10
- package/app/pages/progress-builder.js +3 -1
- package/app/pages/progress.js +78 -26
- package/app/pages/self-assessment.js +3 -3
- 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/app/slides.html +7 -0
- package/bin/pathway.js +28 -75
- 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 +14 -15
- 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/job.template.md +47 -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
|
@@ -8,15 +8,72 @@ description: |
|
|
|
8
8
|
|
|
9
9
|
# Site Reliability Engineering
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Stage Guidance
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
### Plan Stage
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
**Focus:** Define reliability requirements, SLIs/SLOs, and observability
|
|
16
|
+
strategy. Plan for resilience and capacity needs.
|
|
17
|
+
|
|
18
|
+
**Activities:**
|
|
19
|
+
|
|
20
|
+
- Define SLIs for key user journeys
|
|
21
|
+
- Set SLOs with stakeholder agreement
|
|
22
|
+
- Plan observability strategy (metrics, logs, traces)
|
|
23
|
+
- Identify failure modes and resilience patterns
|
|
24
|
+
- Define alerting thresholds
|
|
25
|
+
|
|
26
|
+
**Ready for Code when:**
|
|
27
|
+
|
|
28
|
+
- [ ] SLIs defined for key user journeys
|
|
29
|
+
- [ ] SLOs set with stakeholder agreement
|
|
30
|
+
- [ ] Monitoring strategy is planned
|
|
31
|
+
- [ ] Failure modes are identified
|
|
32
|
+
- [ ] Alerting thresholds are defined
|
|
33
|
+
|
|
34
|
+
### Code Stage
|
|
35
|
+
|
|
36
|
+
**Focus:** Implement observability, resilience patterns, and operational
|
|
37
|
+
tooling. Build systems that fail gracefully and recover quickly.
|
|
38
|
+
|
|
39
|
+
**Activities:**
|
|
40
|
+
|
|
41
|
+
- Implement metrics, logging, and tracing
|
|
42
|
+
- Configure alerts based on SLOs
|
|
43
|
+
- Implement resilience patterns (timeouts, retries, circuit breakers)
|
|
44
|
+
- Create runbooks for common issues
|
|
45
|
+
- Set up error budget tracking
|
|
46
|
+
|
|
47
|
+
**Ready for Review when:**
|
|
48
|
+
|
|
49
|
+
- [ ] Comprehensive monitoring is in place
|
|
50
|
+
- [ ] Alerts are actionable and low-noise
|
|
51
|
+
- [ ] Resilience patterns are implemented
|
|
52
|
+
- [ ] Runbooks exist for common issues
|
|
53
|
+
- [ ] Error budget tracking is in place
|
|
54
|
+
|
|
55
|
+
### Review Stage
|
|
56
|
+
|
|
57
|
+
**Focus:** Verify reliability implementation meets SLOs and operational
|
|
58
|
+
readiness. Ensure incident response procedures are in place.
|
|
59
|
+
|
|
60
|
+
**Activities:**
|
|
61
|
+
|
|
62
|
+
- Validate SLOs are measurable
|
|
63
|
+
- Test failure scenarios
|
|
64
|
+
- Review runbook completeness
|
|
65
|
+
- Verify incident response procedures
|
|
66
|
+
- Check alert quality and coverage
|
|
67
|
+
|
|
68
|
+
**Ready for Complete when:**
|
|
69
|
+
|
|
70
|
+
- [ ] SLOs are measurable and validated
|
|
71
|
+
- [ ] Failure scenarios are tested
|
|
72
|
+
- [ ] Incident response process documented
|
|
73
|
+
- [ ] Post-mortem culture established
|
|
74
|
+
- [ ] Disaster recovery approach is tested
|
|
75
|
+
|
|
76
|
+
## Reference
|
|
20
77
|
|
|
21
78
|
## Service Level Concepts
|
|
22
79
|
|
|
@@ -104,14 +161,3 @@ Allowed unreliability: 100% - SLO
|
|
|
104
161
|
- **Circuit breakers**: Fail fast when downstream is unhealthy
|
|
105
162
|
- **Bulkheads**: Isolate failures
|
|
106
163
|
- **Graceful degradation**: Partial functionality over total failure
|
|
107
|
-
|
|
108
|
-
## SRE Checklist
|
|
109
|
-
|
|
110
|
-
- [ ] SLIs defined for key user journeys
|
|
111
|
-
- [ ] SLOs set with stakeholder agreement
|
|
112
|
-
- [ ] Error budget tracking in place
|
|
113
|
-
- [ ] Alerts are actionable and low-noise
|
|
114
|
-
- [ ] Runbooks exist for common issues
|
|
115
|
-
- [ ] Incident response process documented
|
|
116
|
-
- [ ] Post-mortem culture established
|
|
117
|
-
- [ ] Resilience patterns implemented
|
|
@@ -8,15 +8,66 @@ description: |
|
|
|
8
8
|
|
|
9
9
|
# Technical Debt Management
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## Stage Guidance
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
### Plan Stage
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
**Focus:** Assess technical debt and prioritize based on impact and effort.
|
|
16
|
+
Decide whether to accept, defer, or address debt.
|
|
17
|
+
|
|
18
|
+
**Activities:**
|
|
19
|
+
|
|
20
|
+
- Identify and document technical debt
|
|
21
|
+
- Assess impact and effort for each item
|
|
22
|
+
- Prioritize using impact/effort matrix
|
|
23
|
+
- Decide accept, defer, or address
|
|
24
|
+
|
|
25
|
+
**Ready for Code when:**
|
|
26
|
+
|
|
27
|
+
- [ ] Debt is documented with context
|
|
28
|
+
- [ ] Impact and effort are assessed
|
|
29
|
+
- [ ] Prioritization criteria are clear
|
|
30
|
+
- [ ] Decision is documented
|
|
31
|
+
|
|
32
|
+
### Code Stage
|
|
33
|
+
|
|
34
|
+
**Focus:** Address debt incrementally while delivering features. Document
|
|
35
|
+
intentional debt clearly.
|
|
36
|
+
|
|
37
|
+
**Activities:**
|
|
38
|
+
|
|
39
|
+
- Apply Boy Scout Rule (leave code better)
|
|
40
|
+
- Refactor while adding features
|
|
41
|
+
- Document new intentional debt
|
|
42
|
+
- Track debt in backlog
|
|
43
|
+
|
|
44
|
+
**Ready for Review when:**
|
|
45
|
+
|
|
46
|
+
- [ ] Debt work is visible in planning
|
|
47
|
+
- [ ] New debt is intentional and documented
|
|
48
|
+
- [ ] Code quality improved where touched
|
|
49
|
+
- [ ] Technical debt backlog updated
|
|
50
|
+
|
|
51
|
+
### Review Stage
|
|
52
|
+
|
|
53
|
+
**Focus:** Validate debt reduction and ensure new debt is intentional and
|
|
54
|
+
documented.
|
|
55
|
+
|
|
56
|
+
**Activities:**
|
|
57
|
+
|
|
58
|
+
- Review debt reduction progress
|
|
59
|
+
- Verify new debt is documented
|
|
60
|
+
- Check debt backlog currency
|
|
61
|
+
- Assess overall technical health
|
|
62
|
+
|
|
63
|
+
**Ready for Complete when:**
|
|
64
|
+
|
|
65
|
+
- [ ] Debt reduction validated
|
|
66
|
+
- [ ] New debt justified and documented
|
|
67
|
+
- [ ] Backlog is current
|
|
68
|
+
- [ ] Metrics track debt trends
|
|
69
|
+
|
|
70
|
+
## Reference
|
|
20
71
|
|
|
21
72
|
## Types of Technical Debt
|
|
22
73
|
|
|
@@ -111,13 +162,3 @@ For each debt item:
|
|
|
111
162
|
- **Effort**: How hard to fix (T-shirt size)?
|
|
112
163
|
- **Owner**: Who can address it?
|
|
113
164
|
- **Plan**: When/how will it be fixed?
|
|
114
|
-
|
|
115
|
-
## Technical Debt Checklist
|
|
116
|
-
|
|
117
|
-
- [ ] Debt is documented with context
|
|
118
|
-
- [ ] Impact and effort are assessed
|
|
119
|
-
- [ ] Prioritization criteria are clear
|
|
120
|
-
- [ ] Debt work is visible in planning
|
|
121
|
-
- [ ] New debt is intentional and documented
|
|
122
|
-
- [ ] Regular reviews of debt backlog
|
|
123
|
-
- [ ] Metrics track debt trends
|
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: se-platform-code
|
|
3
3
|
description:
|
|
4
4
|
Build & Iterate agent for Software Engineering on Platform track. Builds and
|
|
5
5
|
maintains software systems, focusing on code quality, architecture, and
|
|
6
6
|
reliable delivery of business value. In the AI era, emphasizes verification
|
|
7
7
|
and review of AI-generated code.
|
|
8
|
-
tools:
|
|
8
|
+
tools:
|
|
9
|
+
[
|
|
10
|
+
"search",
|
|
11
|
+
"search/codebase",
|
|
12
|
+
"search/grep",
|
|
13
|
+
"search/file",
|
|
14
|
+
"read",
|
|
15
|
+
"read/dir",
|
|
16
|
+
"edit",
|
|
17
|
+
"terminal",
|
|
18
|
+
"terminal/background",
|
|
19
|
+
"code/usages",
|
|
20
|
+
"todo",
|
|
21
|
+
]
|
|
9
22
|
infer: true
|
|
10
23
|
handoffs:
|
|
11
24
|
- label: Request Review
|
|
12
|
-
agent:
|
|
25
|
+
agent: se-platform-review
|
|
13
26
|
prompt:
|
|
14
27
|
"Review the implemented changes. Summarize what was completed in the Code
|
|
15
28
|
stage. Before starting, the Review stage requires: (1) Implementation
|
|
@@ -31,13 +44,6 @@ Developer experience is paramount. You design golden paths, maintain backward
|
|
|
31
44
|
compatibility, and document everything. Code quality and architecture matter
|
|
32
45
|
because your consumers depend on your stability.
|
|
33
46
|
|
|
34
|
-
Before making changes:
|
|
35
|
-
|
|
36
|
-
1. Understand the existing architecture and patterns
|
|
37
|
-
2. Identify test coverage requirements
|
|
38
|
-
3. Consider backward compatibility implications
|
|
39
|
-
4. Plan documentation updates
|
|
40
|
-
|
|
41
47
|
Every API change must consider developer experience. Treat breaking changes with
|
|
42
48
|
extreme caution—your consumers build on your stability.
|
|
43
49
|
|
|
@@ -45,10 +51,28 @@ Your primary capabilities:
|
|
|
45
51
|
|
|
46
52
|
- Architecture & Design
|
|
47
53
|
- Code Quality & Review
|
|
48
|
-
-
|
|
54
|
+
- Full-Stack Development
|
|
49
55
|
- Cloud Platforms
|
|
50
56
|
- DevOps & CI/CD
|
|
51
|
-
-
|
|
57
|
+
- Site Reliability Engineering
|
|
58
|
+
|
|
59
|
+
Before making changes:
|
|
60
|
+
|
|
61
|
+
1. Understand the existing architecture and patterns
|
|
62
|
+
2. Identify test coverage requirements
|
|
63
|
+
3. Consider backward compatibility implications
|
|
64
|
+
4. Plan documentation updates
|
|
65
|
+
|
|
66
|
+
## Delegation
|
|
67
|
+
|
|
68
|
+
When facing tasks outside your expertise, use `runSubagent` to delegate:
|
|
69
|
+
|
|
70
|
+
- Data modeling or statistical analysis → data science subagent
|
|
71
|
+
- Security assessment or threat modeling → research subagent
|
|
72
|
+
- Complex debugging across unfamiliar systems → research subagent
|
|
73
|
+
|
|
74
|
+
Subagents run in isolated context. Provide clear task descriptions and specify
|
|
75
|
+
what information to return.
|
|
52
76
|
|
|
53
77
|
## Operational Context
|
|
54
78
|
|
|
@@ -85,82 +109,6 @@ Before taking action:
|
|
|
85
109
|
2. Identify unknowns that could affect the approach
|
|
86
110
|
3. Research unfamiliar areas via subagent if needed
|
|
87
111
|
|
|
88
|
-
## Before Handoff
|
|
89
|
-
|
|
90
|
-
Before offering a handoff, verify and summarize completion of these items:
|
|
91
|
-
|
|
92
|
-
**🤖 AI**
|
|
93
|
-
|
|
94
|
-
- [ ] AI-generated code is understood before committing
|
|
95
|
-
- [ ] AI outputs are verified for correctness
|
|
96
|
-
- [ ] Prompts are clear and documented
|
|
97
|
-
- [ ] AI integration is tested thoroughly
|
|
98
|
-
- [ ] Error handling exists for AI failures
|
|
99
|
-
- [ ] AI behavior is predictable and documented
|
|
100
|
-
- [ ] AI usage patterns are reusable
|
|
101
|
-
- [ ] Performance impact is measured
|
|
102
|
-
- [ ] AI governance guidelines are followed
|
|
103
|
-
|
|
104
|
-
**🚀 Delivery**
|
|
105
|
-
|
|
106
|
-
- [ ] Feature works end-to-end
|
|
107
|
-
- [ ] Basic tests cover critical paths
|
|
108
|
-
- [ ] Code is self-reviewed before submitting
|
|
109
|
-
- [ ] All acceptance criteria are met
|
|
110
|
-
- [ ] Edge cases are handled
|
|
111
|
-
- [ ] Technical debt is explicitly documented
|
|
112
|
-
|
|
113
|
-
**📝 Documentation**
|
|
114
|
-
|
|
115
|
-
- [ ] Code comments are accurate
|
|
116
|
-
- [ ] README is updated
|
|
117
|
-
- [ ] Basic usage is documented
|
|
118
|
-
- [ ] Technical documentation is complete
|
|
119
|
-
- [ ] API contracts are documented
|
|
120
|
-
- [ ] Architecture decisions are recorded
|
|
121
|
-
- [ ] Cross-team documentation is updated
|
|
122
|
-
- [ ] Knowledge base contributions are made
|
|
123
|
-
- [ ] Documentation enables onboarding
|
|
124
|
-
|
|
125
|
-
**⚙️ Process**
|
|
126
|
-
|
|
127
|
-
- [ ] Work items are updated accurately
|
|
128
|
-
- [ ] Blockers are surfaced promptly
|
|
129
|
-
- [ ] Team workflow is followed
|
|
130
|
-
- [ ] Cross-functional handoffs are smooth
|
|
131
|
-
- [ ] Process friction is documented
|
|
132
|
-
- [ ] Coordination overhead is minimized
|
|
133
|
-
- [ ] Cross-team coordination is effective
|
|
134
|
-
- [ ] Process improvements are implemented
|
|
135
|
-
- [ ] Efficiency gains are measured
|
|
136
|
-
|
|
137
|
-
**🛡️ Reliability**
|
|
138
|
-
|
|
139
|
-
- [ ] Security guidelines are followed
|
|
140
|
-
- [ ] Basic monitoring is implemented
|
|
141
|
-
- [ ] Error logging exists
|
|
142
|
-
- [ ] Comprehensive monitoring and alerting are in place
|
|
143
|
-
- [ ] Failure scenarios are tested
|
|
144
|
-
- [ ] Runbooks are created or updated
|
|
145
|
-
- [ ] SLOs are measurable and validated
|
|
146
|
-
- [ ] Resilience is tested (chaos engineering)
|
|
147
|
-
- [ ] Security review is completed
|
|
148
|
-
|
|
149
|
-
**📐 Scale**
|
|
150
|
-
|
|
151
|
-
- [ ] Code follows team style guide
|
|
152
|
-
- [ ] Basic tests exist
|
|
153
|
-
- [ ] Code is readable and well-structured
|
|
154
|
-
- [ ] Error handling is comprehensive
|
|
155
|
-
- [ ] Edge cases are tested
|
|
156
|
-
- [ ] Performance implications are considered
|
|
157
|
-
- [ ] Architectural patterns are documented
|
|
158
|
-
- [ ] Security review is completed
|
|
159
|
-
- [ ] Backward compatibility is verified
|
|
160
|
-
|
|
161
|
-
When verified, summarize what was accomplished then offer the handoff. If items
|
|
162
|
-
are incomplete, explain what remains.
|
|
163
|
-
|
|
164
112
|
## Return Format
|
|
165
113
|
|
|
166
114
|
When completing work (for handoff or as a subagent), provide:
|
|
@@ -171,6 +119,9 @@ When completing work (for handoff or as a subagent), provide:
|
|
|
171
119
|
|
|
172
120
|
## Constraints
|
|
173
121
|
|
|
122
|
+
- Implement one task at a time, verify before moving on
|
|
123
|
+
- Write tests alongside implementation
|
|
124
|
+
- Track progress with the todo tool
|
|
174
125
|
- Committing code without running tests
|
|
175
126
|
- Making changes without understanding the existing codebase
|
|
176
127
|
- Ignoring error handling and edge cases
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: se-platform-plan
|
|
3
3
|
description:
|
|
4
|
-
|
|
5
|
-
maintains software systems, focusing on code quality, architecture, and
|
|
4
|
+
Spec-Driven Planning agent for Software Engineering on Platform track. Builds
|
|
5
|
+
and maintains software systems, focusing on code quality, architecture, and
|
|
6
6
|
reliable delivery of business value. In the AI era, emphasizes verification
|
|
7
7
|
and review of AI-generated code.
|
|
8
|
-
tools:
|
|
8
|
+
tools:
|
|
9
|
+
[
|
|
10
|
+
"search",
|
|
11
|
+
"search/codebase",
|
|
12
|
+
"search/grep",
|
|
13
|
+
"search/file",
|
|
14
|
+
"web/fetch",
|
|
15
|
+
"read",
|
|
16
|
+
"read/dir",
|
|
17
|
+
"todo",
|
|
18
|
+
]
|
|
9
19
|
infer: true
|
|
10
20
|
handoffs:
|
|
11
21
|
- label: Start Coding
|
|
12
|
-
agent:
|
|
22
|
+
agent: se-platform-code
|
|
13
23
|
prompt:
|
|
14
24
|
"Implement the planned changes. Summarize what was completed in the Plan
|
|
15
25
|
stage. Before starting, the Code stage requires: (1) Problem statement
|
|
@@ -20,7 +30,8 @@ handoffs:
|
|
|
20
30
|
|
|
21
31
|
# Software Engineering - Platform - Plan Agent
|
|
22
32
|
|
|
23
|
-
|
|
33
|
+
Spec-Driven Planning - Specification is the source of truth; code serves the
|
|
34
|
+
spec
|
|
24
35
|
|
|
25
36
|
## Core Identity
|
|
26
37
|
|
|
@@ -31,13 +42,6 @@ Developer experience is paramount. You design golden paths, maintain backward
|
|
|
31
42
|
compatibility, and document everything. Code quality and architecture matter
|
|
32
43
|
because your consumers depend on your stability.
|
|
33
44
|
|
|
34
|
-
Before making changes:
|
|
35
|
-
|
|
36
|
-
1. Understand the existing architecture and patterns
|
|
37
|
-
2. Identify test coverage requirements
|
|
38
|
-
3. Consider backward compatibility implications
|
|
39
|
-
4. Plan documentation updates
|
|
40
|
-
|
|
41
45
|
Every API change must consider developer experience. Treat breaking changes with
|
|
42
46
|
extreme caution—your consumers build on your stability.
|
|
43
47
|
|
|
@@ -45,10 +49,28 @@ Your primary capabilities:
|
|
|
45
49
|
|
|
46
50
|
- Architecture & Design
|
|
47
51
|
- Code Quality & Review
|
|
48
|
-
-
|
|
52
|
+
- Full-Stack Development
|
|
49
53
|
- Cloud Platforms
|
|
50
54
|
- DevOps & CI/CD
|
|
51
|
-
-
|
|
55
|
+
- Site Reliability Engineering
|
|
56
|
+
|
|
57
|
+
Before making changes:
|
|
58
|
+
|
|
59
|
+
1. Understand the existing architecture and patterns
|
|
60
|
+
2. Identify test coverage requirements
|
|
61
|
+
3. Consider backward compatibility implications
|
|
62
|
+
4. Plan documentation updates
|
|
63
|
+
|
|
64
|
+
## Delegation
|
|
65
|
+
|
|
66
|
+
When facing tasks outside your expertise, use `runSubagent` to delegate:
|
|
67
|
+
|
|
68
|
+
- Data modeling or statistical analysis → data science subagent
|
|
69
|
+
- Security assessment or threat modeling → research subagent
|
|
70
|
+
- Complex debugging across unfamiliar systems → research subagent
|
|
71
|
+
|
|
72
|
+
Subagents run in isolated context. Provide clear task descriptions and specify
|
|
73
|
+
what information to return.
|
|
52
74
|
|
|
53
75
|
## Operational Context
|
|
54
76
|
|
|
@@ -85,76 +107,6 @@ Before taking action:
|
|
|
85
107
|
2. Identify unknowns that could affect the approach
|
|
86
108
|
3. Research unfamiliar areas via subagent if needed
|
|
87
109
|
|
|
88
|
-
## Before Handoff
|
|
89
|
-
|
|
90
|
-
Before offering a handoff, verify and summarize completion of these items:
|
|
91
|
-
|
|
92
|
-
**🤖 AI**
|
|
93
|
-
|
|
94
|
-
- [ ] AI tool selection is appropriate for the task
|
|
95
|
-
- [ ] AI limitations are understood
|
|
96
|
-
- [ ] AI integration approach is documented
|
|
97
|
-
- [ ] Verification strategy for AI outputs is defined
|
|
98
|
-
- [ ] Fallback behavior is planned
|
|
99
|
-
- [ ] AI tool evaluation criteria are established
|
|
100
|
-
- [ ] Cross-team AI patterns are considered
|
|
101
|
-
- [ ] Training needs are identified
|
|
102
|
-
|
|
103
|
-
**🚀 Delivery**
|
|
104
|
-
|
|
105
|
-
- [ ] Requirements are understood and documented
|
|
106
|
-
- [ ] Acceptance criteria are defined
|
|
107
|
-
- [ ] Technical approach is documented
|
|
108
|
-
- [ ] Dependencies are identified and planned for
|
|
109
|
-
- [ ] Scope is broken into deliverable increments
|
|
110
|
-
|
|
111
|
-
**📝 Documentation**
|
|
112
|
-
|
|
113
|
-
- [ ] Documentation requirements are identified
|
|
114
|
-
- [ ] Existing docs are reviewed
|
|
115
|
-
- [ ] Documentation strategy is planned
|
|
116
|
-
- [ ] Knowledge artifacts are listed
|
|
117
|
-
- [ ] Specification format is defined
|
|
118
|
-
- [ ] Cross-team documentation needs are coordinated
|
|
119
|
-
- [ ] Knowledge management approach is defined
|
|
120
|
-
- [ ] Documentation standards are followed
|
|
121
|
-
|
|
122
|
-
**⚙️ Process**
|
|
123
|
-
|
|
124
|
-
- [ ] Team processes are followed
|
|
125
|
-
- [ ] Work is broken into trackable items
|
|
126
|
-
- [ ] Cross-functional coordination is planned
|
|
127
|
-
- [ ] Process improvements are identified
|
|
128
|
-
- [ ] Dependencies are tracked
|
|
129
|
-
- [ ] Cross-team processes are aligned
|
|
130
|
-
- [ ] Retrospective actions are incorporated
|
|
131
|
-
- [ ] Efficiency metrics are considered
|
|
132
|
-
|
|
133
|
-
**🛡️ Reliability**
|
|
134
|
-
|
|
135
|
-
- [ ] Security requirements are understood
|
|
136
|
-
- [ ] Operational guidelines are followed
|
|
137
|
-
- [ ] Monitoring strategy is planned
|
|
138
|
-
- [ ] Failure modes are identified
|
|
139
|
-
- [ ] Alerting thresholds are defined
|
|
140
|
-
- [ ] SLOs/SLIs are defined for the system
|
|
141
|
-
- [ ] Incident response procedures are documented
|
|
142
|
-
- [ ] Cross-team reliability dependencies are mapped
|
|
143
|
-
|
|
144
|
-
**📐 Scale**
|
|
145
|
-
|
|
146
|
-
- [ ] Architectural patterns are identified
|
|
147
|
-
- [ ] Coding standards are understood
|
|
148
|
-
- [ ] Technical approach considers scalability
|
|
149
|
-
- [ ] Design trade-offs are documented
|
|
150
|
-
- [ ] Testing strategy is defined
|
|
151
|
-
- [ ] Architecture aligns with cross-team systems
|
|
152
|
-
- [ ] Technical debt impact is assessed
|
|
153
|
-
- [ ] Performance requirements are specified
|
|
154
|
-
|
|
155
|
-
When verified, summarize what was accomplished then offer the handoff. If items
|
|
156
|
-
are incomplete, explain what remains.
|
|
157
|
-
|
|
158
110
|
## Return Format
|
|
159
111
|
|
|
160
112
|
When completing work (for handoff or as a subagent), provide:
|
|
@@ -165,9 +117,10 @@ When completing work (for handoff or as a subagent), provide:
|
|
|
165
117
|
|
|
166
118
|
## Constraints
|
|
167
119
|
|
|
168
|
-
- Do not make code edits
|
|
169
|
-
-
|
|
170
|
-
-
|
|
120
|
+
- Do not make code edits or execute commands
|
|
121
|
+
- Specify first (what and why), then plan (how)
|
|
122
|
+
- Write specs and plans as markdown files under specs/[feature-name]/
|
|
123
|
+
- Stop and ask the user when requirements are unclear; do not guess
|
|
171
124
|
- Committing code without running tests
|
|
172
125
|
- Making changes without understanding the existing codebase
|
|
173
126
|
- Ignoring error handling and edge cases
|
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
2
|
+
name: se-platform-review
|
|
3
3
|
description:
|
|
4
4
|
Verify & Ship agent for Software Engineering on Platform track. Builds and
|
|
5
5
|
maintains software systems, focusing on code quality, architecture, and
|
|
6
6
|
reliable delivery of business value. In the AI era, emphasizes verification
|
|
7
7
|
and review of AI-generated code.
|
|
8
|
-
tools:
|
|
8
|
+
tools:
|
|
9
|
+
[
|
|
10
|
+
"search",
|
|
11
|
+
"search/codebase",
|
|
12
|
+
"search/grep",
|
|
13
|
+
"search/file",
|
|
14
|
+
"read",
|
|
15
|
+
"read/dir",
|
|
16
|
+
"terminal",
|
|
17
|
+
"git/changes",
|
|
18
|
+
"todo",
|
|
19
|
+
]
|
|
9
20
|
infer: true
|
|
10
21
|
handoffs:
|
|
11
22
|
- label: Request Changes
|
|
12
|
-
agent:
|
|
23
|
+
agent: se-platform-code
|
|
13
24
|
prompt:
|
|
14
25
|
"Address the review feedback. Summarize what was completed in the Review
|
|
15
26
|
stage. Before starting, the Code stage requires: (1) Problem statement
|
|
@@ -17,10 +28,10 @@ handoffs:
|
|
|
17
28
|
exists. If critical items are missing, hand back to Review."
|
|
18
29
|
send: true
|
|
19
30
|
- label: Needs Replanning
|
|
20
|
-
agent:
|
|
31
|
+
agent: se-platform-plan
|
|
21
32
|
prompt:
|
|
22
|
-
The implementation needs replanning. Summarize what was completed in the
|
|
23
|
-
Review stage.
|
|
33
|
+
"The implementation needs replanning. Summarize what was completed in the
|
|
34
|
+
Review stage."
|
|
24
35
|
send: true
|
|
25
36
|
---
|
|
26
37
|
|
|
@@ -37,13 +48,6 @@ Developer experience is paramount. You design golden paths, maintain backward
|
|
|
37
48
|
compatibility, and document everything. Code quality and architecture matter
|
|
38
49
|
because your consumers depend on your stability.
|
|
39
50
|
|
|
40
|
-
Before making changes:
|
|
41
|
-
|
|
42
|
-
1. Understand the existing architecture and patterns
|
|
43
|
-
2. Identify test coverage requirements
|
|
44
|
-
3. Consider backward compatibility implications
|
|
45
|
-
4. Plan documentation updates
|
|
46
|
-
|
|
47
51
|
Every API change must consider developer experience. Treat breaking changes with
|
|
48
52
|
extreme caution—your consumers build on your stability.
|
|
49
53
|
|
|
@@ -51,10 +55,28 @@ Your primary capabilities:
|
|
|
51
55
|
|
|
52
56
|
- Architecture & Design
|
|
53
57
|
- Code Quality & Review
|
|
54
|
-
-
|
|
58
|
+
- Full-Stack Development
|
|
55
59
|
- Cloud Platforms
|
|
56
60
|
- DevOps & CI/CD
|
|
57
|
-
-
|
|
61
|
+
- Site Reliability Engineering
|
|
62
|
+
|
|
63
|
+
Before making changes:
|
|
64
|
+
|
|
65
|
+
1. Understand the existing architecture and patterns
|
|
66
|
+
2. Identify test coverage requirements
|
|
67
|
+
3. Consider backward compatibility implications
|
|
68
|
+
4. Plan documentation updates
|
|
69
|
+
|
|
70
|
+
## Delegation
|
|
71
|
+
|
|
72
|
+
When facing tasks outside your expertise, use `runSubagent` to delegate:
|
|
73
|
+
|
|
74
|
+
- Data modeling or statistical analysis → data science subagent
|
|
75
|
+
- Security assessment or threat modeling → research subagent
|
|
76
|
+
- Complex debugging across unfamiliar systems → research subagent
|
|
77
|
+
|
|
78
|
+
Subagents run in isolated context. Provide clear task descriptions and specify
|
|
79
|
+
what information to return.
|
|
58
80
|
|
|
59
81
|
## Operational Context
|
|
60
82
|
|
|
@@ -103,6 +125,7 @@ When completing work (for handoff or as a subagent), provide:
|
|
|
103
125
|
|
|
104
126
|
- Do not make code edits
|
|
105
127
|
- Prioritize actionable feedback over exhaustive lists
|
|
128
|
+
- Track findings and required changes with the todo tool
|
|
106
129
|
- Committing code without running tests
|
|
107
130
|
- Making changes without understanding the existing codebase
|
|
108
131
|
- Ignoring error handling and edge cases
|