create-pathfinder 1.7.0 → 2.0.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.
Files changed (45) hide show
  1. package/AGENTS.md +3 -1
  2. package/CLAUDE.md +22 -0
  3. package/README.md +383 -65
  4. package/context/ai-interaction.md +78 -38
  5. package/context/coding-standards.md +119 -60
  6. package/copy-list.json +1 -0
  7. package/package.json +2 -1
  8. package/roles/developer.md +37 -0
  9. package/roles/planner.md +38 -0
  10. package/roles/tester.md +40 -0
  11. package/skills/challenge-me/SKILL.md +11 -7
  12. package/skills/complete-feature/SKILL.md +16 -10
  13. package/skills/handoff/SKILL.md +24 -4
  14. package/skills/kickstart-pathfinder/SKILL.md +6 -1
  15. package/skills/learning-review/SKILL.md +9 -6
  16. package/skills/load-feature/SKILL.md +20 -9
  17. package/skills/prototype/SKILL.md +3 -1
  18. package/skills/quiz-me/SKILL.md +33 -7
  19. package/skills/review-feature/SKILL.md +19 -11
  20. package/skills/role/SKILL.md +33 -0
  21. package/skills/setup-tracker/SKILL.md +42 -0
  22. package/skills/start-feature/SKILL.md +19 -15
  23. package/skills/sync-tracker/SKILL.md +81 -0
  24. package/skills/teach-architecture/SKILL.md +6 -5
  25. package/skills/teach-feature/SKILL.md +11 -8
  26. package/skills/to-specs/SKILL.md +41 -25
  27. package/skills/whereami/SKILL.md +87 -0
  28. package/src/cli.mjs +2 -1
  29. package/src/detect.mjs +1 -1
  30. package/src/install.mjs +5 -1
  31. package/src/kickstart-prompt.mjs +1 -1
  32. package/src/kit.mjs +70 -1
  33. package/templates/CHANGELOG.template.md +2 -1
  34. package/templates/feature-spec.template.md +19 -75
  35. package/templates/history.template.md +12 -0
  36. package/templates/lesson.template.md +22 -51
  37. package/templates/project-overview.template.md +80 -145
  38. package/context/current-feature.md +0 -46
  39. package/context/features/example-feature-spec.md +0 -103
  40. package/context/history.md +0 -14
  41. package/context/learning/learner-profile.md +0 -35
  42. package/context/learning/lessons/.gitkeep +0 -0
  43. package/context/learning/progress.md +0 -28
  44. package/context/project-overview.md +0 -211
  45. package/templates/progress-entry.template.md +0 -23
