proagents 1.6.19 → 1.6.21

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.
Files changed (143) hide show
  1. package/.claude/settings.local.json +13 -1
  2. package/.proagents/.cursorrules +25 -10
  3. package/.proagents/.windsurfrules +25 -10
  4. package/.proagents/AGENTS.md +30 -11
  5. package/.proagents/AI_INSTRUCTIONS.md +86 -30
  6. package/.proagents/BOLT.md +25 -10
  7. package/.proagents/CLAUDE.md +25 -10
  8. package/.proagents/GEMINI.md +25 -10
  9. package/.proagents/KIRO.md +25 -10
  10. package/.proagents/LOVABLE.md +25 -10
  11. package/.proagents/PROAGENTS.md +96 -343
  12. package/.proagents/REPLIT.md +25 -10
  13. package/.proagents/activity.log +1 -0
  14. package/.proagents/custom-commands.yaml +0 -1
  15. package/.proagents/docs/command-details.md +1 -2
  16. package/.proagents/getting-started/ai-training-setup.md +0 -1
  17. package/.proagents/performance/README.md +59 -0
  18. package/.proagents/performance/bundle-analysis.md +375 -0
  19. package/.proagents/performance/load-testing.md +563 -0
  20. package/.proagents/performance/runtime-metrics.md +489 -0
  21. package/.proagents/performance/web-vitals.md +425 -0
  22. package/.proagents/platforms.yaml +66 -0
  23. package/.proagents/proagents.config.yaml +0 -1
  24. package/.proagents/prompts/ai-add.md +80 -0
  25. package/.proagents/prompts/ai-list.md +41 -0
  26. package/.proagents/prompts/ai-remove.md +112 -0
  27. package/.proagents/prompts/ai-sync.md +96 -0
  28. package/.proagents/workflow-modes/entry-modes.md +1 -6
  29. package/lib/commands/ai.js +100 -48
  30. package/lib/commands/init.js +89 -22
  31. package/package.json +1 -1
  32. package/.proagents/ANTIGRAVITY.md +0 -61
  33. package/.proagents/CHATGPT.md +0 -57
  34. package/.proagents/GROQ.md +0 -57
  35. package/.proagents/api-versioning/README.md +0 -257
  36. package/.proagents/api-versioning/changelog-template.md +0 -225
  37. package/.proagents/api-versioning/deprecation-workflow.md +0 -470
  38. package/.proagents/api-versioning/versioning-strategy.md +0 -291
  39. package/.proagents/automation/README.md +0 -38
  40. package/.proagents/automation/ai-behavior-rules.md +0 -339
  41. package/.proagents/automation/ai-prompt-injection.md +0 -331
  42. package/.proagents/automation/auto-decisions.md +0 -535
  43. package/.proagents/automation/decision-defaults.yaml +0 -317
  44. package/.proagents/cache/README.md +0 -110
  45. package/.proagents/cache/analysis-metadata.json +0 -76
  46. package/.proagents/cache/conventions.json +0 -125
  47. package/.proagents/cache/dependencies.json +0 -85
  48. package/.proagents/cache/features.json +0 -115
  49. package/.proagents/cache/patterns.json +0 -105
  50. package/.proagents/cache/schemas/conventions-schema.json +0 -138
  51. package/.proagents/cache/schemas/dependencies-schema.json +0 -95
  52. package/.proagents/cache/schemas/features-schema.json +0 -104
  53. package/.proagents/cache/schemas/metadata-schema.json +0 -83
  54. package/.proagents/cache/schemas/patterns-schema.json +0 -136
  55. package/.proagents/cache/schemas/structure-schema.json +0 -72
  56. package/.proagents/cache/structure.json +0 -109
  57. package/.proagents/checklists/README.md +0 -261
  58. package/.proagents/checklists/code-quality.md +0 -137
  59. package/.proagents/checklists/code-review.md +0 -148
  60. package/.proagents/checklists/pr-checklist.md +0 -78
  61. package/.proagents/checklists/pre-deployment.md +0 -132
  62. package/.proagents/checklists/pre-implementation.md +0 -80
  63. package/.proagents/checklists/testing.md +0 -120
  64. package/.proagents/checkpoints.json +0 -13
  65. package/.proagents/cicd/README.md +0 -338
  66. package/.proagents/cicd/azure-devops.md +0 -267
  67. package/.proagents/cicd/github-actions.md +0 -375
  68. package/.proagents/cicd/gitlab-ci.md +0 -278
  69. package/.proagents/cicd/jenkins.md +0 -317
  70. package/.proagents/collaboration/README.md +0 -143
  71. package/.proagents/collaboration/roles.md +0 -248
  72. package/.proagents/collaboration/sessions.md +0 -390
  73. package/.proagents/collaboration/sync.md +0 -358
  74. package/.proagents/cost/README.md +0 -48
  75. package/.proagents/cost/cost-template.md +0 -283
  76. package/.proagents/cost/estimation-framework.md +0 -287
  77. package/.proagents/database/README.md +0 -72
  78. package/.proagents/database/examples/001-create-users.sql +0 -129
  79. package/.proagents/database/examples/002-add-preferences.sql +0 -94
  80. package/.proagents/database/examples/003-add-index.sql +0 -105
  81. package/.proagents/database/examples/004-rename-column.sql +0 -122
  82. package/.proagents/database/examples/005-add-foreign-key.sql +0 -142
  83. package/.proagents/database/examples/006-data-migration.sql +0 -196
  84. package/.proagents/database/examples/007-drop-column.sql +0 -163
  85. package/.proagents/database/examples/README.md +0 -89
  86. package/.proagents/database/migration-workflow.md +0 -478
  87. package/.proagents/database/rollback-scripts.md +0 -487
  88. package/.proagents/database/safety-checks.md +0 -447
  89. package/.proagents/git/README.md +0 -68
  90. package/.proagents/git/branch-strategy.md +0 -164
  91. package/.proagents/git/commit-conventions.md +0 -241
  92. package/.proagents/git/pr-workflow.md +0 -286
  93. package/.proagents/git/rollback-procedures.md +0 -416
  94. package/.proagents/ide-integration/README.md +0 -124
  95. package/.proagents/ide-integration/cline-config.md +0 -429
  96. package/.proagents/ide-integration/continue-config.md +0 -380
  97. package/.proagents/ide-integration/cursor-rules.md +0 -280
  98. package/.proagents/ide-integration/github-copilot.md +0 -384
  99. package/.proagents/ide-integration/windsurf-rules.md +0 -314
  100. package/.proagents/integrations/README.md +0 -97
  101. package/.proagents/integrations/pm/README.md +0 -344
  102. package/.proagents/learning/README.md +0 -136
  103. package/.proagents/learning/adaptation.md +0 -305
  104. package/.proagents/learning/data-collection.md +0 -283
  105. package/.proagents/learning/implementation-guide.md +0 -865
  106. package/.proagents/learning/reports.md +0 -306
  107. package/.proagents/mcp/README.md +0 -133
  108. package/.proagents/mcp/context-providers.md +0 -442
  109. package/.proagents/mcp/server-config.md +0 -306
  110. package/.proagents/mcp/tools-definition.md +0 -513
  111. package/.proagents/pm-integration/README.md +0 -151
  112. package/.proagents/pm-integration/asana.md +0 -346
  113. package/.proagents/pm-integration/github-issues.md +0 -308
  114. package/.proagents/pm-integration/gitlab-issues.md +0 -482
  115. package/.proagents/pm-integration/jira.md +0 -364
  116. package/.proagents/pm-integration/linear.md +0 -409
  117. package/.proagents/pm-integration/notion.md +0 -275
  118. package/.proagents/pm-integration/sync-config.md +0 -533
  119. package/.proagents/pm-integration/trello.md +0 -159
  120. package/.proagents/rules/README.md +0 -179
  121. package/.proagents/rules/custom-rules-template.yaml +0 -286
  122. package/.proagents/rules/custom-rules.md +0 -754
  123. package/.proagents/rules/validation-rules-template.yaml +0 -517
  124. package/.proagents/runbooks/README.md +0 -219
  125. package/.proagents/runbooks/dependency-vulnerability.md +0 -505
  126. package/.proagents/runbooks/incident-response.md +0 -451
  127. package/.proagents/runbooks/performance-degradation.md +0 -584
  128. package/.proagents/runbooks/production-debugging.md +0 -489
  129. package/.proagents/sprints/README.md +0 -58
  130. package/.proagents/team/README.md +0 -256
  131. package/.proagents/team/code-ownership.md +0 -306
  132. package/.proagents/team/communication-templates.md +0 -441
  133. package/.proagents/team/handoff-protocol.md +0 -380
  134. package/.proagents/team/ide-setup/README.md +0 -103
  135. package/.proagents/team/ide-setup/cursor.md +0 -276
  136. package/.proagents/team/ide-setup/jetbrains.md +0 -330
  137. package/.proagents/team/ide-setup/neovim.md +0 -640
  138. package/.proagents/team/ide-setup/vscode.md +0 -348
  139. package/.proagents/team/onboarding.md +0 -278
  140. package/.proagents/time-tracking.json +0 -19
  141. package/.proagents/troubleshooting/README.md +0 -730
  142. package/.proagents/troubleshooting/ai-issues.md +0 -601
  143. package/.proagents/troubleshooting/workflow-issues.md +0 -571
