proagents 1.0.10 → 1.0.12

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.
@@ -3,6 +3,7 @@ import { join, dirname } from 'path';
3
3
  import { fileURLToPath } from 'url';
4
4
  import chalk from 'chalk';
5
5
  import yaml from 'js-yaml';
6
+ import { selectPlatforms, copyPlatformFiles, savePlatformConfig, loadPlatformConfig } from './ai.js';
6
7
 
7
8
  const __filename = fileURLToPath(import.meta.url);
8
9
  const __dirname = dirname(__filename);
@@ -79,24 +80,14 @@ const FRAMEWORK_FOLDERS = [
79
80
  'webhooks',
80
81
  ];
81
82
 
82
- // Root files to always update
83
+ // Root files to always update (AI files handled separately via platform selection)
83
84
  const FRAMEWORK_FILES = [
84
85
  'README.md',
85
86
  'WORKFLOW.md',
86
87
  'PROAGENTS.md',
87
88
  'GETTING-STARTED-STORY.md',
88
89
  'slash-commands.json',
89
- 'CLAUDE.md',
90
- '.cursorrules',
91
- '.windsurfrules',
92
- 'AI_INSTRUCTIONS.md',
93
- 'GEMINI.md',
94
- 'CHATGPT.md',
95
- 'KIRO.md',
96
- 'REPLIT.md',
97
- 'BOLT.md',
98
- 'LOVABLE.md',
99
- 'GROQ.md',
90
+ 'AI_INSTRUCTIONS.md', // Universal instructions kept for reference
100
91
  ];
101
92
 