@@ -1,46 +0,0 @@
1
- # Current Feature
2
-
3
- Use this as the lean tracker for active work.
4
-
5
- ## Status
6
-
7
- - State: `[not started / loaded / in progress / blocked / ready for review / complete]`
8
- - Feature spec: `[context/features/##-feature-name.md]`
9
- - Current delivery chunk: `[number and name]`
10
- - Git state: `[branch/ref and working-tree summary, following project policy]`
11
-
12
- ## Goal
13
-
14
- - `[single feature outcome]`
15
-
16
- ## Active Delivery Chunk
17
-
18
- - `[small stable increment being implemented now]`
19
-
20
- ## Context Boundary
21
-
22
- Read:
23
-
24
- - `[required file or folder]`
25
-
26
- Avoid loading:
27
-
28
- - `[unrelated area]`
29
-
30
- ## Definition of Done
31
-
32
- - `[acceptance result]`
33
- - `[verification]`
34
- - `[required docs/state update]`
35
-
36
- ## Assumptions and Open Questions
37
-
38
- - `[assumption or none]`
39
-
40
- ## Out of Scope
41
-
42
- - `[explicit boundary]`
43
-
44
- ## Up Next
45
-
46
- - `[next chunk or feature]`
@@ -1,103 +0,0 @@
1
- # Example Feature Spec
2
-
3
- > A worked example of the shape `to-specs` writes into this folder. Real
4
- > specs are new files here, titled with the feature's own name; copy
5
- > `templates/feature-spec.template.md` to start one.
6
-
7
- ## Status
8
-
9
- Not Started
10
-
11
- ## Overview
12
-
13
- Describe the smallest coherent outcome, where it fits, and why it matters.
14
-
15
- ## Problem
16
-
17
- - What is missing, risky, confusing, inaccessible, unreliable, or inefficient?
18
- - Who or what is affected?
19
- - Why does this matter now?
20
-
21
- ## Goal
22
-
23
- State one user-visible or system-verifiable outcome.
24
-
25
- ## Dependencies
26
-
27
- - Earlier feature, system, decision, prototype, or `None`.
28
-
29
- ## Requirements
30
-
31
- - Requirement 1
32
- - Requirement 2
33
- - Requirement 3
34
- - Include relevant failure, permission, loading, empty, retry, responsive, accessibility, operational, or compatibility states only when applicable.
35
-
36
- ## Out of Scope
37
-
38
- - Explicit exclusion
39
- - Later feature, if known
40
- - Unrelated refactors, dependencies, or polish
41
-
42
- ## Experience or Operational Notes — When Applicable
43
-
44
- - User interaction, system behavior, responsive behavior, accessibility, observability, performance, security, or operational expectations.
45
-
46
- ## Technical Notes
47
-
48
- Likely areas:
49
-
50
- - `[specific path or bounded area]`
51
-
52
- Implementation constraints:
53
-
54
- - Follow project context and approved prototype direction.
55
- - Do not silently resolve open architecture decisions.
56
- - Keep prototype and production code boundaries explicit.
57
-
58
- ## Context Boundary
59
-
60
- Read:
61
-
62
- - `[specific context and code]`
63
-
64
- Avoid loading:
65
-
66
- - `[unrelated systems, old specs, generated output]`
67
-
68
- Split this feature further if its required context is not focused enough for reliable implementation and verification.
69
-
70
- ## Delivery Chunks
71
-
72
- 1. `[stable, verifiable increment]`
73
- 2. `[stable, verifiable increment]`
74
- 3. `[optional stable increment]`
75
-
76
- Each chunk should leave the project stable.
77
-
78
- ## Acceptance Criteria
79
-
80
- - The defined outcome works end to end within scope.
81
- - Relevant failure and edge behavior is handled.
82
- - Applicable quality requirements are met.
83
- - Required automated/manual checks pass.
84
- - The work can be reviewed independently.
85
-
86
- ## Verification
87
-
88
- - Manual or operational checks:
89
- - Automated checks:
90
- - Edge cases:
91
- - Quality checks:
92
-
93
- ## Learning Targets
94
-
95
- - Concepts worth explaining after completion:
96
- - Diagram or demonstration opportunity:
97
- - Quiz ideas:
98
-
99
- ## Suggested Delivery Metadata
100
-
101
- - Git action: `[follow project workflow]`
102
- - Suggested branch, when applicable: `[project naming convention]`
103
- - Suggested commit, when applicable: `[project convention]`
@@ -1,14 +0,0 @@
1
- # Project History
2
-
3
- Append-only record of completed, accepted work. Prefer durable outcomes over raw file inventories.
4
-
5
- ## Completed Work
6
-
7
- ### [YYYY-MM-DD] — [Feature or milestone]
8
-
9
- - Outcome:
10
- - Why it mattered:
11
- - Verification:
12
- - Important decision or tradeoff:
13
- - Learning artifact, if any:
14
- - Follow-up, if any:
@@ -1,35 +0,0 @@
1
- # Learner Profile
2
-
3
- ## Current Level
4
-
5
- - Primary role: Senior Frontend Engineer
6
- - Strongest areas: React, TypeScript, reusable components, design systems, frontend testing
7
- - Areas to strengthen: system design, complex state, server-state architecture, data visualization, performance at scale, enterprise product architecture, backend integration, real-time systems
8
- - Target role or environment: Senior frontend/product engineering role building complex enterprise interfaces
9
- - Preferred learning style: practical explanations grounded in real code, diagrams, comparisons, interview framing, and short challenges
10
- - Explanation depth: advanced but do not skip fundamentals that affect architectural decisions
11
-
12
- ## Learning Preferences
13
-
14
- - Explain why a solution was selected, not only what the code does.
15
- - Compare at least one credible alternative when the tradeoff is meaningful.
16
- - Connect frontend details to system-level consequences.
17
- - Include accessibility, performance, testing, and maintainability.
18
- - Use concise Mermaid diagrams when they clarify data or event flow.
19
- - Prefer varied assessments: prediction, debugging, design choice, code reading, and transfer.
20
- - Avoid trivia and syntax-only questions unless syntax caused a real issue.
21
- - Do not overpraise. Give precise feedback.
22
-
23
- ## Career Preparation
24
-
25
- For relevant lessons, include:
26
-
27
- - A likely senior frontend interview question
28
- - A concise strong-answer outline
29
- - One follow-up question that tests deeper understanding
30
- - Vocabulary worth using accurately
31
- - Any gap between the current implementation and production-scale expectations
32
-
33
- ## Update Rules
34
-
35
- Update this file only when the user explicitly changes learning goals or when a repeated pattern is clearly established across multiple lessons.
File without changes
@@ -1,28 +0,0 @@
1
- # Learning Progress
2
-
3
- This file records demonstrated understanding, not feature completion.
4
-
5
- ## Confidence Scale
6
-
7
- - `introduced` — explained once; no evidence of recall yet
8
- - `practiced` — answered or applied with help
9
- - `independent` — applied correctly without meaningful help
10
- - `transferable` — applied the concept correctly in a different context
11
- - `review-needed` — misunderstanding or weak recall was observed
12
-
13
- ## Concept Records
14
-
15
- | Concept | Status | Evidence | Last reviewed | Next reinforcement |
16
- | --- | --- | --- | --- | --- |
17
-
18
- ## Lessons Completed
19
-
20
- | Date | Feature | Lesson | Quiz result | Challenge result | Follow-up |
21
- | --- | --- | --- | --- | --- | --- |
22
-
23
- ## Rules
24
-
25
- - Do not mark a concept `independent` from passive reading.
26
- - Do not mark a concept `transferable` using the same example that introduced it.
27
- - Record uncertainty honestly.
28
- - Prefer a few meaningful concepts over dozens of shallow entries.
@@ -1,211 +0,0 @@
1
- # Project Overview
2
-
3
- > Describe the product, audience, intended feeling, and reason it should exist.
4
-
5
- ## Status
6
-
7
- - Project: `[Project Name]`
8
- - Stage: `[idea / prototype / MVP / production / maintenance]`
9
- - Repo type: `[new / existing / application / library / service / monorepo / other]`
10
- - Primary goal: `[success definition]`
11
- - Prototype status: `[not required / recommended / in progress / approved / rejected / TBD]`
12
-
13
- ## Decision States
14
-
15
- These four words describe a decision:
16
-
17
- - `TBD` — human decision required
18
- - `None` — intentionally excluded
19
- - `N/A` — not applicable
20
- - `Deferred` — intentionally postponed
21
-
22
- ## Record Status
23
-
24
- A `Status` column describes the record, not the decision:
25
-
26
- - `proposed` — written down, not yet approved by the human
27
- - `accepted` — approved by the human
28
- - `superseded` — replaced by a later decision, kept for history
29
-
30
- The two answer different questions. `TBD` says nobody has decided yet. `proposed` says something was recorded for the human to approve. A recorded proposal is not an approved decision.
31
-
32
- ## Product Vision
33
-
34
- - Problem:
35
- - Primary user:
36
- - First useful outcome:
37
- - Distinctive quality:
38
- - What this must avoid becoming:
39
-
40
- ## MVP Boundary
41
-
42
- ### In scope
43
-
44
- - `[essential outcome]`
45
-
46
- ### Out of scope
47
-
48
- - `[deferred outcome]`
49
-
50
- ### Success signals
51
-
52
- - `[observable user, business, system, or learning signal]`
53
-
54
- ## Core Experience or System Flow
55
-
56
- ```text
57
- starting state -> action/process -> useful result -> reason to return or continue
58
- ```
59
-
60
- ## Requirements, Preferences, Constraints, and Open Decisions
61
-
62
- | Type | Item | Notes |
63
- | --- | --- | --- |
64
- | Requirement | `[must be true]` | |
65
- | Preference | `[desired but negotiable]` | |
66
- | Constraint | `[limit or external obligation]` | |
67
- | Open decision | `[TBD]` | |
68
-
69
- ## Recommended and Approved Technology
70
-
71
- Recommended and approved choices both live here. `debate-me` and `kickstart-pathfinder` may record a choice before the human approves it; that row is marked `proposed` in `Status` and stays that way until it is `accepted`. Leave `Status` empty while the choice is still `TBD`.
72
-
73
- | Layer | Choice | Reason | Status |
74
- | --- | --- | --- | --- |
75
- | Platform/runtime | `TBD` | | |
76
- | Language(s) | `TBD` | | |
77
- | UI/presentation | `TBD / N/A` | | |
78
- | Backend/application layer | `TBD / None` | | |
79
- | Data storage | `TBD / None` | | |
80
- | Data access/ORM | `TBD / None` | | |
81
- | Authentication | `TBD / None` | | |
82
- | Authorization | `TBD / None` | | |
83
- | API/integration style | `TBD / None` | | |
84
- | State management | `TBD / N/A` | | |
85
- | Testing | `TBD` | | |
86
- | Build/package tooling | `TBD` | | |
87
- | Deployment/runtime environment | `TBD` | | |
88
- | Observability | `TBD / Deferred` | | |
89
- | AI providers/models | `TBD / None` | | |
90
-
91
- ## Architecture
92
-
93
- - Architecture style: `TBD`
94
- - Repository shape: `TBD`
95
- - Main boundaries/modules:
96
- - Data/control flow:
97
- - Important tradeoffs:
98
-
99
- ```text
100
- [path or module] # purpose
101
- [path or module] # purpose
102
- ```
103
-
104
- ## Prototype Direction
105
-
106
- - Prototype needed: `[yes / no / TBD]`
107
- - Type: `[experience / technical / diagram / mixed / N/A]`
108
- - Assumption being validated:
109
- - Output location:
110
- - Review criteria:
111
- - Approved direction:
112
- - Elements explicitly not adopted into production:
113
-
114
- ## Delivery Workflow
115
-
116
- | Area | Choice |
117
- | --- | --- |
118
- | Git workflow | `TBD` |
119
- | Default/stable branch | `TBD` |
120
- | Branch naming | `TBD / N/A` |
121
- | Commit convention | `TBD / None` |
122
- | Pull request policy | `TBD` |
123
- | Merge strategy | `TBD` |
124
- | CI/CD | `TBD / None` |
125
- | Versioning | `TBD / None` |
126
- | Changelog | `TBD / None` |
127
- | Release process | `TBD / None` |
128
-
129
- ## Environments and Integrations
130
-
131
- | Area | Choice | Notes |
132
- | --- | --- | --- |
133
- | Local development | `TBD` | |
134
- | Preview/staging | `TBD / None` | |
135
- | Production | `TBD / None` | |
136
- | Environment configuration | `TBD` | |
137
- | Secrets management | `TBD / N/A` | |
138
- | External APIs/services | `TBD / None` | |
139
- | Rate/cost limits | `TBD / N/A` | |
140
-
141
- ## Quality Priorities
142
-
143
- Rank only what matters for this project.
144
-
145
- 1. `[priority]`
146
- 2. `[priority]`
147
- 3. `[priority]`
148
-
149
- | Concern | Target or decision |
150
- | --- | --- |
151
- | Correctness/reliability | `TBD` |
152
- | Security/privacy | `TBD / N/A` |
153
- | Accessibility | `TBD / N/A` |
154
- | Performance | `TBD / N/A` |
155
- | Browser/platform support | `TBD / N/A` |
156
- | Localization | `TBD / None` |
157
- | Offline behavior | `TBD / N/A` |
158
-
159
- ## Core Domain Concepts
160
-
161
- Describe durable concepts without assuming a language:
162
-
163
- ```text
164
- Entity/Concept: Example
165
- Required fields: id, name
166
- Important states: draft, active, archived
167
- Relationships: belongs to / contains / references
168
- ```
169
-
170
- ## Build, Test, and Run Commands
171
-
172
- ```text
173
- install: TBD
174
- run/dev: TBD
175
- test: TBD
176
- lint/static analysis: TBD
177
- build/package: TBD
178
- other verification: TBD
179
- ```
180
-
181
- ## Build Phases
182
-
183
- | Phase | Goal | Visible or verifiable win |
184
- | --- | --- | --- |
185
- | 1 | Foundation | `[result]` |
186
- | 2 | Core experience/system | `[result]` |
187
- | 3 | Real data/integration | `[result]` |
188
- | 4 | Quality and release readiness | `[result]` |
189
-
190
- ## Learning Goals
191
-
192
- - What the human wants to understand:
193
- - Preferred lesson format: `[HTML / MDX / Markdown / existing docs system / TBD]`
194
- - Quiz preferences:
195
- - Topics to emphasize:
196
- - Topics to avoid over-explaining:
197
-
198
- ## Durable Decisions
199
-
200
- | Date | Decision | Reason | Status |
201
- | --- | --- | --- | --- |
202
- | `[YYYY-MM-DD]` | `[decision]` | `[reason]` | `[proposed / accepted / superseded]` |
203
-
204
- ## Things To Avoid
205
-
206
- - Building before critical decisions are understood.
207
- - Treating recommendations as approval.
208
- - Silently resolving `TBD` items.
209
- - Turning prototype shortcuts into production defaults.
210
- - Over-documenting temporary implementation detail.
211
- - Creating feature specs too large for a focused LLM context window.
@@ -1,23 +0,0 @@
1
- ## Progress Update — [Date]
2
-
3
- ### Lesson
4
-
5
- - Feature:
6
- - Lesson file:
7
- - Evidence reviewed:
8
-
9
- ### Concepts
10
-
11
- | Concept | Previous | New | Evidence |
12
- | --- | --- | --- | --- |
13
-
14
- ### Misconceptions or Gaps
15
-
16
- - Gap:
17
- - Correction:
18
- - Recommended reinforcement:
19
-
20
- ### Next Review
21
-
22
- - Topic:
23
- - Suggested timing or trigger: