proagents 1.0.0 → 1.0.2

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.
Files changed (149) hide show
  1. package/README.md +12 -12
  2. package/lib/commands/init.js +122 -11
  3. package/package.json +1 -1
  4. package/proagents/PROAGENTS.md +54 -0
  5. package/proagents/README.md +17 -17
  6. package/proagents/WORKFLOW.md +110 -110
  7. package/proagents/active-features/README.md +9 -9
  8. package/proagents/adr/README.md +15 -15
  9. package/proagents/api-versioning/changelog-template.md +4 -4
  10. package/proagents/api-versioning/deprecation-workflow.md +6 -6
  11. package/proagents/api-versioning/versioning-strategy.md +5 -5
  12. package/proagents/automation/ai-behavior-rules.md +1 -1
  13. package/proagents/automation/auto-decisions.md +6 -6
  14. package/proagents/cache/README.md +1 -1
  15. package/proagents/changelog/README.md +16 -16
  16. package/proagents/changelog/entry-template.md +4 -4
  17. package/proagents/cli/README.md +1 -1
  18. package/proagents/cli/slash-commands.md +202 -202
  19. package/proagents/collaboration/sessions.md +6 -6
  20. package/proagents/config/integrations/README.md +1 -1
  21. package/proagents/contract-testing/README.md +5 -5
  22. package/proagents/contract-testing/schema-validation.md +6 -6
  23. package/proagents/cost/cost-template.md +6 -6
  24. package/proagents/cost/estimation-framework.md +5 -5
  25. package/proagents/database/migration-workflow.md +6 -6
  26. package/proagents/database/rollback-scripts.md +6 -6
  27. package/proagents/database/safety-checks.md +6 -6
  28. package/proagents/examples/backend-nodejs/workflow-example.md +1 -1
  29. package/proagents/examples/web-frontend-react/workflow-example.md +1 -1
  30. package/proagents/existing-projects/README.md +3 -3
  31. package/proagents/existing-projects/challenges.md +1 -1
  32. package/proagents/existing-projects/coexistence-mode.md +8 -8
  33. package/proagents/existing-projects/compatibility-assessment.md +12 -12
  34. package/proagents/existing-projects/gradual-adoption.md +14 -14
  35. package/proagents/existing-projects/migration-strategies.md +7 -7
  36. package/proagents/existing-projects/pattern-reconciliation.md +10 -10
  37. package/proagents/existing-projects/team-onboarding.md +23 -23
  38. package/proagents/existing-projects/technical-debt-handling.md +24 -24
  39. package/proagents/getting-started/README.md +3 -3
  40. package/proagents/getting-started/ai-training-setup.md +24 -24
  41. package/proagents/getting-started/pm-integration.md +22 -22
  42. package/proagents/getting-started/prompt-engineering.md +4 -4
  43. package/proagents/getting-started/team-onboarding.md +5 -5
  44. package/proagents/git/branch-strategy.md +10 -10
  45. package/proagents/git/commit-conventions.md +5 -5
  46. package/proagents/git/pr-workflow.md +5 -5
  47. package/proagents/git/rollback-procedures.md +7 -7
  48. package/proagents/ide-integration/README.md +1 -1
  49. package/proagents/ide-integration/cline-config.md +10 -10
  50. package/proagents/ide-integration/continue-config.md +1 -1
  51. package/proagents/ide-integration/cursor-rules.md +10 -10
  52. package/proagents/ide-integration/github-copilot.md +4 -4
  53. package/proagents/ide-integration/windsurf-rules.md +9 -9
  54. package/proagents/learning/adaptation.md +10 -10
  55. package/proagents/learning/data-collection.md +9 -9
  56. package/proagents/learning/reports.md +14 -14
  57. package/proagents/metrics/README.md +6 -6
  58. package/proagents/metrics/code-quality-kpis.md +6 -6
  59. package/proagents/metrics/deployment-metrics.md +6 -6
  60. package/proagents/metrics/developer-productivity.md +5 -5
  61. package/proagents/metrics/learning-effectiveness.md +6 -6
  62. package/proagents/migrations/from-claude-projects.md +7 -6
  63. package/proagents/migrations/from-cursor-rules.md +1 -1
  64. package/proagents/notifications/templates.md +3 -3
  65. package/proagents/parallel-features/README.md +5 -5
  66. package/proagents/parallel-features/conflict-detection.md +6 -6
  67. package/proagents/parallel-features/dependency-management.md +7 -7
  68. package/proagents/parallel-features/merge-coordination.md +8 -8
  69. package/proagents/parallel-features/tracking-system.md +7 -7
  70. package/proagents/performance/bundle-analysis.md +4 -4
  71. package/proagents/performance/load-testing.md +7 -7
  72. package/proagents/performance/runtime-metrics.md +6 -6
  73. package/proagents/performance/web-vitals.md +6 -6
  74. package/proagents/plugins/README.md +1 -1
  75. package/proagents/plugins/creating-plugins.md +1 -1
  76. package/proagents/plugins/plugin-api.md +2 -2
  77. package/proagents/plugins/plugin-registry.md +3 -3
  78. package/proagents/proagents.config.yaml +32 -9
  79. package/proagents/prompts/00-init-wizard.md +18 -18
  80. package/proagents/prompts/00-init.md +93 -93
  81. package/proagents/prompts/01-analysis.md +5 -5
  82. package/proagents/prompts/02-requirements.md +8 -8
  83. package/proagents/prompts/03-ui-design.md +14 -14
  84. package/proagents/prompts/04-planning.md +10 -10
  85. package/proagents/prompts/05-implementation.md +10 -10
  86. package/proagents/prompts/06-testing.md +14 -14
  87. package/proagents/prompts/06.5-code-review.md +8 -8
  88. package/proagents/prompts/07-documentation.md +142 -20
  89. package/proagents/prompts/08-deployment.md +12 -12
  90. package/proagents/prompts/09-rollback.md +12 -12
  91. package/proagents/prompts/README.md +4 -4
  92. package/proagents/prompts/accessibility/README.md +6 -6
  93. package/proagents/prompts/accessibility/audit.md +3 -3
  94. package/proagents/prompts/accessibility/wcag.md +1 -1
  95. package/proagents/prompts/debugging/README.md +4 -4
  96. package/proagents/prompts/debugging/performance-debug.md +5 -5
  97. package/proagents/prompts/debugging/systematic.md +4 -4
  98. package/proagents/prompts/performance/README.md +4 -4
  99. package/proagents/prompts/performance/analyze.md +4 -4
  100. package/proagents/prompts/refactoring/README.md +4 -4
  101. package/proagents/prompts/refactoring/code-smells.md +9 -9
  102. package/proagents/prompts/refactoring/patterns.md +6 -6
  103. package/proagents/prompts/security-audit/README.md +6 -6
  104. package/proagents/prompts/security-audit/code-review.md +5 -5
  105. package/proagents/reverse-engineering/README.md +21 -21
  106. package/proagents/reverse-engineering/architecture-extraction.md +6 -6
  107. package/proagents/reverse-engineering/code-analysis.md +6 -6
  108. package/proagents/reverse-engineering/dependency-mapping.md +10 -10
  109. package/proagents/reverse-engineering/diagram-generation.md +9 -9
  110. package/proagents/reverse-engineering/documentation-generation.md +7 -7
  111. package/proagents/reverse-engineering/pattern-detection.md +8 -8
  112. package/proagents/reverse-engineering/quality-assessment.md +10 -10
  113. package/proagents/rules/README.md +7 -7
  114. package/proagents/rules/custom-rules.md +8 -8
  115. package/proagents/runbooks/README.md +9 -9
  116. package/proagents/runbooks/dependency-vulnerability.md +4 -4
  117. package/proagents/runbooks/incident-response.md +12 -12
  118. package/proagents/runbooks/performance-degradation.md +5 -5
  119. package/proagents/runbooks/production-debugging.md +5 -5
  120. package/proagents/scaffolding/nextjs/README.md +10 -10
  121. package/proagents/scaffolding/nodejs/README.md +10 -10
  122. package/proagents/scaffolding/project-types.md +7 -7
  123. package/proagents/scaffolding/react/README.md +6 -6
  124. package/proagents/scaffolding/react-native/README.md +10 -10
  125. package/proagents/security/owasp-checklist.md +3 -3
  126. package/proagents/security/sast-guide.md +6 -6
  127. package/proagents/security/security-report-template.md +5 -5
  128. package/proagents/security/vulnerability-scanning.md +6 -6
  129. package/proagents/slash-commands.json +50 -75
  130. package/proagents/standards/README.md +4 -4
  131. package/proagents/standards/architecture-patterns.md +10 -10
  132. package/proagents/standards/naming-conventions-template.md +4 -4
  133. package/proagents/standards/override-system.md +8 -8
  134. package/proagents/team/code-ownership.md +4 -4
  135. package/proagents/team/communication-templates.md +6 -6
  136. package/proagents/team/handoff-protocol.md +4 -4
  137. package/proagents/team/ide-setup/cursor.md +1 -1
  138. package/proagents/templates/README.md +1 -1
  139. package/proagents/templates/release-notes.md +214 -0
  140. package/proagents/ui-integration/figma-guide.md +3 -3
  141. package/proagents/ui-integration/manual-export-guide.md +2 -2
  142. package/proagents/ui-integration/sketch-interpretation.md +2 -2
  143. package/proagents/webhooks/events.md +3 -3
  144. package/proagents/workflow-modes/README.md +11 -11
  145. package/proagents/workflow-modes/deferred-tracking.md +12 -12
  146. package/proagents/workflow-modes/entry-modes.md +16 -16
  147. package/proagents/workflow-modes/guardrails.md +7 -7
  148. package/proagents/workflow-modes/mode-detection.md +7 -7
  149. package/proagents/workflow-modes/mode-switching.md +9 -9
