proagents 1.6.16 → 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 +22 -64
- package/bin/proagents.js +0 -2
- package/lib/commands/init.js +4 -174
- 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,155 +0,0 @@
|
|
|
1
|
-
# Full-Stack Next.js Example
|
|
2
|
-
|
|
3
|
-
Complete walkthrough of ProAgents workflow for a Next.js full-stack application.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Overview
|
|
8
|
-
|
|
9
|
-
This example demonstrates how to use ProAgents to build features in a Next.js application with both frontend and backend concerns. It covers API routes, database integration, and server-side rendering.
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Project Type
|
|
14
|
-
|
|
15
|
-
- **Framework:** Next.js 14+ (App Router)
|
|
16
|
-
- **Language:** TypeScript
|
|
17
|
-
- **Database:** Prisma + PostgreSQL
|
|
18
|
-
- **Auth:** NextAuth.js
|
|
19
|
-
- **Styling:** Tailwind CSS
|
|
20
|
-
- **Testing:** Vitest + Playwright
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Files in This Example
|
|
25
|
-
|
|
26
|
-
| File | Description |
|
|
27
|
-
|------|-------------|
|
|
28
|
-
| [workflow-example.md](./workflow-example.md) | Step-by-step workflow phases |
|
|
29
|
-
| [proagents.config.yaml](./proagents.config.yaml) | Project-specific configuration |
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## What You'll Learn
|
|
34
|
-
|
|
35
|
-
### 1. Full-Stack Analysis
|
|
36
|
-
- Understanding App Router structure
|
|
37
|
-
- Identifying API routes and server actions
|
|
38
|
-
- Database schema analysis
|
|
39
|
-
- Authentication flow mapping
|
|
40
|
-
|
|
41
|
-
### 2. Feature Planning
|
|
42
|
-
- Coordinating frontend and backend changes
|
|
43
|
-
- Database migration planning
|
|
44
|
-
- API design and documentation
|
|
45
|
-
|
|
46
|
-
### 3. Implementation
|
|
47
|
-
- Server components vs client components
|
|
48
|
-
- API route handlers
|
|
49
|
-
- Database operations with Prisma
|
|
50
|
-
- Form handling with server actions
|
|
51
|
-
|
|
52
|
-
### 4. Testing
|
|
53
|
-
- Unit tests for utilities and hooks
|
|
54
|
-
- API route testing
|
|
55
|
-
- E2E tests with Playwright
|
|
56
|
-
- Database integration tests
|
|
57
|
-
|
|
58
|
-
---
|
|
59
|
-
|
|
60
|
-
## Quick Start
|
|
61
|
-
|
|
62
|
-
```bash
|
|
63
|
-
# Copy configuration to your Next.js project
|
|
64
|
-
cp proagents.config.yaml /path/to/your/nextjs-project/
|
|
65
|
-
|
|
66
|
-
# Start a new feature
|
|
67
|
-
proagents feature start "Add user settings page with API"
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
## Example Feature: Settings Page
|
|
73
|
-
|
|
74
|
-
The workflow-example.md demonstrates building a settings feature:
|
|
75
|
-
- Settings page with tabs (App Router)
|
|
76
|
-
- API routes for preferences CRUD
|
|
77
|
-
- Database schema updates
|
|
78
|
-
- Form validation and submission
|
|
79
|
-
|
|
80
|
-
---
|
|
81
|
-
|
|
82
|
-
## Key Patterns Demonstrated
|
|
83
|
-
|
|
84
|
-
### Project Structure
|
|
85
|
-
```
|
|
86
|
-
app/
|
|
87
|
-
├── (auth)/ # Auth-required routes
|
|
88
|
-
│ ├── dashboard/
|
|
89
|
-
│ └── settings/
|
|
90
|
-
├── api/ # API routes
|
|
91
|
-
│ └── settings/
|
|
92
|
-
├── layout.tsx
|
|
93
|
-
└── page.tsx
|
|
94
|
-
lib/
|
|
95
|
-
├── db.ts # Prisma client
|
|
96
|
-
├── auth.ts # Auth configuration
|
|
97
|
-
└── validations/ # Zod schemas
|
|
98
|
-
prisma/
|
|
99
|
-
├── schema.prisma
|
|
100
|
-
└── migrations/
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
### Full-Stack Workflow
|
|
104
|
-
1. **Analysis:** Understand existing patterns
|
|
105
|
-
2. **Database:** Plan schema changes first
|
|
106
|
-
3. **API:** Implement backend routes
|
|
107
|
-
4. **Frontend:** Build UI components
|
|
108
|
-
5. **Integration:** Connect frontend to API
|
|
109
|
-
6. **Testing:** Test all layers
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
## Configuration Highlights
|
|
114
|
-
|
|
115
|
-
```yaml
|
|
116
|
-
# From proagents.config.yaml
|
|
117
|
-
project:
|
|
118
|
-
type: "fullstack"
|
|
119
|
-
framework: "nextjs"
|
|
120
|
-
|
|
121
|
-
database:
|
|
122
|
-
orm: "prisma"
|
|
123
|
-
require_migrations: true
|
|
124
|
-
|
|
125
|
-
testing:
|
|
126
|
-
unit_framework: "vitest"
|
|
127
|
-
e2e_framework: "playwright"
|
|
128
|
-
coverage_threshold: 80
|
|
129
|
-
|
|
130
|
-
checkpoints:
|
|
131
|
-
after_analysis: true # Review before changes
|
|
132
|
-
after_design: true # Review API design
|
|
133
|
-
before_deployment: true # Final review
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
## Database Migration Workflow
|
|
139
|
-
|
|
140
|
-
```bash
|
|
141
|
-
# ProAgents guides you through:
|
|
142
|
-
1. Schema change design
|
|
143
|
-
2. Migration generation: npx prisma migrate dev
|
|
144
|
-
3. Migration review
|
|
145
|
-
4. Rollback script preparation
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
---
|
|
149
|
-
|
|
150
|
-
## Related Resources
|
|
151
|
-
|
|
152
|
-
- [Next.js Scaffolding Template](../../scaffolding/nextjs/)
|
|
153
|
-
- [Database Migrations Guide](../../database/)
|
|
154
|
-
- [API Versioning](../../api-versioning/)
|
|
155
|
-
- [Testing Standards](../../testing-standards/)
|