prjct-cli 0.7.3 → 0.8.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 CHANGED
@@ -7,6 +7,119 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.8.0] - 2025-10-05
11
+
12
+ ### Added
13
+
14
+ - **3-Tier Guided Workflow System** - Zero memorization interface for confused users
15
+ - **`/p:help`** - Contextual interactive guide that adapts to project state
16
+ - 5 different response contexts (Not initialized, Empty queue, Has active task, Has queue, Lost/confused)
17
+ - Shows relevant options based on current situation
18
+ - Educational approach with examples
19
+ - **`/p:ask`** - Intent to action translator with explanations
20
+ - Natural language understanding for any intent
21
+ - Recommends appropriate command flows with reasoning
22
+ - Works in any language (English, Spanish, etc.)
23
+ - Educational responses explain the "why" behind each recommendation
24
+ - Intent categories: Feature Development, Performance, Bug Fixing, Design, Lost/Confused
25
+ - **`/p:suggest`** - Context-aware smart recommendations
26
+ - Analyzes project state (active tasks, queue, velocity, momentum)
27
+ - Detects patterns: stuck tasks, losing momentum, over-planning, ready to work
28
+ - Provides urgency levels and actionable next steps
29
+ - Scenario-based suggestions with clear actions
30
+ - Updated from 9 to 13 core commands
31
+ - Version bumped to 0.7.0 → 0.8.0
32
+
33
+ - **Enhanced Feature Templates** - Quick start templates for common workflows
34
+ - 6 interactive template categories: UI/UX, Performance, Features, Quality, Bugs, Docs
35
+ - Each category includes examples and natural language alternatives
36
+ - Integrated into `/p:feature` command for faster feature initialization
37
+
38
+ - **Enhanced Onboarding** - Conversational first-time experience
39
+ - Updated `/p:init` with "What do you want to do first?" section
40
+ - 5 clear options with examples and natural language alternatives
41
+ - Guides users to appropriate commands based on their needs
42
+
43
+ ### Changed
44
+
45
+ - **Website Transformation** - Complete shift from "memorize commands" to "conversational/agentic"
46
+
47
+ - **Hero Section** (`Hero.tsx`)
48
+ - Changed layout from centered to 60/40 asymmetric grid (better space utilization on LG screens)
49
+ - Updated messaging: "Just talk: 'p. I want to add auth' → Claude handles the rest"
50
+ - Added 3 conversational example cards showing real usage patterns
51
+ - Removed sequential command flow in favor of natural language examples
52
+ - Better visual hierarchy with left column (60%) for main content, right column (40%) for examples
53
+
54
+ - **Terminal Demo** (`Terminal.tsx`)
55
+ - Replaced 4 rotating examples with single comprehensive flow
56
+ - Shows complete journey: Installation → Setup → Usage → Progress → Shipping
57
+ - Demonstrates real `p.` trigger usage throughout
58
+ - Improved timing: 3500ms between steps (was 1500ms) for better comprehension
59
+ - 12s restart delay (was 10s) for proper reading time
60
+ - Title: "See It In Action - From installation to shipping"
61
+
62
+ - **How It Works Section** (`HowItWorks.tsx`)
63
+ - New 3-step visual flow: Talk Naturally → Claude Understands → You Ship
64
+ - Removed misleading chat-style UI examples (product is terminal-only)
65
+ - Clean, honest representation of terminal-based workflow
66
+ - Icon-based visual guide with examples
67
+
68
+ - **Command Guide** (`CommandGuide.tsx`)
69
+ - Added 2 priority scenarios at top:
70
+ - "I'm new/lost/don't know what to do" → `/p:help`, `/p:ask`, `/p:suggest`
71
+ - "I know what I want but not how to do it" → `/p:ask` (preferred)
72
+ - Updated Quick Decision Matrix to prioritize help commands
73
+ - All examples show `p.` trigger as preferred option with `/p:*` alternatives
74
+
75
+ - **Commands Page** (`Commands.tsx`)
76
+ - Added prominent "Start Here - No Memorization Needed" section
77
+ - Highlights 3 essential commands: `/p:help`, `/p:ask`, `/p:suggest`
78
+ - Moved all specific commands to "Advanced Reference" section
79
+ - Clear message: "You only need these 3 commands. Everything else? Just talk naturally."
80
+
81
+ - **Command Registry Updates** (`command-registry.js`)
82
+ - Added `ask` and `suggest` to core commands
83
+ - Updated version from 0.7.0 to 0.8.0
84
+ - Increased core command count from 9 to 13
85
+ - Enhanced metadata for new help system commands
86
+
87
+ - **Documentation Updates** (`CLAUDE.md`)
88
+ - Added complete "Guided Workflow System" section
89
+ - Documented 3-tier help architecture with examples
90
+ - Updated natural language system philosophy
91
+ - Added context validation patterns and examples
92
+
93
+ ### Philosophy Shift
94
+
95
+ This release represents a fundamental shift in how users interact with prjct:
96
+
97
+ **Before (0.7.x)**: "Learn these sequential commands: `/p:feature → /p:done → /p:ship`"
98
+ **After (0.8.0)**: "Just talk: `p. I want to add auth` → Claude handles the rest"
99
+
100
+ The 3-tier help system solves the core user frustration: **users know WHAT they want but don't know HOW to execute it**. Now they don't need to - they just describe their intent and the system guides them.
101
+
102
+ ### Technical Details
103
+
104
+ - **New Templates**:
105
+ - `templates/commands/ask.md` - Intent translation with educational responses
106
+ - `templates/commands/suggest.md` - Context-aware recommendations
107
+ - Updated `templates/commands/help.md` - Contextual interactive guide
108
+ - Updated `templates/commands/init.md` - Conversational onboarding
109
+ - Updated `templates/commands/feature.md` - Interactive mode with templates
110
+
111
+ - **Website Optimization**:
112
+ - Hero grid: `lg:grid-cols-5` with `lg:col-span-3` (60%) + `lg:col-span-2` (40%)
113
+ - Terminal timing: 3500ms step delay, 12s restart delay
114
+ - Removed chat UI mockups to avoid false expectations
115
+ - Consistent `p.` trigger examples throughout
116
+
117
+ - **User Experience**:
118
+ - Zero memorization required for basic usage
119
+ - Natural language works in any language (English, Spanish, etc.)
120
+ - Context-aware help adapts to project state
121
+ - Educational responses explain the "why" behind recommendations
122
+
10
123
  ## [0.7.3] - 2025-10-05