@@ -7,16 +7,16 @@ Universal prompts for creating comprehensive documentation.
7
7
  ## Quick Start
8
8
 
9
9
  ```
10
- /doc
10
+ pa:doc
11
11
  ```
12
12
 
13
13
  Related commands:
14
- - `/doc-full` - Full in-depth documentation
15
- - `/doc-moderate` - Balanced documentation
16
- - `/doc-lite` - Quick reference docs
17
- - `/doc-module [name]` - Document specific module
18
- - `/doc-file [path]` - Document specific file
19
- - `/doc-api` - API documentation
14
+ - `pa:doc-full` - Full in-depth documentation
15
+ - `pa:doc-moderate` - Balanced documentation
16
+ - `pa:doc-lite` - Quick reference docs
17
+ - `pa:doc-module [name]` - Document specific module
18
+ - `pa:doc-file [path]` - Document specific file
19
+ - `pa:doc-api` - API documentation
20
20
 
21
21
  ---
22
22
 
@@ -431,6 +431,8 @@ Generate changelog entry for: [VERSION]
431
431
  Changes made:
432
432
  [LIST OF CHANGES]
433
433
 
434
+ OUTPUT LOCATION: ./CHANGELOG.md (project root - client-facing)
435
+
434
436
  Format:
435
437
  ```markdown
436
438
  ## [Version] - [Date]
@@ -460,6 +462,110 @@ Format:
460
462
 
461
463
  ---
462
464
 
465
+ ## Release Notes (Client-Facing)
466
+
467
+ ### Generate Release Notes
468
+
469
+ ```
470
+ Generate release notes for: [VERSION]
471
+
472
+ OUTPUT LOCATION: ./RELEASE_NOTES.md (project root - for client sharing)
473
+ ALSO SAVE TO: ./docs/releases/v[VERSION].md (version archive)
474
+
475
+ ```markdown
476
+ # Release Notes - v[VERSION]
477
+
478
+ **Release Date:** [DATE]
479
+
480
+ ## Overview
481
+
482
+ [2-3 sentence summary of this release for clients/stakeholders]
483
+
484
+ ## What's New
485
+
486
+ ### [Feature 1 Name]
487
+ [Client-friendly description of the feature and its benefits]
488
+
489
+ ### [Feature 2 Name]
490
+ [Client-friendly description]
491
+
492
+ ## Improvements
493
+
494
+ - [Improvement 1 - user-facing benefit]
495
+ - [Improvement 2 - user-facing benefit]
496
+
497
+ ## Bug Fixes
498
+
499
+ - Fixed [issue description in user terms]
500
+ - Resolved [issue description in user terms]
501
+
502
+ ## Breaking Changes
503
+
504
+ ⚠️ [Any breaking changes that affect users - if none, omit section]
505
+
506
+ ## Upgrade Instructions
507
+
508
+ [Steps to upgrade from previous version - if needed]
509
+
510
+ ## Known Issues
511
+
512
+ [Any known issues in this release - if none, omit section]
513
+
514
+ ---
515
+
516
+ For technical details, see [CHANGELOG.md](./CHANGELOG.md)
517
+ For support, contact [support email/link]
518
+ ```
519
+ ```
520
+
521
+ ### Generate Version-Specific Release Notes
522
+
523
+ ```
524
+ Generate detailed release notes for version [VERSION]
525
+
526
+ Save to: ./docs/releases/v[VERSION].md
527
+
528
+ Include:
529
+ 1. Executive summary (for stakeholders)
530
+ 2. New features with screenshots/examples
531
+ 3. Performance improvements with metrics
532
+ 4. Security updates
533
+ 5. Migration guide (if breaking changes)
534
+ 6. Known issues and workarounds
535
+ 7. Upcoming features preview
536
+ ```
537
+
538
+ ### Generate Release Announcement
539
+
540
+ ```
541
+ Generate release announcement for: [VERSION]
542
+
543
+ Use for: Email, Slack, Social media
544
+
545
+ Format:
546
+ ```markdown
547
+ # 🚀 [Product Name] v[VERSION] Released!
548
+
549
+ [One compelling sentence about the release]
550
+
551
+ ## Highlights
552
+
553
+ ✨ [Feature 1] - [One line benefit]
554
+ ✨ [Feature 2] - [One line benefit]
555
+ 🐛 [Key fix] - [One line description]
556
+
557
+ ## Quick Links
558
+
559
+ - 📖 [Full Release Notes](./RELEASE_NOTES.md)
560
+ - 📦 [Download/Install](#)
561
+ - 📚 [Documentation](#)
562
+
563
+ [Call to action]
564
+ ```
565
+ ```
566
+
567
+ ---
568
+
463
569
  ## Architecture Documentation
464
570
 
465
571
  ### Document Architecture
@@ -658,16 +764,32 @@ MAINTENANCE:
658
764
 
659
765
  ---
660
766
 
661
- ## Slash Commands Reference
662
-
663
- | Command | Description |
664
- |---------|-------------|
665
- | `/doc` | Show documentation options |
666
- | `/doc-full` | Full documentation |
667
- | `/doc-moderate` | Balanced documentation |
668
- | `/doc-lite` | Quick reference |
669
- | `/doc-module [name]` | Document module |
670
- | `/doc-file [path]` | Document file |
671
- | `/doc-api` | API documentation |
672
- | `/doc-readme` | Generate README |
673
- | `/doc-changelog` | Update changelog |
767
+ ## Output Locations Summary
768
+
769
+ | Document Type | Location | Audience |
770
+ |---------------|----------|----------|
771
+ | Release Notes | `./RELEASE_NOTES.md` | Clients/Stakeholders |
772
+ | Changelog | `./CHANGELOG.md` | Clients/Public |
773
+ | Version Archive | `./docs/releases/v*.md` | Clients |
774
+ | API Docs | `./docs/api/` | Developers/Clients |
775
+ | README | `./README.md` | Public |
776
+ | Dev Changelog | `proagents/changelog/` | Internal Team |
777
+ | Feature Docs | `proagents/active-features/` | Internal Team |
778
+
779
+ ---
780
+
781
+ ## Commands Reference
782
+
783
+ | Command | Description | Output Location |
784
+ |---------|-------------|-----------------|
785
+ | `pa:doc` | Show documentation options | - |
786
+ | `pa:doc-full` | Full documentation | `./docs/` |
787
+ | `pa:doc-moderate` | Balanced documentation | `./docs/` |
788
+ | `pa:doc-lite` | Quick reference | `./docs/` |
789
+ | `pa:doc-module [name]` | Document module | `./docs/modules/` |
790
+ | `pa:doc-file [path]` | Document file | `./docs/` |
791
+ | `pa:doc-api` | API documentation | `./docs/api/` |
792
+ | `pa:readme` | Generate README | `./README.md` |
793
+ | `pa:changelog` | Update changelog | `./CHANGELOG.md` |
794
+ | `pa:release` | Generate release notes | `./RELEASE_NOTES.md` |
795
+ | `pa:release [version]` | Version-specific notes | `./docs/releases/v*.md` |
@@ -7,13 +7,13 @@ Universal prompts for deployment preparation and execution.
7
7
  ## Quick Start
8
8
 
9
9
  ```