@@ -163,7 +163,19 @@
163
163
  "Bash(timeout 5 node:*)",
164
164
  "Bash(timeout 20 node:*)",
165
165
  "Bash(CURSOR_TRACE_ID=test-123 node:*)",
166
- "Bash(npm pack:*)"
166
+ "Bash(npm pack:*)",
167
+ "Bash(timeout 10 node:*)",
168
+ "Bash(bash -c 'printf \"\"1\\\\n\\\\n1\\\\n\"\" | node /Users/prakash/Saeculum/AI/proAgents/bin/proagents.js init 2>&1')",
169
+ "Bash(chmod:*)",
170
+ "Bash(/private/tmp/test-init.sh)",
171
+ "Bash(git -C /Users/prakash/Saeculum/AI/proAgents status --short)",
172
+ "Bash(git -C /Users/prakash/Saeculum/AI/proAgents diff --stat)",
173
+ "Bash(/private/tmp/test-comprehensive.sh)",
174
+ "Bash(/private/tmp/test-existing.sh)",
175
+ "Bash(git -C /Users/prakash/Saeculum/AI/proAgents diff lib/commands/ai.js)",
176
+ "Bash(for f in .proagents/AI_INSTRUCTIONS.md .proagents/CLAUDE.md .proagents/AGENTS.md .proagents/.cursorrules .proagents/.windsurfrules .proagents/GEMINI.md .proagents/BOLT.md .proagents/REPLIT.md .proagents/LOVABLE.md .proagents/KIRO.md)",
177
+ "Bash(if grep -q \"AI directives\" \"$f\")",
178
+ "Bash(if grep -q \"ANY.*pa:.*command\" \"$f\")"
167
179
  ]
