@forwardimpact/pathway 0.6.0 → 0.8.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/LICENSE +201 -0
- package/README.md +67 -0
- package/bin/fit-pathway.js +126 -58
- package/package.json +6 -5
- package/src/commands/agent.js +46 -1
- package/src/commands/job.js +32 -1
- package/src/formatters/agent/profile.js +33 -25
- package/src/formatters/agent/skill.js +14 -4
- package/src/formatters/behaviour/microdata.js +1 -1
- package/src/formatters/discipline/microdata.js +1 -1
- package/src/formatters/driver/microdata.js +1 -1
- package/src/formatters/grade/microdata.js +1 -1
- package/src/formatters/job/description.js +22 -9
- package/src/formatters/job/dom.js +19 -10
- package/src/formatters/job/markdown.js +16 -8
- package/src/formatters/json-ld.js +2 -2
- package/src/formatters/microdata-shared.js +2 -2
- package/src/formatters/skill/microdata.js +1 -1
- package/src/formatters/stage/microdata.js +1 -1
- package/src/formatters/toolkit/dom.js +75 -0
- package/src/formatters/toolkit/markdown.js +38 -0
- package/src/formatters/track/microdata.js +1 -1
- package/src/pages/agent-builder.js +47 -1
- package/templates/agent.template.md +47 -27
- package/templates/job.template.md +24 -15
- package/templates/skill.template.md +27 -18
|
@@ -28,10 +28,27 @@ handoffs:
|
|
|
28
28
|
## Core Identity
|
|
29
29
|
|
|
30
30
|
{{{identity}}}
|
|
31
|
+
{{#priority}}
|
|
31
32
|
|
|
32
|
-
{{
|
|
33
|
+
{{{priority}}}
|
|
34
|
+
{{/priority}}
|
|
35
|
+
{{#roleContext}}
|
|
33
36
|
|
|
34
|
-
|
|
37
|
+
## Role Context
|
|
38
|
+
|
|
39
|
+
{{{roleContext}}}
|
|
40
|
+
{{/roleContext}}
|
|
41
|
+
{{#hasWorkingStyles}}
|
|
42
|
+
|
|
43
|
+
## Working Style
|
|
44
|
+
{{#workingStyles}}
|
|
45
|
+
|
|
46
|
+
### {{title}}
|
|
47
|
+
|
|
48
|
+
{{{content}}}
|
|
49
|
+
{{/workingStyles}}
|
|
50
|
+
{{/hasWorkingStyles}}
|
|
51
|
+
{{#hasSkills}}
|
|
35
52
|
|
|
36
53
|
## Available Skills and Tools
|
|
37
54
|
|
|
@@ -47,26 +64,30 @@ and (3) trade-offs of the alternative.
|
|
|
47
64
|
|
|
48
65
|
| Skill | Location | Use When |
|
|
49
66
|
| ----- | -------- | -------- |
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
{{
|
|
53
|
-
|
|
54
|
-
{{
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
{{
|
|
67
|
+
{{#skillIndex}}
|
|
68
|
+
| {{{name}}} | `.claude/skills/{{dirname}}/SKILL.md` | {{{useWhen}}} |
|
|
69
|
+
{{/skillIndex}}
|
|
70
|
+
{{/hasSkills}}
|
|
71
|
+
{{#hasAgentIndex}}
|
|
72
|
+
|
|
73
|
+
## Available Sub-Agents for Delegation
|
|
74
|
+
|
|
75
|
+
**IMPORTANT:** If you come across work that is not strictly within your
|
|
76
|
+
speciality, then you must delegate the task using the `runSubagent` tool.
|
|
77
|
+
|
|
78
|
+
You are part of a team of agents and should not carry out all work yourself.
|
|
79
|
+
Rely on other agents around you that have a speciality better suited for
|
|
80
|
+
individual tasks. If you choose to not delegate specialised work to a sub-agent,
|
|
81
|
+
document in your output: (1) what the specialised work is, (2) the constraint
|
|
82
|
+
preventing delegation and (3) trade-offs of the alternative.
|
|
83
|
+
|
|
84
|
+
| Agent Name | Speciality | Description |
|
|
85
|
+
| ---------- | ---------- | ----------- |
|
|
86
|
+
{{#agentIndex}}
|
|
87
|
+
| `{{id}}` | {{{name}}} | {{{description}}} |
|
|
88
|
+
{{/agentIndex}}
|
|
89
|
+
{{/hasAgentIndex}}
|
|
90
|
+
{{#beforeHandoff}}
|
|
70
91
|
|
|
71
92
|
## Before Handoff
|
|
72
93
|
|
|
@@ -76,7 +97,6 @@ Before offering a handoff, verify and summarize completion of these items:
|
|
|
76
97
|
|
|
77
98
|
When verified, summarize what was accomplished then offer the handoff. If items
|
|
78
99
|
are incomplete, explain what remains.
|
|
79
|
-
|
|
80
100
|
{{/beforeHandoff}}
|
|
81
101
|
|
|
82
102
|
## Return Format
|
|
@@ -87,10 +107,10 @@ When completing work (for handoff or as a subagent), provide:
|
|
|
87
107
|
2. **Checklist status**: Items verified from Before Handoff section
|
|
88
108
|
3. **Recommendation**: Ready for next stage, or needs more work
|
|
89
109
|
|
|
90
|
-
{{#
|
|
91
|
-
|
|
110
|
+
{{#hasConstraints}}
|
|
92
111
|
## Constraints
|
|
93
112
|
|
|
94
113
|
{{#constraints}}
|
|
95
|
-
|
|
96
|
-
|
|
114
|
+
- {{{.}}}
|
|
115
|
+
{{/constraints}}
|
|
116
|
+
{{/hasConstraints}}
|
|
@@ -1,41 +1,50 @@
|
|
|
1
1
|
# {{{title}}}
|
|
2
2
|
|
|
3
3
|
- **Level:** {{{gradeId}}}
|
|
4
|
-
- **Experience:** {{{typicalExperienceRange}}}
|
|
5
|
-
|
|
4
|
+
- **Experience:** {{{typicalExperienceRange}}}
|
|
5
|
+
{{#hasTrack}}- **Track:** {{{trackName}}}
|
|
6
|
+
{{/hasTrack}}
|
|
6
7
|
|
|
7
8
|
## ROLE SUMMARY
|
|
8
9
|
|
|
9
10
|
{{{roleSummary}}}
|
|
11
|
+
{{#hasTrackRoleContext}}
|
|
10
12
|
|
|
11
|
-
{{
|
|
13
|
+
{{{trackRoleContext}}}
|
|
14
|
+
{{/hasTrackRoleContext}}
|
|
15
|
+
{{#hasExpectationsParagraph}}
|
|
12
16
|
|
|
13
|
-
{{
|
|
14
|
-
|
|
15
|
-
{{
|
|
17
|
+
{{{expectationsParagraph}}}
|
|
18
|
+
{{/hasExpectationsParagraph}}
|
|
19
|
+
{{#hasResponsibilities}}
|
|
16
20
|
|
|
17
21
|
## ROLE RESPONSIBILITIES
|
|
18
22
|
|
|
19
23
|
{{#responsibilities}}
|
|
20
|
-
|
|
21
|
-
|
|
24
|
+
- **{{{capabilityName}}}:** {{{responsibility}}}
|
|
25
|
+
{{/responsibilities}}
|
|
26
|
+
{{/hasResponsibilities}}
|
|
27
|
+
{{#hasBehaviours}}
|
|
22
28
|
|
|
23
29
|
## ROLE BEHAVIOURS
|
|
24
30
|
|
|
25
31
|
{{#behaviours}}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
- **{{{behaviourName}}}:** {{{maturityDescription}}}
|
|
33
|
+
{{/behaviours}}
|
|
34
|
+
{{/hasBehaviours}}
|
|
35
|
+
{{#hasSkillLevels}}
|
|
29
36
|
{{#skillLevels}}
|
|
30
37
|
|
|
31
38
|
## {{{levelHeading}}}
|
|
32
39
|
|
|
33
40
|
{{#skills}}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
41
|
+
- **{{{skillName}}}:** {{{levelDescription}}}
|
|
42
|
+
{{/skills}}
|
|
37
43
|
{{/skillLevels}}
|
|
44
|
+
{{/hasSkillLevels}}
|
|
45
|
+
{{#hasQualificationSummary}}
|
|
38
46
|
|
|
39
47
|
## QUALIFICATIONS
|
|
40
48
|
|
|
41
|
-
{{
|
|
49
|
+
{{{qualificationSummary}}}
|
|
50
|
+
{{/hasQualificationSummary}}
|
|
@@ -4,41 +4,50 @@ description: |
|
|
|
4
4
|
{{#descriptionLines}}
|
|
5
5
|
{{{.}}}
|
|
6
6
|
{{/descriptionLines}}
|
|
7
|
-
{{#
|
|
7
|
+
{{#hasUseWhen}}
|
|
8
8
|
**Use When:** {{#useWhenLines}}{{{.}}}{{/useWhenLines}}
|
|
9
|
-
{{/
|
|
9
|
+
{{/hasUseWhen}}
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# {{{title}}}
|
|
13
|
+
{{#hasUseWhen}}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
{{#useWhenLines}}{{{.}}}{{/useWhenLines}}
|
|
15
|
+
**Use This Skill When:**
|
|
16
|
+
{{#useWhenLines}}{{{.}}}{{/useWhenLines}}
|
|
17
|
+
{{/hasUseWhen}}
|
|
18
|
+
{{#hasStages}}
|
|
16
19
|
|
|
17
20
|
## Stage Guidance
|
|
18
|
-
|
|
19
21
|
{{#stages}}
|
|
20
22
|
|
|
21
23
|
### {{stageName}} Stage
|
|
22
24
|
|
|
23
25
|
**Focus:** {{{focus}}}
|
|
24
26
|
|
|
25
|
-
**Activities:**
|
|
26
|
-
|
|
27
|
-
- {{{.}}}
|
|
27
|
+
**Activities:**
|
|
28
|
+
{{#activities}}
|
|
29
|
+
- {{{.}}}
|
|
30
|
+
{{/activities}}
|
|
28
31
|
|
|
29
|
-
**Ready for {{nextStageName}} when:**
|
|
32
|
+
**Ready for {{nextStageName}} when:**
|
|
33
|
+
{{#ready}}
|
|
34
|
+
- [ ] {{{.}}}
|
|
35
|
+
{{/ready}}
|
|
36
|
+
{{/stages}}
|
|
37
|
+
{{/hasStages}}
|
|
38
|
+
{{#hasToolReferences}}
|
|
30
39
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## Recommended Tools
|
|
40
|
+
# Recommended Tools
|
|
34
41
|
|
|
35
42
|
| Tool | Use When |
|
|
36
43
|
| ---- | -------- |
|
|
44
|
+
{{#toolReferences}}
|
|
45
|
+
| {{#url}}[{{{name}}}]({{{url}}}){{/url}}{{^url}}{{{name}}}{{/url}} | {{{useWhen}}} |
|
|
46
|
+
{{/toolReferences}}
|
|
47
|
+
{{/hasToolReferences}}
|
|
48
|
+
{{#hasReference}}
|
|
37
49
|
|
|
38
|
-
|
|
39
|
-
{{#url}}[{{{name}}}]({{{url}}}){{/url}}{{^url}}{{{name}}}{{/url}} |
|
|
40
|
-
{{{useWhen}}} | {{/toolReferences}} {{/toolReferences.length}} {{#reference}}
|
|
41
|
-
|
|
42
|
-
## Reference
|
|
50
|
+
# Reference
|
|
43
51
|
|
|
44
|
-
{{{reference}}}
|
|
52
|
+
{{{reference}}}
|
|
53
|
+
{{/hasReference}}
|