create-pathfinder 3.0.0 → 3.1.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/CLAUDE.md +2 -0
- package/README.md +17 -0
- package/package.json +1 -1
- package/skills/kickstart-pathfinder/SKILL.md +46 -7
package/CLAUDE.md
CHANGED
|
@@ -70,6 +70,8 @@ Ask before actions identified in `context/ai-interaction.md`, especially depende
|
|
|
70
70
|
|
|
71
71
|
Canonical Pathfinder skills are tool-neutral and live under `skills/`. Harness-specific representations — `.claude/skills/`, `.agents/skills/` — are generated integration artifacts and must not become independent behavior contracts. Edit the canonical file; regenerate the adapter.
|
|
72
72
|
|
|
73
|
+
The Claude Code plugin declared by `.claude-plugin/plugin.json` is a third discovery surface, and the only one that generates nothing: it exposes the canonical `skills/` tree itself, namespaced `/pathfinder:<skill>`. There is no plugin copy of any skill and there must never be one. If a discovery surface and its canonical skill disagree, the canonical skill is correct.
|
|
74
|
+
|
|
73
75
|
An adapter carries the canonical skill's frontmatter and a pointer to it, and nothing else. If an adapter and its canonical skill disagree, the canonical skill is correct.
|
|
74
76
|
|
|
75
77
|
## Available skills
|
package/README.md
CHANGED
|
@@ -261,6 +261,23 @@ Pathfinder also never writes to personal/global skill directories such as:
|
|
|
261
261
|
~/.agents/skills/
|
|
262
262
|
```
|
|
263
263
|
|
|
264
|
+
### The Claude Code plugin is a separate path
|
|
265
|
+
|
|
266
|
+
Pathfinder is also distributed as a Claude Code plugin, installed with
|
|
267
|
+
`/plugin marketplace add rikilamadrid/pathfinder` followed by
|
|
268
|
+
`/plugin install pathfinder@lamadrid-labs`. It does not replace this installer
|
|
269
|
+
and does not change anything it does.
|
|
270
|
+
|
|
271
|
+
The two install different things. The plugin installs commands, always
|
|
272
|
+
namespaced `/pathfinder:<skill>`, into your Claude Code installation and writes
|
|
273
|
+
nothing into your repository — no kit, no adapters. This installer copies the
|
|
274
|
+
kit your repository keeps under version control, and generates the adapters that
|
|
275
|
+
expose the bare `/<skill>` names.
|
|
276
|
+
|
|
277
|
+
A repository can have both, and then carries both command forms running the same
|
|
278
|
+
canonical skill body. If you arrived through the plugin with no kit yet,
|
|
279
|
+
`/pathfinder:kickstart-pathfinder` offers to install one for you.
|
|
280
|
+
|
|
264
281
|
### Interactive selection
|
|
265
282
|
|
|
266
283
|
In an interactive terminal, the installer asks which supported tools to
|
package/package.json
CHANGED
|
@@ -36,18 +36,57 @@ When the user is unsure, provide a small recommendation with reasoning and alter
|
|
|
36
36
|
|
|
37
37
|
## Process
|
|
38
38
|
|
|
39
|
-
1.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
1. If the project is missing kit files, and this session loaded this skill from
|
|
40
|
+
the Pathfinder plugin, offer to install the kit before going further. See
|
|
41
|
+
`Kit Bootstrap` below. Otherwise start at the next step.
|
|
42
|
+
2. Read the kit context and inspect relevant repository facts.
|
|
43
|
+
3. Ask the minimum unresolved questions in small groups.
|
|
44
|
+
4. Summarize requirements, preferences, constraints, open decisions, and contradictions.
|
|
45
|
+
5. Route uncertain product/technical choices to `debate-me` when useful.
|
|
46
|
+
6. Present the proposed context and request human corrections or approval.
|
|
47
|
+
7. Update `context/project-overview.md`, `context/coding-standards.md`, `context/ai-interaction.md`, `CLAUDE.md`, and `AGENTS.md` only after the choices are sufficiently clear.
|
|
45
48
|
`context/project-overview.md` does not ship; create it from `templates/project-overview.template.md` at this step.
|
|
46
49
|
Project facts go there; approval rules and tool actions requiring a human go
|
|
47
50
|
in `context/ai-interaction.md`. Fill the sections the project has and mark
|
|
48
51
|
the rest `TBD` or `None`. Do not add sections the template does not carry,
|
|
49
52
|
and do not leave a field blank.
|
|
50
|
-
|
|
53
|
+
8. Recommend `debate-me`, `prototype`, or `to-specs` as the next action.
|
|
54
|
+
|
|
55
|
+
## Kit Bootstrap
|
|
56
|
+
|
|
57
|
+
The Pathfinder plugin distributes commands. It does not distribute project
|
|
58
|
+
state. A repository reached through `/plugin install` therefore has every
|
|
59
|
+
Pathfinder command and none of the files those commands read.
|
|
60
|
+
|
|
61
|
+
This step applies only when both are true: the project is missing kit files,
|
|
62
|
+
and this skill was loaded from the plugin, which is what makes
|
|
63
|
+
`${CLAUDE_PLUGIN_ROOT}` — the plugin's install directory — a real path. When
|
|
64
|
+
the kit installed this skill into the repository instead, there is no plugin
|
|
65
|
+
root, the condition is false, and this whole section is skipped without being
|
|
66
|
+
raised or quoted.
|
|
67
|
+
|
|
68
|
+
When it does apply:
|
|
69
|
+
|
|
70
|
+
- Copy from the plugin root into the project root, and copy only the kit. That
|
|
71
|
+
list is not restated here: `packages/create-pathfinder/copy-list.json`, inside
|
|
72
|
+
the plugin root, is the one statement of it. Read that file and copy the
|
|
73
|
+
entries it names.
|
|
74
|
+
- Exclude exactly what the installer excludes, and read that from the installer
|
|
75
|
+
too: `NEVER_SHIPS` in `packages/create-pathfinder/src/kit.mjs`, also inside
|
|
76
|
+
the plugin root, is the one statement of it. Skip every kit-relative path it
|
|
77
|
+
holds. Those files are one repository's own working state and would be wrong
|
|
78
|
+
in any other project. Restating them here would be a second list to keep in
|
|
79
|
+
step, and the first time it drifted this step would hand a project what
|
|
80
|
+
`npx create-pathfinder` refuses to.
|
|
81
|
+
- Name every file before writing it, and wait for approval.
|
|
82
|
+
- Overwrite nothing without asking about that file by name. Delete nothing.
|
|
83
|
+
- Report exactly what was written, what was skipped, and what was left alone.
|
|
84
|
+
- Generate no harness adapters. Plugin commands stay namespaced
|
|
85
|
+
`/<plugin-name>:<skill>`, and that is the intended plugin form.
|
|
86
|
+
`npx create-pathfinder --agents claude-code` is what generates adapters and
|
|
87
|
+
the bare command names, for a human who wants both.
|
|
88
|
+
|
|
89
|
+
When the project already has the kit, change nothing and say so.
|
|
51
90
|
|
|
52
91
|
## Stop Condition
|
|
53
92
|
|