10
- /deploy
10
+ pa:deploy
11
11
  ```
12
12
 
13
13
  Related commands:
14
- - `/deploy-staging` - Deploy to staging
15
- - `/deploy-prod` - Deploy to production
16
- - `/deploy-check` - Pre-deployment checks
14
+ - `pa:deploy-staging` - Deploy to staging
15
+ - `pa:deploy-prod` - Deploy to production
16
+ - `pa:deploy-check` - Pre-deployment checks
17
17
 
18
18
  ---
19
19
 
@@ -526,14 +526,14 @@ AFTER:
526
526
 
527
527
  ---
528
528
 
529
- ## Slash Commands Reference
529
+ ## Commands Reference
530
530
 
531
531
  | Command | Description |
532
532
  |---------|-------------|
533
- | `/deploy` | Show deployment options |
534
- | `/deploy-staging` | Deploy to staging |
535
- | `/deploy-prod` | Deploy to production |
536
- | `/deploy-check` | Pre-deployment checklist |
537
- | `/deploy-monitor` | Post-deploy monitoring |
538
- | `/deploy-runbook` | Generate deployment runbook |
539
- | `/release-notes` | Generate release notes |
533
+ | `pa:deploy` | Show deployment options |
534
+ | `pa:deploy-staging` | Deploy to staging |
535
+ | `pa:deploy-prod` | Deploy to production |
536
+ | `pa:deploy-check` | Pre-deployment checklist |
537
+ | `pa:deploy-monitor` | Post-deploy monitoring |
538
+ | `pa:deploy-runbook` | Generate deployment runbook |
539
+ | `pa:release-notes` | Generate release notes |
@@ -7,12 +7,12 @@ Universal prompts for rollback planning and execution.
7
7
  ## Quick Start
8
8
 
9
9
  ```
