proagents 1.6.18 → 1.6.20
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/.claude/settings.local.json +13 -1
- package/.proagents/.cursorrules +25 -10
- package/.proagents/.windsurfrules +25 -10
- package/.proagents/AGENTS.md +32 -11
- package/.proagents/AI_INSTRUCTIONS.md +99 -30
- package/.proagents/BOLT.md +27 -10
- package/.proagents/CLAUDE.md +27 -10
- package/.proagents/GEMINI.md +27 -10
- package/.proagents/KIRO.md +27 -10
- package/.proagents/LOVABLE.md +27 -10
- package/.proagents/PROAGENTS.md +96 -341
- package/.proagents/REPLIT.md +27 -10
- package/.proagents/activity.log +1 -0
- package/.proagents/platforms.yaml +66 -0
- package/.proagents/prompts/00-project-setup.md +878 -0
- package/.proagents/prompts/04-planning.md +38 -0
- package/.proagents/prompts/12-rnd.md +957 -0
- package/.proagents/prompts/ai-add.md +80 -0
- package/.proagents/prompts/ai-list.md +41 -0
- package/.proagents/prompts/ai-remove.md +112 -0
- package/.proagents/prompts/ai-sync.md +96 -0
- package/.proagents/workflow-modes/entry-modes.md +27 -0
- package/.proagents/worklog/_context.template.md +47 -0
- package/COMMANDS.md +59 -0
- package/README.md +3 -1
- package/lib/commands/ai.js +100 -48
- package/lib/commands/init.js +32 -14
- package/package.json +1 -1
- package/.proagents/ANTIGRAVITY.md +0 -59
- package/.proagents/CHATGPT.md +0 -55
- package/.proagents/GROQ.md +0 -55
package/.proagents/KIRO.md
CHANGED
|
@@ -2,29 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
This project uses ProAgents - an AI-agnostic development workflow framework.
|
|
4
4
|
|
|
5
|
-
|
|
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
|
-
|
|
9
|
+
## Auto-Sync Protocol
|
|
8
10
|
|
|
9
|
-
|
|
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
|
-
**
|
|
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
|
-
###
|
|
29
|
+
### Utility Commands (No Sync Required)
|
|
20
30
|
|
|
21
|
-
|
|
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
|
-
|
|
24
|
-
|
|
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
|
-
|
|
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
|
|
|
@@ -32,6 +47,8 @@ Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→u
|
|
|
32
47
|
|---------|--------|
|
|
33
48
|
| `pa:feature "name"` | Start new feature workflow |
|
|
34
49
|
| `pa:fix "bug"` | Quick bug fix mode |
|
|
50
|
+
| `pa:project-setup` | Interactive project setup wizard |
|
|
51
|
+
| `pa:rnd` | Research & Development workflow |
|
|
35
52
|
| `pa:doc` | Documentation options |
|
|
36
53
|
| `pa:qa` | Quality assurance checks |
|
|
37
54
|
| `pa:test` | Run test workflow |
|
package/.proagents/LOVABLE.md
CHANGED
|
@@ -2,29 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
This project uses ProAgents - an AI-agnostic development workflow framework.
|
|
4
4
|
|
|
5
|
-
|
|
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
|
-
|
|
9
|
+
## Auto-Sync Protocol
|
|
8
10
|
|
|
9
|
-
|
|
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
|
-
**
|
|
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
|
-
###
|
|
29
|
+
### Utility Commands (No Sync Required)
|
|
20
30
|
|
|
21
|
-
|
|
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
|
-
|
|
24
|
-
|
|
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
|
-
|
|
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
|
|
|
@@ -32,6 +47,8 @@ Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→u
|
|
|
32
47
|
|---------|--------|
|
|
33
48
|
| `pa:feature "name"` | Start new feature workflow |
|
|
34
49
|
| `pa:fix "bug"` | Quick bug fix mode |
|
|
50
|
+
| `pa:project-setup` | Interactive project setup wizard |
|
|
51
|
+
| `pa:rnd` | Research & Development workflow |
|
|
35
52
|
| `pa:doc` | Documentation options |
|
|
36
53
|
| `pa:qa` | Quality assurance checks |
|
|
37
54
|
| `pa:test` | Run test workflow |
|
package/.proagents/PROAGENTS.md
CHANGED
|
@@ -1,371 +1,126 @@
|
|
|
1
1
|
# ProAgents Commands
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Quick reference for all `pa:` commands.
|
|
4
4
|
|
|
5
5
|
## Quick Aliases
|
|
6
|
-
`pa:f` → feature | `pa:s` → status | `pa:h` → help | `pa:d` → doc | `pa:t` → test | `pa:q` → qa | `pa:a` → analyze | `pa:r` → requirements | `pa:p` → plan | `pa:i` → implement
|
|
7
|
-
|
|
8
|
-
> **Multi-AI Note:** Multiple AIs may work on this project. Context loading and logging is AUTOMATIC.
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## ⚠️ MANDATORY: Every pa: Command Flow
|
|
13
|
-
|
|
14
|
-
### BEFORE Any pa: Command (Auto-Sync)
|
|
15
|
-
|
|
16
|
-
**AI MUST read these files FIRST before doing anything:**
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
cat .proagents/worklog/_context.md # Current state
|
|
20
|
-
cat .proagents/changelog/_recent.md # Recent changes
|
|
21
|
-
tail -10 .proagents/activity.log # Recent activity
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
**This applies to EVERY command:** `pa:fix`, `pa:feature`, `pa:test`, `pa:doc`, etc.
|
|
25
6
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
**AI MUST update these files IMMEDIATELY after any code change:**
|
|
29
|
-
|
|
30
|
-
```
|
|
31
|
-
1. .proagents/changelog/_recent.md ← Prepend change summary
|
|
32
|
-
2. .proagents/worklog/_context.md ← Update Quick Summary
|
|
33
|
-
3. .proagents/changelog/modules/X.md ← Based on file path
|
|
34
|
-
4. .proagents/activity.log ← Log the command
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Example: pa:fix "login bug"
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
STEP 1: Read _context.md, _recent.md, activity.log ← SYNC FIRST
|
|
41
|
-
STEP 2: Find and fix the bug ← DO THE WORK
|
|
42
|
-
STEP 3: Prepend fix to _recent.md ← LOG CHANGE
|
|
43
|
-
STEP 4: Update _context.md Quick Summary ← UPDATE CONTEXT
|
|
44
|
-
STEP 5: Append to activity.log ← LOG ACTIVITY
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
**Module detection:** `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→ui, `src/services/*`→services
|
|
7
|
+
`pa:f` → feature | `pa:s` → status | `pa:h` → help | `pa:d` → doc | `pa:t` → test | `pa:q` → qa | `pa:a` → analyze | `pa:r` → requirements | `pa:p` → plan | `pa:i` → implement
|
|
48
8
|
|
|
49
9
|
---
|
|
50
10
|
|
|
51
|
-
## Commands
|
|
52
|
-
|
|
53
|
-
| Command |
|
|
54
|
-
|
|
55
|
-
| `pa:help` |
|
|
56
|
-
| `pa:feature "name"` |
|
|
57
|
-
| `pa:fix "description"` |
|
|
58
|
-
| `pa:
|
|
59
|
-
| `pa:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
|
64
|
-
|
|
65
|
-
| `pa:
|
|
66
|
-
| `pa:
|
|
67
|
-
| `pa:
|
|
68
|
-
| `pa:
|
|
69
|
-
| `pa:
|
|
70
|
-
| `pa:
|
|
71
|
-
| `pa:
|
|
72
|
-
| `pa:
|
|
73
|
-
| `pa:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
|
78
|
-
|
|
79
|
-
| `pa:
|
|
80
|
-
| `pa:
|
|
81
|
-
| `pa:
|
|
82
|
-
| `pa:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
|
91
|
-
|
|
92
|
-
| `pa:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
|
101
|
-
|
|
102
|
-
| `pa:
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
|
107
|
-
|
|
108
|
-
| `pa:
|
|
109
|
-
| `pa:
|
|
110
|
-
| `pa:
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
| Command | What to Do |
|
|
115
|
-
|---------|------------|
|
|
116
|
-
| `pa:sprint-start` | Start new sprint → `./.proagents/sprints/` |
|
|
117
|
-
| `pa:sprint-end` | End sprint with summary |
|
|
118
|
-
| `pa:estimate` | Estimate task complexity (S/M/L/XL) |
|
|
119
|
-
| `pa:velocity` | Show velocity metrics |
|
|
120
|
-
|
|
121
|
-
## Integration
|
|
122
|
-
|
|
123
|
-
| Command | What to Do |
|
|
124
|
-
|---------|------------|
|
|
125
|
-
| `pa:github` | GitHub commands (issue, PR) |
|
|
126
|
-
| `pa:github-pr` | Create pull request |
|
|
127
|
-
| `pa:jira` | Sync with Jira ticket |
|
|
128
|
-
| `pa:notify` | Send notification (Slack/email) |
|
|
129
|
-
|
|
130
|
-
## Code Quality
|
|
131
|
-
|
|
132
|
-
| Command | What to Do |
|
|
133
|
-
|---------|------------|
|
|
134
|
-
| `pa:metrics` | Show code quality metrics |
|
|
135
|
-
| `pa:coverage` | Show test coverage report |
|
|
136
|
-
| `pa:deps` | Analyze dependencies |
|
|
137
|
-
| `pa:deps-outdated` | Find outdated packages |
|
|
138
|
-
| `pa:deps-security` | Security scan dependencies |
|
|
11
|
+
## Core Commands
|
|
12
|
+
|
|
13
|
+
| Command | Description |
|
|
14
|
+
|---------|-------------|
|
|
15
|
+
| `pa:help` | Show all commands with examples |
|
|
16
|
+
| `pa:feature "name"` | Start new feature workflow |
|
|
17
|
+
| `pa:fix "description"` | Quick bug fix |
|
|
18
|
+
| `pa:status` | Show current progress |
|
|
19
|
+
| `pa:project-setup` | Interactive project setup |
|
|
20
|
+
|
|
21
|
+
## Workflow Phases
|
|
22
|
+
|
|
23
|
+
| Command | Description |
|
|
24
|
+
|---------|-------------|
|
|
25
|
+
| `pa:analyze` | Code analysis |
|
|
26
|
+
| `pa:requirements` | Gather requirements |
|
|
27
|
+
| `pa:design` | UI/Architecture design |
|
|
28
|
+
| `pa:plan` | Implementation plan |
|
|
29
|
+
| `pa:implement` | Write code |
|
|
30
|
+
| `pa:test` | Run tests |
|
|
31
|
+
| `pa:review` | Code review |
|
|
32
|
+
| `pa:doc` | Documentation |
|
|
33
|
+
| `pa:deploy` | Deployment checklist |
|
|
34
|
+
|
|
35
|
+
## AI Platform Management
|
|
36
|
+
|
|
37
|
+
| Command | Prompt File |
|
|
38
|
+
|---------|-------------|
|
|
39
|
+
| `pa:ai-list` | `./prompts/ai-list.md` |
|
|
40
|
+
| `pa:ai-add` | `./prompts/ai-add.md` |
|
|
41
|
+
| `pa:ai-remove` | `./prompts/ai-remove.md` |
|
|
42
|
+
| `pa:ai-sync` | `./prompts/ai-sync.md` |
|
|
43
|
+
|
|
44
|
+
## Navigation
|
|
45
|
+
|
|
46
|
+
| Command | Description |
|
|
47
|
+
|---------|-------------|
|
|
48
|
+
| `pa:next` | Next step in workflow |
|
|
49
|
+
| `pa:resume` | Resume last session |
|
|
50
|
+
| `pa:skip` | Skip current phase |
|
|
51
|
+
| `pa:back` | Go to previous phase |
|
|
52
|
+
| `pa:progress` | Show progress |
|
|
53
|
+
|
|
54
|
+
## Multi-AI Collaboration
|
|
55
|
+
|
|
56
|
+
| Command | Description |
|
|
57
|
+
|---------|-------------|
|
|
58
|
+
| `pa:activity` | Show all AI activity |
|
|
59
|
+
| `pa:lock` | Check lock status |
|
|
60
|
+
| `pa:lock-release` | Release lock |
|
|
61
|
+
| `pa:handoff` | Create handoff notes |
|
|
62
|
+
| `pa:session-end` | End session with summary |
|
|
63
|
+
|
|
64
|
+
## Quality & Testing
|
|
65
|
+
|
|
66
|
+
| Command | Description |
|
|
67
|
+
|---------|-------------|
|
|
68
|
+
| `pa:qa` | Quality dashboard |
|
|
69
|
+
| `pa:metrics` | Code metrics |
|
|
70
|
+
| `pa:coverage` | Test coverage |
|
|
71
|
+
| `pa:a11y` | Accessibility audit |
|
|
72
|
+
| `pa:perf` | Performance analysis |
|
|
139
73
|
|
|
140
74
|
## Code Generation
|
|
141
75
|
|
|
142
|
-
| Command |
|
|
143
|
-
|
|
144
|
-
| `pa:generate` |
|
|
145
|
-
| `pa:generate-component "name"` | Generate component from template |
|
|
76
|
+
| Command | Description |
|
|
77
|
+
|---------|-------------|
|
|
78
|
+
| `pa:generate-component "name"` | Generate component |
|
|
146
79
|
| `pa:generate-api "name"` | Generate API endpoint |
|
|
147
80
|
| `pa:generate-test "file"` | Generate test file |
|
|
148
81
|
|
|
149
82
|
## Refactoring
|
|
150
83
|
|
|
151
|
-
| Command |
|
|
152
|
-
|
|
153
|
-
| `pa:refactor` | Suggest refactoring
|
|
84
|
+
| Command | Description |
|
|
85
|
+
|---------|-------------|
|
|
86
|
+
| `pa:refactor` | Suggest refactoring |
|
|
154
87
|
| `pa:rename "old" "new"` | Rename across codebase |
|
|
155
|
-
| `pa:
|
|
156
|
-
| `pa:cleanup` | Remove dead code, unused imports |
|
|
157
|
-
|
|
158
|
-
## Time Tracking
|
|
159
|
-
|
|
160
|
-
| Command | What to Do |
|
|
161
|
-
|---------|------------|
|
|
162
|
-
| `pa:time-start` | Start tracking → `./.proagents/time-tracking.json` |
|
|
163
|
-
| `pa:time-stop` | Stop tracking, save duration |
|
|
164
|
-
| `pa:time-report` | Show time report by feature |
|
|
165
|
-
|
|
166
|
-
## Environment & Setup
|
|
167
|
-
|
|
168
|
-
| Command | What to Do |
|
|
169
|
-
|---------|------------|
|
|
170
|
-
| `pa:env-check` | Verify environment setup |
|
|
171
|
-
| `pa:env-setup` | Setup dev environment |
|
|
172
|
-
| `pa:secrets-scan` | Scan for exposed secrets |
|
|
88
|
+
| `pa:cleanup` | Remove dead code |
|
|
173
89
|
|
|
174
|
-
##
|
|
175
|
-
|
|
176
|
-
| Command | What to Do |
|
|
177
|
-
|---------|------------|
|
|
178
|
-
| `pa:db-migrate` | Run database migrations |
|
|
179
|
-
| `pa:db-seed` | Seed with test data |
|
|
180
|
-
| `pa:db-reset` | Reset database (caution!) |
|
|
181
|
-
|
|
182
|
-
## Accessibility & Performance
|
|
183
|
-
|
|
184
|
-
| Command | What to Do |
|
|
185
|
-
|---------|------------|
|
|
186
|
-
| `pa:a11y` | Run accessibility audit |
|
|
187
|
-
| `pa:lighthouse` | Run Lighthouse audit |
|
|
188
|
-
| `pa:perf` | Performance analysis |
|
|
90
|
+
## Git & Release
|
|
189
91
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
|
193
|
-
|
|
194
|
-
| `pa:export` | Export config/data → JSON file |
|
|
195
|
-
| `pa:import` | Import from export file |
|
|
196
|
-
| `pa:backup` | Backup proagents folder |
|
|
197
|
-
|
|
198
|
-
## Learning & AI
|
|
199
|
-
|
|
200
|
-
| Command | What to Do |
|
|
201
|
-
|---------|------------|
|
|
202
|
-
| `pa:learn "pattern"` | Teach AI a pattern → saves to `.proagents/.learning/` |
|
|
203
|
-
| `pa:forget "pattern"` | Remove learned pattern from learning data |
|
|
204
|
-
| `pa:learning` | Show learning report: patterns, corrections, preferences |
|
|
205
|
-
| `pa:suggestions` | Show AI suggestions based on learned patterns |
|
|
206
|
-
|
|
207
|
-
## API & Documentation
|
|
208
|
-
|
|
209
|
-
| Command | What to Do |
|
|
210
|
-
|---------|------------|
|
|
211
|
-
| `pa:api-docs` | Generate OpenAPI/Swagger documentation |
|
|
212
|
-
| `pa:storybook` | Generate Storybook stories |
|
|
213
|
-
| `pa:readme` | Auto-generate/update README.md |
|
|
214
|
-
| `pa:types` | Generate TypeScript types/interfaces |
|
|
215
|
-
|
|
216
|
-
## Git Advanced
|
|
217
|
-
|
|
218
|
-
| Command | What to Do |
|
|
219
|
-
|---------|------------|
|
|
220
|
-
| `pa:branch` | Branch management (list, create, clean) |
|
|
221
|
-
| `pa:merge` | Smart merge with conflict preview |
|
|
222
|
-
| `pa:conflict` | Resolve merge conflicts with AI |
|
|
223
|
-
| `pa:changelog-gen` | Auto-generate changelog from commits |
|
|
224
|
-
|
|
225
|
-
## Search & Navigation
|
|
226
|
-
|
|
227
|
-
| Command | What to Do |
|
|
228
|
-
|---------|------------|
|
|
229
|
-
| `pa:find "pattern"` | Find code patterns/usage |
|
|
230
|
-
| `pa:todo` | Find and list all TODOs in code |
|
|
231
|
-
| `pa:fixme` | Find FIXMEs and critical issues |
|
|
232
|
-
| `pa:unused` | Find unused code/exports |
|
|
233
|
-
| `pa:unused-deps` | Find unused dependencies |
|
|
234
|
-
|
|
235
|
-
## Code Analysis
|
|
236
|
-
|
|
237
|
-
| Command | What to Do |
|
|
238
|
-
|---------|------------|
|
|
239
|
-
| `pa:complexity` | Cyclomatic complexity analysis |
|
|
240
|
-
| `pa:duplication` | Find duplicate code blocks |
|
|
241
|
-
| `pa:hotspots` | Find frequently changed files |
|
|
242
|
-
|
|
243
|
-
## Testing Advanced
|
|
244
|
-
|
|
245
|
-
| Command | What to Do |
|
|
246
|
-
|---------|------------|
|
|
247
|
-
| `pa:test-e2e` | Create/run E2E tests |
|
|
248
|
-
| `pa:test-unit` | Generate unit tests |
|
|
249
|
-
| `pa:mock` | Generate mocks/stubs |
|
|
250
|
-
| `pa:snapshot` | Snapshot testing management |
|
|
251
|
-
|
|
252
|
-
## DevOps & Infrastructure
|
|
253
|
-
|
|
254
|
-
| Command | What to Do |
|
|
255
|
-
|---------|------------|
|
|
256
|
-
| `pa:docker` | Docker commands (build, compose) |
|
|
257
|
-
| `pa:ci` | CI/CD pipeline status/management |
|
|
258
|
-
| `pa:deploy-preview` | Deploy to preview environment |
|
|
259
|
-
|
|
260
|
-
## Release Management
|
|
261
|
-
|
|
262
|
-
| Command | What to Do |
|
|
263
|
-
|---------|------------|
|
|
92
|
+
| Command | Description |
|
|
93
|
+
|---------|-------------|
|
|
94
|
+
| `pa:changelog` | Update CHANGELOG.md |
|
|
95
|
+
| `pa:release` | Generate release notes |
|
|
264
96
|
| `pa:version` | Show/bump version |
|
|
265
|
-
| `pa:
|
|
266
|
-
| `pa:publish` | Publish package to registry |
|
|
267
|
-
|
|
268
|
-
## Code Review & PR
|
|
269
|
-
|
|
270
|
-
| Command | What to Do |
|
|
271
|
-
|---------|------------|
|
|
272
|
-
| `pa:review-request` | Request code review from team |
|
|
273
|
-
| `pa:review-comments` | Show PR review comments |
|
|
274
|
-
| `pa:review-approve` | Approve current PR |
|
|
275
|
-
|
|
276
|
-
## Architecture
|
|
277
|
-
|
|
278
|
-
| Command | What to Do |
|
|
279
|
-
|---------|------------|
|
|
280
|
-
| `pa:architecture` | Show architecture overview |
|
|
281
|
-
| `pa:architecture-diagram` | Generate architecture diagram (Mermaid) |
|
|
282
|
-
| `pa:architecture-export` | Export diagram (SVG/PNG) |
|
|
283
|
-
|
|
284
|
-
## API Testing
|
|
285
|
-
|
|
286
|
-
| Command | What to Do |
|
|
287
|
-
|---------|------------|
|
|
288
|
-
| `pa:api-test` | Test API endpoints |
|
|
289
|
-
| `pa:curl` | Generate curl commands for endpoints |
|
|
290
|
-
| `pa:postman` | Generate Postman collection |
|
|
97
|
+
| `pa:github-pr` | Create pull request |
|
|
291
98
|
|
|
292
|
-
##
|
|
99
|
+
## Research & Development
|
|
293
100
|
|
|
294
|
-
| Command |
|
|
295
|
-
|
|
296
|
-
| `pa:
|
|
297
|
-
| `pa:
|
|
298
|
-
| `pa:
|
|
101
|
+
| Command | Description |
|
|
102
|
+
|---------|-------------|
|
|
103
|
+
| `pa:rnd` | R&D workflow |
|
|
104
|
+
| `pa:rnd-compare` | Compare solutions |
|
|
105
|
+
| `pa:rnd-poc` | Build prototype |
|
|
299
106
|
|
|
300
|
-
##
|
|
107
|
+
## Learning & Feedback
|
|
301
108
|
|
|
302
|
-
| Command |
|
|
303
|
-
|
|
304
|
-
| `pa:
|
|
305
|
-
| `pa:
|
|
306
|
-
| `pa:
|
|
307
|
-
| `pa:
|
|
109
|
+
| Command | Description |
|
|
110
|
+
|---------|-------------|
|
|
111
|
+
| `pa:learn "pattern"` | Teach AI a pattern |
|
|
112
|
+
| `pa:feedback "desc"` | Log feedback |
|
|
113
|
+
| `pa:decision "title"` | Log decision |
|
|
114
|
+
| `pa:error "desc"` | Log error & solution |
|
|
308
115
|
|
|
309
|
-
|
|
116
|
+
---
|
|
310
117
|
|
|
311
|
-
|
|
312
|
-
|---------|------------|
|
|
313
|
-
| `pa:test-mobile` | Run full mobile test suite (unit, component, E2E, visual) |
|
|
314
|
-
| `pa:test-mobile "feature"` | Test specific feature only |
|
|
315
|
-
| `pa:test-visual` | Visual/design comparison testing |
|
|
316
|
-
| `pa:test-auto-fix` | Auto-fix failing tests |
|
|
317
|
-
| `pa:test-loop` | Test → Fix → Retest loop until all pass |
|
|
318
|
-
| `pa:compare-figma` | Compare UI against Figma design |
|
|
319
|
-
| `pa:compare-image "path"` | Compare UI against image/sketch |
|
|
320
|
-
| `pa:screenshot` | Take app screenshots for comparison |
|
|
118
|
+
## Full Documentation
|
|
321
119
|
|
|
322
|
-
|
|
120
|
+
For complete instructions, auto-sync protocol, and workflows:
|
|
323
121
|
|
|
324
122
|
| File | Purpose |
|
|
325
123
|
|------|---------|
|
|
326
|
-
|
|
|
327
|
-
|
|
|
328
|
-
|
|
|
329
|
-
| `./.proagents/errors.md` | Past errors and solutions |
|
|
330
|
-
| `./.proagents/decisions.md` | Architectural decisions and reasoning |
|
|
331
|
-
|
|
332
|
-
## Feature Workflow
|
|
333
|
-
|
|
334
|
-
`pa:feature` runs all phases, or run individually:
|
|
335
|
-
|
|
336
|
-
| Phase | Command | Action |
|
|
337
|
-
|-------|---------|--------|
|
|
338
|
-
| 1. Init | `pa:feature "name"` | Create tracking files |
|
|
339
|
-
| 2. Analysis | `pa:analyze` | Understand existing code |
|
|
340
|
-
| 3. Requirements | `pa:requirements` | Define what to build |
|
|
341
|
-
| 4. Design | `pa:design` | Plan UI/architecture |
|
|
342
|
-
| 5. Planning | `pa:plan` | Create implementation plan |
|
|
343
|
-
| 6. Implementation | `pa:implement` | Write code |
|
|
344
|
-
| 7. Testing | `pa:test` | Create/run tests |
|
|
345
|
-
| 8. Review | `pa:review` | Quality check |
|
|
346
|
-
| 9. Documentation | `pa:doc` | Update docs |
|
|
347
|
-
| 10. Deployment | `pa:deploy` | Interactive deployment checklist |
|
|
348
|
-
|
|
349
|
-
## Save Locations
|
|
350
|
-
|
|
351
|
-
| Document | Location |
|
|
352
|
-
|----------|----------|
|
|
353
|
-
| Changelog | `./CHANGELOG.md` |
|
|
354
|
-
| Release Notes | `./RELEASE_NOTES.md` |
|
|
355
|
-
| Feature Status | `./.proagents/active-features/` |
|
|
356
|
-
|
|
357
|
-
## Examples
|
|
358
|
-
|
|
359
|
-
```
|
|
360
|
-
User: pa:feature "add user login"
|
|
361
|
-
→ Create feature, analyze codebase, guide implementation
|
|
362
|
-
|
|
363
|
-
User: pa:fix "submit button not working"
|
|
364
|
-
→ Find issue, fix it, update changelog
|
|
365
|
-
|
|
366
|
-
User: pa:status
|
|
367
|
-
→ Show active features and progress
|
|
368
|
-
|
|
369
|
-
User: pa:help
|
|
370
|
-
→ Show all available commands
|
|
371
|
-
```
|
|
124
|
+
| `.proagents/AI_INSTRUCTIONS.md` | Complete AI instructions |
|
|
125
|
+
| `.proagents/WORKFLOW.md` | Full 10-phase workflow |
|
|
126
|
+
| `.proagents/prompts/` | Phase-specific prompts |
|
package/.proagents/REPLIT.md
CHANGED
|
@@ -2,29 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
This project uses ProAgents - an AI-agnostic development workflow framework.
|
|
4
4
|
|
|
5
|
-
|
|
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
|
-
|
|
9
|
+
## Auto-Sync Protocol
|
|
8
10
|
|
|
9
|
-
|
|
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
|
-
**
|
|
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
|
-
###
|
|
29
|
+
### Utility Commands (No Sync Required)
|
|
20
30
|
|
|
21
|
-
|
|
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
|
-
|
|
24
|
-
|
|
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
|
-
|
|
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
|
|
|
@@ -32,6 +47,8 @@ Module detection: `src/api/*`→api, `src/auth/*`→auth, `src/components/*`→u
|
|
|
32
47
|
|---------|--------|
|
|
33
48
|
| `pa:feature "name"` | Start new feature workflow |
|
|
34
49
|
| `pa:fix "bug"` | Quick bug fix mode |
|
|
50
|
+
| `pa:project-setup` | Interactive project setup wizard |
|
|
51
|
+
| `pa:rnd` | Research & Development workflow |
|
|
35
52
|
| `pa:doc` | Documentation options |
|
|
36
53
|
| `pa:qa` | Quality assurance checks |
|
|
37
54
|
| `pa:test` | Run test workflow |
|
package/.proagents/activity.log
CHANGED