prjct-cli 1.5.1 → 1.6.1
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/CHANGELOG.md +98 -0
- package/core/__tests__/utils/output.test.ts +7 -1
- package/core/agentic/orchestrator-executor.ts +126 -8
- package/core/agentic/prompt-builder.ts +40 -3
- package/core/ai-tools/registry.ts +1 -1
- package/core/bus/bus.ts +6 -4
- package/core/commands/analysis.ts +5 -0
- package/core/context-tools/token-counter.ts +2 -0
- package/core/domain/agent-loader.ts +35 -1
- package/core/services/context-selector.ts +6 -3
- package/core/services/hierarchical-agent-resolver.ts +2 -0
- package/core/services/sync-service.ts +112 -0
- package/core/session/compaction.ts +1 -1
- package/core/types/agentic.ts +22 -0
- package/core/types/agents.ts +5 -0
- package/core/types/index.ts +1 -0
- package/core/utils/output.ts +15 -1
- package/dist/bin/prjct.mjs +996 -358
- package/package.json +1 -1
- package/templates/config/skill-mappings.json +23 -60
- package/templates/subagents/domain/backend.md +1 -0
- package/templates/subagents/domain/database.md +1 -0
- package/templates/subagents/domain/devops.md +1 -0
- package/templates/subagents/domain/frontend.md +1 -0
- package/templates/subagents/domain/testing.md +1 -0
- package/templates/subagents/workflow/chief-architect.md +2 -1
- package/templates/subagents/workflow/prjct-planner.md +2 -1
- package/templates/subagents/workflow/prjct-shipper.md +1 -0
- package/templates/subagents/workflow/prjct-workflow.md +1 -0
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "
|
|
3
|
-
"description": "Skill
|
|
2
|
+
"version": "3.0.0",
|
|
3
|
+
"description": "Skill packages from skills.sh for auto-installation during sync",
|
|
4
4
|
"sources": {
|
|
5
5
|
"primary": {
|
|
6
|
-
"name": "
|
|
7
|
-
"url": "https://
|
|
8
|
-
"
|
|
6
|
+
"name": "skills.sh",
|
|
7
|
+
"url": "https://skills.sh",
|
|
8
|
+
"installCmd": "npx skills add {package}"
|
|
9
9
|
},
|
|
10
|
-
"
|
|
11
|
-
"name": "
|
|
12
|
-
"
|
|
13
|
-
"search": "https://agentskills.io/search?q={query}"
|
|
10
|
+
"fallback": {
|
|
11
|
+
"name": "GitHub direct",
|
|
12
|
+
"installFormat": "owner/repo"
|
|
14
13
|
}
|
|
15
14
|
},
|
|
16
15
|
"skillsDirectory": "~/.claude/skills/",
|
|
@@ -24,50 +23,34 @@
|
|
|
24
23
|
},
|
|
25
24
|
"agentToSkillMap": {
|
|
26
25
|
"frontend": {
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
"packages": [
|
|
27
|
+
"anthropics/skills/frontend-design",
|
|
28
|
+
"vercel-labs/agent-skills/vercel-react-best-practices"
|
|
29
|
+
]
|
|
30
30
|
},
|
|
31
31
|
"uxui": {
|
|
32
|
-
"
|
|
33
|
-
"searchTerms": ["ux design", "user experience", "accessibility"],
|
|
34
|
-
"fromAnthropic": true
|
|
32
|
+
"packages": ["anthropics/skills/frontend-design"]
|
|
35
33
|
},
|
|
36
34
|
"backend": {
|
|
37
|
-
"
|
|
38
|
-
"ecosystemSpecific": {
|
|
39
|
-
"javascript": ["nodejs-patterns", "typescript-backend"],
|
|
40
|
-
"python": ["python-backend", "fastapi-patterns"],
|
|
41
|
-
"go": ["go-patterns", "go-backend"],
|
|
42
|
-
"rust": ["rust-patterns", "rust-backend"]
|
|
43
|
-
},
|
|
44
|
-
"searchTerms": ["backend", "api", "server"],
|
|
45
|
-
"fromAnthropic": true
|
|
35
|
+
"packages": ["obra/superpowers/systematic-debugging"]
|
|
46
36
|
},
|
|
47
37
|
"database": {
|
|
48
|
-
"
|
|
49
|
-
"searchTerms": ["database", "sql", "orm"],
|
|
50
|
-
"fromAnthropic": true
|
|
38
|
+
"packages": []
|
|
51
39
|
},
|
|
52
40
|
"testing": {
|
|
53
|
-
"
|
|
54
|
-
"searchTerms": ["testing", "test automation", "tdd"],
|
|
55
|
-
"fromAnthropic": true
|
|
41
|
+
"packages": ["obra/superpowers/test-driven-development", "anthropics/skills/webapp-testing"]
|
|
56
42
|
},
|
|
57
43
|
"devops": {
|
|
58
|
-
"
|
|
59
|
-
"searchTerms": ["devops", "ci/cd", "docker", "kubernetes"],
|
|
60
|
-
"fromAnthropic": true
|
|
44
|
+
"packages": ["anthropics/skills/mcp-builder"]
|
|
61
45
|
},
|
|
62
46
|
"prjct-planner": {
|
|
63
|
-
"
|
|
64
|
-
"searchTerms": ["architecture", "planning", "system design"],
|
|
65
|
-
"fromAnthropic": false
|
|
47
|
+
"packages": ["obra/superpowers/brainstorming"]
|
|
66
48
|
},
|
|
67
49
|
"prjct-shipper": {
|
|
68
|
-
"
|
|
69
|
-
|
|
70
|
-
|
|
50
|
+
"packages": []
|
|
51
|
+
},
|
|
52
|
+
"prjct-workflow": {
|
|
53
|
+
"packages": []
|
|
71
54
|
}
|
|
72
55
|
},
|
|
73
56
|
"documentSkills": {
|
|
@@ -95,25 +78,5 @@
|
|
|
95
78
|
"path": "skills/xlsx"
|
|
96
79
|
}
|
|
97
80
|
}
|
|
98
|
-
}
|
|
99
|
-
"installMethod": {
|
|
100
|
-
"claudeCode": {
|
|
101
|
-
"marketplace": "/plugin marketplace add anthropics/skills",
|
|
102
|
-
"install": "/plugin install {skill-name}@anthropic-agent-skills",
|
|
103
|
-
"manual": "Download SKILL.md to ~/.claude/skills/{name}/"
|
|
104
|
-
},
|
|
105
|
-
"fallback": {
|
|
106
|
-
"steps": [
|
|
107
|
-
"1. Check anthropics/skills repo for matching skill",
|
|
108
|
-
"2. Download SKILL.md + supporting files",
|
|
109
|
-
"3. Write to ~/.claude/skills/{skill-name}/SKILL.md",
|
|
110
|
-
"4. Verify skill loads in Claude Code"
|
|
111
|
-
]
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"discoveryPriority": [
|
|
115
|
-
"anthropics/skills (official)",
|
|
116
|
-
"agentskills.io marketplace",
|
|
117
|
-
"Custom skill creation"
|
|
118
|
-
]
|
|
81
|
+
}
|
|
119
82
|
}
|
|
@@ -3,6 +3,7 @@ name: backend
|
|
|
3
3
|
description: Backend specialist for Node.js, Go, Python, REST APIs, and GraphQL. Use PROACTIVELY when user works on APIs, servers, or backend logic.
|
|
4
4
|
tools: Read, Write, Bash, Glob, Grep
|
|
5
5
|
model: sonnet
|
|
6
|
+
effort: medium
|
|
6
7
|
skills: [javascript-typescript]
|
|
7
8
|
---
|
|
8
9
|
|
|
@@ -3,6 +3,7 @@ name: database
|
|
|
3
3
|
description: Database specialist for PostgreSQL, MySQL, MongoDB, Redis, Prisma, and ORMs. Use PROACTIVELY when user works on schemas, migrations, or queries.
|
|
4
4
|
tools: Read, Write, Bash
|
|
5
5
|
model: sonnet
|
|
6
|
+
effort: medium
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
You are a database specialist agent for this project.
|
|
@@ -3,6 +3,7 @@ name: frontend
|
|
|
3
3
|
description: Frontend specialist for React, Vue, Angular, Svelte, CSS, and UI work. Use PROACTIVELY when user works on components, styling, or UI features.
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
5
5
|
model: sonnet
|
|
6
|
+
effort: medium
|
|
6
7
|
skills: [frontend-design]
|
|
7
8
|
---
|
|
8
9
|
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
name: chief-architect
|
|
3
3
|
description: Expert PRD and architecture agent. Follows 8-phase methodology for comprehensive feature documentation. Use PROACTIVELY when user wants to create PRDs or plan significant features.
|
|
4
4
|
tools: Read, Write, Glob, Grep, AskUserQuestion
|
|
5
|
-
model:
|
|
5
|
+
model: opus
|
|
6
|
+
effort: max
|
|
6
7
|
skills: [architecture-planning]
|
|
7
8
|
---
|
|
8
9
|
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
name: prjct-planner
|
|
3
3
|
description: Planning agent for /p:feature, /p:idea, /p:spec, /p:bug tasks. Use PROACTIVELY when user discusses features, ideas, specs, or bugs.
|
|
4
4
|
tools: Read, Write, Glob, Grep
|
|
5
|
-
model:
|
|
5
|
+
model: opus
|
|
6
|
+
effort: high
|
|
6
7
|
skills: [feature-dev]
|
|
7
8
|
---
|
|
8
9
|
|
|
@@ -3,6 +3,7 @@ name: prjct-workflow
|
|
|
3
3
|
description: Workflow executor for /p:now, /p:done, /p:next, /p:pause, /p:resume tasks. Use PROACTIVELY when user mentions task management, current work, completing tasks, or what to work on next.
|
|
4
4
|
tools: Read, Write, Glob
|
|
5
5
|
model: sonnet
|
|
6
|
+
effort: low
|
|
6
7
|
---
|
|
7
8
|
|
|
8
9
|
You are the prjct workflow executor, specializing in task lifecycle management.
|