10
- /rollback
10
+ pa:rollback
11
11
  ```
12
12
 
13
13
  Related commands:
14
- - `/rollback-quick` - Quick rollback to previous version
15
- - `/rollback-full` - Full rollback with database revert
14
+ - `pa:rollback-quick` - Quick rollback to previous version
15
+ - `pa:rollback-full` - Full rollback with database revert
16
16
 
17
17
  ---
18
18
 
@@ -540,15 +540,15 @@ AFTER ROLLBACK:
540
540
 
541
541
  ---
542
542
 
543
- ## Slash Commands Reference
543
+ ## Commands Reference
544
544
 
545
545
  | Command | Description |
546
546
  |---------|-------------|
547
- | `/rollback` | Show rollback options |
548
- | `/rollback-quick` | Quick code-only rollback |
549
- | `/rollback-full` | Full rollback with DB |
550
- | `/rollback-plan` | Create rollback plan |
551
- | `/rollback-verify` | Verify rollback success |
552
- | `/rollback-test` | Test rollback procedure |
553
- | `/incident-doc` | Document incident |
554
- | `/post-mortem` | Create post-mortem |
547
+ | `pa:rollback` | Show rollback options |
548
+ | `pa:rollback-quick` | Quick code-only rollback |
549
+ | `pa:rollback-full` | Full rollback with DB |
550
+ | `pa:rollback-plan` | Create rollback plan |
551
+ | `pa:rollback-verify` | Verify rollback success |
552
+ | `pa:rollback-test` | Test rollback procedure |
553
+ | `pa:incident-doc` | Document incident |
554
+ | `pa:post-mortem` | Create post-mortem |
@@ -27,12 +27,12 @@ These prompts work with any AI platform (Claude, ChatGPT, Gemini, Copilot, etc.)
27
27
 
28
28
  ## Usage
29
29
 
30
- ### With Slash Commands
30
+ ### With Commands
31
31
 
32
32
  ```
