proagents 1.6.17 → 1.6.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +169 -0
- package/COMMANDS.md +595 -0
- package/README.md +13 -23
- package/package.json +2 -7
- package/.proagents/ai-models/README.md +0 -141
- package/.proagents/ai-models/cost-management.md +0 -362
- package/.proagents/ai-models/fallbacks.md +0 -342
- package/.proagents/ai-models/model-config.md +0 -318
- package/.proagents/ai-models/task-routing.md +0 -503
- package/.proagents/ai-training/README.md +0 -155
- package/.proagents/ai-training/continuous-learning.md +0 -413
- package/.proagents/ai-training/domain-knowledge.md +0 -378
- package/.proagents/ai-training/pattern-learning.md +0 -455
- package/.proagents/ai-training/training-data.md +0 -337
- package/.proagents/ai-training/user-preferences.md +0 -346
- package/.proagents/approval-workflows/README.md +0 -146
- package/.proagents/approval-workflows/approval-config.md +0 -332
- package/.proagents/approval-workflows/approval-stages.md +0 -503
- package/.proagents/approval-workflows/emergency-bypass.md +0 -351
- package/.proagents/approval-workflows/examples.md +0 -859
- package/.proagents/approval-workflows/notifications.md +0 -320
- package/.proagents/compliance/README.md +0 -206
- package/.proagents/compliance/access-control.md +0 -310
- package/.proagents/compliance/audit-logging.md +0 -444
- package/.proagents/compliance/compliance-frameworks.md +0 -429
- package/.proagents/compliance/reports.md +0 -491
- package/.proagents/compliance/retention-policies.md +0 -454
- package/.proagents/config-versioning/README.md +0 -120
- package/.proagents/config-versioning/changelog.md +0 -300
- package/.proagents/config-versioning/rollback.md +0 -283
- package/.proagents/config-versioning/versioning.md +0 -330
- package/.proagents/contract-testing/README.md +0 -223
- package/.proagents/contract-testing/contract-testing.md +0 -614
- package/.proagents/contract-testing/pact-integration.md +0 -507
- package/.proagents/contract-testing/schema-validation.md +0 -565
- package/.proagents/dependency-management/README.md +0 -140
- package/.proagents/dependency-management/automation.md +0 -363
- package/.proagents/dependency-management/compatibility.md +0 -319
- package/.proagents/dependency-management/security-scanning.md +0 -413
- package/.proagents/dependency-management/update-policies.md +0 -374
- package/.proagents/disaster-recovery/README.md +0 -247
- package/.proagents/disaster-recovery/automation.md +0 -366
- package/.proagents/disaster-recovery/backup-recovery.md +0 -571
- package/.proagents/disaster-recovery/incident-response.md +0 -565
- package/.proagents/disaster-recovery/rollback-procedures.md +0 -499
- package/.proagents/disaster-recovery/runbooks.md +0 -603
- package/.proagents/disaster-recovery/scenarios.md +0 -892
- package/.proagents/disaster-recovery/testing.md +0 -438
- package/.proagents/environments/README.md +0 -244
- package/.proagents/environments/configuration.md +0 -437
- package/.proagents/environments/promotion.md +0 -434
- package/.proagents/environments/setup.md +0 -420
- package/.proagents/examples/README.md +0 -55
- package/.proagents/examples/backend-nodejs/README.md +0 -188
- package/.proagents/examples/backend-nodejs/complete-conversation.md +0 -601
- package/.proagents/examples/backend-nodejs/proagents.config.yaml +0 -415
- package/.proagents/examples/backend-nodejs/workflow-example.md +0 -909
- package/.proagents/examples/fullstack-nextjs/README.md +0 -155
- package/.proagents/examples/fullstack-nextjs/complete-conversation.md +0 -604
- package/.proagents/examples/fullstack-nextjs/proagents.config.yaml +0 -287
- package/.proagents/examples/fullstack-nextjs/workflow-example.md +0 -553
- package/.proagents/examples/mobile-react-native/README.md +0 -171
- package/.proagents/examples/mobile-react-native/complete-conversation.md +0 -825
- package/.proagents/examples/mobile-react-native/proagents.config.yaml +0 -330
- package/.proagents/examples/mobile-react-native/workflow-example.md +0 -723
- package/.proagents/examples/web-frontend-react/README.md +0 -125
- package/.proagents/examples/web-frontend-react/complete-conversation.md +0 -556
- package/.proagents/examples/web-frontend-react/proagents.config.yaml +0 -183
- package/.proagents/examples/web-frontend-react/workflow-example.md +0 -603
- package/.proagents/existing-projects/README.md +0 -65
- package/.proagents/existing-projects/challenges.md +0 -861
- package/.proagents/existing-projects/coexistence-mode.md +0 -483
- package/.proagents/existing-projects/compatibility-assessment.md +0 -541
- package/.proagents/existing-projects/gradual-adoption.md +0 -515
- package/.proagents/existing-projects/migration-strategies.md +0 -788
- package/.proagents/existing-projects/pattern-reconciliation.md +0 -489
- package/.proagents/existing-projects/team-onboarding.md +0 -617
- package/.proagents/existing-projects/technical-debt-handling.md +0 -644
- package/.proagents/feature-flags/README.md +0 -263
- package/.proagents/feature-flags/ab-testing.md +0 -413
- package/.proagents/feature-flags/configuration.md +0 -420
- package/.proagents/feature-flags/kill-switches.md +0 -444
- package/.proagents/feature-flags/rollout-strategies.md +0 -392
- package/.proagents/history.log +0 -12
- package/.proagents/i18n/README.md +0 -133
- package/.proagents/i18n/extraction.md +0 -433
- package/.proagents/i18n/tms-integration.md +0 -332
- package/.proagents/i18n/translation-workflow.md +0 -413
- package/.proagents/i18n/validation.md +0 -355
- package/.proagents/logging/README.md +0 -276
- package/.proagents/logging/aggregation.md +0 -475
- package/.proagents/logging/log-levels.md +0 -376
- package/.proagents/logging/sensitive-data.md +0 -423
- package/.proagents/logging/structured-logging.md +0 -406
- package/.proagents/metrics/README.md +0 -69
- package/.proagents/metrics/code-quality-kpis.md +0 -461
- package/.proagents/metrics/deployment-metrics.md +0 -517
- package/.proagents/metrics/developer-productivity.md +0 -368
- package/.proagents/metrics/learning-effectiveness.md +0 -478
- package/.proagents/migrations/README.md +0 -77
- package/.proagents/migrations/from-claude-projects.md +0 -313
- package/.proagents/migrations/from-cursor-rules.md +0 -345
- package/.proagents/migrations/from-custom-workflows.md +0 -410
- package/.proagents/monitoring/README.md +0 -308
- package/.proagents/monitoring/alerting.md +0 -449
- package/.proagents/monitoring/dashboards.md +0 -454
- package/.proagents/monitoring/health-checks.md +0 -436
- package/.proagents/monitoring/metrics.md +0 -434
- package/.proagents/multi-project/README.md +0 -170
- package/.proagents/multi-project/coordinated-deploy.md +0 -510
- package/.proagents/multi-project/cross-project-deps.md +0 -395
- package/.proagents/multi-project/unified-changelog.md +0 -477
- package/.proagents/multi-project/walkthroughs/monorepo-setup.md +0 -787
- package/.proagents/multi-project/workspace-config.md +0 -408
- package/.proagents/notifications/README.md +0 -151
- package/.proagents/notifications/channels.md +0 -457
- package/.proagents/notifications/preferences.md +0 -415
- package/.proagents/notifications/routing.md +0 -449
- package/.proagents/notifications/scheduling.md +0 -425
- package/.proagents/notifications/templates.md +0 -446
- package/.proagents/offline-mode/README.md +0 -145
- package/.proagents/offline-mode/caching.md +0 -344
- package/.proagents/offline-mode/offline-operations.md +0 -312
- package/.proagents/offline-mode/queue-specifications.md +0 -679
- package/.proagents/offline-mode/sync.md +0 -475
- package/.proagents/parallel-features/README.md +0 -85
- package/.proagents/parallel-features/conflict-detection.md +0 -226
- package/.proagents/parallel-features/dependency-management.md +0 -392
- package/.proagents/parallel-features/merge-coordination.md +0 -506
- package/.proagents/parallel-features/tracking-system.md +0 -416
- package/.proagents/performance/README.md +0 -59
- package/.proagents/performance/bundle-analysis.md +0 -375
- package/.proagents/performance/load-testing.md +0 -563
- package/.proagents/performance/runtime-metrics.md +0 -489
- package/.proagents/performance/web-vitals.md +0 -425
- package/.proagents/plugins/README.md +0 -139
- package/.proagents/plugins/creating-plugins.md +0 -504
- package/.proagents/plugins/plugin-api.md +0 -467
- package/.proagents/plugins/plugin-registry.md +0 -276
- package/.proagents/reporting/README.md +0 -158
- package/.proagents/reporting/dashboards.md +0 -366
- package/.proagents/reporting/exports.md +0 -524
- package/.proagents/reporting/quality-metrics.md +0 -385
- package/.proagents/reporting/templates/README.md +0 -56
- package/.proagents/reporting/templates/dashboard-config.json +0 -187
- package/.proagents/reporting/templates/metrics-queries.md +0 -427
- package/.proagents/reporting/templates/react-dashboard.tsx +0 -544
- package/.proagents/reporting/templates/widgets.md +0 -451
- package/.proagents/reporting/velocity-metrics.md +0 -340
- package/.proagents/reverse-engineering/README.md +0 -151
- package/.proagents/reverse-engineering/architecture-extraction.md +0 -325
- package/.proagents/reverse-engineering/code-analysis.md +0 -377
- package/.proagents/reverse-engineering/dependency-mapping.md +0 -567
- package/.proagents/reverse-engineering/diagram-generation.md +0 -586
- package/.proagents/reverse-engineering/documentation-generation.md +0 -468
- package/.proagents/reverse-engineering/pattern-detection.md +0 -569
- package/.proagents/reverse-engineering/quality-assessment.md +0 -733
- package/.proagents/secrets/README.md +0 -278
- package/.proagents/secrets/access-control.md +0 -443
- package/.proagents/secrets/rotation.md +0 -403
- package/.proagents/secrets/scanning.md +0 -487
- package/.proagents/secrets/storage.md +0 -394
- package/.proagents/webhooks/README.md +0 -126
- package/.proagents/webhooks/endpoints.md +0 -298
- package/.proagents/webhooks/events.md +0 -316
- package/.proagents/webhooks/payloads.md +0 -325
- package/.proagents/webhooks/reliability.md +0 -363
- package/.proagents/webhooks/security.md +0 -380
|
@@ -1,541 +0,0 @@
|
|
|
1
|
-
# Compatibility Assessment
|
|
2
|
-
|
|
3
|
-
Assess your existing project's compatibility with ProAgents before adoption.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
The compatibility assessment:
|
|
10
|
-
- Analyzes your codebase non-invasively
|
|
11
|
-
- Identifies potential issues
|
|
12
|
-
- Recommends adoption strategy
|
|
13
|
-
- Generates configuration suggestions
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## Running Assessment
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
# Full compatibility assessment
|
|
21
|
-
pa:assess-compatibility
|
|
22
|
-
|
|
23
|
-
# Quick assessment (faster, less detailed)
|
|
24
|
-
pa:assess-compatibility --quick
|
|
25
|
-
|
|
26
|
-
# Assessment with report
|
|
27
|
-
pa:assess-compatibility --report
|
|
28
|
-
|
|
29
|
-
# Assessment for specific areas
|
|
30
|
-
pa:assess-compatibility --focus patterns
|
|
31
|
-
pa:assess-compatibility --focus security
|
|
32
|
-
pa:assess-compatibility --focus testing
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## Assessment Areas
|
|
38
|
-
|
|
39
|
-
### 1. Project Structure Assessment
|
|
40
|
-
|
|
41
|
-
```yaml
|
|
42
|
-
structure_assessment:
|
|
43
|
-
checks:
|
|
44
|
-
- name: "Directory organization"
|
|
45
|
-
look_for:
|
|
46
|
-
- "src/ or lib/ directory"
|
|
47
|
-
- "tests/ or __tests__ directory"
|
|
48
|
-
- "docs/ directory"
|
|
49
|
-
score: "detected"
|
|
50
|
-
|
|
51
|
-
- name: "Entry points"
|
|
52
|
-
look_for:
|
|
53
|
-
- "main entry (index, main, app)"
|
|
54
|
-
- "API routes"
|
|
55
|
-
- "Pages/views"
|
|
56
|
-
|
|
57
|
-
- name: "Configuration files"
|
|
58
|
-
look_for:
|
|
59
|
-
- "package.json / requirements.txt"
|
|
60
|
-
- "tsconfig.json / jsconfig.json"
|
|
61
|
-
- "lint config"
|
|
62
|
-
- "test config"
|
|
63
|
-
|
|
64
|
-
output:
|
|
65
|
-
structure_type: "feature-based | layer-based | mixed"
|
|
66
|
-
completeness: "percentage"
|
|
67
|
-
recommendations: []
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
**Sample Output:**
|
|
71
|
-
```
|
|
72
|
-
Structure Assessment
|
|
73
|
-
═══════════════════
|
|
74
|
-
|
|
75
|
-
Organization: Feature-based (75% confidence)
|
|
76
|
-
├── src/features/ ✅ Feature modules
|
|
77
|
-
├── src/components/ ✅ Shared components
|
|
78
|
-
├── src/lib/ ✅ Utilities
|
|
79
|
-
├── tests/ ⚠️ Partial (some features)
|
|
80
|
-
└── docs/ ❌ Missing
|
|
81
|
-
|
|
82
|
-
Completeness: 70%
|
|
83
|
-
|
|
84
|
-
Recommendations:
|
|
85
|
-
- Add tests/ structure to match src/
|
|
86
|
-
- Create docs/ for documentation
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
### 2. Code Pattern Assessment
|
|
92
|
-
|
|
93
|
-
```yaml
|
|
94
|
-
pattern_assessment:
|
|
95
|
-
checks:
|
|
96
|
-
- category: "Components"
|
|
97
|
-
patterns_found:
|
|
98
|
-
- name: "Functional components"
|
|
99
|
-
usage: "85%"
|
|
100
|
-
locations: ["src/components/*"]
|
|
101
|
-
|
|
102
|
-
- name: "Class components"
|
|
103
|
-
usage: "15%"
|
|
104
|
-
locations: ["src/legacy/*"]
|
|
105
|
-
status: "legacy"
|
|
106
|
-
|
|
107
|
-
- category: "State Management"
|
|
108
|
-
patterns_found:
|
|
109
|
-
- name: "Redux"
|
|
110
|
-
usage: "40%"
|
|
111
|
-
locations: ["src/store/*"]
|
|
112
|
-
|
|
113
|
-
- name: "Context API"
|
|
114
|
-
usage: "35%"
|
|
115
|
-
locations: ["src/contexts/*"]
|
|
116
|
-
|
|
117
|
-
- name: "Zustand"
|
|
118
|
-
usage: "25%"
|
|
119
|
-
locations: ["src/features/*/store.ts"]
|
|
120
|
-
status: "newest"
|
|
121
|
-
|
|
122
|
-
consistency_score: 65 # Lower = more inconsistent
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
**Sample Output:**
|
|
126
|
-
```
|
|
127
|
-
Pattern Assessment
|
|
128
|
-
══════════════════
|
|
129
|
-
|
|
130
|
-
Pattern Consistency: 65/100 (Moderate)
|
|
131
|
-
|
|
132
|
-
Component Patterns:
|
|
133
|
-
├── Functional (85%) ← Primary
|
|
134
|
-
└── Class (15%) ← Legacy, migration recommended
|
|
135
|
-
|
|
136
|
-
State Management:
|
|
137
|
-
├── Redux (40%) ← Older code
|
|
138
|
-
├── Context (35%) ← Transition period
|
|
139
|
-
└── Zustand (25%) ← Newest, recommended to standardize
|
|
140
|
-
|
|
141
|
-
⚠️ Multiple patterns detected. Recommendations:
|
|
142
|
-
1. Designate Zustand as primary for new code
|
|
143
|
-
2. Create migration plan for Redux → Zustand
|
|
144
|
-
3. Mark class components for gradual migration
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
---
|
|
148
|
-
|
|
149
|
-
### 3. Convention Assessment
|
|
150
|
-
|
|
151
|
-
```yaml
|
|
152
|
-
convention_assessment:
|
|
153
|
-
file_naming:
|
|
154
|
-
detected_patterns:
|
|
155
|
-
components: "PascalCase" # UserProfile.tsx
|
|
156
|
-
hooks: "camelCase" # useAuth.ts
|
|
157
|
-
services: "mixed" # userService.ts, api_client.ts
|
|
158
|
-
utils: "kebab-case" # format-date.ts
|
|
159
|
-
|
|
160
|
-
consistency: 70%
|
|
161
|
-
conflicts: ["services"]
|
|
162
|
-
|
|
163
|
-
code_naming:
|
|
164
|
-
detected_patterns:
|
|
165
|
-
variables: "camelCase"
|
|
166
|
-
constants: "mixed" # UPPER_SNAKE and camelCase
|
|
167
|
-
functions: "camelCase"
|
|
168
|
-
classes: "PascalCase"
|
|
169
|
-
|
|
170
|
-
consistency: 80%
|
|
171
|
-
conflicts: ["constants"]
|
|
172
|
-
|
|
173
|
-
import_style:
|
|
174
|
-
detected:
|
|
175
|
-
path_aliases: true # @/components
|
|
176
|
-
barrel_exports: "partial"
|
|
177
|
-
order: "inconsistent"
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
**Sample Output:**
|
|
181
|
-
```
|
|
182
|
-
Convention Assessment
|
|
183
|
-
═════════════════════
|
|
184
|
-
|
|
185
|
-
File Naming: 70% consistent
|
|
186
|
-
├── Components: PascalCase ✅
|
|
187
|
-
├── Hooks: camelCase ✅
|
|
188
|
-
├── Services: MIXED ⚠️ (user_service.ts vs userService.ts)
|
|
189
|
-
└── Utils: kebab-case ✅
|
|
190
|
-
|
|
191
|
-
Code Naming: 80% consistent
|
|
192
|
-
├── Variables: camelCase ✅
|
|
193
|
-
├── Constants: MIXED ⚠️ (MAX_SIZE vs maxRetries)
|
|
194
|
-
└── Functions: camelCase ✅
|
|
195
|
-
|
|
196
|
-
Recommendations:
|
|
197
|
-
1. Standardize service naming to camelCase
|
|
198
|
-
2. Use UPPER_SNAKE_CASE for all constants
|
|
199
|
-
3. ProAgents will use your detected conventions
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
---
|
|
203
|
-
|
|
204
|
-
### 4. Testing Assessment
|
|
205
|
-
|
|
206
|
-
```yaml
|
|
207
|
-
testing_assessment:
|
|
208
|
-
coverage:
|
|
209
|
-
overall: 35%
|
|
210
|
-
by_type:
|
|
211
|
-
unit: 40%
|
|
212
|
-
integration: 25%
|
|
213
|
-
e2e: 10%
|
|
214
|
-
|
|
215
|
-
test_framework:
|
|
216
|
-
detected: "jest"
|
|
217
|
-
config_found: true
|
|
218
|
-
patterns:
|
|
219
|
-
naming: "*.test.ts"
|
|
220
|
-
location: "adjacent" # Next to source files
|
|
221
|
-
|
|
222
|
-
gaps:
|
|
223
|
-
untested_critical:
|
|
224
|
-
- "src/services/paymentService.ts"
|
|
225
|
-
- "src/features/auth/authService.ts"
|
|
226
|
-
untested_modules:
|
|
227
|
-
- "src/features/reporting/*"
|
|
228
|
-
|
|
229
|
-
quality:
|
|
230
|
-
assertions_per_test: 2.5
|
|
231
|
-
mock_usage: "moderate"
|
|
232
|
-
flaky_tests: 3
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
**Sample Output:**
|
|
236
|
-
```
|
|
237
|
-
Testing Assessment
|
|
238
|
-
══════════════════
|
|
239
|
-
|
|
240
|
-
Overall Coverage: 35% ⚠️
|
|
241
|
-
|
|
242
|
-
Coverage Breakdown:
|
|
243
|
-
├── Unit Tests: 40%
|
|
244
|
-
├── Integration: 25%
|
|
245
|
-
└── E2E: 10%
|
|
246
|
-
|
|
247
|
-
Test Framework: Jest ✅
|
|
248
|
-
Test Pattern: *.test.ts (adjacent to source) ✅
|
|
249
|
-
|
|
250
|
-
⚠️ Critical Untested Code:
|
|
251
|
-
- paymentService.ts (0% coverage)
|
|
252
|
-
- authService.ts (15% coverage)
|
|
253
|
-
|
|
254
|
-
Recommendations:
|
|
255
|
-
1. ProAgents will require 80% coverage for NEW code
|
|
256
|
-
2. Existing code: coverage not required (tracked separately)
|
|
257
|
-
3. Consider adding tests for critical paths first
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
---
|
|
261
|
-
|
|
262
|
-
### 5. Dependency Assessment
|
|
263
|
-
|
|
264
|
-
```yaml
|
|
265
|
-
dependency_assessment:
|
|
266
|
-
package_manager: "npm"
|
|
267
|
-
|
|
268
|
-
dependencies:
|
|
269
|
-
total: 145
|
|
270
|
-
direct: 45
|
|
271
|
-
dev: 28
|
|
272
|
-
|
|
273
|
-
versions:
|
|
274
|
-
outdated:
|
|
275
|
-
- name: "react"
|
|
276
|
-
current: "17.0.2"
|
|
277
|
-
latest: "18.2.0"
|
|
278
|
-
breaking: true
|
|
279
|
-
|
|
280
|
-
- name: "axios"
|
|
281
|
-
current: "0.21.0"
|
|
282
|
-
latest: "1.6.0"
|
|
283
|
-
breaking: false
|
|
284
|
-
|
|
285
|
-
deprecated: 2
|
|
286
|
-
eol: 1
|
|
287
|
-
|
|
288
|
-
security:
|
|
289
|
-
critical: 0
|
|
290
|
-
high: 2
|
|
291
|
-
moderate: 5
|
|
292
|
-
|
|
293
|
-
circular_dependencies: 3
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
**Sample Output:**
|
|
297
|
-
```
|
|
298
|
-
Dependency Assessment
|
|
299
|
-
═════════════════════
|
|
300
|
-
|
|
301
|
-
Package Manager: npm
|
|
302
|
-
Dependencies: 145 total (45 direct, 28 dev)
|
|
303
|
-
|
|
304
|
-
Outdated Packages: 12
|
|
305
|
-
├── Major updates available: 3
|
|
306
|
-
├── Minor updates: 5
|
|
307
|
-
└── Patches: 4
|
|
308
|
-
|
|
309
|
-
⚠️ Notable Updates:
|
|
310
|
-
- react 17.0.2 → 18.2.0 (breaking changes)
|
|
311
|
-
- webpack 4.x → 5.x (breaking changes)
|
|
312
|
-
|
|
313
|
-
Security Vulnerabilities:
|
|
314
|
-
├── Critical: 0 ✅
|
|
315
|
-
├── High: 2 ⚠️
|
|
316
|
-
└── Moderate: 5
|
|
317
|
-
|
|
318
|
-
Circular Dependencies: 3 detected
|
|
319
|
-
|
|
320
|
-
Recommendations:
|
|
321
|
-
1. Fix high severity vulnerabilities
|
|
322
|
-
2. ProAgents will generate code compatible with your React version
|
|
323
|
-
3. Resolve circular dependencies gradually
|
|
324
|
-
```
|
|
325
|
-
|
|
326
|
-
---
|
|
327
|
-
|
|
328
|
-
### 6. Documentation Assessment
|
|
329
|
-
|
|
330
|
-
```yaml
|
|
331
|
-
documentation_assessment:
|
|
332
|
-
readme:
|
|
333
|
-
exists: true
|
|
334
|
-
last_updated: "2023-06-15"
|
|
335
|
-
completeness: 60%
|
|
336
|
-
sections:
|
|
337
|
-
installation: true
|
|
338
|
-
usage: true
|
|
339
|
-
api: false
|
|
340
|
-
contributing: false
|
|
341
|
-
|
|
342
|
-
code_documentation:
|
|
343
|
-
jsdoc_usage: 25%
|
|
344
|
-
typescript_types: 70%
|
|
345
|
-
inline_comments: "sparse"
|
|
346
|
-
|
|
347
|
-
additional_docs:
|
|
348
|
-
- "docs/api.md" (outdated)
|
|
349
|
-
- "docs/architecture.md" (missing)
|
|
350
|
-
|
|
351
|
-
auto_generated:
|
|
352
|
-
openapi: false
|
|
353
|
-
storybook: false
|
|
354
|
-
typedoc: false
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
**Sample Output:**
|
|
358
|
-
```
|
|
359
|
-
Documentation Assessment
|
|
360
|
-
════════════════════════
|
|
361
|
-
|
|
362
|
-
README.md: Exists (60% complete)
|
|
363
|
-
├── Installation ✅
|
|
364
|
-
├── Usage ✅
|
|
365
|
-
├── API Reference ❌
|
|
366
|
-
└── Contributing ❌
|
|
367
|
-
|
|
368
|
-
Code Documentation:
|
|
369
|
-
├── JSDoc: 25% ⚠️
|
|
370
|
-
├── TypeScript types: 70% ✅
|
|
371
|
-
└── Inline comments: Sparse
|
|
372
|
-
|
|
373
|
-
Missing Documentation:
|
|
374
|
-
- Architecture documentation
|
|
375
|
-
- API reference
|
|
376
|
-
- Component documentation
|
|
377
|
-
|
|
378
|
-
Recommendations:
|
|
379
|
-
1. ProAgents can generate missing docs from code
|
|
380
|
-
2. Consider adding JSDoc to public functions
|
|
381
|
-
3. Auto-generate API docs from TypeScript
|
|
382
|
-
```
|
|
383
|
-
|
|
384
|
-
---
|
|
385
|
-
|
|
386
|
-
### 7. Git & Workflow Assessment
|
|
387
|
-
|
|
388
|
-
```yaml
|
|
389
|
-
git_assessment:
|
|
390
|
-
branch_strategy:
|
|
391
|
-
detected: "github-flow"
|
|
392
|
-
main_branch: "main"
|
|
393
|
-
feature_prefix: "feature/"
|
|
394
|
-
uses_develop: false
|
|
395
|
-
|
|
396
|
-
commit_convention:
|
|
397
|
-
detected: "custom"
|
|
398
|
-
pattern: "[TICKET-123] Message"
|
|
399
|
-
conventional_commits: false
|
|
400
|
-
|
|
401
|
-
pr_workflow:
|
|
402
|
-
required_reviews: 2
|
|
403
|
-
codeowners: true
|
|
404
|
-
templates: true
|
|
405
|
-
required_checks: ["lint", "test", "build"]
|
|
406
|
-
|
|
407
|
-
active_branches: 8
|
|
408
|
-
stale_branches: 15
|
|
409
|
-
```
|
|
410
|
-
|
|
411
|
-
**Sample Output:**
|
|
412
|
-
```
|
|
413
|
-
Git & Workflow Assessment
|
|
414
|
-
═════════════════════════
|
|
415
|
-
|
|
416
|
-
Branch Strategy: GitHub Flow
|
|
417
|
-
├── Main branch: main
|
|
418
|
-
├── Feature prefix: feature/
|
|
419
|
-
└── Development branch: None (direct to main)
|
|
420
|
-
|
|
421
|
-
Commit Convention: Custom
|
|
422
|
-
├── Pattern: [TICKET-123] Message
|
|
423
|
-
└── Conventional Commits: No
|
|
424
|
-
|
|
425
|
-
⚠️ ProAgents default uses Conventional Commits
|
|
426
|
-
Will adapt to your pattern: [TICKET] Message
|
|
427
|
-
|
|
428
|
-
PR Workflow:
|
|
429
|
-
├── Required reviews: 2 ✅
|
|
430
|
-
├── CODEOWNERS: Yes ✅
|
|
431
|
-
├── PR template: Yes ✅
|
|
432
|
-
└── CI checks: lint, test, build ✅
|
|
433
|
-
|
|
434
|
-
Active branches: 8
|
|
435
|
-
Stale branches: 15 (consider cleanup)
|
|
436
|
-
```
|
|
437
|
-
|
|
438
|
-
---
|
|
439
|
-
|
|
440
|
-
## Compatibility Score
|
|
441
|
-
|
|
442
|
-
```
|
|
443
|
-
╔════════════════════════════════════════════════════════════╗
|
|
444
|
-
║ COMPATIBILITY ASSESSMENT REPORT ║
|
|
445
|
-
╠════════════════════════════════════════════════════════════╣
|
|
446
|
-
║ ║
|
|
447
|
-
║ Overall Compatibility Score: 72/100 ║
|
|
448
|
-
║ Adoption Difficulty: MODERATE ║
|
|
449
|
-
║ Recommended Strategy: Gradual Adoption ║
|
|
450
|
-
║ ║
|
|
451
|
-
╠════════════════════════════════════════════════════════════╣
|
|
452
|
-
║ Category Scores ║
|
|
453
|
-
║ ─────────────────────────────────────────────────────── ║
|
|
454
|
-
║ Structure ████████░░ 80/100 ║
|
|
455
|
-
║ Patterns ██████░░░░ 65/100 ║
|
|
456
|
-
║ Conventions ███████░░░ 75/100 ║
|
|
457
|
-
║ Testing ███░░░░░░░ 35/100 ║
|
|
458
|
-
║ Dependencies ████████░░ 80/100 ║
|
|
459
|
-
║ Documentation ██████░░░░ 60/100 ║
|
|
460
|
-
║ Git/Workflow █████████░ 90/100 ║
|
|
461
|
-
║ ║
|
|
462
|
-
╠════════════════════════════════════════════════════════════╣
|
|
463
|
-
║ Key Issues to Address ║
|
|
464
|
-
║ ─────────────────────────────────────────────────────── ║
|
|
465
|
-
║ 1. Low test coverage (35%) ║
|
|
466
|
-
║ 2. Inconsistent state management patterns ║
|
|
467
|
-
║ 3. Missing documentation ║
|
|
468
|
-
║ ║
|
|
469
|
-
║ Quick Wins ║
|
|
470
|
-
║ ─────────────────────────────────────────────────────── ║
|
|
471
|
-
║ 1. ProAgents can auto-generate missing docs ║
|
|
472
|
-
║ 2. Conventions will be auto-detected ║
|
|
473
|
-
║ 3. Git workflow is already compatible ║
|
|
474
|
-
║ ║
|
|
475
|
-
╚════════════════════════════════════════════════════════════╝
|
|
476
|
-
```
|
|
477
|
-
|
|
478
|
-
---
|
|
479
|
-
|
|
480
|
-
## Generated Configuration
|
|
481
|
-
|
|
482
|
-
Based on assessment, ProAgents generates suggested configuration:
|
|
483
|
-
|
|
484
|
-
```yaml
|
|
485
|
-
# proagents.config.yaml (generated for your project)
|
|
486
|
-
|
|
487
|
-
# Project detected as: React + TypeScript web app
|
|
488
|
-
project:
|
|
489
|
-
type: "web-frontend"
|
|
490
|
-
framework: "react"
|
|
491
|
-
language: "typescript"
|
|
492
|
-
|
|
493
|
-
# Adapted to your conventions
|
|
494
|
-
conventions:
|
|
495
|
-
files:
|
|
496
|
-
components: "PascalCase" # Detected
|
|
497
|
-
hooks: "camelCase" # Detected
|
|
498
|
-
services: "camelCase" # Standardized from mixed
|
|
499
|
-
code:
|
|
500
|
-
variables: "camelCase"
|
|
501
|
-
constants: "UPPER_SNAKE_CASE" # Standardized
|
|
502
|
-
|
|
503
|
-
# State management
|
|
504
|
-
patterns:
|
|
505
|
-
state_management:
|
|
506
|
-
primary: "zustand" # Newest detected
|
|
507
|
-
legacy: ["redux", "context"]
|
|
508
|
-
migration_mode: true
|
|
509
|
-
|
|
510
|
-
# Testing adapted to your setup
|
|
511
|
-
testing:
|
|
512
|
-
framework: "jest"
|
|
513
|
-
pattern: "*.test.ts"
|
|
514
|
-
coverage:
|
|
515
|
-
new_code: 80%
|
|
516
|
-
existing_code: "not_required"
|
|
517
|
-
|
|
518
|
-
# Git adapted to your workflow
|
|
519
|
-
git:
|
|
520
|
-
branch_prefix: "feature/"
|
|
521
|
-
commit_convention: "custom"
|
|
522
|
-
commit_pattern: "[{TICKET}] {message}"
|
|
523
|
-
|
|
524
|
-
# Gradual adoption settings
|
|
525
|
-
adoption:
|
|
526
|
-
mode: "gradual"
|
|
527
|
-
start_with: "new_features_only"
|
|
528
|
-
existing_features: "grandfathered"
|
|
529
|
-
```
|
|
530
|
-
|
|
531
|
-
---
|
|
532
|
-
|
|
533
|
-
## Commands
|
|
534
|
-
|
|
535
|
-
| Command | Description |
|
|
536
|
-
|---------|-------------|
|
|
537
|
-
| `pa:assess-compatibility` | Run full assessment |
|
|
538
|
-
| `pa:assess-compatibility --quick` | Quick assessment |
|
|
539
|
-
| `pa:assess-compatibility --report` | Generate report |
|
|
540
|
-
| `pa:assess-compatibility --config` | Generate config |
|
|
541
|
-
| `pa:assess-compatibility --focus [area]` | Focus on specific area |
|