168
180
  }
169
181
  }
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -1,30 +1,49 @@
1
- # ProAgents Commands for Codex
1
+ # ProAgents Commands
2
+
3
+ > **Universal AI Instructions** - Works with ChatGPT, Groq, Antigravity, Codex CLI, and any generic AI platform.
4
+ >
5
+ > ⚠️ **Do not remove this file** - Required for ProAgents to work properly.
2
6
 
3
7
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
8
 
5
- ## MANDATORY: Every pa: Command Flow
9
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
10
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
11
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
12
+
13
+ ## Auto-Sync Protocol
14
+
15
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
6
16
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
17
+ ### Workflow Commands (Auto-Sync Required)
8
18
 
9
- **Read these files FIRST before doing anything:**
19
+ Commands that CREATE or MODIFY code/content need context:
10
20
 
21
+ **BEFORE these commands, read:**
11
22
  ```bash
12
23
  cat .proagents/worklog/_context.md # Current state
13
24
  cat .proagents/changelog/_recent.md # Recent changes
14
25
  tail -10 .proagents/activity.log # Recent activity
15
26
  ```
16
27
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
28
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
29
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
30
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
31
+ `pa:session-start`, `pa:session-end`
18
32
 
19
- ### AFTER Any pa: Command (Auto-Log)
33
+ ### Utility Commands (No Sync Required)
20
34
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
35
+ Commands that only READ, DISPLAY, or CONFIGURE:
36
+ - **Skip BEFORE step** - No context reading needed
37
+ - **Skip AFTER step** - No logging needed
22
38
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
39
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
40
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
41
+
42
+ ### AFTER Workflow Commands (Auto-Log)
26
43
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
44
+ **After commands that CHANGE files, update:**
45
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
46
+ 2. `.proagents/worklog/_context.md` - Update current state
28
47
 