33
- /init → Uses 00-init.md
34
- /feature-start → Uses full workflow
35
- /doc → Uses 07-documentation.md
33
+ pa:init → Uses 00-init.md
34
+ pa:feature → Uses full workflow
35
+ pa:doc → Uses 07-documentation.md
36
36
  ```
37
37
 
38
38
  ### Manual Copy-Paste
@@ -24,22 +24,22 @@ These prompts help ensure your application is accessible to all users, including
24
24
 
25
25
  ```bash
26
26
  # Full accessibility audit
27
- /a11y audit <component>
27
+ pa:a11y audit <component>
28
28
 
29
29
  # Check WCAG compliance at specific level
30
- /a11y wcag AA
30
+ pa:a11y wcag AA
31
31
 
32
32
  # Review ARIA implementation
33
- /a11y aria <component>
33
+ pa:a11y aria <component>
34
34
 
35
35
  # Check keyboard navigation
36
- /a11y keyboard <component>
36
+ pa:a11y keyboard <component>
37
37
 
38
38
  # Fix specific accessibility issue
39
- /a11y fix <issue>
39
+ pa:a11y fix <issue>
40
40
 
41
41
  # Generate accessibility tests
42
- /a11y test <component>
42
+ pa:a11y test <component>
43
43
  ```
44
44
 
45
45
  ---
@@ -204,13 +204,13 @@ function Modal({ isOpen, onClose, children }) {
204
204
 
205
205
  ```bash
