proagents 1.0.17 → 1.0.18
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/README.md +249 -76
- package/bin/proagents.js +17 -0
- package/lib/commands/doctor.js +305 -0
- package/lib/commands/init.js +173 -4
- package/lib/commands/upgrade.js +180 -0
- package/package.json +1 -1
- package/proagents/AI_INSTRUCTIONS.md +254 -9
- package/proagents/PROAGENTS.md +25 -1
- package/proagents/activity.log +11 -0
- package/proagents/context.md +39 -0
- package/proagents/custom-commands.yaml +59 -0
- package/proagents/decisions.md +43 -0
- package/proagents/errors.md +36 -0
- package/proagents/feedback.md +49 -0
- package/proagents/handoff.md +33 -0
- package/proagents/history.log +12 -0
- package/proagents/sessions/README.md +5 -0
- package/proagents/watchlist.yaml +39 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**AI-Agnostic Development Workflow Framework**
|
|
4
4
|
|
|
5
|
-
A portable, universal development workflow framework that
|
|
5
|
+
A portable, universal development workflow framework that works with **any AI platform** (Claude, ChatGPT, Gemini, Cursor, Copilot, etc.) and enables **multi-AI collaboration** on the same project.
|
|
6
6
|
|
|
7
7
|
[](https://opensource.org/licenses/MIT)
|
|
8
8
|
[](https://www.npmjs.com/package/proagents)
|
|
@@ -12,48 +12,43 @@ A portable, universal development workflow framework that automates the full sof
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
#
|
|
16
|
-
npm install -g proagents
|
|
17
|
-
|
|
18
|
-
# Or use directly with npx
|
|
15
|
+
# Initialize in your project
|
|
19
16
|
npx proagents init
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
---
|
|
23
17
|
|
|
24
|
-
|
|
18
|
+
# Or with a template
|
|
19
|
+
npx proagents init --template nextjs-saas
|
|
25
20
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- **Flexible entry points** - Full workflow, bug fix mode, or quick changes
|
|
21
|
+
# Install globally (optional)
|
|
22
|
+
npm install -g proagents
|
|
23
|
+
```
|
|
30
24
|
|
|
31
25
|
---
|
|
32
26
|
|
|
33
27
|
## Quick Start
|
|
34
28
|
|
|
35
|
-
### 1. Initialize ProAgents
|
|
29
|
+
### 1. Initialize ProAgents
|
|
36
30
|
|
|
37
31
|
```bash
|
|
38
32
|
cd your-project
|
|
39
33
|
npx proagents init
|
|
40
34
|
```
|
|
41
35
|
|
|
42
|
-
|
|
36
|
+
This creates a `./proagents/` folder with workflow files, and prompts for:
|
|
37
|
+
- Project name and type (auto-detected)
|
|
38
|
+
- Tech stack (API style, database, styling, auth, etc.)
|
|
39
|
+
- AI platforms to use (Claude, Cursor, Gemini, etc.)
|
|
43
40
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
```
|
|
41
|
+
### 2. Use Commands in Any AI
|
|
42
|
+
|
|
43
|
+
Type `pa:` commands in your AI assistant:
|
|
48
44
|
|
|
49
|
-
**Using AI assistant (Claude, ChatGPT, etc.):**
|
|
50
45
|
```
|
|
51
46
|
pa:feature "Add user authentication"
|
|
47
|
+
pa:fix "Login button not working"
|
|
48
|
+
pa:status
|
|
52
49
|
```
|
|
53
50
|
|
|
54
|
-
### 3.
|
|
55
|
-
|
|
56
|
-
The AI guides you through 10 phases:
|
|
51
|
+
### 3. AI Follows the Guided Workflow
|
|
57
52
|
|
|
58
53
|
```
|
|
59
54
|
Init → Analysis → Requirements → Design → Planning →
|
|
@@ -62,84 +57,253 @@ Implementation → Testing → Review → Documentation → Deployment
|
|
|
62
57
|
|
|
63
58
|
---
|
|
64
59
|
|
|
65
|
-
##
|
|
60
|
+
## Features
|
|
61
|
+
|
|
62
|
+
### Multi-AI Collaboration
|
|
63
|
+
|
|
64
|
+
Multiple AIs can work on the same project without conflicts:
|
|
65
|
+
|
|
66
|
+
| Feature | Description |
|
|
67
|
+
|---------|-------------|
|
|
68
|
+
| **Activity Log** | Track what each AI does with model name |
|
|
69
|
+
| **Lock File** | Prevent conflicts during major work |
|
|
70
|
+
| **Handoff Notes** | Pass context between AI sessions |
|
|
71
|
+
| **Conflict Detection** | Warn before overwriting another AI's changes |
|
|
72
|
+
| **Session Summaries** | Auto-generate summary at session end |
|
|
73
|
+
|
|
74
|
+
### Project Templates
|
|
75
|
+
|
|
76
|
+
Pre-configured settings for common stacks:
|
|
66
77
|
|
|
67
78
|
```bash
|
|
68
|
-
proagents init
|
|
69
|
-
proagents
|
|
70
|
-
proagents
|
|
71
|
-
proagents
|
|
72
|
-
proagents
|
|
73
|
-
proagents
|
|
74
|
-
proagents
|
|
79
|
+
npx proagents init --template nextjs-saas # Next.js SaaS
|
|
80
|
+
npx proagents init --template react-spa # React SPA
|
|
81
|
+
npx proagents init --template react-native-app # React Native
|
|
82
|
+
npx proagents init --template express-api # Express API
|
|
83
|
+
npx proagents init --template nestjs-api # NestJS API
|
|
84
|
+
npx proagents init --template vue-spa # Vue.js SPA
|
|
85
|
+
npx proagents init --template python-fastapi # Python FastAPI
|
|
86
|
+
|
|
87
|
+
npx proagents init --list-templates # Show all templates
|
|
75
88
|
```
|
|
76
89
|
|
|
90
|
+
### AI Learning & Feedback
|
|
91
|
+
|
|
92
|
+
- **Feedback Log** - AI learns from corrections, doesn't repeat mistakes
|
|
93
|
+
- **Error Tracker** - Log errors and solutions for future reference
|
|
94
|
+
- **Decision Log** - Track architectural decisions with reasoning
|
|
95
|
+
- **Context File** - Persistent project knowledge AI reads every session
|
|
96
|
+
|
|
97
|
+
### File Protection
|
|
98
|
+
|
|
99
|
+
- **Watch List** - Critical files require confirmation before AI modifies
|
|
100
|
+
- Never auto-modify `.env`, config files, migrations, etc.
|
|
101
|
+
|
|
77
102
|
---
|
|
78
103
|
|
|
79
|
-
##
|
|
104
|
+
## CLI Commands
|
|
80
105
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
106
|
+
```bash
|
|
107
|
+
# Initialization
|
|
108
|
+
npx proagents init # Initialize in project
|
|
109
|
+
npx proagents init --template <name> # Use a project template
|
|
110
|
+
npx proagents init --list-templates # List available templates
|
|
111
|
+
|
|
112
|
+
# Features & Fixes
|
|
113
|
+
proagents feature start "name" # Start a new feature
|
|
114
|
+
proagents feature status # Check feature status
|
|
115
|
+
proagents fix "bug description" # Quick bug fix mode
|
|
116
|
+
|
|
117
|
+
# Maintenance
|
|
118
|
+
proagents doctor # Health check installation
|
|
119
|
+
proagents upgrade # Upgrade to latest version
|
|
120
|
+
proagents status # Show ProAgents status
|
|
121
|
+
|
|
122
|
+
# AI Platforms
|
|
123
|
+
proagents ai list # List installed AI platforms
|
|
124
|
+
proagents ai add # Add more platforms
|
|
125
|
+
proagents ai remove # Remove platforms
|
|
126
|
+
|
|
127
|
+
# Configuration
|
|
128
|
+
proagents config show # Show current config
|
|
129
|
+
proagents config setup # Interactive config wizard
|
|
130
|
+
|
|
131
|
+
# Other
|
|
132
|
+
proagents docs # Open documentation
|
|
133
|
+
proagents commands # Show all commands
|
|
134
|
+
proagents uninstall # Remove ProAgents
|
|
135
|
+
```
|
|
91
136
|
|
|
92
137
|
---
|
|
93
138
|
|
|
94
|
-
## Commands
|
|
139
|
+
## AI Commands (pa:)
|
|
140
|
+
|
|
141
|
+
Type these in any AI assistant (Claude, ChatGPT, Gemini, Cursor, etc.):
|
|
95
142
|
|
|
96
|
-
|
|
143
|
+
### Quick Aliases
|
|
144
|
+
| Alias | Expands To |
|
|
145
|
+
|-------|------------|
|
|
146
|
+
| `pa:f` | `pa:feature` |
|
|
147
|
+
| `pa:s` | `pa:status` |
|
|
148
|
+
| `pa:h` | `pa:help` |
|
|
149
|
+
| `pa:d` | `pa:doc` |
|
|
150
|
+
| `pa:t` | `pa:test` |
|
|
151
|
+
| `pa:q` | `pa:qa` |
|
|
152
|
+
|
|
153
|
+
### Core Commands
|
|
154
|
+
| Command | Description |
|
|
155
|
+
|---------|-------------|
|
|
156
|
+
| `pa:feature "name"` | Start new feature workflow |
|
|
157
|
+
| `pa:fix "description"` | Quick bug fix mode |
|
|
158
|
+
| `pa:status` | Show current progress |
|
|
159
|
+
| `pa:help` | Show all commands |
|
|
97
160
|
|
|
161
|
+
### Documentation
|
|
98
162
|
| Command | Description |
|
|
99
163
|
|---------|-------------|
|
|
100
|
-
| `pa:init` | Initialize ProAgents in your project |
|
|
101
|
-
| `pa:feature` | Start a new feature |
|
|
102
|
-
| `pa:fix` | Quick bug fix mode |
|
|
103
164
|
| `pa:doc` | Generate documentation |
|
|
104
|
-
| `pa:
|
|
105
|
-
| `pa:
|
|
165
|
+
| `pa:changelog` | Update CHANGELOG.md |
|
|
166
|
+
| `pa:release` | Generate release notes |
|
|
167
|
+
|
|
168
|
+
### Quality & Testing
|
|
169
|
+
| Command | Description |
|
|
170
|
+
|---------|-------------|
|
|
171
|
+
| `pa:qa` | Run quality assurance checks |
|
|
172
|
+
| `pa:test` | Run test workflow |
|
|
106
173
|
| `pa:deploy` | Deployment preparation |
|
|
107
|
-
|
|
108
|
-
|
|
174
|
+
|
|
175
|
+
### Multi-AI Collaboration
|
|
176
|
+
| Command | Description |
|
|
177
|
+
|---------|-------------|
|
|
178
|
+
| `pa:activity` | Show recent AI activity |
|
|
179
|
+
| `pa:lock` | Show/check lock status |
|
|
180
|
+
| `pa:lock-release` | Release your lock |
|
|
181
|
+
| `pa:handoff` | Create handoff notes for next AI |
|
|
182
|
+
| `pa:handoff-read` | Read handoff notes |
|
|
183
|
+
| `pa:session-end` | Generate session summary |
|
|
184
|
+
|
|
185
|
+
### Learning & Tracking
|
|
186
|
+
| Command | Description |
|
|
187
|
+
|---------|-------------|
|
|
188
|
+
| `pa:decision "title"` | Log architectural decision |
|
|
189
|
+
| `pa:decisions` | Show all decisions |
|
|
190
|
+
| `pa:error "description"` | Log error and solution |
|
|
191
|
+
| `pa:errors` | Search past errors |
|
|
192
|
+
| `pa:feedback "description"` | Log feedback for AI learning |
|
|
193
|
+
|
|
194
|
+
### AI Platform Management
|
|
195
|
+
| Command | Description |
|
|
196
|
+
|---------|-------------|
|
|
197
|
+
| `pa:ai-list` | List installed AI platforms |
|
|
198
|
+
| `pa:ai-add` | Add more AI platforms |
|
|
199
|
+
| `pa:ai-sync` | Sync config with files |
|
|
200
|
+
|
|
201
|
+
### Custom Commands
|
|
202
|
+
| Command | Description |
|
|
203
|
+
|---------|-------------|
|
|
204
|
+
| `pa:standup` | Generate daily standup |
|
|
205
|
+
| `pa:tech-debt` | Scan for technical debt |
|
|
206
|
+
| `pa:security-scan` | Run security checklist |
|
|
207
|
+
|
|
208
|
+
Define your own in `./proagents/custom-commands.yaml`
|
|
109
209
|
|
|
110
210
|
---
|
|
111
211
|
|
|
112
|
-
##
|
|
212
|
+
## Key Files
|
|
113
213
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
|
117
|
-
|
|
118
|
-
|
|
|
119
|
-
|
|
|
120
|
-
|
|
|
214
|
+
After initialization, these files help AI understand your project:
|
|
215
|
+
|
|
216
|
+
| File | Purpose | AI Should |
|
|
217
|
+
|------|---------|-----------|
|
|
218
|
+
| `proagents/context.md` | Persistent project knowledge | **Read first every session!** |
|
|
219
|
+
| `proagents/feedback.md` | Past corrections & preferences | Learn from mistakes |
|
|
220
|
+
| `proagents/watchlist.yaml` | Protected files list | Ask before modifying |
|
|
221
|
+
| `proagents/activity.log` | AI activity history | Check for conflicts |
|
|
222
|
+
| `proagents/decisions.md` | Architectural decisions | Understand why choices were made |
|
|
223
|
+
| `proagents/errors.md` | Past errors & solutions | Find solutions faster |
|
|
224
|
+
| `proagents/handoff.md` | Handoff notes | Continue where another AI left off |
|
|
121
225
|
|
|
122
226
|
---
|
|
123
227
|
|
|
124
228
|
## Project Structure
|
|
125
229
|
|
|
126
230
|
```
|
|
127
|
-
|
|
128
|
-
├──
|
|
129
|
-
├──
|
|
130
|
-
├──
|
|
131
|
-
├──
|
|
132
|
-
├──
|
|
133
|
-
├──
|
|
134
|
-
├──
|
|
135
|
-
├──
|
|
136
|
-
├──
|
|
137
|
-
|
|
231
|
+
your-project/
|
|
232
|
+
├── proagents/
|
|
233
|
+
│ ├── proagents.config.yaml # Project configuration
|
|
234
|
+
│ ├── AI_INSTRUCTIONS.md # Instructions for all AIs
|
|
235
|
+
│ ├── PROAGENTS.md # Quick command reference
|
|
236
|
+
│ ├── context.md # Persistent project context
|
|
237
|
+
│ ├── feedback.md # AI learning from corrections
|
|
238
|
+
│ ├── watchlist.yaml # Protected files
|
|
239
|
+
│ ├── activity.log # AI activity log
|
|
240
|
+
│ ├── decisions.md # Decision log
|
|
241
|
+
│ ├── errors.md # Error tracker
|
|
242
|
+
│ ├── handoff.md # Handoff notes
|
|
243
|
+
│ ├── custom-commands.yaml # Custom pa: commands
|
|
244
|
+
│ ├── sessions/ # Session summaries
|
|
245
|
+
│ ├── active-features/ # Feature tracking
|
|
246
|
+
│ ├── prompts/ # Workflow prompts
|
|
247
|
+
│ ├── templates/ # Document templates
|
|
248
|
+
│ ├── checklists/ # Quality checklists
|
|
249
|
+
│ └── ...
|
|
250
|
+
├── CLAUDE.md # Claude-specific instructions
|
|
251
|
+
├── .cursorrules # Cursor-specific instructions
|
|
252
|
+
├── GEMINI.md # Gemini-specific instructions
|
|
253
|
+
└── proagents.config.yaml # Main config (project root)
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
---
|
|
257
|
+
|
|
258
|
+
## Configuration
|
|
259
|
+
|
|
260
|
+
`proagents.config.yaml` stores your project settings:
|
|
261
|
+
|
|
262
|
+
```yaml
|
|
263
|
+
project:
|
|
264
|
+
name: my-app
|
|
265
|
+
type: nextjs
|
|
266
|
+
|
|
267
|
+
automation:
|
|
268
|
+
decisions:
|
|
269
|
+
architecture:
|
|
270
|
+
api_style: rest
|
|
271
|
+
state_management: zustand
|
|
272
|
+
styling: tailwind
|
|
273
|
+
database: postgresql
|
|
274
|
+
orm: prisma
|
|
275
|
+
auth_method: jwt
|
|
276
|
+
testing:
|
|
277
|
+
framework: vitest
|
|
278
|
+
coverage_target: 80
|
|
279
|
+
|
|
280
|
+
platforms:
|
|
281
|
+
- claude
|
|
282
|
+
- cursor
|
|
283
|
+
- copilot
|
|
138
284
|
```
|
|
139
285
|
|
|
140
286
|
---
|
|
141
287
|
|
|
142
|
-
## Supported
|
|
288
|
+
## Supported AI Platforms
|
|
289
|
+
|
|
290
|
+
| Platform | Instruction File |
|
|
291
|
+
|----------|-----------------|
|
|
292
|
+
| Claude Code | `CLAUDE.md` |
|
|
293
|
+
| Cursor | `.cursorrules` |
|
|
294
|
+
| Windsurf | `.windsurfrules` |
|
|
295
|
+
| GitHub Copilot | `.github/copilot-instructions.md` |
|
|
296
|
+
| ChatGPT | `CHATGPT.md` |
|
|
297
|
+
| Gemini | `GEMINI.md` |
|
|
298
|
+
| Bolt | `BOLT.md` |
|
|
299
|
+
| Lovable | `LOVABLE.md` |
|
|
300
|
+
| Replit | `REPLIT.md` |
|
|
301
|
+
| Kiro | `KIRO.md` |
|
|
302
|
+
| Groq | `GROQ.md` |
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
## Integrations
|
|
143
307
|
|
|
144
308
|
**Project Management:** Jira, Linear, GitHub Issues, GitLab Issues, Asana, Trello, Notion
|
|
145
309
|
|
|
@@ -151,6 +315,17 @@ proagents/
|
|
|
151
315
|
|
|
152
316
|
---
|
|
153
317
|
|
|
318
|
+
## Documentation
|
|
319
|
+
|
|
320
|
+
| Document | Description |
|
|
321
|
+
|----------|-------------|
|
|
322
|
+
| [Getting Started Story](./proagents/GETTING-STARTED-STORY.md) | Narrative walkthrough |
|
|
323
|
+
| [Complete Workflow](./proagents/WORKFLOW.md) | 10-phase workflow guide |
|
|
324
|
+
| [AI Instructions](./proagents/AI_INSTRUCTIONS.md) | Full AI command reference |
|
|
325
|
+
| [Examples](./proagents/examples/) | Project-specific walkthroughs |
|
|
326
|
+
|
|
327
|
+
---
|
|
328
|
+
|
|
154
329
|
## Contributing
|
|
155
330
|
|
|
156
331
|
Contributions are welcome! Please feel free to submit a Pull Request.
|
|
@@ -159,12 +334,10 @@ Contributions are welcome! Please feel free to submit a Pull Request.
|
|
|
159
334
|
|
|
160
335
|
## License
|
|
161
336
|
|
|
162
|
-
|
|
337
|
+
MIT License - see [LICENSE](LICENSE) file.
|
|
163
338
|
|
|
164
339
|
---
|
|
165
340
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
Built for developers who want to automate their workflow without vendor lock-in.
|
|
341
|
+
**Built for developers who want AI collaboration without vendor lock-in.**
|
|
169
342
|
|
|
170
|
-
|
|
343
|
+
*Co-authored with Claude (Anthropic)*
|
package/bin/proagents.js
CHANGED
|
@@ -9,6 +9,8 @@ import { helpCommand } from '../lib/commands/help.js';
|
|
|
9
9
|
import { aiAddCommand, aiListCommand, aiRemoveCommand } from '../lib/commands/ai.js';
|
|
10
10
|
import { uninstallCommand } from '../lib/commands/uninstall.js';
|
|
11
11
|
import { configListCommand, configShowCommand, configEditCommand, configSetCommand, configGetCommand, configSetupCommand, configCustomizeCommand } from '../lib/commands/config.js';
|
|
12
|
+
import { doctorCommand } from '../lib/commands/doctor.js';
|
|
13
|
+
import { upgradeCommand } from '../lib/commands/upgrade.js';
|
|
12
14
|
import { readFileSync } from 'fs';
|
|
13
15
|
import { fileURLToPath } from 'url';
|
|
14
16
|
import { dirname, join } from 'path';
|
|
@@ -32,6 +34,8 @@ program
|
|
|
32
34
|
.description('Initialize ProAgents in the current project')
|
|
33
35
|
.option('-f, --force', 'Overwrite existing proagents folder')
|
|
34
36
|
.option('--skip-config', 'Skip creating config file')
|
|
37
|
+
.option('-t, --template <name>', 'Use a project template (e.g., nextjs-saas, react-spa)')
|
|
38
|
+
.option('--list-templates', 'List available project templates')
|
|
35
39
|
.action(initCommand);
|
|
36
40
|
|
|
37
41
|
// Feature commands
|
|
@@ -157,4 +161,17 @@ program
|
|
|
157
161
|
.description('Show all available commands with examples')
|
|
158
162
|
.action(helpCommand);
|
|
159
163
|
|
|
164
|
+
// Doctor command
|
|
165
|
+
program
|
|
166
|
+
.command('doctor')
|
|
167
|
+
.description('Check health of ProAgents installation')
|
|
168
|
+
.action(doctorCommand);
|
|
169
|
+
|
|
170
|
+
// Upgrade command
|
|
171
|
+
program
|
|
172
|
+
.command('upgrade')
|
|
173
|
+
.description('Upgrade proagents folder to latest version')
|
|
174
|
+
.option('-f, --force', 'Skip confirmation prompt')
|
|
175
|
+
.action(upgradeCommand);
|
|
176
|
+
|
|
160
177
|
program.parse();
|