102
93
  /**
@@ -264,41 +255,26 @@ For detailed commands, see \`./proagents/PROAGENTS.md\`
264
255
  console.log(chalk.green('✓ Created README.md with ProAgents commands'));
265
256
  }
266
257
 
267
- // Copy AI instruction files to project root (for AI platform recognition)
268
- const aiFiles = [
269
- { src: 'CLAUDE.md', target: 'CLAUDE.md', desc: 'Claude AI' },
270
- { src: '.cursorrules', target: '.cursorrules', desc: 'Cursor AI' },
271
- { src: '.windsurfrules', target: '.windsurfrules', desc: 'Windsurf' },
272
- { src: 'GEMINI.md', target: 'GEMINI.md', desc: 'Gemini AI' },
273
- { src: 'CHATGPT.md', target: 'CHATGPT.md', desc: 'ChatGPT/Codex' },
274
- { src: 'KIRO.md', target: 'KIRO.md', desc: 'AWS Kiro' },
275
- { src: 'REPLIT.md', target: 'REPLIT.md', desc: 'Replit AI' },
276
- { src: 'BOLT.md', target: 'BOLT.md', desc: 'Bolt.new' },
277
- { src: 'LOVABLE.md', target: 'LOVABLE.md', desc: 'Lovable' },
278
- { src: 'GROQ.md', target: 'GROQ.md', desc: 'Groq' },
279
- ];
280
-
281
- for (const file of aiFiles) {
282
- const sourcePath = join(sourceDir, file.src);
283
- const targetPath = join(targetDir, file.target);
284
- if (existsSync(sourcePath) && !existsSync(targetPath)) {
285
- cpSync(sourcePath, targetPath);
286
- console.log(chalk.green(`✓ Created ${file.target} (for ${file.desc} recognition)`));
287
- }
288
- }
258
+ // Interactive AI platform selection
259
+ const selectedPlatforms = await selectPlatforms();
289
260
 
290
- // Copy .github/copilot-instructions.md for GitHub Copilot
291
- const copilotSource = join(sourceDir, '.github', 'copilot-instructions.md');
292
- const githubDir = join(targetDir, '.github');
293
- const copilotTarget = join(githubDir, 'copilot-instructions.md');
294
- if (existsSync(copilotSource) && !existsSync(copilotTarget)) {
295
- if (!existsSync(githubDir)) {
296
- mkdirSync(githubDir, { recursive: true });
297
- }
298
- cpSync(copilotSource, copilotTarget);
299
- console.log(chalk.green('✓ Created .github/copilot-instructions.md (for GitHub Copilot)'));
261
+ // Copy AI instruction files for selected platforms (merges with existing files)
262
+ const aiResults = copyPlatformFiles(selectedPlatforms, sourceDir, targetDir);
263
+
264
+ if (aiResults.created.length > 0) {
265
+ console.log(chalk.green(`✓ Created AI files: ${aiResults.created.join(', ')}`));
266
+ }
267
+ if (aiResults.updated.length > 0) {
268
+ console.log(chalk.green(`✓ Updated AI files: ${aiResults.updated.join(', ')}`));
269
+ }
270
+ if (aiResults.merged.length > 0) {
271
+ console.log(chalk.green(`✓ Merged with existing: ${aiResults.merged.join(', ')}`));
300
272
  }
301
273
 
274
+ // Save selected platforms to config
275
+ const configPath = join(proagentsDir, 'proagents.config.yaml');
276
+ savePlatformConfig(selectedPlatforms, configPath);
277
+
302
278
  // Success message
303
279
  console.log(chalk.green('\n✓ ProAgents initialized successfully!\n'));
304
280
 
@@ -410,50 +386,26 @@ async function smartUpdate(sourceDir, targetDir) {
410
386
  }
411
387
  }
412
388
 
413
- // Copy AI instruction files to project root (for AI platform recognition)
389
+ // Copy AI instruction files for configured platforms (merges with existing files)
414
390
  const projectRoot = join(targetDir, '..');
415
- const aiFiles = [
416
- 'CLAUDE.md',
417
- '.cursorrules',
418
- '.windsurfrules',
419
- 'AI_INSTRUCTIONS.md',
420
- 'GEMINI.md',
421
- 'CHATGPT.md',
422
- 'KIRO.md',
423
- 'REPLIT.md',
424
- 'BOLT.md',
425
- 'LOVABLE.md',
426
- 'GROQ.md',
427
- ];
428
- let aiFilesUpdated = 0;
429
-
430
- for (const file of aiFiles) {
431
- const sourcePath = join(sourceDir, file);
432
- const targetPath = join(projectRoot, file);
391
+ const configPath = join(targetDir, 'proagents.config.yaml');
392
+ const selectedPlatforms = loadPlatformConfig(configPath);
433
393
 
434
- if (existsSync(sourcePath)) {
435
- cpSync(sourcePath, targetPath, { force: true });
436
- aiFilesUpdated++;
437
- }
438
- }
394
+ if (selectedPlatforms.length > 0) {
395
+ const aiResults = copyPlatformFiles(selectedPlatforms, sourceDir, projectRoot);
439
396
 
440
- // Handle .github/copilot-instructions.md separately (needs directory creation)
441
- const copilotSource = join(sourceDir, '.github', 'copilot-instructions.md');
442
- const githubDir = join(projectRoot, '.github');
443
- const copilotTarget = join(githubDir, 'copilot-instructions.md');
444
-
445
- if (existsSync(copilotSource)) {
446
- if (!existsSync(githubDir)) {
447
- mkdirSync(githubDir, { recursive: true });
397
+ if (aiResults.created.length > 0) {
398
+ console.log(chalk.green(`✓ Created new AI files: ${aiResults.created.join(', ')}`));
399
+ }
400
+ if (aiResults.updated.length > 0) {
401
+ console.log(chalk.green(`✓ Updated AI files: ${aiResults.updated.join(', ')}`));
402
+ }
403
+ if (aiResults.merged.length > 0) {
404
+ console.log(chalk.green(`✓ Merged with existing: ${aiResults.merged.join(', ')}`));
448
405
  }
449
- cpSync(copilotSource, copilotTarget, { force: true });
450
- aiFilesUpdated++;
451
406
  }
452
407
 
453
- if (aiFilesUpdated > 0) {
454
- console.log(chalk.green(`✓ Updated ${aiFilesUpdated} AI instruction files`));
455
- console.log(chalk.gray(' (Claude, Cursor, Windsurf, Gemini, ChatGPT, Kiro, Replit, Bolt, Lovable, Groq, Copilot)'));
456
- }
408
+ console.log(chalk.gray('\nTip: Use "proagents ai add" to add more AI platforms'));
457
409
  }
458
410
 
459
411
  /**
@@ -0,0 +1,178 @@
1
+ import { existsSync, rmSync, readFileSync, writeFileSync } from 'fs';
2
+ import { join } from 'path';
3
+ import { createInterface } from 'readline';
4
+ import chalk from 'chalk';
5
+
6
+ // AI instruction files that may have been copied to project root
7
+ const AI_FILES = [
8
+ 'CLAUDE.md',
9
+ '.cursorrules',
10
+ '.windsurfrules',
11
+ 'GEMINI.md',
12
+ 'CHATGPT.md',
13
+ 'KIRO.md',
14
+ 'REPLIT.md',
15
+ 'BOLT.md',
16
+ 'LOVABLE.md',
17
+ 'GROQ.md',
18
+ 'ANTIGRAVITY.md',
19
+ 'AI_INSTRUCTIONS.md',
20
+ ];
21
+
22
+ /**
23
+ * Command: proagents uninstall
24
+ */
25
+ export async function uninstallCommand(options = {}) {
26
+ const targetDir = process.cwd();
27
+ const proagentsDir = join(targetDir, 'proagents');
28
+
29
+ console.log('\n' + chalk.bold.red('ProAgents Uninstall'));
30
+ console.log(chalk.red('===================\n'));
31
+
32
+ // Check if ProAgents is installed
33
+ if (!existsSync(proagentsDir)) {
34
+ console.log(chalk.yellow('ProAgents is not installed in this project.\n'));
35
+ return;
36
+ }
37
+
38
+ // Confirm unless --force is used
39
+ if (!options.force) {
40
+ const rl = createInterface({
41
+ input: process.stdin,
42
+ output: process.stdout
43
+ });
44
+
45
+ const question = (prompt) => new Promise(resolve => rl.question(prompt, resolve));
46
+
47
+ console.log(chalk.yellow('This will remove:'));
48
+ console.log(chalk.gray(' • ./proagents/ folder'));
49
+ console.log(chalk.gray(' • AI instruction files (CLAUDE.md, .cursorrules, etc.)'));
50
+ console.log(chalk.gray(' • ProAgents section from README.md\n'));
51
+
52
+ const answer = await question(chalk.yellow('Are you sure? (yes/no): '));
53
+ rl.close();
54
+
55
+ if (answer.toLowerCase() !== 'yes' && answer.toLowerCase() !== 'y') {
56
+ console.log(chalk.gray('\nUninstall cancelled.\n'));
57
+ return;
58
+ }
59
+ }
60
+
61
+ console.log('');
62
+
63
+ // 1. Remove proagents folder
64
+ if (existsSync(proagentsDir)) {
65
+ rmSync(proagentsDir, { recursive: true, force: true });
66
+ console.log(chalk.green('✓ Removed ./proagents/ folder'));
67
+ }
68
+
69
+ // 2. Remove AI instruction files from project root
70
+ let aiFilesRemoved = 0;
71
+ for (const file of AI_FILES) {
72
+ const filePath = join(targetDir, file);
73
+ if (existsSync(filePath)) {
74
+ rmSync(filePath, { force: true });
75
+ aiFilesRemoved++;
76
+ }
77
+ }
78
+
79
+ // Remove .github/copilot-instructions.md
80
+ const copilotPath = join(targetDir, '.github', 'copilot-instructions.md');
81
+ if (existsSync(copilotPath)) {
82
+ rmSync(copilotPath, { force: true });
83
+ aiFilesRemoved++;
84
+ }
85
+
86
+ if (aiFilesRemoved > 0) {
87
+ console.log(chalk.green(`✓ Removed ${aiFilesRemoved} AI instruction file(s)`));
88
+ }
89
+
90
+ // 3. Remove ProAgents section from README.md
91
+ const readmePath = join(targetDir, 'README.md');
92
+ if (existsSync(readmePath)) {
93
+ try {
94
+ let content = readFileSync(readmePath, 'utf-8');
95
+
96
+ // Remove ProAgents section between markers
97
+ const startMarker = '<!-- PROAGENTS:START';
98
+ const endMarker = '<!-- PROAGENTS:END -->';
99
+
100
+ const startIndex = content.indexOf(startMarker);
101
+ const endIndex = content.indexOf(endMarker);
102
+
103
+ if (startIndex !== -1 && endIndex !== -1) {
104
+ const before = content.substring(0, startIndex).trimEnd();
105
+ const after = content.substring(endIndex + endMarker.length).trimStart();
106
+ content = before + (after ? '\n\n' + after : '');
107
+
108
+ writeFileSync(readmePath, content);
109
+ console.log(chalk.green('✓ Removed ProAgents section from README.md'));
110
+ }
111
+ } catch (error) {
112
+ console.log(chalk.yellow('⚠️ Could not update README.md: ' + error.message));
113
+ }
114
+ }
115
+
116
+ // 4. Remove docs files created by ProAgents (optional - only if empty)
117
+ const docsDir = join(targetDir, 'docs');
118
+ const releasesDir = join(docsDir, 'releases');
119
+ const releasesReadme = join(releasesDir, 'README.md');
120
+
121
+ // Only remove if it's the default ProAgents-generated file
122
+ if (existsSync(releasesReadme)) {
123
+ try {
124
+ const content = readFileSync(releasesReadme, 'utf-8');
125
+ if (content.includes('Generated by [ProAgents]')) {
126
+ rmSync(releasesReadme, { force: true });
127
+ // Try to remove empty directories
128
+ try {
129
+ rmSync(releasesDir, { recursive: false });
130
+ rmSync(join(docsDir, 'api'), { recursive: false });
131
+ rmSync(docsDir, { recursive: false });
132
+ console.log(chalk.green('✓ Removed empty docs/ folder'));
133
+ } catch {
134
+ // Directory not empty, leave it
135
+ }
136
+ }
137
+ } catch {
138
+ // Ignore errors
139
+ }
140
+ }
141
+
142
+ // 5. Check for CHANGELOG.md and RELEASE_NOTES.md
143
+ const changelogPath = join(targetDir, 'CHANGELOG.md');
144
+ const releaseNotesPath = join(targetDir, 'RELEASE_NOTES.md');
145
+
146
+ if (existsSync(changelogPath)) {
147
+ try {
148
+ const content = readFileSync(changelogPath, 'utf-8');
149
+ if (content.includes('Generated by [ProAgents]')) {
150
+ rmSync(changelogPath, { force: true });
151
+ console.log(chalk.green('✓ Removed CHANGELOG.md (ProAgents-generated)'));
152
+ } else {
153
+ console.log(chalk.gray('ℹ️ Kept CHANGELOG.md (has custom content)'));
154
+ }
155
+ } catch {
156
+ // Ignore
157
+ }
158
+ }
159
+
160
+ if (existsSync(releaseNotesPath)) {
161
+ try {
162
+ const content = readFileSync(releaseNotesPath, 'utf-8');
163
+ if (content.includes('Generated by [ProAgents]')) {
164
+ rmSync(releaseNotesPath, { force: true });
165
+ console.log(chalk.green('✓ Removed RELEASE_NOTES.md (ProAgents-generated)'));
166
+ } else {
167
+ console.log(chalk.gray('ℹ️ Kept RELEASE_NOTES.md (has custom content)'));
168
+ }
169
+ } catch {
170
+ // Ignore
171
+ }
172
+ }
173
+
174
+ console.log(chalk.green('\n✓ ProAgents uninstalled from this project.\n'));
175
+
176
+ console.log(chalk.gray('To uninstall the global CLI:'));
177
+ console.log(chalk.cyan(' npm uninstall -g proagents\n'));
178
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proagents",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "AI-agnostic development workflow framework that automates the full software development lifecycle",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -2,32 +2,30 @@
2
2
 
3
3
  This project uses ProAgents workflow framework.
4
4
 
5
- ## Command Recognition
6
-
7
- Recognize commands starting with `pa:` prefix:
8
-
9
- - `pa:help` - Show all commands
10
- - `pa:feature "name"` - Start feature workflow (see ./proagents/WORKFLOW.md)
11
- - `pa:fix "bug"` - Bug fix mode (see ./proagents/workflow-modes/entry-modes.md)
12
- - `pa:status` - Show progress
13
- - `pa:doc` - Documentation options
14
- - `pa:doc-full` - Generate full documentation (see ./proagents/prompts/07-documentation.md)
15
- - `pa:doc-moderate` - Balanced documentation
16
- - `pa:doc-lite` - Quick reference
17
- - `pa:qa` - Quality checks (see ./proagents/checklists/code-quality.md)
18
- - `pa:test` - Test workflow (see ./proagents/prompts/06-testing.md)
19
- - `pa:deploy` - Deployment workflow (see ./proagents/prompts/08-deployment.md)
20
- - `pa:release` - Generate release notes
21
-
22
- ## Workflow
23
-
24
- When user types `pa:` command:
25
- 1. Read corresponding prompt from ./proagents/prompts/
26
- 2. Follow the defined workflow
27
- 3. Respect settings in ./proagents/proagents.config.yaml
28
-
29
- ## Key References
30
-
31
- - Workflow: ./proagents/WORKFLOW.md
32
- - Commands: ./proagents/PROAGENTS.md
33
- - Prompts: ./proagents/prompts/
5
+ ## Essential Commands
6
+
7
+ | Command | Action |
8
+ |---------|--------|
9
+ | `pa:feature "name"` | Start new feature workflow |
10
+ | `pa:fix "bug"` | Quick bug fix mode |
11
+ | `pa:doc` | Documentation options |
12
+ | `pa:qa` | Quality assurance checks |
13
+ | `pa:test` | Run test workflow |
14
+ | `pa:deploy` | Deployment preparation |
15
+ | `pa:status` | Show current progress |
16
+
17
+ ## Full Command Reference
18
+
19
+ For complete command list, see: `./proagents/AI_INSTRUCTIONS.md`
20
+
21
+ ## On `pa:` Command
22
+
23
+ 1. Read the corresponding file from `./proagents/prompts/` or `./proagents/workflow-modes/`
24
+ 2. Follow the workflow instructions
25
+ 3. Use project config from `./proagents/proagents.config.yaml`
26
+
27
+ ## Key Files
28
+
29
+ - `./proagents/AI_INSTRUCTIONS.md` - Complete command reference
30
+ - `./proagents/WORKFLOW.md` - Full 10-phase workflow
31
+ - `./proagents/prompts/` - Phase-specific prompts
@@ -1,45 +1,31 @@
1
1
  # ProAgents Commands for GitHub Copilot
2
2
 
3
- This project uses ProAgents workflow framework. Recognize `pa:` prefix commands.
4
-
5
- ## Commands
6
-
7
- ### Core
8
- - `pa:help` - Show all commands
9
- - `pa:feature "name"` - Start feature (read ./proagents/WORKFLOW.md)
10
- - `pa:fix "bug"` - Bug fix mode (read ./proagents/workflow-modes/entry-modes.md)
11
- - `pa:status` - Show progress
12
-
13
- ### Documentation
14
- - `pa:doc` - Documentation options
15
- - `pa:doc-full` - Full docs (read ./proagents/prompts/07-documentation.md)
16
- - `pa:doc-moderate` - Balanced docs
17
- - `pa:doc-lite` - Quick reference
18
- - `pa:doc-module [name]` - Document module
19
- - `pa:doc-file [path]` - Document file
20
- - `pa:doc-api` - API documentation
21
- - `pa:readme` - Generate README
22
- - `pa:changelog` - Update CHANGELOG
23
- - `pa:release` - Release notes
24
- - `pa:release [ver]` - Version-specific notes
25
-
26
- ### Quality
27
- - `pa:qa` - Quality checks (read ./proagents/checklists/code-quality.md)
28
- - `pa:test` - Test workflow (read ./proagents/prompts/06-testing.md)
29
- - `pa:review` - Code review
30
-
31
- ### Deployment
32
- - `pa:deploy` - Deployment (read ./proagents/prompts/08-deployment.md)
33
- - `pa:rollback` - Rollback procedures
3
+ This project uses ProAgents workflow framework.
4
+
5
+ ## Essential Commands
6
+
7
+ | Command | Action |
8
+ |---------|--------|
9
+ | `pa:feature "name"` | Start new feature workflow |
10
+ | `pa:fix "bug"` | Quick bug fix mode |
11
+ | `pa:doc` | Documentation options |
12
+ | `pa:qa` | Quality assurance checks |
13
+ | `pa:test` | Run test workflow |
14
+ | `pa:deploy` | Deployment preparation |
15
+ | `pa:status` | Show current progress |
16
+
17
+ ## Full Command Reference
18
+
19
+ For complete command list, see: `./proagents/AI_INSTRUCTIONS.md`
34
20
 
35
21
  ## On `pa:` Command
36
22
 
37
- 1. Read corresponding file in `./proagents/prompts/` or `./proagents/workflow-modes/`
23
+ 1. Read the corresponding file from `./proagents/prompts/` or `./proagents/workflow-modes/`
38
24
  2. Follow the workflow instructions
39
- 3. Use config from `./proagents/proagents.config.yaml`
25
+ 3. Use project config from `./proagents/proagents.config.yaml`
40
26
 
41
27
  ## Key Files
42
28
 
43
- - `./proagents/WORKFLOW.md` - Full workflow
44
- - `./proagents/PROAGENTS.md` - Command reference
45
- - `./proagents/prompts/` - Phase prompts
29
+ - `./proagents/AI_INSTRUCTIONS.md` - Complete command reference
30
+ - `./proagents/WORKFLOW.md` - Full 10-phase workflow
31
+ - `./proagents/prompts/` - Phase-specific prompts
@@ -2,49 +2,30 @@
2
2
 
3
3
  This project uses ProAgents - an AI-agnostic development workflow framework.
4
4
 
5
- ## Command Recognition
6
-
7
- Recognize commands with `pa:` prefix and execute the corresponding workflow.
8
-
9
- ## Available Commands
10
-
11
- ### Core Commands
12
- - `pa:help` - Show all available commands
13
- - `pa:feature "name"` - Start new feature (read ./proagents/WORKFLOW.md)
14
- - `pa:fix "description"` - Quick bug fix mode (read ./proagents/workflow-modes/entry-modes.md)
15
- - `pa:status` - Show current progress
16
-
17
- ### Documentation Commands
18
- - `pa:doc` - Show documentation options
19
- - `pa:doc-full` - Generate full documentation (read ./proagents/prompts/07-documentation.md)
20
- - `pa:doc-moderate` - Generate balanced documentation
21
- - `pa:doc-lite` - Generate quick reference
22
- - `pa:doc-module [name]` - Document specific module
23
- - `pa:doc-file [path]` - Document specific file
24
- - `pa:doc-api` - Generate API documentation
25
- - `pa:readme` - Generate/update README
26
- - `pa:changelog` - Update CHANGELOG.md
27
- - `pa:release` - Generate release notes
28
- - `pa:release [version]` - Version-specific release notes
29
-
30
- ### Quality Commands
31
- - `pa:qa` - Run quality checks (read ./proagents/checklists/code-quality.md)
32
- - `pa:test` - Run test workflow (read ./proagents/prompts/06-testing.md)
33
- - `pa:review` - Code review workflow
34
-
35
- ### Deployment Commands
36
- - `pa:deploy` - Deployment preparation (read ./proagents/prompts/08-deployment.md)
37
- - `pa:rollback` - Rollback procedures
38
-
39
- ## Execution Instructions
40
-
41
- When user types a `pa:` command:
42
- 1. Read the corresponding prompt file from `./proagents/prompts/`
43
- 2. Follow the workflow instructions in that file
44
- 3. Use project configuration from `./proagents/proagents.config.yaml`
5
+ ## Essential Commands
6
+
7
+ | Command | Action |
8
+ |---------|--------|
9
+ | `pa:feature "name"` | Start new feature workflow |
10
+ | `pa:fix "bug"` | Quick bug fix mode |
11
+ | `pa:doc` | Documentation options |
12
+ | `pa:qa` | Quality assurance checks |
13
+ | `pa:test` | Run test workflow |
14
+ | `pa:deploy` | Deployment preparation |
15
+ | `pa:status` | Show current progress |
16
+
17
+ ## Full Command Reference
18
+
19
+ For complete command list, see: `./proagents/AI_INSTRUCTIONS.md`
20
+
21
+ ## On `pa:` Command
22
+
23
+ 1. Read the corresponding file from `./proagents/prompts/` or `./proagents/workflow-modes/`
24
+ 2. Follow the workflow instructions
25
+ 3. Use project config from `./proagents/proagents.config.yaml`
45
26
 
46
27
  ## Key Files
47
28
 
29
+ - `./proagents/AI_INSTRUCTIONS.md` - Complete command reference
48
30
  - `./proagents/WORKFLOW.md` - Full 10-phase workflow
49
- - `./proagents/PROAGENTS.md` - Quick command reference
50
- - `./proagents/prompts/` - Phase-specific AI prompts
31
+ - `./proagents/prompts/` - Phase-specific prompts
@@ -6,13 +6,22 @@ This project uses ProAgents - an AI-agnostic development workflow framework.
6
6
 
7
7
  When the user types commands starting with `pa:`, recognize and execute them:
8
8
 
9
- ### Core Commands
9
+ ### Initialization
10
10
  | Command | Action |
11
11
  |---------|--------|
12
+ | `pa:init` | Initialize ProAgents in project |
12
13
  | `pa:help` | Show all available commands |
14
+ | `pa:status` | Show current progress |
15
+
16
+ ### Feature Development
17
+ | Command | Action |
18
+ |---------|--------|
13
19
  | `pa:feature "name"` | Start new feature workflow |
20
+ | `pa:feature-start "name"` | Start new feature |
21
+ | `pa:feature-status` | Check feature status |
22
+ | `pa:feature-list` | List all features |
23
+ | `pa:feature-complete` | Mark feature complete |
14
24
  | `pa:fix "description"` | Quick bug fix mode |
15
- | `pa:status` | Show current progress |
16
25
 
17
26
  ### Documentation Commands
18
27
  | Command | Action |
@@ -29,19 +38,42 @@ When the user types commands starting with `pa:`, recognize and execute them:
29
38
  | `pa:release` | Generate release notes |
30
39
  | `pa:release [version]` | Version-specific release notes |
31
40
 
32
- ### Quality Commands
41
+ ### Quality & Testing
33
42
  | Command | Action |
34
43
  |---------|--------|
35
44
  | `pa:qa` | Run quality assurance checks |
36
45
  | `pa:test` | Run test workflow |
37
46
  | `pa:review` | Code review workflow |
38
47
 
39
- ### Deployment Commands
48
+ ### Deployment
40
49
  | Command | Action |
41
50
  |---------|--------|
42
51
  | `pa:deploy` | Deployment preparation |
43
52
  | `pa:rollback` | Rollback procedures |
44
53
 
54
+ ### AI Platform Management
55
+ | Command | Action |
56
+ |---------|--------|
57
+ | `pa:ai-list` | List installed AI platforms |
58
+ | `pa:ai-add` | Add more AI platforms |
59
+ | `pa:ai-remove` | Remove AI platforms from config |
60
+
61
+ ### Configuration
62
+ | Command | Action |
63
+ |---------|--------|
64
+ | `pa:config` | Show current configuration |
65
+ | `pa:config-list` | List all configurable options |
66
+ | `pa:config-show` | Show current config values |
67
+ | `pa:config-set K V` | Set a config value |
68
+ | `pa:config-get K` | Get a config value |
69
+ | `pa:config-setup` | Interactive config wizard |
70
+ | `pa:config-customize` | Copy templates to customize |
71
+
72
+ ### Utilities
73
+ | Command | Action |
74
+ |---------|--------|
75
+ | `pa:uninstall` | Remove ProAgents from project |
76
+
45
77
  ## How to Execute Commands
46
78
 
47
79
  When user types a `pa:` command:
@@ -0,0 +1,35 @@
1
+ # ProAgents Commands for Antigravity IDE
2
+
3
+ This project uses ProAgents - an AI-agnostic development workflow framework.
4
+
5
+ ## Essential Commands
6
+
7
+ | Command | Action |
8
+ |---------|--------|
9
+ | `pa:feature "name"` | Start new feature workflow |
10
+ | `pa:fix "bug"` | Quick bug fix mode |
11
+ | `pa:doc` | Documentation options |
12
+ | `pa:qa` | Quality assurance checks |
13
+ | `pa:test` | Run test workflow |
14
+ | `pa:deploy` | Deployment preparation |
15
+ | `pa:status` | Show current progress |
16
+
17
+ ## Full Command Reference
18
+
19
+ For complete command list, see: `./proagents/AI_INSTRUCTIONS.md`
20
+
21
+ ## On `pa:` Command
22
+
23
+ 1. Read the corresponding file from `./proagents/prompts/` or `./proagents/workflow-modes/`
24
+ 2. Follow the workflow instructions
25
+ 3. Use project config from `./proagents/proagents.config.yaml`
26
+
27
+ ## Key Files
28
+
29
+ - `./proagents/AI_INSTRUCTIONS.md` - Complete command reference
30
+ - `./proagents/WORKFLOW.md` - Full 10-phase workflow
31
+ - `./proagents/prompts/` - Phase-specific prompts
32
+
33
+ ## Note
34
+
35
+ Works with both Gemini and Claude models in Antigravity.