206
206
  # Run accessibility audit
207
- /a11y audit ./src/components/Button.tsx
207
+ pa:a11y audit ./src/components/Button.tsx
208
208
 
209
209
  # Check specific WCAG criteria
210
- /a11y check 1.4.3 # Color contrast
210
+ pa:a11y check 1.4.3 # Color contrast
211
211
 
212
212
  # Generate a11y tests
213
- /a11y test-gen ./src/components/Form.tsx
213
+ pa:a11y test-gen ./src/components/Form.tsx
214
214
  ```
215
215
 
216
216
  ---
@@ -55,7 +55,7 @@ For each finding, provide:
55
55
  ### Check Component for AA Compliance
56
56
 
57
57
  ```markdown
58
- /a11y wcag AA
58
+ pa:a11y wcag AA
59
59
 
60
60
  Check this button component for WCAG AA compliance:
61
61
 
@@ -18,10 +18,10 @@ AI-assisted debugging workflows.
18
18
  ## Quick Commands
19
19
 
20
20
  ```bash
21
- /debug analyze <error> # Analyze error message
22
- /debug trace <issue> # Trace issue through code
23
- /debug suggest <symptom> # Get fix suggestions
24
- /debug test <hypothesis> # Test a hypothesis
21
+ pa:debug analyze <error> # Analyze error message
22
+ pa:debug trace <issue> # Trace issue through code
23
+ pa:debug suggest <symptom> # Get fix suggestions
24
+ pa:debug test <hypothesis> # Test a hypothesis
25
25
  ```
26
26
 
27
27
  ---
