buildpartner 0.3.2 → 0.3.3
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/dist/src/commands/setup.js +2 -2
- package/dist/src/constants.d.ts +2 -2
- package/dist/src/constants.js +2 -2
- package/dist/src/installer/skill-installer.js +1 -1
- package/dist/src/installer/skill-sync.d.ts +1 -1
- package/dist/src/installer/skill-sync.js +1 -1
- package/dist/src/store/quest-store.js +10 -10
- package/package.json +1 -1
- package/skills/{he-coach → bp-coach}/SKILL.md +2 -2
- package/skills/{he-consult → bp-consult}/SKILL.md +1 -1
- package/skills/{he-enhance-claude-md → bp-enhance-claude-md}/SKILL.md +1 -1
- package/skills/{he-flex-socials → bp-flex-socials}/SKILL.md +1 -1
- package/skills/{he-full-audit → bp-full-audit}/SKILL.md +1 -1
- package/skills/{he-improve-skill → bp-improve-skill}/SKILL.md +3 -3
- package/skills/{he-interview → bp-interview}/SKILL.md +1 -1
- package/skills/{he-life-story → bp-life-story}/SKILL.md +2 -2
- package/skills/{he-log-experience → bp-log-experience}/SKILL.md +2 -2
- package/skills/{he-open-dashboard → bp-open-dashboard}/SKILL.md +1 -1
- package/skills/{he-quest-status → bp-quest-status}/SKILL.md +6 -6
- package/skills/{he-recap-week → bp-recap-week}/SKILL.md +2 -2
|
@@ -155,8 +155,8 @@ export async function setup() {
|
|
|
155
155
|
const skillCount = installedSkills.length;
|
|
156
156
|
if (skillCount > 0) {
|
|
157
157
|
// Highlight key skills
|
|
158
|
-
const hasConsult = installedSkills.includes("
|
|
159
|
-
const hasInterview = installedSkills.includes("
|
|
158
|
+
const hasConsult = installedSkills.includes("bp-consult");
|
|
159
|
+
const hasInterview = installedSkills.includes("bp-interview");
|
|
160
160
|
if (hasConsult)
|
|
161
161
|
console.log(chalk.green(` ✓ ${skillCommand("consult")} (expert advice on any topic)`));
|
|
162
162
|
if (hasInterview)
|
package/dist/src/constants.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Global constants shared across CLI, MCP server, and web app.
|
|
3
3
|
* Change SKILL_PREFIX here and it propagates everywhere.
|
|
4
4
|
*/
|
|
5
|
-
export declare const SKILL_PREFIX = "
|
|
5
|
+
export declare const SKILL_PREFIX = "bp-";
|
|
6
6
|
/**
|
|
7
|
-
* Format a skill command for display (e.g., "interview" -> "/
|
|
7
|
+
* Format a skill command for display (e.g., "interview" -> "/bp-interview").
|
|
8
8
|
*/
|
|
9
9
|
export declare function skillCommand(name: string): string;
|
package/dist/src/constants.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Global constants shared across CLI, MCP server, and web app.
|
|
3
3
|
* Change SKILL_PREFIX here and it propagates everywhere.
|
|
4
4
|
*/
|
|
5
|
-
export const SKILL_PREFIX = "
|
|
5
|
+
export const SKILL_PREFIX = "bp-";
|
|
6
6
|
/**
|
|
7
|
-
* Format a skill command for display (e.g., "interview" -> "/
|
|
7
|
+
* Format a skill command for display (e.g., "interview" -> "/bp-interview").
|
|
8
8
|
*/
|
|
9
9
|
export function skillCommand(name) {
|
|
10
10
|
return `/${SKILL_PREFIX}${name}`;
|
|
@@ -8,7 +8,7 @@ const __dirname = dirname(__filename);
|
|
|
8
8
|
// Package root = 3 levels up from there
|
|
9
9
|
const PACKAGE_ROOT = join(__dirname, "..", "..", "..");
|
|
10
10
|
const GLOBAL_SKILLS_DIR = join(homedir(), ".claude", "skills");
|
|
11
|
-
const SKILLS = ["
|
|
11
|
+
const SKILLS = ["bp-consult", "bp-coach", "bp-recap-week", "bp-flex-socials", "bp-interview", "bp-life-story", "bp-quest-status", "bp-enhance-claude-md", "bp-open-dashboard", "bp-log-experience", "bp-improve-skill", "bp-full-audit"];
|
|
12
12
|
/**
|
|
13
13
|
* Find the source skills directory from the package.
|
|
14
14
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Skill sync: pulls latest skill definitions from the API.
|
|
3
|
-
* Called on MCP server startup. Writes to ~/.claude/skills/
|
|
3
|
+
* Called on MCP server startup. Writes to ~/.claude/skills/bp-*.
|
|
4
4
|
* Falls back to bundled skills if offline.
|
|
5
5
|
*/
|
|
6
6
|
import { writeFileSync, readFileSync, mkdirSync } from "fs";
|
|
@@ -127,16 +127,16 @@ export const COMING_SOON_QUESTS = [
|
|
|
127
127
|
];
|
|
128
128
|
// Skill-to-quest auto-completion mapping (a skill can complete multiple quests)
|
|
129
129
|
const SKILL_QUEST_MAP = {
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
130
|
+
"bp-coach": ["run-first-skill", "systems-coach-review"],
|
|
131
|
+
"bp-flex-socials": ["run-first-skill"],
|
|
132
|
+
"bp-recap-week": ["run-first-skill", "storyteller-weekly-recap"],
|
|
133
|
+
"bp-interview": ["build-training-data"],
|
|
134
|
+
"bp-life-story": ["build-training-data", "storyteller-life-story"],
|
|
135
|
+
"bp-consult": ["consult-an-expert", "storyteller-content-consult", "systems-launch-strategy"],
|
|
136
|
+
"bp-enhance-claude-md": ["run-first-skill"],
|
|
137
|
+
"bp-log-experience": ["build-training-data"],
|
|
138
|
+
"bp-full-audit": ["run-first-skill", "systems-coach-review"],
|
|
139
|
+
"bp-improve-skill": ["builder-improve-skill"],
|
|
140
140
|
};
|
|
141
141
|
// --- Quest State ---
|
|
142
142
|
export function readQuests() {
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# /
|
|
1
|
+
# /bp-coach
|
|
2
2
|
|
|
3
3
|
Review my setup and tell me what to improve. Looks at how you use Claude Code, what tools you're missing, what patterns to fix. Gives you 3 action items.
|
|
4
4
|
|
|
@@ -51,6 +51,6 @@ Only call tools that are registered on the `buildpartner` MCP server. If a tool
|
|
|
51
51
|
|
|
52
52
|
4. Keep the tone direct and encouraging. No fluff, just "here's what to do."
|
|
53
53
|
|
|
54
|
-
5. If they have < 5 sessions, say: "Keep going. After a few more sessions I'll have real recommendations. For now, try /
|
|
54
|
+
5. If they have < 5 sessions, say: "Keep going. After a few more sessions I'll have real recommendations. For now, try /bp-interview to build your profile."
|
|
55
55
|
|
|
56
56
|
6. Call `check_status` with `{ "skill_name": "coach" }`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# /
|
|
1
|
+
# /bp-improve-skill
|
|
2
2
|
|
|
3
3
|
Enhance a skill so you don't make the same mistake twice. After using any skill (BuildPartner or your own custom ones), run this to improve it based on what just happened.
|
|
4
4
|
|
|
@@ -10,8 +10,8 @@ Ask:
|
|
|
10
10
|
> "Which skill do you want to improve?"
|
|
11
11
|
|
|
12
12
|
List skills from:
|
|
13
|
-
- BuildPartner skills: `~/.claude/skills/
|
|
14
|
-
- Their custom skills: `~/.claude/skills/*/SKILL.md` (excluding
|
|
13
|
+
- BuildPartner skills: `~/.claude/skills/bp-*/SKILL.md`
|
|
14
|
+
- Their custom skills: `~/.claude/skills/*/SKILL.md` (excluding bp-* prefix)
|
|
15
15
|
|
|
16
16
|
If the user says "based on our conversation" without naming a skill, infer from context which skill is relevant.
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# /
|
|
1
|
+
# /bp-life-story
|
|
2
2
|
|
|
3
3
|
Let me tell you my full story. Deep conversation about your background, career, and goals. Makes every consultation deeply personal.
|
|
4
4
|
|
|
@@ -59,6 +59,6 @@ Only call tools that are registered on the `buildpartner` MCP server. If a tool
|
|
|
59
59
|
}
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
5. End with a summary, then: "Your life story is saved. Run /
|
|
62
|
+
5. End with a summary, then: "Your life story is saved. Run /bp-life-story again to add more."
|
|
63
63
|
|
|
64
64
|
6. Call `check_status` with `{ "skill_name": "life-story" }`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# /
|
|
1
|
+
# /bp-log-experience
|
|
2
2
|
|
|
3
3
|
Get better responses by documenting your lived experience. The more context BuildPartner has about what you've built, learned, and struggled with, the better every skill works for you.
|
|
4
4
|
|
|
@@ -56,7 +56,7 @@ Save to `~/.buildpartner/knowledge/experiences/{YYYY-MM-DD}-{brief-slug}.md`
|
|
|
56
56
|
|
|
57
57
|
7. Confirm:
|
|
58
58
|
|
|
59
|
-
> "Saved. This experience now feeds into /
|
|
59
|
+
> "Saved. This experience now feeds into /bp-coach, /bp-consult, and /bp-recap-week. The more you log, the more personalized everything gets."
|
|
60
60
|
|
|
61
61
|
8. Rules:
|
|
62
62
|
- Keep it fast. This should take 30 seconds, not 5 minutes.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# /
|
|
1
|
+
# /bp-quest-status
|
|
2
2
|
|
|
3
3
|
What should I do next in BuildPartner? Shows your quest progress and guides you through the next step. Start here if you're new.
|
|
4
4
|
|
|
@@ -23,10 +23,10 @@ Only call tools that are registered on the `buildpartner` MCP server. If a tool
|
|
|
23
23
|
|
|
24
24
|
3. If there's an active quest, guide them through it. Don't just describe it, DO it with them:
|
|
25
25
|
|
|
26
|
-
- **"Run Your First Skill"**: Tell them to type /
|
|
27
|
-
- **"Build Your Training Data"**: Start the /
|
|
26
|
+
- **"Run Your First Skill"**: Tell them to type /bp-flex-socials or /bp-coach right now.
|
|
27
|
+
- **"Build Your Training Data"**: Start the /bp-interview flow.
|
|
28
28
|
- **"Plan Before You Build"**: Walk them through the planning approach.
|
|
29
|
-
- **"Consult an Expert"**: Ask what they need help with, run /
|
|
29
|
+
- **"Consult an Expert"**: Ask what they need help with, run /bp-consult.
|
|
30
30
|
- Path quests: guide them to the relevant skill.
|
|
31
31
|
|
|
32
32
|
4. If core is done and paths are unlocked, show all three paths and let them pick.
|
|
@@ -35,8 +35,8 @@ Only call tools that are registered on the `buildpartner` MCP server. If a tool
|
|
|
35
35
|
|
|
36
36
|
```
|
|
37
37
|
All quests complete! You've mastered the fundamentals.
|
|
38
|
-
More quests coming soon. In the meantime: /
|
|
39
|
-
/
|
|
38
|
+
More quests coming soon. In the meantime: /bp-coach for setup reviews,
|
|
39
|
+
/bp-recap-week for weekly digests, and /bp-consult for expert advice.
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
6. Rules:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# /
|
|
1
|
+
# /bp-recap-week
|
|
2
2
|
|
|
3
3
|
What happened this week? Weekly summary of what you built, your numbers, and what to add to your workflow. Run this on Fridays.
|
|
4
4
|
|
|
@@ -31,7 +31,7 @@ Only call tools that are registered on the `buildpartner` MCP server. If a tool
|
|
|
31
31
|
{1-2 specific things they should start doing based on this week's patterns. Concrete, not abstract.}
|
|
32
32
|
|
|
33
33
|
Examples:
|
|
34
|
-
- "You researched pricing 3 times this week. Run /
|
|
34
|
+
- "You researched pricing 3 times this week. Run /bp-consult next time to get expert frameworks instantly."
|
|
35
35
|
- "You built 2 new features but didn't deploy either. Ship one this week."
|
|
36
36
|
- "You used Claude Code 12 times but never used Plan mode. Try planning before your next big feature."
|
|
37
37
|
|