prjct-cli 0.56.0 → 0.57.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prjct-cli",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "description": "Context layer for AI agents. Project context for Claude Code, Gemini CLI, and more.",
5
5
  "main": "core/index.ts",
6
6
  "bin": {
@@ -5,15 +5,17 @@
5
5
 
6
6
  ## HOW TO USE PRJCT (Read This First)
7
7
 
8
- When user types `p. <command>`, load the template from `templates/commands/{command}.md` and execute it.
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 → templates/commands/sync.md
12
- p. task X → templates/commands/task.md
13
- p. done → templates/commands/done.md
14
- p. ship X → templates/commands/ship.md
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
- When working on tasks, load relevant agents from `{globalPath}/agents/`:
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
- These agents contain project-specific patterns. **USE THEM**.
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>`, load the template from `templates/commands/{command}.md` and execute it.
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 → templates/commands/sync.md
11
- p. task X → templates/commands/task.md
12
- p. done → templates/commands/done.md
13
- p. ship X → templates/commands/ship.md
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