prjct-cli 0.5.1 â 0.6.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/CHANGELOG.md +153 -1
- package/CLAUDE.md +43 -28
- package/README.md +1 -1
- package/bin/prjct +78 -63
- package/core/agent-generator.js +19 -10
- package/core/ascii-graphics.js +433 -0
- package/core/command-registry.js +553 -0
- package/core/commands.js +203 -4
- package/core/task-schema.js +342 -0
- package/package.json +2 -1
- package/templates/agents/AGENTS.md +79 -101
- package/templates/agents/be.template.md +14 -29
- package/templates/agents/coordinator.template.md +34 -0
- package/templates/agents/data.template.md +14 -28
- package/templates/agents/devops.template.md +14 -28
- package/templates/agents/fe.template.md +14 -29
- package/templates/agents/mobile.template.md +14 -28
- package/templates/agents/qa.template.md +14 -41
- package/templates/agents/scribe.template.md +15 -81
- package/templates/agents/security.template.md +14 -28
- package/templates/agents/ux.template.md +14 -36
- package/templates/commands/analyze.md +36 -239
- package/templates/commands/build.md +41 -0
- package/templates/commands/cleanup.md +24 -87
- package/templates/commands/context.md +24 -93
- package/templates/commands/design.md +20 -98
- package/templates/commands/done.md +16 -181
- package/templates/commands/fix.md +27 -66
- package/templates/commands/git.md +33 -60
- package/templates/commands/help.md +18 -52
- package/templates/commands/idea.md +11 -36
- package/templates/commands/init.md +30 -277
- package/templates/commands/next.md +20 -62
- package/templates/commands/now.md +18 -22
- package/templates/commands/progress.md +23 -78
- package/templates/commands/recap.md +22 -74
- package/templates/commands/roadmap.md +21 -90
- package/templates/commands/ship.md +26 -161
- package/templates/commands/status.md +40 -0
- package/templates/commands/stuck.md +21 -33
- package/templates/commands/sync.md +19 -209
- package/templates/commands/task.md +18 -80
- package/templates/commands/test.md +23 -72
- package/templates/commands/workflow.md +20 -212
- package/templates/agents/pm.template.md +0 -84
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read, Write
|
|
2
|
+
allowed-tools: [Read, Write]
|
|
3
3
|
description: "Manage current focus task"
|
|
4
4
|
---
|
|
5
5
|
|
|
@@ -7,29 +7,25 @@ description: "Manage current focus task"
|
|
|
7
7
|
|
|
8
8
|
## Usage
|
|
9
9
|
```
|
|
10
|
-
/p:now # Show
|
|
11
|
-
/p:now [task] # Set
|
|
10
|
+
/p:now # Show
|
|
11
|
+
/p:now [task] # Set
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## Flow
|
|
15
15
|
|
|
16
|
-
**Show**: Read
|
|
16
|
+
**Show**: Read `core/now.md` â display task + elapsed
|
|
17
17
|
|
|
18
18
|
**Set**:
|
|
19
|
-
1.
|
|
20
|
-
2. Update `core/context.md`, `progress/metrics.md`
|
|
21
|
-
3. Log
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
âĸ Or type: /p:done
|
|
33
|
-
|
|
34
|
-
Need help? Say "I'm stuck" or use /p:stuck
|
|
35
|
-
```
|
|
19
|
+
1. Write: `core/now.md` with task + timestamp
|
|
20
|
+
2. Update: `core/context.md`, `progress/metrics.md`
|
|
21
|
+
3. Log: `memory/context.jsonl`
|
|
22
|
+
|
|
23
|
+
## Response
|
|
24
|
+
```
|
|
25
|
+
đ¯ {task}
|
|
26
|
+
Started: {time}
|
|
27
|
+
|
|
28
|
+
Done? â /p:done
|
|
29
|
+
Stuck? â /p:stuck
|
|
30
|
+
```
|
|
31
|
+
|
|
@@ -1,92 +1,37 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read
|
|
3
|
-
description: "
|
|
2
|
+
allowed-tools: [Read]
|
|
3
|
+
description: "Progress metrics for period"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
This command uses the global prjct architecture:
|
|
8
|
-
- Data stored in: `~/.prjct-cli/projects/{id}/`
|
|
9
|
-
- Config stored in: `{project}/.prjct/prjct.config.json`
|
|
10
|
-
- Commands synchronized across all editors
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# /p:progress - Progress Metrics
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
Display detailed progress metrics and trends for a specified time period.
|
|
6
|
+
# /p:progress
|
|
18
7
|
|
|
19
8
|
## Usage
|
|
20
9
|
```
|
|
21
|
-
/p:progress [day|week|month]
|
|
10
|
+
/p:progress [day|week|month] # Default: week
|
|
22
11
|
```
|
|
23
12
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
3. Calculate velocity and trends across layers
|
|
30
|
-
4. Cross-reference with planning and analysis layers
|
|
31
|
-
5. Display comprehensive progress indicators
|
|
32
|
-
|
|
33
|
-
## Implementation
|
|
34
|
-
|
|
35
|
-
1. **Parse timeframe**:
|
|
36
|
-
- day: last 24 hours
|
|
37
|
-
- week: current ISO week
|
|
38
|
-
- month: current calendar month
|
|
13
|
+
## Flow
|
|
14
|
+
1. Parse: timeframe (day/week/month)
|
|
15
|
+
2. Read: `progress/shipped.md` + `progress/metrics.md`
|
|
16
|
+
3. Calculate: velocity, trends, quality
|
|
17
|
+
4. Display: detailed metrics
|
|
39
18
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
- **Memory Layer**: Decision impact, learning velocity
|
|
45
|
-
|
|
46
|
-
3. **Enhanced response format**:
|
|
47
|
-
```
|
|
48
|
-
đ PROGRESS - This Week
|
|
49
|
-
âââââââââââââââââââââââ
|
|
50
|
-
|
|
51
|
-
đ SHIPPED FEATURES
|
|
52
|
-
Count: 7 features (â +40% vs last week)
|
|
53
|
-
Velocity: 1.4 features/day
|
|
54
|
-
Quality: 95% passed validation
|
|
55
|
-
|
|
56
|
-
⥠CORE PRODUCTIVITY
|
|
57
|
-
Tasks completed: 12 (avg 1.7/day)
|
|
58
|
-
Focus time: 28h (70% efficiency)
|
|
59
|
-
Context switches: 3 (â -50%)
|
|
60
|
-
|
|
61
|
-
đĄ PLANNING EXECUTION
|
|
62
|
-
Roadmap progress: 23% complete
|
|
63
|
-
Ideas converted: 4/8 (50% rate)
|
|
64
|
-
Strategic alignment: High
|
|
19
|
+
## Response
|
|
20
|
+
```
|
|
21
|
+
đ PROGRESS - This {period}
|
|
22
|
+
âââââââââââââââââââââ
|
|
65
23
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
Knowledge growth: +15% complexity
|
|
24
|
+
đ SHIPPED: {N} features
|
|
25
|
+
⥠VELOCITY: {X.X} features/day
|
|
26
|
+
đ TREND: {â +X%}
|
|
70
27
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
âĸ â
API optimization (2d ago)
|
|
28
|
+
Recent ships:
|
|
29
|
+
âĸ â
{feature} ({time_ago})
|
|
30
|
+
âĸ â
{feature} ({time_ago})
|
|
75
31
|
|
|
76
|
-
|
|
77
|
-
|
|
32
|
+
đ Best day: {day} ({N} features)
|
|
33
|
+
đĨ Streak: {N} days
|
|
78
34
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
- Shipped: .prjct/progress/shipped.md
|
|
82
|
-
```
|
|
35
|
+
/p:ship | /p:status
|
|
36
|
+
```
|
|
83
37
|
|
|
84
|
-
4. **Visual indicators**:
|
|
85
|
-
- đ Improving
|
|
86
|
-
- âĄī¸ Steady
|
|
87
|
-
- đ Declining
|
|
88
|
-
|
|
89
|
-
5. **Motivational insights**:
|
|
90
|
-
- "You're 40% more productive than last week!"
|
|
91
|
-
- "On track to ship 10 features this week!"
|
|
92
|
-
- "Your best week yet!"
|
|
@@ -1,86 +1,34 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read
|
|
3
|
-
description: "
|
|
2
|
+
allowed-tools: [Read]
|
|
3
|
+
description: "Project status overview"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
This command uses the global prjct architecture:
|
|
8
|
-
- Data stored in: `~/.prjct-cli/projects/{id}/`
|
|
9
|
-
- Config stored in: `{project}/.prjct/prjct.config.json`
|
|
10
|
-
- Commands synchronized across all editors
|
|
6
|
+
# /p:recap
|
|
11
7
|
|
|
8
|
+
## Flow
|
|
9
|
+
1. Read: all data layers (core, progress, planning, analysis, memory)
|
|
10
|
+
2. Aggregate: metrics and status from each layer
|
|
11
|
+
3. Display: comprehensive overview
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
# /p:recap - Project Recap
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
Display a comprehensive overview of project status and progress.
|
|
18
|
-
|
|
19
|
-
## Usage
|
|
13
|
+
## Response
|
|
20
14
|
```
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
## Execution
|
|
25
|
-
1. Read current task from `.prjct/core/now.md`
|
|
26
|
-
2. Aggregate metrics from `.prjct/progress/metrics.md`
|
|
27
|
-
3. Count shipped features from `.prjct/progress/shipped.md`
|
|
28
|
-
4. Count queue items from `.prjct/core/next.md`
|
|
29
|
-
5. Count ideas from `.prjct/planning/ideas.md`
|
|
30
|
-
6. Reference project analysis and context
|
|
31
|
-
7. Display comprehensive layered summary
|
|
32
|
-
|
|
33
|
-
## Implementation
|
|
15
|
+
đ PROJECT RECAP
|
|
16
|
+
ââââââââââââââââ
|
|
34
17
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- **Planning Layer**: Ideas count, roadmap progress
|
|
39
|
-
- **Analysis Layer**: Repository insights, technical context
|
|
40
|
-
- **Memory Layer**: Decision history, learnings
|
|
18
|
+
đ¯ FOCUS
|
|
19
|
+
Current: {task} ({duration})
|
|
20
|
+
Queue: {N} tasks
|
|
41
21
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
âââââââââââââââââââ
|
|
22
|
+
đ PROGRESS
|
|
23
|
+
Shipped: {X} this week
|
|
24
|
+
Velocity: {X.X} features/day
|
|
46
25
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
26
|
+
đĄ PLANNING
|
|
27
|
+
Ideas: {M} captured
|
|
28
|
+
Roadmap: {X}% complete
|
|
50
29
|
|
|
51
|
-
|
|
52
|
-
Shipped: [X] this week, [Y] total
|
|
53
|
-
Velocity: [X.X] features/day
|
|
54
|
-
Streak: [N] days shipping
|
|
30
|
+
{motivational_message}
|
|
55
31
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
Roadmap: [X]% complete
|
|
59
|
-
|
|
60
|
-
đ INSIGHTS
|
|
61
|
-
Repository: [project_type] with [tech_stack]
|
|
62
|
-
Architecture: [key_patterns]
|
|
63
|
-
|
|
64
|
-
đ§ MEMORY
|
|
65
|
-
Decisions: [N] logged
|
|
66
|
-
Learnings: [key_insights]
|
|
67
|
-
|
|
68
|
-
[Motivational message based on metrics]
|
|
69
|
-
|
|
70
|
-
đ Quick Access:
|
|
71
|
-
- Core: .prjct/core/ (focus & priorities)
|
|
72
|
-
- Progress: .prjct/progress/ (metrics & shipped)
|
|
73
|
-
- Planning: .prjct/planning/ (ideas & roadmap)
|
|
74
|
-
- Analysis: .prjct/analysis/ (technical insights)
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
3. **Motivational messages**:
|
|
78
|
-
- High velocity: "đĨ You're on fire! Keep shipping!"
|
|
79
|
-
- Many ideas: "đĄ Creative flow is strong!"
|
|
80
|
-
- Long streak: "đ Consistency champion!"
|
|
81
|
-
- Empty queue: "đ Time to dream bigger!"
|
|
32
|
+
/p:now | /p:status | /p:next
|
|
33
|
+
```
|
|
82
34
|
|
|
83
|
-
## Visual Elements
|
|
84
|
-
- Use progress bars for completion
|
|
85
|
-
- Show week-over-week trends
|
|
86
|
-
- Highlight achievements
|
|
@@ -1,107 +1,38 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read, Write
|
|
3
|
-
description: "Strategic
|
|
2
|
+
allowed-tools: [Read, Write]
|
|
3
|
+
description: "Strategic roadmap management"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
This command uses the global prjct architecture:
|
|
8
|
-
- Data stored in: `~/.prjct-cli/projects/{id}/`
|
|
9
|
-
- Config stored in: `{project}/.prjct/prjct.config.json`
|
|
10
|
-
- Commands synchronized across all editors
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# /p:roadmap - Strategic Planning
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
Plan features, track strategic progress, and stay aligned with goals. Zero PM overhead.
|
|
6
|
+
# /p:roadmap
|
|
18
7
|
|
|
19
8
|
## Usage
|
|
20
9
|
```
|
|
21
|
-
/p:roadmap [show|add|complete|next]
|
|
10
|
+
/p:roadmap [show|add|complete|next] # Default: show
|
|
22
11
|
```
|
|
23
12
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Display current roadmap with progress
|
|
30
|
-
|
|
31
|
-
### `/p:roadmap add <feature>`
|
|
32
|
-
Add feature to roadmap with smart prioritization
|
|
33
|
-
|
|
34
|
-
### `/p:roadmap complete <feature>`
|
|
35
|
-
Mark feature as shipped and celebrate
|
|
36
|
-
|
|
37
|
-
### `/p:roadmap next`
|
|
38
|
-
Show next priority item to work on
|
|
39
|
-
|
|
40
|
-
## Implementation
|
|
41
|
-
|
|
42
|
-
**Roadmap structure** in `.prjct/planning/roadmap.md`:
|
|
43
|
-
```markdown
|
|
44
|
-
# Product Roadmap
|
|
13
|
+
## Flow
|
|
14
|
+
1. Parse: action (show/add/complete/next)
|
|
15
|
+
2. Read: `planning/roadmap.md`
|
|
16
|
+
3. Execute: based on action
|
|
17
|
+
4. Update: roadmap file if needed
|
|
45
18
|
|
|
46
|
-
##
|
|
47
|
-
- [x] User authentication
|
|
48
|
-
- [ ] Dashboard redesign
|
|
49
|
-
- [ ] API optimization
|
|
50
|
-
|
|
51
|
-
## đ
Next Up
|
|
52
|
-
- [ ] Real-time notifications
|
|
53
|
-
- [ ] Data export feature
|
|
54
|
-
- [ ] Mobile responsive design
|
|
55
|
-
|
|
56
|
-
## đ Future Vision
|
|
57
|
-
- [ ] AI recommendations
|
|
58
|
-
- [ ] Team collaboration
|
|
59
|
-
- [ ] Analytics dashboard
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
**Smart prioritization**:
|
|
63
|
-
- Impact vs effort matrix
|
|
64
|
-
- User value scoring
|
|
65
|
-
- Technical dependencies
|
|
66
|
-
- Strategic alignment
|
|
67
|
-
|
|
68
|
-
**Response format for show**:
|
|
19
|
+
## Response (show)
|
|
69
20
|
```
|
|
70
21
|
đ PRODUCT ROADMAP
|
|
71
22
|
|
|
72
|
-
đ Current Sprint (
|
|
73
|
-
âââ â
|
|
74
|
-
âââ đ
|
|
75
|
-
âââ âŗ
|
|
23
|
+
đ Current Sprint ({X}% complete)
|
|
24
|
+
âââ â
{feature}
|
|
25
|
+
âââ đ {feature} (in progress)
|
|
26
|
+
âââ âŗ {feature}
|
|
76
27
|
|
|
77
|
-
đ
Next Up (
|
|
78
|
-
âââ
|
|
79
|
-
|
|
80
|
-
âââ Mobile responsive design
|
|
81
|
-
|
|
82
|
-
đ Progress Metrics:
|
|
83
|
-
âĸ Sprint velocity: 1.4 features/week
|
|
84
|
-
âĸ On track for: Dec 15 completion
|
|
85
|
-
âĸ Strategic alignment: High
|
|
86
|
-
|
|
87
|
-
đĄ Start next: /p:now "Dashboard redesign"
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
**Response format for add**:
|
|
91
|
-
```
|
|
92
|
-
â
Added to roadmap: "Payment integration"
|
|
28
|
+
đ
Next Up ({N} features)
|
|
29
|
+
âââ {feature}
|
|
30
|
+
âââ {feature}
|
|
93
31
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
đ Dependencies: User authentication â
|
|
32
|
+
đ Progress:
|
|
33
|
+
âĸ Velocity: {X.X} features/week
|
|
34
|
+
âĸ On track: {date}
|
|
98
35
|
|
|
99
|
-
|
|
36
|
+
/p:now "{next_feature}"
|
|
100
37
|
```
|
|
101
38
|
|
|
102
|
-
## Features
|
|
103
|
-
- Visual progress tracking
|
|
104
|
-
- Smart prioritization
|
|
105
|
-
- Sprint management
|
|
106
|
-
- Velocity tracking
|
|
107
|
-
- Strategic alignment
|
|
@@ -1,181 +1,46 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read, Write,
|
|
3
|
-
description: "Ship
|
|
2
|
+
allowed-tools: [Read, Write, Bash]
|
|
3
|
+
description: "Ship feature with Git commit/push"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# /p:ship
|
|
7
7
|
|
|
8
8
|
## Usage
|
|
9
9
|
```
|
|
10
|
-
/p:ship
|
|
10
|
+
/p:ship # Current task
|
|
11
|
+
/p:ship <feature> # Named feature
|
|
11
12
|
```
|
|
12
13
|
|
|
13
|
-
##
|
|
14
|
+
## Flow
|
|
15
|
+
1. Get: feature name (from arg or `core/now.md`)
|
|
16
|
+
2. Git: `add .` â check status
|
|
17
|
+
3. Create: commit message with metadata
|
|
18
|
+
4. Commit: with message
|
|
19
|
+
5. Prompt: "Push? (y/n)"
|
|
20
|
+
6. If yes: `git push`
|
|
21
|
+
7. Update: `progress/shipped.md`, clear `core/now.md`
|
|
22
|
+
8. Log: `memory/context.jsonl`
|
|
14
23
|
|
|
15
|
-
|
|
16
|
-
```markdown
|
|
17
|
-
## Week [W], [YEAR]
|
|
18
|
-
- â
[feature] ([timestamp])
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
2. **Trigger Scribe Agent** (Documentation):
|
|
22
|
-
- Get git changes for the feature: `git diff --name-only`
|
|
23
|
-
- Invoke Scribe agent to document the shipped feature
|
|
24
|
-
- Show documentation draft to user
|
|
25
|
-
- **Request confirmation** before saving
|
|
26
|
-
- Save to `analysis/feature-docs/[feature-id].md` if confirmed
|
|
27
|
-
|
|
28
|
-
3. Update `progress/metrics.md` (count, velocity, streak)
|
|
29
|
-
4. Update `core/context.md`
|
|
30
|
-
5. Log to `memory/context.jsonl`:
|
|
31
|
-
```json
|
|
32
|
-
{"action":"ship","feature":"[desc]","timestamp":"[ISO]","week":"[w]","layer":"progress","total":[n],"documented":true}
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
6. Response:
|
|
36
|
-
```
|
|
37
|
-
đ [feature name] shipped!
|
|
38
|
-
|
|
39
|
-
đ This week: [count] | Total: [total]
|
|
40
|
-
Velocity: [X] features/day
|
|
41
|
-
|
|
42
|
-
Keep the momentum!
|
|
43
|
-
âĸ "start next task" â Keep building
|
|
44
|
-
âĸ "see my progress" â View stats
|
|
45
|
-
âĸ "plan ahead" â Strategic thinking
|
|
46
|
-
|
|
47
|
-
Or: /p:now | /p:recap | /p:roadmap
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Scribe Agent Workflow
|
|
51
|
-
|
|
52
|
-
When a feature is shipped, the Scribe agent is automatically invoked to document changes:
|
|
53
|
-
|
|
54
|
-
### Step 1: Detect Changes
|
|
55
|
-
```javascript
|
|
56
|
-
const gitIntegration = require('../core/git-integration')
|
|
57
|
-
|
|
58
|
-
// Get files changed for this feature
|
|
59
|
-
const changes = await gitIntegration.getChangesSince(featureStartTime)
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Step 2: Generate Documentation
|
|
63
|
-
Invoke Scribe agent with prompt:
|
|
24
|
+
## Commit Message
|
|
64
25
|
```
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
Feature: "[feature description]"
|
|
68
|
-
Shipped: [timestamp]
|
|
69
|
-
Files changed:
|
|
70
|
-
${changes.files.join('\n')}
|
|
26
|
+
feat: {feature_name}
|
|
71
27
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
4. Breaking changes or migration notes (if any)
|
|
77
|
-
5. Usage examples
|
|
28
|
+
Agent: {agent}
|
|
29
|
+
Dev: @{github_dev}
|
|
30
|
+
Complexity: {complexity}
|
|
31
|
+
Time: {actual_time}
|
|
78
32
|
|
|
79
|
-
|
|
33
|
+
Generated-by: prjct/cli
|
|
34
|
+
Co-Authored-By: @{github_dev}
|
|
80
35
|
```
|
|
81
36
|
|
|
82
|
-
|
|
37
|
+
## Response
|
|
83
38
|
```
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
## Feature: [feature description]
|
|
87
|
-
|
|
88
|
-
**Shipped**: [date]
|
|
89
|
-
**Impact**: [user-facing impact]
|
|
90
|
-
|
|
91
|
-
**Overview**:
|
|
92
|
-
[AI-generated feature summary]
|
|
93
|
-
|
|
94
|
-
**Technical Details**:
|
|
95
|
-
- [Implementation highlights]
|
|
96
|
-
- [Key components]
|
|
39
|
+
đ {feature} shipped!
|
|
97
40
|
|
|
98
|
-
|
|
99
|
-
|
|
41
|
+
â
Committed {+ pushed}
|
|
42
|
+
{agent_icon} {agent} âĸ {actual_time}
|
|
100
43
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
âââââââââââââââââââââââââââââââââââââ
|
|
104
|
-
|
|
105
|
-
Save this documentation? (y/n): _
|
|
44
|
+
/p:next | /p:status
|
|
106
45
|
```
|
|
107
46
|
|
|
108
|
-
### Step 4: Save if Confirmed
|
|
109
|
-
```javascript
|
|
110
|
-
if (userConfirms) {
|
|
111
|
-
const docPath = `~/.prjct-cli/projects/{id}/analysis/feature-docs/${featureId}.md`
|
|
112
|
-
await saveDocumentation(docPath, documentation)
|
|
113
|
-
console.log('â
Feature documentation saved!')
|
|
114
|
-
} else {
|
|
115
|
-
console.log('âšī¸ Documentation discarded')
|
|
116
|
-
}
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
## Example with Scribe
|
|
120
|
-
|
|
121
|
-
```
|
|
122
|
-
/p:ship "authentication system"
|
|
123
|
-
|
|
124
|
-
đ authentication system shipped!
|
|
125
|
-
|
|
126
|
-
đ Scribe Agent is documenting your feature...
|
|
127
|
-
|
|
128
|
-
âââââââââââââââââââââââââââââââââââââââââââââ
|
|
129
|
-
|
|
130
|
-
## Feature: authentication system
|
|
131
|
-
|
|
132
|
-
**Shipped**: 2025-10-02
|
|
133
|
-
**Impact**: Users can now securely log in and manage sessions
|
|
134
|
-
|
|
135
|
-
**Overview**:
|
|
136
|
-
Implemented JWT-based authentication with login, registration, and password reset. Added middleware for protected routes and session management with automatic token refresh.
|
|
137
|
-
|
|
138
|
-
**Technical Details**:
|
|
139
|
-
- JWT authentication with bcrypt password hashing
|
|
140
|
-
- Login/register/reset endpoints in auth.controller.ts
|
|
141
|
-
- JWT middleware for route protection
|
|
142
|
-
- Redis-based session management with 7-day expiry
|
|
143
|
-
- Email verification workflow
|
|
144
|
-
|
|
145
|
-
**Files Modified**:
|
|
146
|
-
- src/features/auth/auth.service.ts (new)
|
|
147
|
-
- src/features/auth/auth.controller.ts (new)
|
|
148
|
-
- src/middleware/jwt.middleware.ts (new)
|
|
149
|
-
- src/config/redis.config.ts (modified)
|
|
150
|
-
|
|
151
|
-
**Breaking Changes**: None
|
|
152
|
-
|
|
153
|
-
**Usage**:
|
|
154
|
-
```javascript
|
|
155
|
-
// Protected route example
|
|
156
|
-
app.get('/api/profile', jwtMiddleware, profileController.get)
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
âââââââââââââââââââââââââââââââââââââââââââââ
|
|
160
|
-
|
|
161
|
-
Save this documentation? (y/n): y
|
|
162
|
-
|
|
163
|
-
â
Feature documentation saved to analysis/feature-docs/!
|
|
164
|
-
|
|
165
|
-
đ This week: 3 | Total: 15
|
|
166
|
-
Velocity: 2.1 features/day
|
|
167
|
-
|
|
168
|
-
Keep the momentum!
|
|
169
|
-
âĸ "start next task" â Keep building
|
|
170
|
-
âĸ "see my progress" â View stats
|
|
171
|
-
|
|
172
|
-
Or: /p:now | /p:recap
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
## Notes
|
|
176
|
-
|
|
177
|
-
- Scribe agent uses git history to understand feature scope
|
|
178
|
-
- Documentation is saved per-feature for release notes
|
|
179
|
-
- User confirmation prevents unwanted documentation
|
|
180
|
-
- Can skip documentation by saying "no"
|
|
181
|
-
- Feature docs help with changelog generation and onboarding
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: [Read]
|
|
3
|
+
description: "KPI dashboard with ASCII graphics"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /p:status
|
|
7
|
+
|
|
8
|
+
## Flow
|
|
9
|
+
1. Read: all core files + progress files
|
|
10
|
+
2. Calculate: metrics (sprint %, tasks complete, days since ship, etc.)
|
|
11
|
+
3. Render: `ASCIIGraphics.createDashboard(data)`
|
|
12
|
+
|
|
13
|
+
## Data Structure
|
|
14
|
+
```js
|
|
15
|
+
{
|
|
16
|
+
sprintProgress: (complete / total) * 100,
|
|
17
|
+
tasksComplete: count,
|
|
18
|
+
tasksTotal: count,
|
|
19
|
+
ideasCount: count,
|
|
20
|
+
daysSinceShip: days,
|
|
21
|
+
currentTask: string,
|
|
22
|
+
taskTime: 'Xh Ym ago'
|
|
23
|
+
}
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Output (Catppuccin Mocha)
|
|
27
|
+
```
|
|
28
|
+
ââ Project Status âââââââââââââââââ
|
|
29
|
+
â Sprint Progress [âââââ] 80% â
|
|
30
|
+
â Tasks Complete 12/15 â
|
|
31
|
+
â Ideas Backlog 8 â
|
|
32
|
+
â Days Since Ship 3 â
|
|
33
|
+
ââ Current Focus ââââââââââââââââââ¤
|
|
34
|
+
â â {current_task} â
|
|
35
|
+
â Started: {time_ago} â
|
|
36
|
+
âââââââââââââââââââââââââââââââââââ
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**Colors**: Mauve borders, Teal progress, Sapphire highlights, Green/Yellow/Red for status
|
|
40
|
+
|