29
48
  ## Essential Commands
30
49
 
@@ -2,34 +2,48 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
8
+
5
9
  ---
6
10
 
7
- ## ⚠️ MANDATORY: Auto-Sync on EVERY pa: Command
11
+ ## Auto-Sync Protocol
12
+
13
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
8
14
 
9
- **BEFORE executing ANY `pa:` command, AI MUST run these steps FIRST:**
15
+ ### Workflow Commands (Auto-Sync Required)
10
16
 
17
+ Commands that CREATE or MODIFY code/content need context.
18
+
19
+ **BEFORE these commands, read:**
11
20
  ```bash
12
- # STEP 1: Load context (REQUIRED - do this FIRST)
13
- cat .proagents/worklog/_context.md 2>/dev/null
14
- cat .proagents/changelog/_recent.md 2>/dev/null | head -30
15
- tail -10 .proagents/activity.log 2>/dev/null
21
+ cat .proagents/worklog/_context.md 2>/dev/null # Current state
22
+ cat .proagents/changelog/_recent.md 2>/dev/null | head -30 # Recent changes
23
+ tail -10 .proagents/activity.log 2>/dev/null # Recent activity
16
24
  ```
17
25
 
18
- **This applies to ALL commands including:**
19
- - `pa:fix "bug"` - Load context FIRST, then fix
20
- - `pa:feature "name"` - Load context FIRST, then start feature
21
- - `pa:test` - Load context FIRST, then run tests
22
- - `pa:doc` - Load context FIRST, then generate docs
23
- - **EVERY pa: command** - Load context FIRST
26
+ **Workflow commands:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
27
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
28
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
29
+ `pa:session-start`, `pa:session-end`
30
+
31
+ ### Utility Commands (No Sync Required)
24
32
 
25
- **AFTER executing ANY `pa:` command that changes files, AI MUST:**
33
+ Commands that only READ, DISPLAY, or CONFIGURE:
34
+ - **Skip BEFORE step** - No context reading needed
35
+ - **Skip AFTER step** - No logging needed
26
36
 
37
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
38
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
39
+
40
+ ### AFTER Workflow Commands (Auto-Log)
41
+
42
+ **After commands that CHANGE files, update:**
27
43
  ```bash
28
- # Update worklogs and changelogs
29
44
  # 1. Prepend to .proagents/changelog/_recent.md
30
45
  # 2. Update .proagents/worklog/_context.md
31
- # 3. Update .proagents/changelog/modules/[module].md
32
- # 4. Log to .proagents/activity.log
46
+ # 3. Log to .proagents/activity.log
33
47
  ```
34
48
 
35
49
  **Example flow for `pa:fix "login bug"`:**
@@ -41,7 +55,7 @@ tail -10 .proagents/activity.log 2>/dev/null
41
55
  5. AI logs to activity.log ← LOG ACTIVITY
42
56
  ```
43
57
 
44
- **Note:** When updating `_recent.md` or `_context.md`, first read the corresponding `*.template.md` file to use the latest format. See "Using Template Reference Files" section below.
58
+ **Note:** When updating `_recent.md` or `_context.md`, first read the corresponding `*.template.md` file to use the latest format.
45
59
 
46
60
  ---
47
61
 
@@ -74,26 +88,20 @@ tail -10 .proagents/activity.log 2>/dev/null
74
88
 
75
89
  **Multiple AI tools may work on this project simultaneously. They do NOT share context.**
76
90
 
77
- ### AUTOMATIC Context Loading (EVERY pa: Command)
91
+ ### Context Loading for Workflow Commands
78
92
 
79
- **On EVERY `pa:` command, AI MUST FIRST load context:**
93
+ **For workflow commands (pa:feature, pa:fix, pa:implement, etc.), load context FIRST:**
80
94
 
81
95
  ```bash
