proagents 1.6.20 → 1.6.22

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 (136) hide show
  1. package/.claude/settings.local.json +3 -1
  2. package/.proagents/.cursorrules +1 -1
  3. package/.proagents/.windsurfrules +1 -1
  4. package/.proagents/AGENTS.md +1 -1
  5. package/.proagents/AI_INSTRUCTIONS.md +29 -1
  6. package/.proagents/BOLT.md +1 -1
  7. package/.proagents/CLAUDE.md +1 -1
  8. package/.proagents/GEMINI.md +1 -1
  9. package/.proagents/KIRO.md +1 -1
  10. package/.proagents/LOVABLE.md +1 -1
  11. package/.proagents/REPLIT.md +1 -1
  12. package/.proagents/custom-commands.yaml +1 -2
  13. package/.proagents/docs/command-details.md +1 -2
  14. package/.proagents/getting-started/ai-training-setup.md +0 -1
  15. package/.proagents/performance/README.md +59 -0
  16. package/.proagents/performance/bundle-analysis.md +375 -0
  17. package/.proagents/performance/load-testing.md +563 -0
  18. package/.proagents/performance/runtime-metrics.md +489 -0
  19. package/.proagents/performance/web-vitals.md +425 -0
  20. package/.proagents/proagents.config.yaml +55 -1
  21. package/.proagents/prompts/11-session-tracking.md +100 -0
  22. package/.proagents/prompts/13-commit.md +426 -0
  23. package/.proagents/workflow-modes/entry-modes.md +1 -6
  24. package/COMMANDS.md +19 -0
  25. package/lib/commands/init.js +62 -11
  26. package/package.json +1 -1
  27. package/.proagents/api-versioning/README.md +0 -257
  28. package/.proagents/api-versioning/changelog-template.md +0 -225
  29. package/.proagents/api-versioning/deprecation-workflow.md +0 -470
  30. package/.proagents/api-versioning/versioning-strategy.md +0 -291
  31. package/.proagents/automation/README.md +0 -38
  32. package/.proagents/automation/ai-behavior-rules.md +0 -339
  33. package/.proagents/automation/ai-prompt-injection.md +0 -331
  34. package/.proagents/automation/auto-decisions.md +0 -535
  35. package/.proagents/automation/decision-defaults.yaml +0 -317
  36. package/.proagents/cache/README.md +0 -110
  37. package/.proagents/cache/analysis-metadata.json +0 -76
  38. package/.proagents/cache/conventions.json +0 -125
  39. package/.proagents/cache/dependencies.json +0 -85
  40. package/.proagents/cache/features.json +0 -115
  41. package/.proagents/cache/patterns.json +0 -105
  42. package/.proagents/cache/schemas/conventions-schema.json +0 -138
  43. package/.proagents/cache/schemas/dependencies-schema.json +0 -95
  44. package/.proagents/cache/schemas/features-schema.json +0 -104
  45. package/.proagents/cache/schemas/metadata-schema.json +0 -83
  46. package/.proagents/cache/schemas/patterns-schema.json +0 -136
  47. package/.proagents/cache/schemas/structure-schema.json +0 -72
  48. package/.proagents/cache/structure.json +0 -109
  49. package/.proagents/checklists/README.md +0 -261
  50. package/.proagents/checklists/code-quality.md +0 -137
  51. package/.proagents/checklists/code-review.md +0 -148
  52. package/.proagents/checklists/pr-checklist.md +0 -78
  53. package/.proagents/checklists/pre-deployment.md +0 -132
  54. package/.proagents/checklists/pre-implementation.md +0 -80
  55. package/.proagents/checklists/testing.md +0 -120
  56. package/.proagents/checkpoints.json +0 -13
  57. package/.proagents/cicd/README.md +0 -338
  58. package/.proagents/cicd/azure-devops.md +0 -267
  59. package/.proagents/cicd/github-actions.md +0 -375
  60. package/.proagents/cicd/gitlab-ci.md +0 -278
  61. package/.proagents/cicd/jenkins.md +0 -317
  62. package/.proagents/collaboration/README.md +0 -143
  63. package/.proagents/collaboration/roles.md +0 -248
  64. package/.proagents/collaboration/sessions.md +0 -390
  65. package/.proagents/collaboration/sync.md +0 -358
  66. package/.proagents/cost/README.md +0 -48
  67. package/.proagents/cost/cost-template.md +0 -283
  68. package/.proagents/cost/estimation-framework.md +0 -287
  69. package/.proagents/database/README.md +0 -72
  70. package/.proagents/database/examples/001-create-users.sql +0 -129
  71. package/.proagents/database/examples/002-add-preferences.sql +0 -94
  72. package/.proagents/database/examples/003-add-index.sql +0 -105
  73. package/.proagents/database/examples/004-rename-column.sql +0 -122
  74. package/.proagents/database/examples/005-add-foreign-key.sql +0 -142
  75. package/.proagents/database/examples/006-data-migration.sql +0 -196
  76. package/.proagents/database/examples/007-drop-column.sql +0 -163
  77. package/.proagents/database/examples/README.md +0 -89
  78. package/.proagents/database/migration-workflow.md +0 -478
  79. package/.proagents/database/rollback-scripts.md +0 -487
  80. package/.proagents/database/safety-checks.md +0 -447
  81. package/.proagents/git/README.md +0 -68
  82. package/.proagents/git/branch-strategy.md +0 -164
  83. package/.proagents/git/commit-conventions.md +0 -241
  84. package/.proagents/git/pr-workflow.md +0 -286
  85. package/.proagents/git/rollback-procedures.md +0 -416
  86. package/.proagents/ide-integration/README.md +0 -124
  87. package/.proagents/ide-integration/cline-config.md +0 -429
  88. package/.proagents/ide-integration/continue-config.md +0 -380
  89. package/.proagents/ide-integration/cursor-rules.md +0 -280
  90. package/.proagents/ide-integration/github-copilot.md +0 -384
  91. package/.proagents/ide-integration/windsurf-rules.md +0 -314
  92. package/.proagents/integrations/README.md +0 -97
  93. package/.proagents/integrations/pm/README.md +0 -344
  94. package/.proagents/learning/README.md +0 -136
  95. package/.proagents/learning/adaptation.md +0 -305
  96. package/.proagents/learning/data-collection.md +0 -283
  97. package/.proagents/learning/implementation-guide.md +0 -865
  98. package/.proagents/learning/reports.md +0 -306
  99. package/.proagents/mcp/README.md +0 -133
  100. package/.proagents/mcp/context-providers.md +0 -442
  101. package/.proagents/mcp/server-config.md +0 -306
  102. package/.proagents/mcp/tools-definition.md +0 -513
  103. package/.proagents/pm-integration/README.md +0 -151
  104. package/.proagents/pm-integration/asana.md +0 -346
  105. package/.proagents/pm-integration/github-issues.md +0 -308
  106. package/.proagents/pm-integration/gitlab-issues.md +0 -482
  107. package/.proagents/pm-integration/jira.md +0 -364
  108. package/.proagents/pm-integration/linear.md +0 -409
  109. package/.proagents/pm-integration/notion.md +0 -275
  110. package/.proagents/pm-integration/sync-config.md +0 -533
  111. package/.proagents/pm-integration/trello.md +0 -159
  112. package/.proagents/rules/README.md +0 -179
  113. package/.proagents/rules/custom-rules-template.yaml +0 -286
  114. package/.proagents/rules/custom-rules.md +0 -754
  115. package/.proagents/rules/validation-rules-template.yaml +0 -517
  116. package/.proagents/runbooks/README.md +0 -219
  117. package/.proagents/runbooks/dependency-vulnerability.md +0 -505
  118. package/.proagents/runbooks/incident-response.md +0 -451
  119. package/.proagents/runbooks/performance-degradation.md +0 -584
  120. package/.proagents/runbooks/production-debugging.md +0 -489
  121. package/.proagents/sessions/README.md +0 -5
  122. package/.proagents/sprints/README.md +0 -58
  123. package/.proagents/team/README.md +0 -256
  124. package/.proagents/team/code-ownership.md +0 -306
  125. package/.proagents/team/communication-templates.md +0 -441
  126. package/.proagents/team/handoff-protocol.md +0 -380
  127. package/.proagents/team/ide-setup/README.md +0 -103
  128. package/.proagents/team/ide-setup/cursor.md +0 -276
  129. package/.proagents/team/ide-setup/jetbrains.md +0 -330
  130. package/.proagents/team/ide-setup/neovim.md +0 -640
  131. package/.proagents/team/ide-setup/vscode.md +0 -348
  132. package/.proagents/team/onboarding.md +0 -278
  133. package/.proagents/time-tracking.json +0 -19
  134. package/.proagents/troubleshooting/README.md +0 -730
  135. package/.proagents/troubleshooting/ai-issues.md +0 -601
  136. package/.proagents/troubleshooting/workflow-issues.md +0 -571
