proagents 1.0.6 → 1.0.8

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.
@@ -86,6 +86,11 @@ const FRAMEWORK_FILES = [
86
86
  'PROAGENTS.md',
87
87
  'GETTING-STARTED-STORY.md',
88
88
  'slash-commands.json',
89
+ 'CLAUDE.md',
90
+ '.cursorrules',
91
+ 'AI_INSTRUCTIONS.md',
92
+ 'GEMINI.md',
93
+ 'CHATGPT.md',
89
94
  ];
90
95
 
91
96
  /**
@@ -253,6 +258,35 @@ For detailed commands, see \`./proagents/PROAGENTS.md\`
253
258
  console.log(chalk.green('✓ Created README.md with ProAgents commands'));
254
259
  }
255
260
 
261
+ // Copy AI instruction files to project root (for AI platform recognition)
262
+ const aiFiles = [
263
+ { src: 'CLAUDE.md', target: 'CLAUDE.md', desc: 'Claude AI' },
264
+ { src: '.cursorrules', target: '.cursorrules', desc: 'Cursor AI' },
265
+ { src: 'GEMINI.md', target: 'GEMINI.md', desc: 'Gemini AI' },
266
+ { src: 'CHATGPT.md', target: 'CHATGPT.md', desc: 'ChatGPT/Codex' },
267
+ ];
268
+
269
+ for (const file of aiFiles) {
270
+ const sourcePath = join(sourceDir, file.src);
271
+ const targetPath = join(targetDir, file.target);
272
+ if (existsSync(sourcePath) && !existsSync(targetPath)) {
273
+ cpSync(sourcePath, targetPath);
274
+ console.log(chalk.green(`✓ Created ${file.target} (for ${file.desc} recognition)`));
275
+ }
276
+ }
277
+
278
+ // Copy .github/copilot-instructions.md for GitHub Copilot
279
+ const copilotSource = join(sourceDir, '.github', 'copilot-instructions.md');
280
+ const githubDir = join(targetDir, '.github');
281
+ const copilotTarget = join(githubDir, 'copilot-instructions.md');
282
+ if (existsSync(copilotSource) && !existsSync(copilotTarget)) {
283
+ if (!existsSync(githubDir)) {
284
+ mkdirSync(githubDir, { recursive: true });
285
+ }
286
+ cpSync(copilotSource, copilotTarget);
287
+ console.log(chalk.green('✓ Created .github/copilot-instructions.md (for GitHub Copilot)'));
288
+ }
289
+
256
290
  // Success message
257
291
  console.log(chalk.green('\n✓ ProAgents initialized successfully!\n'));
258
292
 
@@ -363,6 +397,45 @@ async function smartUpdate(sourceDir, targetDir) {
363
397
  }
364
398
  }
365
399
  }
400
+
401
+ // Copy AI instruction files to project root (for AI platform recognition)
402
+ const projectRoot = join(targetDir, '..');
403
+ const aiFiles = [
404
+ 'CLAUDE.md',
405
+ '.cursorrules',
406
+ 'AI_INSTRUCTIONS.md',
407
+ 'GEMINI.md',
408
+ 'CHATGPT.md',
409
+ ];
410
+ let aiFilesUpdated = 0;
411
+
412
+ for (const file of aiFiles) {
413
+ const sourcePath = join(sourceDir, file);
414
+ const targetPath = join(projectRoot, file);
415
+
416
+ if (existsSync(sourcePath)) {
417
+ cpSync(sourcePath, targetPath, { force: true });
418
+ aiFilesUpdated++;
419
+ }
420
+ }
421
+
422
+ // Handle .github/copilot-instructions.md separately (needs directory creation)
423
+ const copilotSource = join(sourceDir, '.github', 'copilot-instructions.md');
424
+ const githubDir = join(projectRoot, '.github');
425
+ const copilotTarget = join(githubDir, 'copilot-instructions.md');
426
+
427
+ if (existsSync(copilotSource)) {
428
+ if (!existsSync(githubDir)) {
429
+ mkdirSync(githubDir, { recursive: true });
430
+ }
431
+ cpSync(copilotSource, copilotTarget, { force: true });
432
+ aiFilesUpdated++;
433
+ }
434
+
435
+ if (aiFilesUpdated > 0) {
436
+ console.log(chalk.green(`✓ Updated ${aiFilesUpdated} AI instruction files`));
437
+ console.log(chalk.gray(' (CLAUDE.md, .cursorrules, GEMINI.md, CHATGPT.md, .github/copilot-instructions.md)'));
438
+ }
366
439
  }
367
440
 
368
441
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proagents",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
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",
@@ -0,0 +1,33 @@
1
+ # ProAgents Rules for Cursor
2
+
3
+ This project uses ProAgents workflow framework.
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/
@@ -0,0 +1,45 @@
1
+ # ProAgents Commands for GitHub Copilot
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
34
+
35
+ ## On `pa:` Command
36
+
37
+ 1. Read corresponding file in `./proagents/prompts/` or `./proagents/workflow-modes/`
38
+ 2. Follow the workflow instructions
39
+ 3. Use config from `./proagents/proagents.config.yaml`
40
+
41
+ ## Key Files
42
+
43
+ - `./proagents/WORKFLOW.md` - Full workflow
44
+ - `./proagents/PROAGENTS.md` - Command reference
45
+ - `./proagents/prompts/` - Phase prompts
@@ -0,0 +1,71 @@
1
+ # AI Instructions for ProAgents
2
+
3
+ This project uses ProAgents - an AI-agnostic development workflow framework.
4
+
5
+ ## Command Recognition
6
+
7
+ When the user types commands starting with `pa:`, recognize and execute them:
8
+
9
+ ### Core Commands
10
+ | Command | Action |
11
+ |---------|--------|
12
+ | `pa:help` | Show all available commands |
13
+ | `pa:feature "name"` | Start new feature workflow |
14
+ | `pa:fix "description"` | Quick bug fix mode |
15
+ | `pa:status` | Show current progress |
16
+
17
+ ### Documentation Commands
18
+ | Command | Action |
19
+ |---------|--------|
20
+ | `pa:doc` | Show documentation options |
21
+ | `pa:doc-full` | Generate full project documentation |
22
+ | `pa:doc-moderate` | Generate balanced documentation |
23
+ | `pa:doc-lite` | Generate quick reference |
24
+ | `pa:doc-module [name]` | Document specific module |
25
+ | `pa:doc-file [path]` | Document specific file |
26
+ | `pa:doc-api` | Generate API documentation |
27
+ | `pa:readme` | Generate/update README |
28
+ | `pa:changelog` | Update CHANGELOG.md |
29
+ | `pa:release` | Generate release notes |
30
+ | `pa:release [version]` | Version-specific release notes |
31
+
32
+ ### Quality Commands
33
+ | Command | Action |
34
+ |---------|--------|
35
+ | `pa:qa` | Run quality assurance checks |
36
+ | `pa:test` | Run test workflow |
37
+ | `pa:review` | Code review workflow |
38
+
39
+ ### Deployment Commands
40
+ | Command | Action |
41
+ |---------|--------|
42
+ | `pa:deploy` | Deployment preparation |
43
+ | `pa:rollback` | Rollback procedures |
44
+
45
+ ## How to Execute Commands
46
+
47
+ When user types a `pa:` command:
48
+
49
+ 1. **Read the corresponding prompt file** from `./proagents/prompts/`
50
+ 2. **Follow the workflow** defined in that prompt
51
+ 3. **Use project context** from `./proagents/` folder
52
+
53
+ ### Prompt File Mapping
54
+ - `pa:feature` → `./proagents/prompts/00-init.md` + workflow
55
+ - `pa:fix` → `./proagents/workflow-modes/entry-modes.md` (Bug Fix section)
56
+ - `pa:doc*` → `./proagents/prompts/07-documentation.md`
57
+ - `pa:qa` → `./proagents/checklists/code-quality.md`
58
+ - `pa:test` → `./proagents/prompts/06-testing.md`
59
+ - `pa:deploy` → `./proagents/prompts/08-deployment.md`
60
+ - `pa:release` → `./proagents/prompts/07-documentation.md` (Release Notes section)
61
+
62
+ ## Workflow Reference
63
+
64
+ Full workflow documentation: `./proagents/WORKFLOW.md`
65
+ Quick command reference: `./proagents/PROAGENTS.md`
66
+
67
+ ## Important
68
+
69
+ - Always check `./proagents/` folder for project-specific configurations
70
+ - Preserve user's `proagents.config.yaml` settings
71
+ - Follow existing code patterns found in the project
@@ -0,0 +1,79 @@
1
+ # ProAgents Commands for ChatGPT / Codex
2
+
3
+ This project uses ProAgents - an AI-agnostic development workflow framework.
4
+
5
+ ## Command Recognition
6
+
7
+ When user types commands starting with `pa:`, recognize and execute them:
8
+
9
+ ## Available Commands
10
+
11
+ ### Core Commands
12
+ | Command | Action |
13
+ |---------|--------|
14
+ | `pa:help` | Show all available commands |
15
+ | `pa:feature "name"` | Start new feature workflow |
16
+ | `pa:fix "description"` | Quick bug fix mode |
17
+ | `pa:status` | Show current progress |
18
+
19
+ ### Documentation Commands
20
+ | Command | Action |
21
+ |---------|--------|
22
+ | `pa:doc` | Show documentation options |
23
+ | `pa:doc-full` | Generate full project documentation |
24
+ | `pa:doc-moderate` | Generate balanced documentation |
25
+ | `pa:doc-lite` | Generate quick reference |
26
+ | `pa:doc-module [name]` | Document specific module |
27
+ | `pa:doc-file [path]` | Document specific file |
28
+ | `pa:doc-api` | Generate API documentation |
29
+ | `pa:readme` | Generate/update README |
30
+ | `pa:changelog` | Update CHANGELOG.md |
31
+ | `pa:release` | Generate release notes |
32
+ | `pa:release [version]` | Version-specific release notes |
33
+
34
+ ### Quality Commands
35
+ | Command | Action |
36
+ |---------|--------|
37
+ | `pa:qa` | Run quality assurance checks |
38
+ | `pa:test` | Run test workflow |
39
+ | `pa:review` | Code review workflow |
40
+
41
+ ### Deployment Commands
42
+ | Command | Action |
43
+ |---------|--------|
44
+ | `pa:deploy` | Deployment preparation |
45
+ | `pa:rollback` | Rollback procedures |
46
+
47
+ ## Execution Instructions
48
+
49
+ When user types a `pa:` command:
50
+
51
+ 1. **Read the corresponding prompt file** from `./proagents/prompts/`
52
+ 2. **Follow the workflow** defined in that prompt
53
+ 3. **Use project config** from `./proagents/proagents.config.yaml`
54
+
55
+ ## Prompt File Mapping
56
+
57
+ - `pa:feature` → Read `./proagents/prompts/00-init.md` and `./proagents/WORKFLOW.md`
58
+ - `pa:fix` → Read `./proagents/workflow-modes/entry-modes.md` (Bug Fix Fast Track section)
59
+ - `pa:doc*` → Read `./proagents/prompts/07-documentation.md`
60
+ - `pa:qa` → Read `./proagents/checklists/code-quality.md`
61
+ - `pa:test` → Read `./proagents/prompts/06-testing.md`
62
+ - `pa:deploy` → Read `./proagents/prompts/08-deployment.md`
63
+ - `pa:release` → Read `./proagents/prompts/07-documentation.md` (Release Notes section)
64
+
65
+ ## Key Reference Files
66
+
67
+ | File | Purpose |
68
+ |------|---------|
69
+ | `./proagents/WORKFLOW.md` | Full 10-phase workflow documentation |
70
+ | `./proagents/PROAGENTS.md` | Quick command reference |
71
+ | `./proagents/prompts/` | Phase-specific AI prompts |
72
+ | `./proagents/proagents.config.yaml` | Project configuration |
73
+
74
+ ## Important Notes
75
+
76
+ - Always check `./proagents/` folder for project-specific configurations
77
+ - Preserve user's `proagents.config.yaml` settings
78
+ - Follow existing code patterns found in the project
79
+ - Use the checklists in `./proagents/checklists/` for quality gates
@@ -0,0 +1,33 @@
1
+ # ProAgents Commands for Claude
2
+
3
+ This project uses ProAgents. Recognize `pa:` commands:
4
+
5
+ ## Commands
6
+
7
+ ```
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
+ pa:doc → Documentation options
13
+ pa:doc-full → Full docs (read ./proagents/prompts/07-documentation.md)
14
+ pa:doc-moderate → Balanced docs
15
+ pa:doc-lite → Quick reference
16
+ pa:qa → Quality checks (read ./proagents/checklists/code-quality.md)
17
+ pa:test → Test workflow (read ./proagents/prompts/06-testing.md)
18
+ pa:deploy → Deployment (read ./proagents/prompts/08-deployment.md)
19
+ pa:release → Release notes
20
+ pa:release [ver] → Version-specific notes
21
+ ```
22
+
23
+ ## On `pa:` command
24
+
25
+ 1. Read the corresponding file in `./proagents/prompts/` or `./proagents/workflow-modes/`
26
+ 2. Follow the workflow instructions
27
+ 3. Use project config from `./proagents/proagents.config.yaml`
28
+
29
+ ## Key Files
30
+
31
+ - `./proagents/WORKFLOW.md` - Full 10-phase workflow
32
+ - `./proagents/PROAGENTS.md` - Quick command reference
33
+ - `./proagents/prompts/` - Phase-specific prompts
@@ -0,0 +1,70 @@
1
+ # ProAgents Commands for Gemini
2
+
3
+ This project uses ProAgents - an AI-agnostic development workflow framework.
4
+
5
+ ## Command Recognition
6
+
7
+ When user types commands starting with `pa:`, recognize and execute them:
8
+
9
+ ## Core Commands
10
+ ```
11
+ pa:help → Show all available commands
12
+ pa:feature "name" → Start new feature workflow
13
+ pa:fix "description" → Quick bug fix mode
14
+ pa:status → Show current progress
15
+ ```
16
+
17
+ ## Documentation Commands
18
+ ```
19
+ pa:doc → Show documentation options
20
+ pa:doc-full → Generate full project documentation
21
+ pa:doc-moderate → Generate balanced documentation
22
+ pa:doc-lite → Generate quick reference
23
+ pa:doc-module [name] → Document specific module
24
+ pa:doc-file [path] → Document specific file
25
+ pa:doc-api → Generate API documentation
26
+ pa:readme → Generate/update README
27
+ pa:changelog → Update CHANGELOG.md
28
+ pa:release → Generate release notes
29
+ pa:release [version] → Version-specific release notes
30
+ ```
31
+
32
+ ## Quality & Testing Commands
33
+ ```
34
+ pa:qa → Run quality assurance checks
35
+ pa:test → Run test workflow
36
+ pa:review → Code review workflow
37
+ ```
38
+
39
+ ## Deployment Commands
40
+ ```
41
+ pa:deploy → Deployment preparation
42
+ pa:rollback → Rollback procedures
43
+ ```
44
+
45
+ ## How to Execute
46
+
47
+ When user types a `pa:` command:
48
+
49
+ 1. Read the corresponding prompt file from `./proagents/prompts/`
50
+ 2. Follow the workflow instructions in that file
51
+ 3. Use project configuration from `./proagents/proagents.config.yaml`
52
+
53
+ ## Prompt File Mapping
54
+
55
+ | Command | Prompt File |
56
+ |---------|-------------|
57
+ | `pa:feature` | `./proagents/prompts/00-init.md` + `./proagents/WORKFLOW.md` |
58
+ | `pa:fix` | `./proagents/workflow-modes/entry-modes.md` (Bug Fix section) |
59
+ | `pa:doc*` | `./proagents/prompts/07-documentation.md` |
60
+ | `pa:qa` | `./proagents/checklists/code-quality.md` |
61
+ | `pa:test` | `./proagents/prompts/06-testing.md` |
62
+ | `pa:deploy` | `./proagents/prompts/08-deployment.md` |
63
+ | `pa:release` | `./proagents/prompts/07-documentation.md` (Release Notes section) |
64
+
65
+ ## Key Files
66
+
67
+ - `./proagents/WORKFLOW.md` - Full 10-phase workflow documentation
68
+ - `./proagents/PROAGENTS.md` - Quick command reference
69
+ - `./proagents/prompts/` - Phase-specific AI prompts
70
+ - `./proagents/proagents.config.yaml` - Project configuration