@@ -365,17 +365,17 @@ function MyComponent() {
365
365
 
366
366
  ```bash
367
367
  # Profile render performance
368
- /perf profile --component UserList
368
+ pa:perf profile --component UserList
369
369
 
370
370
  # Find memory leaks
371
- /perf memory --snapshot
371
+ pa:perf memory --snapshot
372
372
 
373
373
  # Analyze bundle
374
- /perf bundle --analyze
374
+ pa:perf bundle --analyze
375
375
 
376
376
  # Check Core Web Vitals
377
- /perf vitals
377
+ pa:perf vitals
378
378
 
379
379
  # Find slow API calls
380
- /perf network --slow
380
+ pa:perf network --slow
381
381
  ```
@@ -257,14 +257,14 @@ function Counter() {
257
257
 
258
258
  ```bash
259
259
  # Analyze error message
260
- /debug error "TypeError: Cannot read property 'name' of undefined"
260
+ pa:debug error "TypeError: Cannot read property 'name' of undefined"
261
261
 
262
262
  # Trace execution
263
- /debug trace "User registration fails after email validation"
263
+ pa:debug trace "User registration fails after email validation"
264
264
 
265
265
  # Get fix suggestions
266
- /debug fix "Form resets on blur"
266
+ pa:debug fix "Form resets on blur"
267
267
 
268
268
  # Generate debugging test
269
- /debug test "API returns 500 on large payload"
269
+ pa:debug test "API returns 500 on large payload"
270
270
  ```
@@ -18,10 +18,10 @@ AI-assisted performance analysis and optimization.
18
18
  ## Quick Commands
19
19
 
20
20
  ```bash
21
- /perf analyze <code> # Analyze code performance
22
- /perf profile <function> # Profile function execution
23
- /perf optimize <target> # Suggest optimizations
24
- /perf benchmark <code> # Create benchmarks
21
+ pa:perf analyze <code> # Analyze code performance
22
+ pa:perf profile <function> # Profile function execution
23
+ pa:perf optimize <target> # Suggest optimizations
24
+ pa:perf benchmark <code> # Create benchmarks
25
25
  ```
26
26
 
27
27
  ---
@@ -252,14 +252,14 @@ console.log(`A: ${timeA}ms, B: ${timeB}ms`);
252
252
 
253
253
  ```bash
254
254
  # Analyze function complexity
255
- /perf complexity <function>
255
+ pa:perf complexity <function>
256
256
 
257
257
  # Find memory leaks
258
- /perf memory-leak <component>
258
+ pa:perf memory-leak <component>
259
259
 
260
260
  # Suggest optimizations
261
- /perf optimize <code>
261
+ pa:perf optimize <code>
262
262
 
263
263
  # Generate benchmark
264
- /perf benchmark <function>
264
+ pa:perf benchmark <function>
265
265
  ```
@@ -18,10 +18,10 @@ AI-assisted code refactoring workflows.
18
18
  ## Quick Commands
19
19
 
20
20
  ```bash
21
- /refactor identify # Find refactoring opportunities
22
- /refactor plan # Create refactoring plan
23
- /refactor execute # Perform refactoring
24
- /refactor validate # Verify refactoring
21
+ pa:refactor identify # Find refactoring opportunities
22
+ pa:refactor plan # Create refactoring plan
23
+ pa:refactor execute # Perform refactoring
24
+ pa:refactor validate # Verify refactoring
25
25
  ```
26
26
 
27
27
  ---
@@ -128,19 +128,19 @@ class EmployeeRepository { save() {} }
128
128
 
129
129
  ```bash
130
130
  # Find long methods
131
- /refactor smell long-methods --threshold 30
131
+ pa:refactor smell long-methods --threshold 30
132
132
 
133
133
  # Find large files
134
- /refactor smell large-files --threshold 500
134
+ pa:refactor smell large-files --threshold 500
135
135
 
136
136
  # Find duplicate code
137
- /refactor smell duplicates
137
+ pa:refactor smell duplicates
138
138
 
139
139
  # Find complex functions
140
- /refactor smell complexity --threshold 10
140
+ pa:refactor smell complexity --threshold 10
141
141
 
142
142
  # Full analysis
143
- /refactor smell all
143
+ pa:refactor smell all
144
144
  ```
145
145
 
146
146
  ---
@@ -149,16 +149,16 @@ class EmployeeRepository { save() {} }
149
149
 
150
150
  ```bash
151
151
  # Extract long method
152
- /refactor extract-method {function_name}
152
+ pa:refactor extract-method {function_name}
153
153
 
154
154
  # Split large class
155
- /refactor split-class {class_name}
155
+ pa:refactor split-class {class_name}
156
156
 
157
157
  # Remove dead code
158
- /refactor remove-dead-code
158
+ pa:refactor remove-dead-code
159
159
 
160
160
  # Inline trivial methods
161
- /refactor inline-trivial
161
+ pa:refactor inline-trivial
162
162
  ```
163
163
 
164
164
  ---
@@ -472,22 +472,22 @@ function processPayment(order, payment) {
472
472
 
473
473
  ```bash
474
474
  # Apply specific refactoring pattern
475
- /refactor apply extract-method --function processOrder
475
+ pa:refactor apply extract-method --function processOrder
476
476
 
477
477
  # Apply polymorphism
478
- /refactor apply polymorphism --switch-statement line:45
478
+ pa:refactor apply polymorphism --switch-statement line:45
479
479
 
480
480
  # Extract class
481
- /refactor apply extract-class --class User --extract Profile,Auth
481
+ pa:refactor apply extract-class --class User --extract Profile,Auth
482
482
 
483
483
  # Replace magic numbers
484
- /refactor apply constants --file config.ts
484
+ pa:refactor apply constants --file config.ts
485
485
 
486
486
  # Introduce parameter object
487
- /refactor apply param-object --function createUser
487
+ pa:refactor apply param-object --function createUser
488
488
 
489
489
  # Flatten conditionals
490
- /refactor apply guard-clauses --function processPayment
490
+ pa:refactor apply guard-clauses --function processPayment
491
491
  ```
492
492
 
493
493
  ---
@@ -26,22 +26,22 @@ These prompts help identify and fix security vulnerabilities in your code. ProAg
26
26
 
27
27
  ```bash
28
28
  # Full security audit
29
- /security audit <file_or_directory>
29
+ pa:security audit <file_or_directory>
30
30
 
31
31
  # OWASP Top 10 check
32
- /security owasp <code>
32
+ pa:security owasp <code>
33
33
 
34
34
  # Find hardcoded secrets
35
- /security secrets <path>
35
+ pa:security secrets <path>
36
36
 
37
37
  # Check dependency vulnerabilities
38
- /security deps
38
+ pa:security deps
39
39
 
40
40
  # Review authentication code
41
- /security auth <file>
41
+ pa:security auth <file>
42
42
 
43
43
  # Check for injection vulnerabilities
44
- /security injection <code>
44
+ pa:security injection <code>
45
45
  ```
46
46
 
47
47
  ---
@@ -244,17 +244,17 @@ app.post('/api/users', async (req, res) => {
244
244
 
245
245
  ```bash
246
246
  # Full security audit
247
- /security audit ./src
247
+ pa:security audit ./src
248
248
 
249
249
  # Check for OWASP Top 10
250
- /security owasp ./src/api
250
+ pa:security owasp ./src/api
251
251
 
252
252
  # Find secrets
253
- /security secrets ./
253
+ pa:security secrets ./
254
254
 
255
255
  # Check dependencies
256
- /security deps
256
+ pa:security deps
257
257
 
258
258
  # Generate security report
259
- /security report
259
+ pa:security report
260
260
  ```
@@ -21,7 +21,7 @@ Reverse engineering enables ProAgents to:
21
21
 
22
22
  ### 1. Onboarding to Existing Project
23
23
  ```
24
- /reverse-engineer --full
24
+ pa:reverse-engineer --full
25
25
 
26
26
  Output:
27
27
  - Complete architecture documentation
@@ -33,7 +33,7 @@ Output:
33
33
 
34
34
  ### 2. Documentation Generation
35
35
  ```
36
- /reverse-engineer --docs
36
+ pa:reverse-engineer --docs
37
37
 
38
38
  Output:
39
39
  - README for each module
@@ -44,7 +44,7 @@ Output:
44
44
 
45
45
  ### 3. Architecture Understanding
46
46
  ```
47
- /reverse-engineer --architecture
47
+ pa:reverse-engineer --architecture
48
48
 
49
49
  Output:
50
50
  - High-level architecture diagram
@@ -55,7 +55,7 @@ Output:
55
55
 
56
56
  ### 4. Code Quality Assessment
57
57
  ```
58
- /reverse-engineer --quality
58
+ pa:reverse-engineer --quality
59
59
 
60
60
  Output:
61
61
  - Tech debt identification
@@ -104,21 +104,21 @@ Output:
104
104
 
105
105
  ```bash
106
106
  # Full reverse engineering
107
- /reverse-engineer
107
+ pa:reverse-engineer
108
108
 
109
109
  # Specific scope
110
- /reverse-engineer --scope architecture
111
- /reverse-engineer --scope api
112
- /reverse-engineer --scope components
113
- /reverse-engineer --scope database
110
+ pa:reverse-engineer --scope architecture
111
+ pa:reverse-engineer --scope api
112
+ pa:reverse-engineer --scope components
113
+ pa:reverse-engineer --scope database
114
114
 
115
115
  # Output format
116
- /reverse-engineer --format markdown
117
- /reverse-engineer --format html
118
- /reverse-engineer --format json
116
+ pa:reverse-engineer --format markdown
117
+ pa:reverse-engineer --format html
118
+ pa:reverse-engineer --format json
119
119
 
120
120
  # Specific path
121
- /reverse-engineer --path ./src/modules/auth
121
+ pa:reverse-engineer --path ./src/modules/auth
122
122
  ```
123
123
 
124
124
  ---
@@ -138,14 +138,14 @@ Output:
138
138
 
139
139
  ---
140
140
 
141
- ## Slash Commands
141
+ ## Commands
142
142
 
143
143
  | Command | Description |
144
144
  |---------|-------------|
145
- | `/reverse-engineer` | Full reverse engineering |
146
- | `/re-architecture` | Extract architecture only |
147
- | `/re-docs` | Generate documentation |
148
- | `/re-diagrams` | Generate diagrams |
149
- | `/re-patterns` | Detect patterns |
150
- | `/re-deps` | Map dependencies |
151
- | `/re-quality` | Quality assessment |
145
+ | `pa:reverse-engineer` | Full reverse engineering |
146
+ | `pa:re-architecture` | Extract architecture only |
147
+ | `pa:re-docs` | Generate documentation |
148
+ | `pa:re-diagrams` | Generate diagrams |
149
+ | `pa:re-patterns` | Detect patterns |
150
+ | `pa:re-deps` | Map dependencies |
151
+ | `pa:re-quality` | Quality assessment |