@@ -1,429 +0,0 @@
1
- # Cline Configuration
2
-
3
- Configure Cline VS Code extension to work with ProAgents workflow.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- Cline is a VS Code extension that provides an AI coding assistant. It uses `.clinerules` for project-specific instructions.
10
-
11
- ---
12
-
13
- ## Quick Setup
14
-
15
- ```bash
16
- # Generate Cline rules
17
- proagents ide generate cline
18
-
19
- # Creates .clinerules in project root
20
- ```
21
-
22
- ---
23
-
24
- ## Complete .clinerules Template
25
-
26
- Create `.clinerules` in your project root:
27
-
28
- ```markdown
29
- # ProAgents Workflow Rules for Cline
30
-
31
- ## Role
32
-
33
- You are an AI developer assistant integrated with the ProAgents development workflow. Help developers build features following established patterns and best practices.
34
-
35
- ## Workflow Commands
36
-
37
- Respond to these commands:
38
-
39
- | Command | Description | Action |
40
- |---------|-------------|--------|
41
- | `pa:init` | Initialize ProAgents | Set up workflow configuration |
42
- | `pa:feature <name>` | New feature | Full development workflow |
43
- | `pa:fix <bug>` | Bug fix | Streamlined fix workflow |
44
- | `pa:doc` | Documentation | Generate docs for code |
45
- | `pa:test` | Testing | Write/run tests |
46
- | `pa:review` | Code review | Review current changes |
47
- | `pa:status` | Status check | Show workflow progress |
48
-
49
- ## Task Execution
50
-
51
- ### Feature Development
52
- When starting a new feature:
53
-
54
- 1. **Analyze** - Understand existing patterns
55
- - Read relevant existing code
56
- - Identify patterns to follow
57
- - Note integration points
58
-
59
- 2. **Plan** - Before coding
60
- - Outline files to create/modify
61
- - Identify dependencies
62
- - Plan test approach
63
-
64
- 3. **Implement** - Write code
65
- - Follow existing patterns
66
- - Include error handling
67
- - Add types/documentation
68
-
69
- 4. **Test** - Verify work
70
- - Write unit tests
71
- - Test edge cases
72
- - Verify integration
73
-
74
- 5. **Document** - Complete feature
75
- - Update relevant docs
76
- - Add code comments
77
- - Update changelog
78
-
79
- ### Bug Fixes
80
- For bug fixes:
81
-
82
- 1. Locate the bug source
83
- 2. Understand root cause
84
- 3. Implement minimal fix
85
- 4. Add regression test
86
- 5. Document the fix
87
-
88
- ## Code Standards
89
-
90
- ### TypeScript
91
- ```typescript
92
- // Always use strict types
93
- interface UserProps {
94
- id: string;
95
- name: string;
96
- email: string;
97
- }
98
-
99
- // Use descriptive function names
100
- async function fetchUserById(userId: string): Promise<User> {
101
- // Implementation
102
- }
103
-
104
- // Handle errors properly
105
- try {
106
- const user = await fetchUserById(id);
107
- return user;
108
- } catch (error) {
109
- logger.error('Failed to fetch user', { userId: id, error });
110
- throw new UserNotFoundError(id);
111
- }
112
- ```
113
-
114
- ### React Components
115
- ```typescript
116
- // Props interface above component
117
- interface ButtonProps {
118
- label: string;
119
- variant?: 'primary' | 'secondary';
120
- onClick: () => void;
121
- }
122
-
123
- // Functional components with proper typing
124
- export function Button({ label, variant = 'primary', onClick }: ButtonProps) {
125
- return (
126
- <button
127
- className={`btn btn-${variant}`}
128
- onClick={onClick}
129
- >
130
- {label}
131
- </button>
132
- );
133
- }
134
- ```
135
-
136
- ## Project Structure
137
-
138
- Follow this structure for new files:
139
-
140
- ```
141
- src/
142
- ├── components/ # Reusable UI components
143
- │ └── Button/
144
- │ ├── Button.tsx
145
- │ ├── Button.test.tsx
146
- │ └── index.ts
147
- ├── features/ # Feature modules
148
- │ └── auth/
149
- │ ├── components/
150
- │ ├── hooks/
151
- │ ├── services/
152
- │ └── types.ts
153
- ├── hooks/ # Shared hooks
154
- ├── services/ # API/external services
155
- ├── utils/ # Utility functions
156
- └── types/ # Shared types
157
- ```
158
-
159
- ## File Operations
160
-
161
- ### Creating Files
162
- - Place in correct directory
163
- - Follow naming conventions
164
- - Include necessary imports
165
- - Add to barrel exports (index.ts)
166
-
167
- ### Modifying Files
168
- - Read file first to understand context
169
- - Make minimal necessary changes
170
- - Preserve existing style
171
- - Don't remove unrelated code
172
-
173
- ### Deleting Files
174
- - Confirm before deleting
175
- - Update imports in other files
176
- - Update barrel exports
177
- - Check for orphaned tests
178
-
179
- ## Tool Usage
180
-
181
- ### Read Files
182
- - Read related files for context
183
- - Check existing implementations
184
- - Understand patterns before coding
185
-
186
- ### Write Files
187
- - Create complete, working code
188
- - Include imports and types
189
- - Follow existing formatting
190
-
191
- ### Terminal
192
- - Run tests to verify changes
193
- - Check build for errors
194
- - Use project's package manager
195
-
196
- ## Communication
197
-
198
- ### Before Actions
199
- - Explain what you plan to do
200
- - List files you'll create/modify
201
- - Ask if approach is correct for significant changes
202
-
203
- ### During Implementation
204
- - Show progress on multi-step tasks
205
- - Explain non-obvious decisions
206
- - Highlight potential issues
207
-
208
- ### After Completion
209
- - Summarize what was done
210
- - List any follow-up tasks
211
- - Suggest testing approach
212
-
213
- ## Constraints
214
-
215
- ### Do
216
- - Follow existing patterns
217
- - Write tests for new code
218
- - Handle errors properly
219
- - Include accessibility
220
- - Document public APIs
221
-
222
- ### Don't
223
- - Skip error handling
224
- - Ignore TypeScript errors
225
- - Create duplicate utilities
226
- - Change unrelated code
227
- - Remove comments without reason
228
-
229
- ## Testing Requirements
230
-
231
- ### Unit Tests
232
- ```typescript
233
- describe('UserService', () => {
234
- describe('getUser', () => {
235
- it('should return user when found', async () => {
236
- // Test implementation
237
- });
238
-
239
- it('should throw NotFoundError when user not found', async () => {
240
- // Test implementation
241
- });
242
- });
243
- });
244
- ```
245
-
246
- ### Coverage
247
- - New code should have tests
248
- - Cover happy path and error cases
249
- - Mock external dependencies
250
-
251
- ## Context Awareness
252
-
253
- Remember across the conversation:
254
- - Current feature being developed
255
- - Files already created/modified
256
- - Decisions made
257
- - Pending tasks
258
- ```
259
-
260
- ---
261
-
262
- ## Cline-Specific Settings
263
-
264
- ### VS Code Settings
265
-
266
- Add to `.vscode/settings.json`:
267
-
268
- ```json
269
- {
270
- "cline.customInstructions": "Follow ProAgents workflow. Use pa:feature for new features, pa:fix for bugs.",
271
-
272
- "cline.alwaysAllowReads": true,
273
- "cline.alwaysAllowWrites": false,
274
-
275
- "cline.preferredLanguage": "typescript",
276
-
277
- "cline.autoApproveReadOnly": true,
278
- "cline.autoApproveMaxFileReads": 10
279
- }
280
- ```
281
-
282
- ### Memory/Context Configuration
283
-
284
- ```json
285
- {
286
- "cline.contextWindow": "large",
287
- "cline.includeWorkspaceContext": true,
288
- "cline.maxFilesInContext": 20
289
- }
290
- ```
291
-
292
- ---
293
-
294
- ## Custom Tools
295
-
296
- Define custom tools in `.clinerules`:
297
-
298
- ```markdown
299
- ## Custom Tools
300
-
301
- ### analyze_codebase
302
- Analyze the codebase structure:
303
- 1. List main directories
304
- 2. Identify frameworks/libraries
305
- 3. Note patterns and conventions
306
- 4. Report findings
307
-
308
- ### generate_tests
309
- Generate tests for a file:
310
- 1. Read the source file
311
- 2. Identify testable functions
312
- 3. Generate test cases
313
- 4. Create test file
314
-
315
- ### create_component
316
- Create a new React component:
317
- 1. Create component file
318
- 2. Create test file
319
- 3. Create index export
320
- 4. Update parent barrel export
321
- ```
322
-
323
- ---
324
-
325
- ## ProAgents Integration
326
-
327
- ```yaml
328
- # proagents.config.yaml
329
- ide:
330
- cline:
331
- enabled: true
332
-
333
- # Rules configuration
334
- rules_path: ".clinerules"
335
-
336
- # Include sections
337
- include:
338
- - workflow_commands
339
- - code_standards
340
- - project_structure
341
- - testing_requirements
342
-
343
- # Tool permissions
344
- permissions:
345
- auto_approve_reads: true
346
- auto_approve_writes: false
347
- require_confirmation: ["delete", "terminal"]
348
-
349
- # Context settings
350
- context:
351
- include_analysis: true
352
- include_patterns: true
353
- max_files: 20
354
- ```
355
-
356
- ---
357
-
358
- ## Workflow Integration
359
-
360
- ### Starting a Feature
361
-
362
- ```
363
- User: pa:feature user-authentication
364
-
365
- Cline:
366
- I'll help you implement user authentication. Let me start by analyzing the codebase.
367
-
368
- **Analysis:**
369
- - Framework: Next.js with App Router
370
- - Auth pattern: None currently (new feature)
371
- - Related: /src/components/auth/ (empty)
372
-
373
- **Proposed Plan:**
374
- 1. Create AuthContext and useAuth hook
375
- 2. Create login/register forms
376
- 3. Create API routes for auth
377
- 4. Add protected route wrapper
378
- 5. Write tests
379
-
380
- Shall I proceed with this plan?
381
- ```
382
-
383
- ### Bug Fix
384
-
385
- ```
386
- User: pa:fix Login button not responding
387
-
388
- Cline:
389
- I'll investigate the login button issue.
390
-
391
- **Investigation:**
392
- 1. Reading /src/components/LoginForm.tsx
393
- 2. Found: onClick handler missing await
394
- 3. The async function doesn't wait for response
395
-
396
- **Fix:**
397
- - Add await to handleSubmit call
398
- - Add loading state to prevent double-click
399
-
400
- Shall I implement this fix?
401
- ```
402
-
403
- ---
404
-
405
- ## Syncing Configuration
406
-
407
- ```bash
408
- # Generate from ProAgents config
409
- proagents ide generate cline
410
-
411
- # Include detected patterns
412
- proagents ide generate cline --include-patterns
413
-
414
- # Validate rules
415
- proagents ide validate cline
416
-
417
- # Sync after changes
418
- proagents ide sync cline
419
- ```
420
-
421
- ---
422
-
423
- ## Best Practices
424
-
425
- 1. **Clear Instructions**: Be specific about expectations
426
- 2. **Permission Management**: Configure auto-approve carefully
427
- 3. **Context Control**: Limit files in context for performance
428
- 4. **Test Integration**: Include testing in workflow
429
- 5. **Regular Updates**: Sync rules when project evolves