create-pathfinder 1.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/AGENTS.md +7 -0
- package/CLAUDE.md +71 -0
- package/LICENSE +21 -0
- package/README.md +60 -0
- package/bin/create-pathfinder.mjs +8 -0
- package/context/ai-interaction.md +76 -0
- package/context/coding-standards.md +72 -0
- package/context/current-feature.md +46 -0
- package/context/features/example-feature-spec.md +99 -0
- package/context/history.md +14 -0
- package/context/learning/learner-profile.md +35 -0
- package/context/learning/lessons/.gitkeep +0 -0
- package/context/learning/progress.md +28 -0
- package/context/project-overview.md +198 -0
- package/copy-list.json +11 -0
- package/package.json +51 -0
- package/prompts/01-kickstart-project.md +1 -0
- package/prompts/01-teach-current-feature.md +9 -0
- package/prompts/02-debate-me.md +1 -0
- package/prompts/02-quiz-current-feature.md +7 -0
- package/prompts/03-challenge-current-feature.md +7 -0
- package/prompts/03-prototype.md +1 -0
- package/prompts/04-teach-current-architecture.md +7 -0
- package/prompts/04-to-specs.md +1 -0
- package/prompts/05-learning-review.md +5 -0
- package/prompts/05-load-feature.md +1 -0
- package/prompts/06-start-feature.md +1 -0
- package/prompts/07-review-feature.md +1 -0
- package/prompts/08-complete-feature.md +1 -0
- package/prompts/09-learn-feature.md +1 -0
- package/prompts/10-learn-codebase.md +1 -0
- package/prompts/11-handoff.md +1 -0
- package/prompts/12-skillsmith.md +1 -0
- package/prompts/13-reverse-engineer.md +18 -0
- package/prompts/14-reflect.md +13 -0
- package/skills/challenge-me/SKILL.md +81 -0
- package/skills/complete-feature/SKILL.md +17 -0
- package/skills/debate-me/SKILL.md +82 -0
- package/skills/handoff/SKILL.md +12 -0
- package/skills/kickstart-pathfinder/SKILL.md +49 -0
- package/skills/learn-codebase/SKILL.md +33 -0
- package/skills/learn-feature/SKILL.md +48 -0
- package/skills/learning-review/SKILL.md +76 -0
- package/skills/load-feature/SKILL.md +17 -0
- package/skills/prototype/SKILL.md +46 -0
- package/skills/quiz-me/SKILL.md +78 -0
- package/skills/reflect/SKILL.md +481 -0
- package/skills/reverse-engineer/SKILL.md +252 -0
- package/skills/review-feature/SKILL.md +25 -0
- package/skills/skillsmith/SKILL.md +14 -0
- package/skills/start-feature/SKILL.md +25 -0
- package/skills/teach-architecture/SKILL.md +79 -0
- package/skills/teach-feature/SKILL.md +110 -0
- package/skills/to-specs/SKILL.md +45 -0
- package/src/cli.mjs +156 -0
- package/src/install.mjs +99 -0
- package/src/kit.mjs +94 -0
- package/templates/CHANGELOG.template.md +11 -0
- package/templates/feature-spec.template.md +99 -0
- package/templates/lesson.template.md +71 -0
- package/templates/progress-entry.template.md +23 -0
- package/templates/project-overview.template.md +198 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: learn-feature
|
|
3
|
+
description: Generate a rich, interactive, feature-scoped lesson and quiz from completed implementation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Learn Feature
|
|
7
|
+
|
|
8
|
+
Use after a feature is completed and accepted.
|
|
9
|
+
|
|
10
|
+
## Read
|
|
11
|
+
|
|
12
|
+
- completed feature spec and history entry
|
|
13
|
+
- relevant diff/commits when available
|
|
14
|
+
- only the implemented files and direct dependencies needed to explain the feature
|
|
15
|
+
- tests and durable decisions
|
|
16
|
+
|
|
17
|
+
## Output Format
|
|
18
|
+
|
|
19
|
+
Use the project's learning preference. Default to self-contained HTML/CSS/JS. Use MDX only when the repository already supports it or the human selects it.
|
|
20
|
+
|
|
21
|
+
Place output under:
|
|
22
|
+
|
|
23
|
+
```text
|
|
24
|
+
learning/features/[feature-slug]/
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Lesson Content
|
|
28
|
+
|
|
29
|
+
- what changed and why
|
|
30
|
+
- architecture and data/control flow
|
|
31
|
+
- important files and responsibilities
|
|
32
|
+
- key implementation decisions and tradeoffs
|
|
33
|
+
- tests and verification
|
|
34
|
+
- common mistakes and safe extension points
|
|
35
|
+
- visual diagrams or interactive demonstrations when useful
|
|
36
|
+
|
|
37
|
+
## Quiz Variety
|
|
38
|
+
|
|
39
|
+
Include a useful mix when appropriate:
|
|
40
|
+
|
|
41
|
+
- multiple choice
|
|
42
|
+
- true/false with explanation
|
|
43
|
+
- ordering or matching
|
|
44
|
+
- predict-the-output/state
|
|
45
|
+
- debugging scenario
|
|
46
|
+
- short reflection or implementation challenge
|
|
47
|
+
|
|
48
|
+
Provide immediate feedback and explanations. Keep the lesson scoped and avoid reading the whole repository.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: learning-review
|
|
3
|
+
description: Review accumulated lessons and evidence, identify durable strengths and gaps, and create a focused reinforcement plan.
|
|
4
|
+
argument-hint: feature|weekly|interview|concept
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Learning Review
|
|
8
|
+
|
|
9
|
+
Use this skill periodically, not after every tiny change.
|
|
10
|
+
|
|
11
|
+
The goal is to turn isolated feature lessons into a coherent learning path.
|
|
12
|
+
|
|
13
|
+
## Read First
|
|
14
|
+
|
|
15
|
+
1. `context/learning/learner-profile.md`
|
|
16
|
+
2. `context/learning/progress.md`
|
|
17
|
+
3. Recent lessons under `context/learning/lessons/`
|
|
18
|
+
4. Recent completed feature specs and history
|
|
19
|
+
5. Quiz or challenge evidence available in the repo
|
|
20
|
+
|
|
21
|
+
## Review Modes
|
|
22
|
+
|
|
23
|
+
### feature
|
|
24
|
+
|
|
25
|
+
Review all learning evidence for one feature.
|
|
26
|
+
|
|
27
|
+
### weekly
|
|
28
|
+
|
|
29
|
+
Summarize recent concepts, repeated gaps, and one reinforcement plan.
|
|
30
|
+
|
|
31
|
+
### interview
|
|
32
|
+
|
|
33
|
+
Translate demonstrated project experience into interview-ready stories and identify claims that are not yet supported by evidence.
|
|
34
|
+
|
|
35
|
+
### concept
|
|
36
|
+
|
|
37
|
+
Review one concept across several features to determine whether understanding transfers.
|
|
38
|
+
|
|
39
|
+
## Output
|
|
40
|
+
|
|
41
|
+
Return:
|
|
42
|
+
|
|
43
|
+
## Demonstrated Strengths
|
|
44
|
+
|
|
45
|
+
Only claims supported by evidence.
|
|
46
|
+
|
|
47
|
+
## Developing Areas
|
|
48
|
+
|
|
49
|
+
Where understanding is partial or assisted.
|
|
50
|
+
|
|
51
|
+
## Misconceptions or Missing Evidence
|
|
52
|
+
|
|
53
|
+
Be direct and specific.
|
|
54
|
+
|
|
55
|
+
## Connections Across Features
|
|
56
|
+
|
|
57
|
+
Show how concepts reinforce each other.
|
|
58
|
+
|
|
59
|
+
## Interview Stories
|
|
60
|
+
|
|
61
|
+
For relevant work, produce concise STAR-style outlines without inventing business impact.
|
|
62
|
+
|
|
63
|
+
## Next Three Learning Moves
|
|
64
|
+
|
|
65
|
+
At most three, ordered by value.
|
|
66
|
+
|
|
67
|
+
## Progress Changes
|
|
68
|
+
|
|
69
|
+
Update `context/learning/progress.md` conservatively.
|
|
70
|
+
|
|
71
|
+
## Rules
|
|
72
|
+
|
|
73
|
+
- Do not equate code generated by an agent with knowledge demonstrated by the learner.
|
|
74
|
+
- Do not create a giant curriculum.
|
|
75
|
+
- Do not assign busywork.
|
|
76
|
+
- Prefer reinforcement through upcoming product features.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: load-feature
|
|
3
|
+
description: Prepare one feature for implementation by checking readiness, context size, dependencies, and delivery chunks.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Load Feature
|
|
7
|
+
|
|
8
|
+
1. Select the requested or next approved feature spec.
|
|
9
|
+
2. Read its dependencies and the smallest relevant durable context.
|
|
10
|
+
3. Check repository reality without scanning unrelated areas.
|
|
11
|
+
4. Identify contradictions, missing decisions, stale paths, and prototype dependencies.
|
|
12
|
+
5. Assess whether the feature fits a focused LLM context window.
|
|
13
|
+
6. Split or revise it before implementation if the context is too broad.
|
|
14
|
+
7. Populate `context/current-feature.md` with the feature, first delivery chunk, context boundary, assumptions, Git state, definition of done, and out-of-scope work.
|
|
15
|
+
8. Present a short readiness summary.
|
|
16
|
+
|
|
17
|
+
Do not implement, create Git history, or resolve `TBD` decisions silently.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: prototype
|
|
3
|
+
description: Create and iterate the cheapest useful artifact for validating a product, interaction, architecture, or technical assumption.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Prototype
|
|
7
|
+
|
|
8
|
+
Use this skill after debate recommends validation or when the human asks to see or test a direction before production planning.
|
|
9
|
+
|
|
10
|
+
## Process
|
|
11
|
+
|
|
12
|
+
1. Read the debate conclusion and relevant project context.
|
|
13
|
+
2. Name the single primary assumption being validated.
|
|
14
|
+
3. Recommend the cheapest useful prototype format.
|
|
15
|
+
4. Define success/rejection criteria and an output location under `prototypes/`.
|
|
16
|
+
5. Create only the prototype; avoid production architecture unless the task is explicitly a technical proof.
|
|
17
|
+
6. Present focused review questions.
|
|
18
|
+
7. On feedback, revise the same direction, replace it, approve it, or stop.
|
|
19
|
+
8. Record approved direction, rejected assumptions, and explicit production exclusions in `context/project-overview.md`.
|
|
20
|
+
|
|
21
|
+
## Supported Forms
|
|
22
|
+
|
|
23
|
+
- wireframe or user-flow diagram
|
|
24
|
+
- static visual concept
|
|
25
|
+
- interactive HTML/CSS/JS
|
|
26
|
+
- prototype using an already-installed project stack
|
|
27
|
+
- API/integration/AI/animation/offline proof of concept
|
|
28
|
+
- architecture or data-flow diagram
|
|
29
|
+
|
|
30
|
+
Do not install a framework solely for a prototype without approval.
|
|
31
|
+
|
|
32
|
+
## Human Review
|
|
33
|
+
|
|
34
|
+
Ask:
|
|
35
|
+
|
|
36
|
+
- Is the purpose or tested assumption clear?
|
|
37
|
+
- Is the main flow/behavior correct?
|
|
38
|
+
- What should be removed, revised, or replaced?
|
|
39
|
+
- Is the direction approved for specification?
|
|
40
|
+
|
|
41
|
+
## Rules
|
|
42
|
+
|
|
43
|
+
- Prototype only what needs validation.
|
|
44
|
+
- Label shortcuts and mocked behavior.
|
|
45
|
+
- Do not silently promote prototype code into production.
|
|
46
|
+
- Iterate rather than generating unrelated alternatives unless replacement is requested.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: quiz-me
|
|
3
|
+
description: Assess understanding of a recently taught feature using varied, evidence-based questions and targeted feedback.
|
|
4
|
+
argument-hint: optional lesson path or feature name
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Quiz Me
|
|
8
|
+
|
|
9
|
+
Use this skill after `teach-feature`, or when the user wants to test understanding of a feature or concept.
|
|
10
|
+
|
|
11
|
+
The goal is retrieval and diagnosis, not entertainment and not a long exam.
|
|
12
|
+
|
|
13
|
+
## Read First
|
|
14
|
+
|
|
15
|
+
1. `context/learning/learner-profile.md`
|
|
16
|
+
2. The relevant lesson in `context/learning/lessons/`
|
|
17
|
+
3. `context/current-feature.md`
|
|
18
|
+
4. Only the implementation or tests needed to verify answers
|
|
19
|
+
5. `context/learning/progress.md`
|
|
20
|
+
|
|
21
|
+
## Quiz Shape
|
|
22
|
+
|
|
23
|
+
Create 5 questions by default. Mix at least three formats:
|
|
24
|
+
|
|
25
|
+
- Predict what happens
|
|
26
|
+
- Explain why a decision was made
|
|
27
|
+
- Trace data or event flow
|
|
28
|
+
- Find or diagnose a bug
|
|
29
|
+
- Choose between architectural alternatives
|
|
30
|
+
- Identify an accessibility or performance risk
|
|
31
|
+
- Interpret a focused code excerpt
|
|
32
|
+
- Explain how a test proves behavior
|
|
33
|
+
|
|
34
|
+
Avoid:
|
|
35
|
+
|
|
36
|
+
- pure trivia
|
|
37
|
+
- questions answerable only by memorizing file names
|
|
38
|
+
- five multiple-choice questions
|
|
39
|
+
- ambiguous questions without a defensible answer
|
|
40
|
+
- testing concepts not present in the lesson or code
|
|
41
|
+
|
|
42
|
+
## Delivery
|
|
43
|
+
|
|
44
|
+
Ask one question at a time.
|
|
45
|
+
|
|
46
|
+
After each answer:
|
|
47
|
+
|
|
48
|
+
1. Mark it as correct, partially correct, or incorrect.
|
|
49
|
+
2. Explain the key point concisely.
|
|
50
|
+
3. Ask one targeted follow-up only when it will diagnose a meaningful gap.
|
|
51
|
+
4. Continue to the next question.
|
|
52
|
+
|
|
53
|
+
Do not reveal all answers before the learner responds.
|
|
54
|
+
|
|
55
|
+
## Scoring
|
|
56
|
+
|
|
57
|
+
At the end, report:
|
|
58
|
+
|
|
59
|
+
- Strong understanding
|
|
60
|
+
- Partial understanding
|
|
61
|
+
- Gaps to reinforce
|
|
62
|
+
- One recommended next action
|
|
63
|
+
|
|
64
|
+
Do not use a percentage unless every question had a clear scoring basis.
|
|
65
|
+
|
|
66
|
+
## Progress Update
|
|
67
|
+
|
|
68
|
+
Update `context/learning/progress.md` with demonstrated evidence.
|
|
69
|
+
|
|
70
|
+
Use the confidence scale already defined there.
|
|
71
|
+
|
|
72
|
+
A correct answer with heavy hints is `practiced`, not `independent`.
|
|
73
|
+
|
|
74
|
+
## Scope
|
|
75
|
+
|
|
76
|
+
- Do not change product code.
|
|
77
|
+
- Do not inflate the quiz to cover the whole stack.
|
|
78
|
+
- Do not treat one quiz as proof of mastery.
|