82
- # MANDATORY FIRST STEP - Run before ANY pa: command
83
96
  cat .proagents/worklog/_context.md 2>/dev/null
84
97
  cat .proagents/changelog/_recent.md 2>/dev/null | head -30
85
98
  tail -10 .proagents/activity.log 2>/dev/null
86
-
87
- # Also check for conflicts
88
- cat .proagents/.active-files 2>/dev/null
99
+ cat .proagents/.active-files 2>/dev/null # Check for conflicts
89
100
  ```
90
101
 
91
- **This is NOT optional. This is NOT just for "first command".**
92
- **EVERY pa: command = Load context FIRST, then execute.**
93
-
94
- **User does NOT need to type pa:sync - AI does it automatically on EVERY pa: command.**
102
+ **Skip context loading for utility commands** (pa:help, pa:status, pa:ai-*, etc.)
95
103
 
96
- ### Before ANY `pa:` command:
104
+ ### Before Workflow Commands:
97
105
 
98
106
  1. **Auto-load context** - Read `worklog/_context.md` and `changelog/_recent.md`
99
107
  2. **Check activity log** - `./.proagents/activity.log`
@@ -101,7 +109,7 @@ cat .proagents/.active-files 2>/dev/null
101
109
  4. **Check watchlist** - `./.proagents/watchlist.yaml` (files requiring confirmation)
102
110
  5. **Check file locks** - `./.proagents/.active-files`
103
111
 
104
- ### After ANY `pa:` command:
112
+ ### After Workflow Commands:
105
113
 
106
114
  **MANDATORY: Log every command to `./.proagents/activity.log`**
107
115
 
@@ -126,7 +134,7 @@ echo "[$(date '+%Y-%m-%d %H:%M')] [Claude:opus-4] [pa:feature] Started user-auth
126
134
  **CRITICAL:**
127
135
  - Log AFTER the "--- Activity Log Start ---" marker
128
136
  - Use YOUR AI platform name (Claude, Cursor, Gemini, etc.)
129
- - Log EVERY pa: command, not just major ones
137
+ - Log workflow commands (skip utility commands like pa:help, pa:status)
130
138
 
131
139
  ### Lock File
132
140
 
@@ -591,6 +599,14 @@ Auto-detect issue numbers from user input and include in changelog:
591
599
  | `pa:checkpoint` | Pause for approval |
592
600
  | `pa:skip-checkpoint` | Skip checkpoint |
593
601
 
602
+ ### AI Platform Management
603
+ | Command | Action | Prompt File |
604
+ |---------|--------|-------------|
605
+ | `pa:ai-list` | Show installed AI platforms | `./prompts/ai-list.md` |
606
+ | `pa:ai-add` | Add AI platform | `./prompts/ai-add.md` |
607
+ | `pa:ai-remove` | Remove AI platform | `./prompts/ai-remove.md` |
608
+ | `pa:ai-sync` | Sync config with files | `./prompts/ai-sync.md` |
609
+
594
610
  ### History & Progress
595
611
  | Command | Action |
596
612
  |---------|--------|
@@ -598,6 +614,42 @@ Auto-detect issue numbers from user input and include in changelog:
598
614
  | `pa:progress` | Show feature progress |
599
615
  | `pa:activity` | **Show ALL AI platforms activity** (cross-AI visibility) |
600
616
 
617
+ ### Navigation & Flow
618
+ | Command | Action |
619
+ |---------|--------|
620
+ | `pa:next` | Show next step in workflow |
621
+ | `pa:back` | Go to previous phase |
622
+ | `pa:resume` | Resume last session |
623
+ | `pa:skip` | Skip current phase |
624
+ | `pa:lock-release` | Release lock after work |
625
+
626
+ ### Quality & Metrics
627
+ | Command | Action |
628
+ |---------|--------|
629
+ | `pa:metrics` | Show code quality metrics |
630
+ | `pa:coverage` | Show test coverage report |
631
+ | `pa:perf` | Performance analysis |
632
+ | `pa:a11y` | Accessibility audit |
633
+
634
+ ### Code Generation
635
+ | Command | Action |
636
+ |---------|--------|
637
+ | `pa:generate-component "name"` | Generate component from template |
638
+ | `pa:generate-api "name"` | Generate API endpoint |
639
+ | `pa:generate-test "file"` | Generate test file |
640
+
641
+ ### Refactoring
642
+ | Command | Action |
643
+ |---------|--------|
644
+ | `pa:rename "old" "new"` | Rename across codebase |
645
+ | `pa:cleanup` | Remove dead code, unused imports |
646
+
647
+ ### Git & Release
648
+ | Command | Action |
649
+ |---------|--------|
650
+ | `pa:version` | Show/bump version |
651
+ | `pa:github-pr` | Create pull request |
652
+
601
653
  ---
602
654
 
603
655
  ## How to Execute Commands
@@ -635,6 +687,10 @@ When user types a `pa:` command:
635
687
  | `pa:rnd-compare` | `./prompts/12-rnd.md` |
636
688
  | `pa:rnd-poc` | `./prompts/12-rnd.md` |
637
689
  | `pa:rnd-explore` | `./prompts/12-rnd.md` |
690
+ | `pa:ai-list` | `./prompts/ai-list.md` |
691
+ | `pa:ai-add` | `./prompts/ai-add.md` |
692
+ | `pa:ai-remove` | `./prompts/ai-remove.md` |
693
+ | `pa:ai-sync` | `./prompts/ai-sync.md` |
638
694
 
639
695
  ---
640
696
 
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45
 
@@ -2,29 +2,44 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## ⚠️ MANDATORY: Every pa: Command Flow
5
+ > **IMPORTANT:** `pa:` commands are **AI directives**, NOT shell/terminal commands.
6
+ > When user types ANY `pa:` command (e.g., `pa:feature`, `pa:fix`, `pa:status`),
7
+ > DO NOT try to run it in terminal. Instead, follow the instructions below.
6
8
 
7
- ### BEFORE Any pa: Command (Auto-Sync)
9
+ ## Auto-Sync Protocol
8
10
 
9
- **Read these files FIRST before doing anything:**
11
+ ### Rule: Sync for commands that WRITE, skip for commands that READ
10
12
 
13
+ ### Workflow Commands (Auto-Sync Required)
14
+
15
+ Commands that CREATE or MODIFY code/content need context:
16
+
17
+ **BEFORE these commands, read:**
11
18
  ```bash