11
124
 
12
125
  ### Added
package/CLAUDE.md CHANGED
@@ -504,6 +504,213 @@ User: "/p:workflow"
504
504
 
505
505
  **Key Difference**: `/p:idea` captures NEW ideas. `/p:workflow` manages EXISTING multi-step tasks.
506
506
 
507
+ ## Guided Workflow System
508
+
509
+ **NEW: Enhanced usability for confused users** - The biggest user frustration is knowing WHAT they want but not HOW to do it with prjct.
510
+
511
+ ### The Problem
512
+
513
+ Users frequently ask:
514
+ - "How do I start?"
515
+ - "What command should I use?"
516
+ - "I want to improve performance, but how?"
517
+ - "What should I do next?"
518
+
519
+ They have clear **INTENT** but struggle with **EXECUTION**.
520
+
521
+ ### The Solution: 3-Tier Help System
522
+
523
+ #### Tier 1: `/p:help` - Contextual Interactive Guide
524
+
525
+ **Purpose**: Adapts to user's current state and provides relevant guidance
526
+
527
+ **Behavior**:
528
+ - Reads project state (active task, queue, last ship, etc.)
529
+ - Shows different help based on context:
530
+ - Not initialized → Guides setup
531
+ - Empty queue → Suggests adding features
532
+ - Active task → Shows completion options
533
+ - Has queue → Recommends starting work
534
+ - Lost/confused → Comprehensive guide
535
+
536
+ **Example**:
537
+ ```
538
+ User in state: "No active task, 5 tasks in queue"
539
+
540
+ /p:help shows:
541
+ → Start working (recommended)
542
+ → See priority queue
543
+ → Add new feature
544
+ → Check progress
545
+
546
+ With examples and natural language alternatives
547
+ ```
548
+
549
+ #### Tier 2: `/p:ask` - Intent to Action Translator
550
+
551
+ **Purpose**: Translate vague natural language intent into specific command flows
552
+
553
+ **Behavior**:
554
+ - User describes what they want in natural language
555
+ - Claude analyzes intent and context
556
+ - Recommends step-by-step command flow
557
+ - Explains WHY each command
558
+ - Offers interactive confirmation
559
+ - Educational - teaches the system
560
+
561
+ **Example**:
562
+ ```
563
+ User: /p:ask "I want to improve performance and fix memory leaks"
564
+
565
+ Claude responds:
566
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
567
+ 🎯 I understand: performance optimization + memory leak fixes
568
+
569
+ 📊 YOUR CONTEXT:
570
+ • No active task
571
+ • 3 tasks in queue
572
+ • Last ship: 2 days ago
573
+
574
+ 💡 RECOMMENDED FLOW:
575
+
576
+ 1. /p:feature "optimize performance and memory leaks"
577
+ → Value analysis (Impact: HIGH, Effort: 8h)
578
+ → Task breakdown:
579
+ • Setup profiler
580
+ • Identify memory leaks
581
+ • Optimize re-renders
582
+ • Code splitting
583
+ • Measure improvements
584
+
585
+ 2. /p:build 1 → Start with profiling
586
+
587
+ 3. /p:done → After each task
588
+
589
+ 4. /p:ship "performance optimization"
590
+
591
+ ✨ WHY THIS FLOW:
592
+ → /p:feature: Analyzes value first, creates roadmap
593
+ → /p:build: Focus on one task, track time
594
+ → /p:done: Register progress, maintain momentum
595
+ → /p:ship: Commit + celebrate win
596
+
597
+ Ready to start?
598
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
599
+ ```
600
+
601
+ **Key Features**:
602
+ - Works in any language (English, Spanish, etc.)
603
+ - No execution until user confirms
604
+ - Shows command + natural language alternatives
605
+ - Educational explanations
606
+ - Contextual (checks project state first)
607
+
608
+ #### Tier 3: `/p:suggest` - Smart Recommendations
609
+
610
+ **Purpose**: Analyze project state and suggest next best actions
611
+
612
+ **Behavior**:
613
+ - Reads all project state files
614
+ - Calculates metrics (velocity, days since ship, queue size, etc.)
615
+ - Detects patterns (stuck task, losing momentum, over-planning, etc.)
616
+ - Provides urgency-based recommendations
617
+ - Motivational but honest
618
+
619
+ **Scenarios Detected**:
620
+ 1. **Ready to work** → Suggests starting top priority task
621
+ 2. **Long-running task** → Checks if stuck, suggests help
622
+ 3. **No ships recently** → Urgency alert, suggests shipping something small
623
+ 4. **Empty queue** → Suggests planning (feature/analyze/roadmap)
624
+ 5. **High velocity** → Positive reinforcement, quality suggestions
625
+ 6. **Queue too large** → Warns about over-planning, suggests executing
626
+
627
+ **Example**:
628
+ ```
629
+ User: /p:suggest
630
+
631
+ Claude analyzes:
632
+ - No active task
633
+ - 8 tasks in queue
634
+ - Last ship: 5 days ago
635
+ - Velocity: 0.4 features/week
636
+
637
+ Response:
638
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
639
+ 💡 PERSONALIZED SUGGESTIONS
640
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
641
+
642
+ 📊 ANALYSIS:
643
+ • 5 days since last ship ⚠️
644
+ • Queue: 8 tasks
645
+ • Velocity: Low
646
+
647
+ 🔥 URGENT: Momentum is dropping!
648
+
649
+ 🎯 RECOMMENDATIONS:
650
+
651
+ 1. ⚡ SHIP SOMETHING TODAY
652
+ → /p:next (find quick win)
653
+ → /p:build {easiest task}
654
+ → /p:done → /p:ship SAME DAY
655
+
656
+ 2. 🎯 STOP PLANNING, START DOING
657
+ → 8 tasks is too many
658
+ → Ship > Plan
659
+
660
+ 3. 💡 MAINTAIN MOMENTUM
661
+ → Ship every 1-2 days
662
+ → Small wins > Big tasks
663
+
664
+ Momentum = Motivation. Let's ship! 🚀
665
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
666
+ ```
667
+
668
+ ### Enhanced Onboarding
669
+
670
+ **After `/p:init`**: Conversational "What do you want to do first?" section
671
+ - 5 clear options with examples
672
+ - Natural language alternatives
673
+ - No overwhelming command lists
674
+ - Guides to action immediately
675
+
676
+ **After `/p:feature` (no params)**: Interactive template mode
677
+ - 6 categories (UI/UX, Performance, Features, Quality, Bugs, Docs)
678
+ - Examples for each category
679
+ - Impact/effort estimates
680
+ - User can describe freely OR choose template
681
+
682
+ ### Integration with Natural Language System
683
+
684
+ All help commands work seamlessly with the "p." trigger and natural language detection:
685
+
686
+ ```
687
+ User: "p. I don't know what to do"
688
+ → Detects confusion → Executes /p:suggest
689
+
690
+ User: "p. how do I start?"
691
+ → Detects help need → Executes /p:help
692
+
693
+ User: "p. I want to optimize performance"
694
+ → Detects feature intent → Shows /p:ask flow OR /p:feature
695
+ ```
696
+
697
+ ### Key Principles
698
+
699
+ 1. **Never leave users confused** - Always provide clear next steps
700
+ 2. **Educational, not prescriptive** - Teach the system while guiding
701
+ 3. **Contextual, not generic** - Different help for different states
702
+ 4. **Natural language first** - Commands as alternative, not requirement
703
+ 5. **Momentum-focused** - Push toward action, not endless planning
704
+
705
+ ### Success Metrics
706
+
707
+ After using the guided system, users should:
708
+ - ✅ Know exactly what command to use
709
+ - ✅ Understand WHY that command
710
+ - ✅ Feel confident to proceed
711
+ - ✅ Learn the system through use
712
+ - ✅ Never feel stuck or frustrated
713
+
507
714
  ### Available Commands
508
715
 
509
716
  The following commands are available in Claude Code (commands marked with ⚠️ are not yet implemented):
@@ -544,11 +751,21 @@ The following commands are available in Claude Code (commands marked with ⚠️
544
751
  - **Empty dir, no idea**: Asks for idea
545
752
  - **Empty dir + idea**: ARCHITECT MODE (conversational discovery → generates plan)
546
753
  - **Existing code**: Regular init + suggests analyze
754
+ - `/p:help` - Interactive contextual guide (adapts to project state)
755
+ - `/p:ask "<what you want to do>"` - Conversational intent to action translator
756
+ - Natural language understanding
757
+ - Recommends command flow with explanations
758
+ - Works in any language
759
+ - Educational and interactive
760
+ - `/p:suggest` - Context-aware next steps suggestions
761
+ - Analyzes project state and momentum
762
+ - Detects urgencies and patterns
763
+ - Personalized recommendations
764
+ - Helps maintain momentum
547
765
  - `/p:stuck <issue description>` - Get contextual help with problems
548
766
  - `/p:analyze` - Analyze repository and sync tasks
549
767
  - `/p:sync` - Sync project state and update workflow agents
550
768
  - ⚠️ `/p:fix [error]` - Quick troubleshooting and automatic fixes
551
- - ⚠️ `/p:help` - Interactive guide - talk naturally, no memorization needed
552
769
 
553
770
  #### Version Control
554
771
 
@@ -558,7 +775,7 @@ The following commands are available in Claude Code (commands marked with ⚠️
558
775
 
559
776
  - ⚠️ `/p:test` - Run tests and auto-fix simple failures
560
777
 
561
- **Total: 23 implemented, 29 total commands**
778
+ **Total: 26 implemented, 30 total commands** (✅ +3 new: /p:help, /p:ask, /p:suggest)
562
779
  **Status**: Check `core/command-registry.js` for current implementation status
563
780
 
564
781
  ## Agent Generation
@@ -8,11 +8,11 @@
8
8
  * - CLAUDE.md (AI assistant instructions)
9
9
  * - scripts/validate-commands.js (validation)
10
10
  *
11
- * @version 0.6.0 - Simplified workflow with 9 core commands
11
+ * @version 0.8.0 - Conversational interface with zero memorization
12
12
  */
13
13
 
14
14
  const COMMANDS = [
15
- // ===== CORE WORKFLOW COMMANDS (9 essential) =====
15
+ // ===== CORE WORKFLOW COMMANDS (13 essential) =====
16
16
 
17
17
  // 1. Initialize
18
18
  {
@@ -267,7 +267,55 @@ const COMMANDS = [
267
267
  ],
268
268
  },
269
269
 
270
- // 11. Architect Execute
270
+ // 11. Ask - Intent to Action
271
+ {
272
+ name: 'ask',
273
+ category: 'core',
274
+ description: 'Conversational intent to action translator',
275
+ usage: {
276
+ claude: '/p:ask "what you want to do"',
277
+ terminal: 'prjct ask "what you want to do"',
278
+ },
279
+ params: '<description>',
280
+ implemented: true,
281
+ hasTemplate: true,
282
+ icon: 'MessageCircle',
283
+ requiresInit: false, // Can work before init to guide setup
284
+ blockingRules: null,
285
+ features: [
286
+ 'Natural language understanding',
287
+ 'Recommends command flow',
288
+ 'Educational explanations',
289
+ 'Interactive confirmation',
290
+ 'Works in any language',
291
+ ],
292
+ },
293
+
294
+ // 12. Suggest - Context-Aware Recommendations
295
+ {
296
+ name: 'suggest',
297
+ category: 'core',
298
+ description: 'Context-aware next steps suggestions',
299
+ usage: {
300
+ claude: '/p:suggest',
301
+ terminal: 'prjct suggest',
302
+ },
303
+ params: null,
304
+ implemented: true,
305
+ hasTemplate: true,
306
+ icon: 'Lightbulb',
307
+ requiresInit: true,
308
+ blockingRules: null,
309
+ features: [
310
+ 'Analyzes project state',
311
+ 'Recommends actions',
312
+ 'Urgency detection',
313
+ 'Momentum tracking',
314
+ 'Personalized suggestions',
315
+ ],
316
+ },
317
+
318
+ // 13. Architect Execute
271
319
  {
272
320
  name: 'architect',
273
321
  category: 'core',
@@ -446,7 +494,7 @@ const CATEGORIES = {
446
494
  core: {
447
495
  title: 'Core Workflow',
448
496
  icon: 'Zap',
449
- description: '9 essential commands for daily development workflow',
497
+ description: '13 essential commands for daily development workflow',
450
498
  order: 1,
451
499
  },
452
500
  optional: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prjct-cli",
3
- "version": "0.7.3",
3
+ "version": "0.8.0",
4
4
  "description": "Built for Claude - Ship fast, track progress, stay focused. Developer momentum tool for indie hackers.",
5
5
  "main": "core/index.js",
6
6
  "bin": {