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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **AI-Agnostic Development Workflow Framework**
4
4
 
5
- A portable, universal development workflow framework that automates the full software development lifecycle. Works with **any AI platform** (Claude, ChatGPT, Gemini, Copilot, etc.) and **any IDE**.
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
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
8
  [![npm version](https://img.shields.io/npm/v/proagents.svg)](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
- # Install globally
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
- ## Why ProAgents?
18
+ # Or with a template
19
+ npx proagents init --template nextjs-saas
25
20
 
26
- - **No vendor lock-in** - Switch AI platforms without changing your workflow
27
- - **Full lifecycle automation** - From requirements to deployment
28
- - **Self-learning** - Adapts to your coding patterns and preferences
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 in your project
29
+ ### 1. Initialize ProAgents
36
30
 
37
31
  ```bash
38
32
  cd your-project
39
33
  npx proagents init
40
34
  ```
41
35
 
42
- ### 2. Start a feature
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
- **Using CLI:**
45
- ```bash
46
- proagents feature start "Add user authentication"
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. Follow the guided workflow
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
- ## CLI Commands
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 # Initialize in current project
69
- proagents feature start "name" # Start a new feature
70
- proagents feature status # Check feature status
71
- proagents fix "bug description" # Quick bug fix mode
72
- proagents status # Show ProAgents status
73
- proagents docs # Open documentation
74
- proagents commands # Show all commands
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
- ## Key Features
104
+ ## CLI Commands
80
105
 
81
- | Feature | Description |
82
- |---------|-------------|
83
- | **AI Agnostic** | Works with Claude, ChatGPT, Gemini, Copilot, and more |
84
- | **IDE Agnostic** | VS Code, JetBrains, Cursor, Neovim, any editor |
85
- | **10-Phase Workflow** | Complete SDLC from analysis to deployment |
86
- | **Self-Learning** | Learns your patterns, conventions, and preferences |
87
- | **Flexible Modes** | Full workflow, bug fix fast-track, or quick changes |
88
- | **Parallel Development** | Work on multiple features with conflict detection |
89
- | **Git Integration** | Branching, commits, PRs, and rollback strategies |
90
- | **PM Integration** | Jira, Linear, GitHub Issues, Notion, and more |
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
- Type `pa:` in your AI assistant to use ProAgents commands:
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:qa` | Quality assurance checks |
105
- | `pa:test` | Run test workflows |
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
- | `pa:status` | Check current status |
108
- | `pa:help` | Show all commands |
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
- ## Documentation
212
+ ## Key Files
113
213
 
114
- | Document | Description |
115
- |----------|-------------|
116
- | [Getting Started Story](./proagents/GETTING-STARTED-STORY.md) | Narrative walkthrough of a typical day |
117
- | [Complete Workflow Guide](./proagents/WORKFLOW.md) | Detailed 10-phase workflow documentation |
118
- | [Configuration Reference](./proagents/config/README.md) | Configuration options |
119
- | [Examples](./proagents/examples/) | Project-specific walkthroughs |
120
- | [Prompts](./proagents/prompts/) | AI prompts for each phase |
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
- proagents/
128
- ├── README.md # Quick start guide
129
- ├── WORKFLOW.md # Complete workflow documentation
130
- ├── proagents.config.yaml # Configuration template
131
- ├── prompts/ # AI prompts for each phase
132
- ├── templates/ # Output document templates
133
- ├── checklists/ # Quality checklists
134
- ├── standards/ # Customizable coding standards
135
- ├── examples/ # Project type walkthroughs
136
- ├── config/ # Integration configurations
137
- └── ... # Additional modules
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 Integrations
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
- This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
337
+ MIT License - see [LICENSE](LICENSE) file.
163
338
 
164
339
  ---
165
340
 
166
- ## Acknowledgments
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
- **Co-authored with Claude (Anthropic)**
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();