12
19
  cat .proagents/worklog/_context.md # Current state
13
20
  cat .proagents/changelog/_recent.md # Recent changes
14
21
  tail -10 .proagents/activity.log # Recent activity
15
22
  ```
16
23
 
17
- **This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
24
+ **Examples:** `pa:feature`, `pa:fix`, `pa:implement`, `pa:analyze`,
25
+ `pa:design`, `pa:plan`, `pa:test`, `pa:review`, `pa:doc`, `pa:deploy`,
26
+ `pa:rnd`, `pa:refactor`, `pa:debug`, `pa:qa`, `pa:changelog`, `pa:release`, `pa:resume`,
27
+ `pa:session-start`, `pa:session-end`
18
28
 
19
- ### AFTER Any pa: Command (Auto-Log)
29
+ ### Utility Commands (No Sync Required)
20
30
 
21
- **After EVERY file edit, IMMEDIATELY update these files:**
31
+ Commands that only READ, DISPLAY, or CONFIGURE:
32
+ - **Skip BEFORE step** - No context reading needed
33
+ - **Skip AFTER step** - No logging needed
22
34
 
23
- 1. `.proagents/changelog/_recent.md` - Prepend change summary
24
- 2. `.proagents/changelog/modules/[module].md` - Based on file path
25
- 3. `.proagents/worklog/_context.md` - Update current state
35
+ **Examples:** `pa:help`, `pa:status`, `pa:progress`, `pa:history`,
36
+ `pa:ai-*`, `pa:config-*`, `pa:sync`
26
37
 
27
- Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui
38
+ ### AFTER Workflow Commands (Auto-Log)
39
+
40
+ **After commands that CHANGE files, update:**
41
+ 1. `.proagents/changelog/_recent.md` - Prepend change summary
42
+ 2. `.proagents/worklog/_context.md` - Update current state
28
43
 
29
44
  ## Essential Commands
30
45