proagents 1.0.11 → 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.
- package/bin/proagents.js +0 -0
- package/lib/commands/ai.js +78 -9
- package/lib/commands/init.js +12 -6
- package/package.json +1 -1
- package/proagents/.cursorrules +20 -60
- package/proagents/.github/copilot-instructions.md +18 -56
- package/proagents/.windsurfrules +18 -61
- package/proagents/ANTIGRAVITY.md +19 -98
- package/proagents/BOLT.md +20 -76
- package/proagents/CHATGPT.md +15 -95
- package/proagents/CLAUDE.md +16 -70
- package/proagents/GEMINI.md +19 -90
- package/proagents/GROQ.md +18 -91
- package/proagents/KIRO.md +15 -88
- package/proagents/LOVABLE.md +17 -97
- package/proagents/REPLIT.md +18 -95
package/bin/proagents.js
CHANGED
|
File without changes
|
package/lib/commands/ai.js
CHANGED
|
@@ -103,11 +103,75 @@ export async function selectPlatforms() {
|
|
|
103
103
|
return selected.length > 0 ? selected : ['claude']; // Default to Claude if nothing selected
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
// ProAgents section markers
|
|
107
|
+
const PROAGENTS_START = '<!-- PROAGENTS:START -->';
|
|
108
|
+
const PROAGENTS_END = '<!-- PROAGENTS:END -->';
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Wrap ProAgents content with markers
|
|
112
|
+
*/
|
|
113
|
+
function wrapWithMarkers(content) {
|
|
114
|
+
return `${PROAGENTS_START}\n${content}\n${PROAGENTS_END}`;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Extract ProAgents section from content
|
|
119
|
+
*/
|
|
120
|
+
function extractProagentsSection(content) {
|
|
121
|
+
const startIdx = content.indexOf(PROAGENTS_START);
|
|
122
|
+
const endIdx = content.indexOf(PROAGENTS_END);
|
|
123
|
+
|
|
124
|
+
if (startIdx !== -1 && endIdx !== -1) {
|
|
125
|
+
return {
|
|
126
|
+
before: content.substring(0, startIdx),
|
|
127
|
+
proagents: content.substring(startIdx, endIdx + PROAGENTS_END.length),
|
|
128
|
+
after: content.substring(endIdx + PROAGENTS_END.length)
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Merge ProAgents instructions with existing file content
|
|
136
|
+
* - If file doesn't exist: create with ProAgents content
|
|
137
|
+
* - If file exists without ProAgents section: append ProAgents section
|
|
138
|
+
* - If file exists with ProAgents section: update only ProAgents section
|
|
139
|
+
*/
|
|
140
|
+
function mergeAIInstructions(sourcePath, targetPath) {
|
|
141
|
+
const sourceContent = readFileSync(sourcePath, 'utf-8');
|
|
142
|
+
const wrappedSource = wrapWithMarkers(sourceContent);
|
|
143
|
+
|
|
144
|
+
if (!existsSync(targetPath)) {
|
|
145
|
+
// File doesn't exist - create new with wrapped content
|
|
146
|
+
writeFileSync(targetPath, wrappedSource);
|
|
147
|
+
return 'created';
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
const existingContent = readFileSync(targetPath, 'utf-8');
|
|
151
|
+
const sections = extractProagentsSection(existingContent);
|
|
152
|
+
|
|
153
|
+
if (sections) {
|
|
154
|
+
// ProAgents section exists - update it only
|
|
155
|
+
const newContent = sections.before + wrappedSource + sections.after;
|
|
156
|
+
writeFileSync(targetPath, newContent);
|
|
157
|
+
return 'updated';
|
|
158
|
+
} else {
|
|
159
|
+
// No ProAgents section - append to existing content
|
|
160
|
+
const newContent = existingContent.trim() + '\n\n' + wrappedSource + '\n';
|
|
161
|
+
writeFileSync(targetPath, newContent);
|
|
162
|
+
return 'merged';
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
106
166
|
/**
|
|
107
167
|
* Copy AI instruction files for selected platforms
|
|
168
|
+
* Merges with existing files instead of replacing them
|
|
169
|
+
* @param {string[]} selectedIds - Platform IDs to copy
|
|
170
|
+
* @param {string} sourceDir - Source directory (proagents folder)
|
|
171
|
+
* @param {string} targetDir - Target directory (project root)
|
|
108
172
|
*/
|
|
109
173
|
export function copyPlatformFiles(selectedIds, sourceDir, targetDir) {
|
|
110
|
-
const results = { created: [],
|
|
174
|
+
const results = { created: [], updated: [], merged: [], failed: [] };
|
|
111
175
|
|
|
112
176
|
for (const id of selectedIds) {
|
|
113
177
|
const platform = getPlatformById(id);
|
|
@@ -130,11 +194,13 @@ export function copyPlatformFiles(selectedIds, sourceDir, targetDir) {
|
|
|
130
194
|
|
|
131
195
|
try {
|
|
132
196
|
if (existsSync(sourcePath)) {
|
|
133
|
-
|
|
134
|
-
|
|
197
|
+
const result = mergeAIInstructions(sourcePath, targetPath);
|
|
198
|
+
if (result === 'created') {
|
|
135
199
|
results.created.push(platform.name);
|
|
136
|
-
} else {
|
|
137
|
-
results.
|
|
200
|
+
} else if (result === 'updated') {
|
|
201
|
+
results.updated.push(platform.name);
|
|
202
|
+
} else if (result === 'merged') {
|
|
203
|
+
results.merged.push(platform.name);
|
|
138
204
|
}
|
|
139
205
|
}
|
|
140
206
|
} catch (error) {
|
|
@@ -285,13 +351,16 @@ export async function aiAddCommand() {
|
|
|
285
351
|
|
|
286
352
|
// Show results
|
|
287
353
|
if (results.created.length > 0) {
|
|
288
|
-
console.log(chalk.green(`\n✓
|
|
354
|
+
console.log(chalk.green(`\n✓ Created: ${results.created.join(', ')}`));
|
|
355
|
+
}
|
|
356
|
+
if (results.updated.length > 0) {
|
|
357
|
+
console.log(chalk.green(`✓ Updated: ${results.updated.join(', ')}`));
|
|
289
358
|
}
|
|
290
|
-
if (results.
|
|
291
|
-
console.log(chalk.
|
|
359
|
+
if (results.merged.length > 0) {
|
|
360
|
+
console.log(chalk.green(`✓ Merged with existing: ${results.merged.join(', ')}`));
|
|
292
361
|
}
|
|
293
362
|
|
|
294
|
-
console.log(chalk.gray('\nAI instruction files
|
|
363
|
+
console.log(chalk.gray('\nAI instruction files added to project root.'));
|
|
295
364
|
console.log(chalk.gray('Config updated in proagents/proagents.config.yaml\n'));
|
|
296
365
|
}
|
|
297
366
|
|
package/lib/commands/init.js
CHANGED
|
@@ -258,14 +258,17 @@ For detailed commands, see \`./proagents/PROAGENTS.md\`
|
|
|
258
258
|
// Interactive AI platform selection
|
|
259
259
|
const selectedPlatforms = await selectPlatforms();
|
|
260
260
|
|
|
261
|
-
// Copy AI instruction files for selected platforms
|
|
261
|
+
// Copy AI instruction files for selected platforms (merges with existing files)
|
|
262
262
|
const aiResults = copyPlatformFiles(selectedPlatforms, sourceDir, targetDir);
|
|
263
263
|
|
|
264
264
|
if (aiResults.created.length > 0) {
|
|
265
265
|
console.log(chalk.green(`✓ Created AI files: ${aiResults.created.join(', ')}`));
|
|
266
266
|
}
|
|
267
|
-
if (aiResults.
|
|
268
|
-
console.log(chalk.
|
|
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(', ')}`));
|
|
269
272
|
}
|
|
270
273
|
|
|
271
274
|
// Save selected platforms to config
|
|
@@ -383,7 +386,7 @@ async function smartUpdate(sourceDir, targetDir) {
|
|
|
383
386
|
}
|
|
384
387
|
}
|
|
385
388
|
|
|
386
|
-
// Copy AI instruction files for configured platforms (
|
|
389
|
+
// Copy AI instruction files for configured platforms (merges with existing files)
|
|
387
390
|
const projectRoot = join(targetDir, '..');
|
|
388
391
|
const configPath = join(targetDir, 'proagents.config.yaml');
|
|
389
392
|
const selectedPlatforms = loadPlatformConfig(configPath);
|
|
@@ -394,8 +397,11 @@ async function smartUpdate(sourceDir, targetDir) {
|
|
|
394
397
|
if (aiResults.created.length > 0) {
|
|
395
398
|
console.log(chalk.green(`✓ Created new AI files: ${aiResults.created.join(', ')}`));
|
|
396
399
|
}
|
|
397
|
-
if (aiResults.
|
|
398
|
-
console.log(chalk.
|
|
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(', ')}`));
|
|
399
405
|
}
|
|
400
406
|
}
|
|
401
407
|
|
package/package.json
CHANGED
package/proagents/.cursorrules
CHANGED
|
@@ -2,70 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
This project uses ProAgents workflow framework.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Essential Commands
|
|
6
6
|
|
|
7
|
-
|
|
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 |
|
|
8
16
|
|
|
9
|
-
|
|
10
|
-
- `pa:init` - Initialize ProAgents in project
|
|
11
|
-
- `pa:help` - Show all commands
|
|
12
|
-
- `pa:status` - Show current progress
|
|
17
|
+
## Full Command Reference
|
|
13
18
|
|
|
14
|
-
|
|
15
|
-
- `pa:feature "name"` - Start feature workflow (see ./proagents/WORKFLOW.md)
|
|
16
|
-
- `pa:feature-start "name"` - Start new feature
|
|
17
|
-
- `pa:feature-status` - Check feature status
|
|
18
|
-
- `pa:feature-list` - List all features
|
|
19
|
-
- `pa:feature-complete` - Mark feature complete
|
|
20
|
-
- `pa:fix "bug"` - Bug fix mode (see ./proagents/workflow-modes/entry-modes.md)
|
|
19
|
+
For complete command list, see: `./proagents/AI_INSTRUCTIONS.md`
|
|
21
20
|
|
|
22
|
-
|
|
23
|
-
- `pa:doc` - Documentation options
|
|
24
|
-
- `pa:doc-full` - Generate full documentation (see ./proagents/prompts/07-documentation.md)
|
|
25
|
-
- `pa:doc-moderate` - Balanced documentation
|
|
26
|
-
- `pa:doc-lite` - Quick reference
|
|
27
|
-
- `pa:doc-module [name]` - Document specific module
|
|
28
|
-
- `pa:doc-file [path]` - Document specific file
|
|
29
|
-
- `pa:doc-api` - Generate API documentation
|
|
30
|
-
- `pa:readme` - Generate/update README
|
|
31
|
-
- `pa:changelog` - Update CHANGELOG.md
|
|
32
|
-
- `pa:release` - Generate release notes
|
|
21
|
+
## On `pa:` Command
|
|
33
22
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
- `pa:review` - Code review workflow
|
|
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`
|
|
38
26
|
|
|
39
|
-
|
|
40
|
-
- `pa:deploy` - Deployment workflow (see ./proagents/prompts/08-deployment.md)
|
|
41
|
-
- `pa:rollback` - Rollback procedures
|
|
27
|
+
## Key Files
|
|
42
28
|
|
|
43
|
-
|
|
44
|
-
- `
|
|
45
|
-
-
|
|
46
|
-
- `pa:ai-remove` - Remove AI platforms from config
|
|
47
|
-
|
|
48
|
-
**Configuration**
|
|
49
|
-
- `pa:config` - Show current configuration
|
|
50
|
-
- `pa:config-list` - List all configurable options
|
|
51
|
-
- `pa:config-show` - Show current config values
|
|
52
|
-
- `pa:config-set K V` - Set a config value
|
|
53
|
-
- `pa:config-get K` - Get a config value
|
|
54
|
-
- `pa:config-setup` - Interactive config wizard
|
|
55
|
-
- `pa:config-customize` - Copy templates to customize
|
|
56
|
-
|
|
57
|
-
**Utilities**
|
|
58
|
-
- `pa:uninstall` - Remove ProAgents from project
|
|
59
|
-
|
|
60
|
-
## Workflow
|
|
61
|
-
|
|
62
|
-
When user types `pa:` command:
|
|
63
|
-
1. Read corresponding prompt from ./proagents/prompts/
|
|
64
|
-
2. Follow the defined workflow
|
|
65
|
-
3. Respect settings in ./proagents/proagents.config.yaml
|
|
66
|
-
|
|
67
|
-
## Key References
|
|
68
|
-
|
|
69
|
-
- Workflow: ./proagents/WORKFLOW.md
|
|
70
|
-
- Commands: ./proagents/PROAGENTS.md
|
|
71
|
-
- Prompts: ./proagents/prompts/
|
|
29
|
+
- `./proagents/AI_INSTRUCTIONS.md` - Complete command reference
|
|
30
|
+
- `./proagents/WORKFLOW.md` - Full 10-phase workflow
|
|
31
|
+
- `./proagents/prompts/` - Phase-specific prompts
|
|
@@ -1,69 +1,31 @@
|
|
|
1
1
|
# ProAgents Commands for GitHub Copilot
|
|
2
2
|
|
|
3
|
-
This project uses ProAgents workflow framework.
|
|
3
|
+
This project uses ProAgents workflow framework.
|
|
4
4
|
|
|
5
|
-
## Commands
|
|
5
|
+
## Essential Commands
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 |
|
|
11
16
|
|
|
12
|
-
|
|
13
|
-
- `pa:feature "name"` - Start feature (read ./proagents/WORKFLOW.md)
|
|
14
|
-
- `pa:feature-start "name"` - Start new feature
|
|
15
|
-
- `pa:feature-status` - Check feature status
|
|
16
|
-
- `pa:feature-list` - List all features
|
|
17
|
-
- `pa:feature-complete` - Mark feature complete
|
|
18
|
-
- `pa:fix "bug"` - Bug fix mode (read ./proagents/workflow-modes/entry-modes.md)
|
|
17
|
+
## Full Command Reference
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
- `pa:doc` - Documentation options
|
|
22
|
-
- `pa:doc-full` - Full docs (read ./proagents/prompts/07-documentation.md)
|
|
23
|
-
- `pa:doc-moderate` - Balanced docs
|
|
24
|
-
- `pa:doc-lite` - Quick reference
|
|
25
|
-
- `pa:doc-module [name]` - Document module
|
|
26
|
-
- `pa:doc-file [path]` - Document file
|
|
27
|
-
- `pa:doc-api` - API documentation
|
|
28
|
-
- `pa:readme` - Generate README
|
|
29
|
-
- `pa:changelog` - Update CHANGELOG
|
|
30
|
-
- `pa:release` - Release notes
|
|
31
|
-
- `pa:release [ver]` - Version-specific notes
|
|
32
|
-
|
|
33
|
-
### Quality & Testing
|
|
34
|
-
- `pa:qa` - Quality checks (read ./proagents/checklists/code-quality.md)
|
|
35
|
-
- `pa:test` - Test workflow (read ./proagents/prompts/06-testing.md)
|
|
36
|
-
- `pa:review` - Code review
|
|
37
|
-
|
|
38
|
-
### Deployment
|
|
39
|
-
- `pa:deploy` - Deployment (read ./proagents/prompts/08-deployment.md)
|
|
40
|
-
- `pa:rollback` - Rollback procedures
|
|
41
|
-
|
|
42
|
-
### AI Platform Management
|
|
43
|
-
- `pa:ai-list` - List installed AI platforms
|
|
44
|
-
- `pa:ai-add` - Add more AI platforms
|
|
45
|
-
- `pa:ai-remove` - Remove AI platforms from config
|
|
46
|
-
|
|
47
|
-
### Configuration
|
|
48
|
-
- `pa:config` - Show current configuration
|
|
49
|
-
- `pa:config-list` - List all configurable options
|
|
50
|
-
- `pa:config-show` - Show current config values
|
|
51
|
-
- `pa:config-set K V` - Set a config value
|
|
52
|
-
- `pa:config-get K` - Get a config value
|
|
53
|
-
- `pa:config-setup` - Interactive config wizard
|
|
54
|
-
- `pa:config-customize` - Copy templates to customize
|
|
55
|
-
|
|
56
|
-
### Utilities
|
|
57
|
-
- `pa:uninstall` - Remove ProAgents from project
|
|
19
|
+
For complete command list, see: `./proagents/AI_INSTRUCTIONS.md`
|
|
58
20
|
|
|
59
21
|
## On `pa:` Command
|
|
60
22
|
|
|
61
|
-
1. Read corresponding file
|
|
23
|
+
1. Read the corresponding file from `./proagents/prompts/` or `./proagents/workflow-modes/`
|
|
62
24
|
2. Follow the workflow instructions
|
|
63
|
-
3. Use config from `./proagents/proagents.config.yaml`
|
|
25
|
+
3. Use project config from `./proagents/proagents.config.yaml`
|
|
64
26
|
|
|
65
27
|
## Key Files
|
|
66
28
|
|
|
67
|
-
- `./proagents/
|
|
68
|
-
- `./proagents/
|
|
69
|
-
- `./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
|
package/proagents/.windsurfrules
CHANGED
|
@@ -2,73 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
This project uses ProAgents - an AI-agnostic development workflow framework.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Essential Commands
|
|
6
6
|
|
|
7
|
-
|
|
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 |
|
|
8
16
|
|
|
9
|
-
##
|
|
17
|
+
## Full Command Reference
|
|
10
18
|
|
|
11
|
-
|
|
12
|
-
- `pa:init` - Initialize ProAgents in project
|
|
13
|
-
- `pa:help` - Show all available commands
|
|
14
|
-
- `pa:status` - Show current progress
|
|
19
|
+
For complete command list, see: `./proagents/AI_INSTRUCTIONS.md`
|
|
15
20
|
|
|
16
|
-
|
|
17
|
-
- `pa:feature "name"` - Start new feature (read ./proagents/WORKFLOW.md)
|
|
18
|
-
- `pa:feature-start "name"` - Start new feature
|
|
19
|
-
- `pa:feature-status` - Check feature status
|
|
20
|
-
- `pa:feature-list` - List all features
|
|
21
|
-
- `pa:feature-complete` - Mark feature complete
|
|
22
|
-
- `pa:fix "description"` - Quick bug fix mode (read ./proagents/workflow-modes/entry-modes.md)
|
|
21
|
+
## On `pa:` Command
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
- `pa:doc-moderate` - Generate balanced documentation
|
|
28
|
-
- `pa:doc-lite` - Generate quick reference
|
|
29
|
-
- `pa:doc-module [name]` - Document specific module
|
|
30
|
-
- `pa:doc-file [path]` - Document specific file
|
|
31
|
-
- `pa:doc-api` - Generate API documentation
|
|
32
|
-
- `pa:readme` - Generate/update README
|
|
33
|
-
- `pa:changelog` - Update CHANGELOG.md
|
|
34
|
-
- `pa:release` - Generate release notes
|
|
35
|
-
- `pa:release [version]` - Version-specific release notes
|
|
36
|
-
|
|
37
|
-
### Quality & Testing
|
|
38
|
-
- `pa:qa` - Run quality checks (read ./proagents/checklists/code-quality.md)
|
|
39
|
-
- `pa:test` - Run test workflow (read ./proagents/prompts/06-testing.md)
|
|
40
|
-
- `pa:review` - Code review workflow
|
|
41
|
-
|
|
42
|
-
### Deployment
|
|
43
|
-
- `pa:deploy` - Deployment preparation (read ./proagents/prompts/08-deployment.md)
|
|
44
|
-
- `pa:rollback` - Rollback procedures
|
|
45
|
-
|
|
46
|
-
### AI Platform Management
|
|
47
|
-
- `pa:ai-list` - List installed AI platforms
|
|
48
|
-
- `pa:ai-add` - Add more AI platforms
|
|
49
|
-
- `pa:ai-remove` - Remove AI platforms from config
|
|
50
|
-
|
|
51
|
-
### Configuration
|
|
52
|
-
- `pa:config` - Show current configuration
|
|
53
|
-
- `pa:config-list` - List all configurable options
|
|
54
|
-
- `pa:config-show` - Show current config values
|
|
55
|
-
- `pa:config-set K V` - Set a config value
|
|
56
|
-
- `pa:config-get K` - Get a config value
|
|
57
|
-
- `pa:config-setup` - Interactive config wizard
|
|
58
|
-
- `pa:config-customize` - Copy templates to customize
|
|
59
|
-
|
|
60
|
-
### Utilities
|
|
61
|
-
- `pa:uninstall` - Remove ProAgents from project
|
|
62
|
-
|
|
63
|
-
## Execution Instructions
|
|
64
|
-
|
|
65
|
-
When user types a `pa:` command:
|
|
66
|
-
1. Read the corresponding prompt file from `./proagents/prompts/`
|
|
67
|
-
2. Follow the workflow instructions in that file
|
|
68
|
-
3. Use project configuration from `./proagents/proagents.config.yaml`
|
|
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`
|
|
69
26
|
|
|
70
27
|
## Key Files
|
|
71
28
|
|
|
29
|
+
- `./proagents/AI_INSTRUCTIONS.md` - Complete command reference
|
|
72
30
|
- `./proagents/WORKFLOW.md` - Full 10-phase workflow
|
|
73
|
-
- `./proagents/
|
|
74
|
-
- `./proagents/prompts/` - Phase-specific AI prompts
|
|
31
|
+
- `./proagents/prompts/` - Phase-specific prompts
|
package/proagents/ANTIGRAVITY.md
CHANGED
|
@@ -2,113 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
This project uses ProAgents - an AI-agnostic development workflow framework.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Essential Commands
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## Available Commands
|
|
10
|
-
|
|
11
|
-
### Initialization
|
|
12
|
-
| Command | Description |
|
|
13
|
-
|---------|-------------|
|
|
14
|
-
| `pa:init` | Initialize ProAgents in project |
|
|
15
|
-
| `pa:help` | Show all available commands |
|
|
16
|
-
| `pa:status` | Show current progress |
|
|
17
|
-
|
|
18
|
-
### Feature Development
|
|
19
|
-
| Command | Description |
|
|
20
|
-
|---------|-------------|
|
|
7
|
+
| Command | Action |
|
|
8
|
+
|---------|--------|
|
|
21
9
|
| `pa:feature "name"` | Start new feature workflow |
|
|
22
|
-
| `pa:
|
|
23
|
-
| `pa:
|
|
24
|
-
| `pa:
|
|
25
|
-
| `pa:feature-complete` | Mark feature complete |
|
|
26
|
-
| `pa:fix "description"` | Quick bug fix mode |
|
|
27
|
-
|
|
28
|
-
### Documentation Commands
|
|
29
|
-
| Command | Description |
|
|
30
|
-
|---------|-------------|
|
|
31
|
-
| `pa:doc` | Show documentation options |
|
|
32
|
-
| `pa:doc-full` | Generate full project documentation |
|
|
33
|
-
| `pa:doc-moderate` | Generate balanced documentation |
|
|
34
|
-
| `pa:doc-lite` | Generate quick reference |
|
|
35
|
-
| `pa:doc-module [name]` | Document specific module |
|
|
36
|
-
| `pa:doc-file [path]` | Document specific file |
|
|
37
|
-
| `pa:doc-api` | Generate API documentation |
|
|
38
|
-
| `pa:readme` | Generate/update README |
|
|
39
|
-
| `pa:changelog` | Update CHANGELOG.md |
|
|
40
|
-
| `pa:release` | Generate release notes |
|
|
41
|
-
| `pa:release [version]` | Version-specific release notes |
|
|
42
|
-
|
|
43
|
-
### Quality & Testing
|
|
44
|
-
| Command | Description |
|
|
45
|
-
|---------|-------------|
|
|
46
|
-
| `pa:qa` | Run quality assurance checks |
|
|
10
|
+
| `pa:fix "bug"` | Quick bug fix mode |
|
|
11
|
+
| `pa:doc` | Documentation options |
|
|
12
|
+
| `pa:qa` | Quality assurance checks |
|
|
47
13
|
| `pa:test` | Run test workflow |
|
|
48
|
-
| `pa:review` | Code review workflow |
|
|
49
|
-
|
|
50
|
-
### Deployment
|
|
51
|
-
| Command | Description |
|
|
52
|
-
|---------|-------------|
|
|
53
14
|
| `pa:deploy` | Deployment preparation |
|
|
54
|
-
| `pa:
|
|
55
|
-
|
|
56
|
-
### AI Platform Management
|
|
57
|
-
| Command | Description |
|
|
58
|
-
|---------|-------------|
|
|
59
|
-
| `pa:ai-list` | List installed AI platforms |
|
|
60
|
-
| `pa:ai-add` | Add more AI platforms |
|
|
61
|
-
| `pa:ai-remove` | Remove AI platforms from config |
|
|
62
|
-
|
|
63
|
-
### Configuration
|
|
64
|
-
| Command | Description |
|
|
65
|
-
|---------|-------------|
|
|
66
|
-
| `pa:config` | Show current configuration |
|
|
67
|
-
| `pa:config-list` | List all configurable options |
|
|
68
|
-
| `pa:config-show` | Show current config values |
|
|
69
|
-
| `pa:config-set K V` | Set a config value |
|
|
70
|
-
| `pa:config-get K` | Get a config value |
|
|
71
|
-
| `pa:config-setup` | Interactive config wizard |
|
|
72
|
-
| `pa:config-customize` | Copy templates to customize |
|
|
73
|
-
|
|
74
|
-
### Utilities
|
|
75
|
-
| Command | Description |
|
|
76
|
-
|---------|-------------|
|
|
77
|
-
| `pa:uninstall` | Remove ProAgents from project |
|
|
78
|
-
|
|
79
|
-
## Execution Instructions
|
|
15
|
+
| `pa:status` | Show current progress |
|
|
80
16
|
|
|
81
|
-
|
|
17
|
+
## Full Command Reference
|
|
82
18
|
|
|
83
|
-
|
|
84
|
-
2. **Follow the workflow** defined in that prompt
|
|
85
|
-
3. **Use project config** from `./proagents/proagents.config.yaml`
|
|
19
|
+
For complete command list, see: `./proagents/AI_INSTRUCTIONS.md`
|
|
86
20
|
|
|
87
|
-
##
|
|
21
|
+
## On `pa:` Command
|
|
88
22
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
| `pa:fix` | `./proagents/workflow-modes/entry-modes.md` (Bug Fix section) |
|
|
93
|
-
| `pa:doc*` | `./proagents/prompts/07-documentation.md` |
|
|
94
|
-
| `pa:qa` | `./proagents/checklists/code-quality.md` |
|
|
95
|
-
| `pa:test` | `./proagents/prompts/06-testing.md` |
|
|
96
|
-
| `pa:deploy` | `./proagents/prompts/08-deployment.md` |
|
|
97
|
-
| `pa:release` | `./proagents/prompts/07-documentation.md` (Release Notes section) |
|
|
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`
|
|
98
26
|
|
|
99
|
-
## Key
|
|
27
|
+
## Key Files
|
|
100
28
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
| `./proagents/PROAGENTS.md` | Quick command reference |
|
|
105
|
-
| `./proagents/prompts/` | Phase-specific AI prompts |
|
|
106
|
-
| `./proagents/proagents.config.yaml` | Project configuration |
|
|
29
|
+
- `./proagents/AI_INSTRUCTIONS.md` - Complete command reference
|
|
30
|
+
- `./proagents/WORKFLOW.md` - Full 10-phase workflow
|
|
31
|
+
- `./proagents/prompts/` - Phase-specific prompts
|
|
107
32
|
|
|
108
|
-
##
|
|
33
|
+
## Note
|
|
109
34
|
|
|
110
|
-
|
|
111
|
-
- Always check `./proagents/` folder for project-specific configurations
|
|
112
|
-
- Preserve user's `proagents.config.yaml` settings
|
|
113
|
-
- Follow existing code patterns found in the project
|
|
114
|
-
- Use the checklists in `./proagents/checklists/` for quality gates
|
|
35
|
+
Works with both Gemini and Claude models in Antigravity.
|