prjct-cli 0.56.0 → 0.56.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 +14 -0
- package/dist/bin/prjct.mjs +1 -1
- package/package.json +1 -1
- package/templates/global/CLAUDE.md +25 -9
- package/templates/global/modules/CLAUDE-core.md +24 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.56.1] - 2026-02-05
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- correct template paths and agent loading in CLAUDE.md (#93)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [0.56.1] - 2026-02-04
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **Context injection**: Fixed template paths in CLAUDE.md - now correctly points to `~/.claude/commands/p/` instead of `templates/commands/`
|
|
15
|
+
- **Agent loading**: Added clear instructions for loading domain agents before SMART commands (task, ship, bug, done)
|
|
16
|
+
|
|
3
17
|
## [0.56.0] - 2026-02-05
|
|
4
18
|
|
|
5
19
|
### Features
|
package/dist/bin/prjct.mjs
CHANGED
|
@@ -25297,7 +25297,7 @@ var require_package = __commonJS({
|
|
|
25297
25297
|
"package.json"(exports, module) {
|
|
25298
25298
|
module.exports = {
|
|
25299
25299
|
name: "prjct-cli",
|
|
25300
|
-
version: "0.56.
|
|
25300
|
+
version: "0.56.1",
|
|
25301
25301
|
description: "Context layer for AI agents. Project context for Claude Code, Gemini CLI, and more.",
|
|
25302
25302
|
main: "core/index.ts",
|
|
25303
25303
|
bin: {
|
package/package.json
CHANGED
|
@@ -5,15 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
## HOW TO USE PRJCT (Read This First)
|
|
7
7
|
|
|
8
|
-
When user types `p. <command>`,
|
|
8
|
+
When user types `p. <command>`, **READ the template** from `~/.claude/commands/p/{command}.md` and execute it step by step.
|
|
9
9
|
|
|
10
10
|
```
|
|
11
|
-
p. sync →
|
|
12
|
-
p. task X →
|
|
13
|
-
p. done →
|
|
14
|
-
p. ship X →
|
|
11
|
+
p. sync → ~/.claude/commands/p/sync.md
|
|
12
|
+
p. task X → ~/.claude/commands/p/task.md
|
|
13
|
+
p. done → ~/.claude/commands/p/done.md
|
|
14
|
+
p. ship X → ~/.claude/commands/p/ship.md
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
+
**⚠️ ALWAYS use the Read tool on the template file first. Templates contain mandatory workflows.**
|
|
18
|
+
|
|
17
19
|
---
|
|
18
20
|
|
|
19
21
|
## ⚡ FAST vs 🧠 SMART COMMANDS (CRITICAL)
|
|
@@ -389,17 +391,31 @@ Next: [suggested action]
|
|
|
389
391
|
|
|
390
392
|
---
|
|
391
393
|
|
|
392
|
-
## LOADING DOMAIN AGENTS
|
|
394
|
+
## LOADING DOMAIN AGENTS (CRITICAL)
|
|
395
|
+
|
|
396
|
+
**Before starting any 🧠 SMART command (task, ship, bug, done):**
|
|
397
|
+
|
|
398
|
+
```
|
|
399
|
+
1. Read .prjct/prjct.config.json → get projectId
|
|
400
|
+
2. Set globalPath = ~/.prjct-cli/projects/{projectId}
|
|
401
|
+
3. Read relevant agents from {globalPath}/agents/:
|
|
402
|
+
- prjct-planner.md → for task planning (p. task)
|
|
403
|
+
- prjct-shipper.md → for shipping (p. ship)
|
|
404
|
+
- prjct-workflow.md → for task lifecycle (p. done, p. pause)
|
|
405
|
+
- backend.md, frontend.md → for domain-specific coding
|
|
406
|
+
```
|
|
393
407
|
|
|
394
|
-
|
|
408
|
+
**Available agents** (read the ones relevant to your task):
|
|
409
|
+
- `prjct-planner.md` - Task planning, subtask breakdown
|
|
410
|
+
- `prjct-shipper.md` - PR creation, version bumping
|
|
411
|
+
- `prjct-workflow.md` - Task state management
|
|
395
412
|
- `frontend.md` - Frontend patterns, components
|
|
396
413
|
- `backend.md` - Backend patterns, APIs
|
|
397
414
|
- `database.md` - Database patterns, queries
|
|
398
|
-
- `uxui.md` - UX/UI guidelines
|
|
399
415
|
- `testing.md` - Testing patterns
|
|
400
416
|
- `devops.md` - CI/CD, containers
|
|
401
417
|
|
|
402
|
-
|
|
418
|
+
**USE the agent context when working.** Agents contain project-specific patterns.
|
|
403
419
|
|
|
404
420
|
---
|
|
405
421
|
|
|
@@ -4,15 +4,34 @@
|
|
|
4
4
|
|
|
5
5
|
## HOW TO USE PRJCT
|
|
6
6
|
|
|
7
|
-
When user types `p. <command>`,
|
|
7
|
+
When user types `p. <command>`, **READ the template** from `~/.claude/commands/p/{command}.md` and execute it step by step.
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
p. sync →
|
|
11
|
-
p. task X →
|
|
12
|
-
p. done →
|
|
13
|
-
p. ship X →
|
|
10
|
+
p. sync → ~/.claude/commands/p/sync.md
|
|
11
|
+
p. task X → ~/.claude/commands/p/task.md
|
|
12
|
+
p. done → ~/.claude/commands/p/done.md
|
|
13
|
+
p. ship X → ~/.claude/commands/p/ship.md
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
+
**⚠️ ALWAYS Read() the template file first. Templates contain mandatory workflows.**
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## LOADING DOMAIN AGENTS (CRITICAL)
|
|
21
|
+
|
|
22
|
+
**Before starting any 🧠 SMART command (task, ship, bug, done):**
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
1. Read .prjct/prjct.config.json → get projectId
|
|
26
|
+
2. Set globalPath = ~/.prjct-cli/projects/{projectId}
|
|
27
|
+
3. Read {globalPath}/agents/*.md for domain expertise:
|
|
28
|
+
- prjct-planner.md → for task planning
|
|
29
|
+
- prjct-shipper.md → for shipping
|
|
30
|
+
- backend.md, frontend.md, etc → for domain-specific work
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
**USE the agent context when working.** Agents contain project-specific patterns.
|
|
34
|
+
|
|
16
35
|
---
|
|
17
36
|
|
|
18
37
|
## CRITICAL RULES
|