proagents 1.6.19 → 1.6.21

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 (143) hide show
  1. package/.claude/settings.local.json +13 -1
  2. package/.proagents/.cursorrules +25 -10
  3. package/.proagents/.windsurfrules +25 -10
  4. package/.proagents/AGENTS.md +30 -11
  5. package/.proagents/AI_INSTRUCTIONS.md +86 -30
  6. package/.proagents/BOLT.md +25 -10
  7. package/.proagents/CLAUDE.md +25 -10
  8. package/.proagents/GEMINI.md +25 -10
  9. package/.proagents/KIRO.md +25 -10
  10. package/.proagents/LOVABLE.md +25 -10
  11. package/.proagents/PROAGENTS.md +96 -343
  12. package/.proagents/REPLIT.md +25 -10
  13. package/.proagents/activity.log +1 -0
  14. package/.proagents/custom-commands.yaml +0 -1
  15. package/.proagents/docs/command-details.md +1 -2
  16. package/.proagents/getting-started/ai-training-setup.md +0 -1
  17. package/.proagents/performance/README.md +59 -0
  18. package/.proagents/performance/bundle-analysis.md +375 -0
  19. package/.proagents/performance/load-testing.md +563 -0
  20. package/.proagents/performance/runtime-metrics.md +489 -0
  21. package/.proagents/performance/web-vitals.md +425 -0
  22. package/.proagents/platforms.yaml +66 -0
  23. package/.proagents/proagents.config.yaml +0 -1
  24. package/.proagents/prompts/ai-add.md +80 -0
  25. package/.proagents/prompts/ai-list.md +41 -0
  26. package/.proagents/prompts/ai-remove.md +112 -0
  27. package/.proagents/prompts/ai-sync.md +96 -0
  28. package/.proagents/workflow-modes/entry-modes.md +1 -6
  29. package/lib/commands/ai.js +100 -48
  30. package/lib/commands/init.js +89 -22
  31. package/package.json +1 -1
  32. package/.proagents/ANTIGRAVITY.md +0 -61
  33. package/.proagents/CHATGPT.md +0 -57
  34. package/.proagents/GROQ.md +0 -57
  35. package/.proagents/api-versioning/README.md +0 -257
  36. package/.proagents/api-versioning/changelog-template.md +0 -225
  37. package/.proagents/api-versioning/deprecation-workflow.md +0 -470
  38. package/.proagents/api-versioning/versioning-strategy.md +0 -291
  39. package/.proagents/automation/README.md +0 -38
  40. package/.proagents/automation/ai-behavior-rules.md +0 -339
  41. package/.proagents/automation/ai-prompt-injection.md +0 -331
  42. package/.proagents/automation/auto-decisions.md +0 -535
  43. package/.proagents/automation/decision-defaults.yaml +0 -317
  44. package/.proagents/cache/README.md +0 -110
  45. package/.proagents/cache/analysis-metadata.json +0 -76
  46. package/.proagents/cache/conventions.json +0 -125
  47. package/.proagents/cache/dependencies.json +0 -85
  48. package/.proagents/cache/features.json +0 -115
  49. package/.proagents/cache/patterns.json +0 -105
  50. package/.proagents/cache/schemas/conventions-schema.json +0 -138
  51. package/.proagents/cache/schemas/dependencies-schema.json +0 -95
  52. package/.proagents/cache/schemas/features-schema.json +0 -104
  53. package/.proagents/cache/schemas/metadata-schema.json +0 -83
  54. package/.proagents/cache/schemas/patterns-schema.json +0 -136
  55. package/.proagents/cache/schemas/structure-schema.json +0 -72
  56. package/.proagents/cache/structure.json +0 -109
  57. package/.proagents/checklists/README.md +0 -261
  58. package/.proagents/checklists/code-quality.md +0 -137
  59. package/.proagents/checklists/code-review.md +0 -148
  60. package/.proagents/checklists/pr-checklist.md +0 -78
  61. package/.proagents/checklists/pre-deployment.md +0 -132
  62. package/.proagents/checklists/pre-implementation.md +0 -80
  63. package/.proagents/checklists/testing.md +0 -120
  64. package/.proagents/checkpoints.json +0 -13
  65. package/.proagents/cicd/README.md +0 -338
  66. package/.proagents/cicd/azure-devops.md +0 -267
  67. package/.proagents/cicd/github-actions.md +0 -375
  68. package/.proagents/cicd/gitlab-ci.md +0 -278
  69. package/.proagents/cicd/jenkins.md +0 -317
  70. package/.proagents/collaboration/README.md +0 -143
  71. package/.proagents/collaboration/roles.md +0 -248
  72. package/.proagents/collaboration/sessions.md +0 -390
  73. package/.proagents/collaboration/sync.md +0 -358
  74. package/.proagents/cost/README.md +0 -48
  75. package/.proagents/cost/cost-template.md +0 -283
  76. package/.proagents/cost/estimation-framework.md +0 -287
  77. package/.proagents/database/README.md +0 -72
  78. package/.proagents/database/examples/001-create-users.sql +0 -129
  79. package/.proagents/database/examples/002-add-preferences.sql +0 -94
  80. package/.proagents/database/examples/003-add-index.sql +0 -105
  81. package/.proagents/database/examples/004-rename-column.sql +0 -122
  82. package/.proagents/database/examples/005-add-foreign-key.sql +0 -142
  83. package/.proagents/database/examples/006-data-migration.sql +0 -196
  84. package/.proagents/database/examples/007-drop-column.sql +0 -163
  85. package/.proagents/database/examples/README.md +0 -89
  86. package/.proagents/database/migration-workflow.md +0 -478
  87. package/.proagents/database/rollback-scripts.md +0 -487
  88. package/.proagents/database/safety-checks.md +0 -447
  89. package/.proagents/git/README.md +0 -68
  90. package/.proagents/git/branch-strategy.md +0 -164
  91. package/.proagents/git/commit-conventions.md +0 -241
  92. package/.proagents/git/pr-workflow.md +0 -286
  93. package/.proagents/git/rollback-procedures.md +0 -416
  94. package/.proagents/ide-integration/README.md +0 -124
  95. package/.proagents/ide-integration/cline-config.md +0 -429
  96. package/.proagents/ide-integration/continue-config.md +0 -380
  97. package/.proagents/ide-integration/cursor-rules.md +0 -280
  98. package/.proagents/ide-integration/github-copilot.md +0 -384
  99. package/.proagents/ide-integration/windsurf-rules.md +0 -314
  100. package/.proagents/integrations/README.md +0 -97
  101. package/.proagents/integrations/pm/README.md +0 -344
  102. package/.proagents/learning/README.md +0 -136
  103. package/.proagents/learning/adaptation.md +0 -305
  104. package/.proagents/learning/data-collection.md +0 -283
  105. package/.proagents/learning/implementation-guide.md +0 -865
  106. package/.proagents/learning/reports.md +0 -306
  107. package/.proagents/mcp/README.md +0 -133
  108. package/.proagents/mcp/context-providers.md +0 -442
  109. package/.proagents/mcp/server-config.md +0 -306
  110. package/.proagents/mcp/tools-definition.md +0 -513
  111. package/.proagents/pm-integration/README.md +0 -151
  112. package/.proagents/pm-integration/asana.md +0 -346
  113. package/.proagents/pm-integration/github-issues.md +0 -308
  114. package/.proagents/pm-integration/gitlab-issues.md +0 -482
  115. package/.proagents/pm-integration/jira.md +0 -364
  116. package/.proagents/pm-integration/linear.md +0 -409
  117. package/.proagents/pm-integration/notion.md +0 -275
  118. package/.proagents/pm-integration/sync-config.md +0 -533
  119. package/.proagents/pm-integration/trello.md +0 -159
  120. package/.proagents/rules/README.md +0 -179
  121. package/.proagents/rules/custom-rules-template.yaml +0 -286
  122. package/.proagents/rules/custom-rules.md +0 -754
  123. package/.proagents/rules/validation-rules-template.yaml +0 -517
  124. package/.proagents/runbooks/README.md +0 -219
  125. package/.proagents/runbooks/dependency-vulnerability.md +0 -505
  126. package/.proagents/runbooks/incident-response.md +0 -451
  127. package/.proagents/runbooks/performance-degradation.md +0 -584
  128. package/.proagents/runbooks/production-debugging.md +0 -489
  129. package/.proagents/sprints/README.md +0 -58
  130. package/.proagents/team/README.md +0 -256
  131. package/.proagents/team/code-ownership.md +0 -306
  132. package/.proagents/team/communication-templates.md +0 -441
  133. package/.proagents/team/handoff-protocol.md +0 -380
  134. package/.proagents/team/ide-setup/README.md +0 -103
  135. package/.proagents/team/ide-setup/cursor.md +0 -276
  136. package/.proagents/team/ide-setup/jetbrains.md +0 -330
  137. package/.proagents/team/ide-setup/neovim.md +0 -640
  138. package/.proagents/team/ide-setup/vscode.md +0 -348
  139. package/.proagents/team/onboarding.md +0 -278
  140. package/.proagents/time-tracking.json +0 -19
  141. package/.proagents/troubleshooting/README.md +0 -730
  142. package/.proagents/troubleshooting/ai-issues.md +0 -601
  143. package/.proagents/troubleshooting/workflow-issues.md +0 -571
@@ -1,276 +0,0 @@
1
- # Cursor IDE Setup Guide
2
-
3
- Configure Cursor for optimal ProAgents development with AI-first workflow.
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- Cursor is built for AI-assisted development, making it ideal for ProAgents workflows. This guide covers configuration for maximum productivity.
10
-
11
- ---
12
-
13
- ## Initial Setup
14
-
15
- ### 1. Install Cursor
16
-
17
- Download from [cursor.sh](https://cursor.sh)
18
-
19
- ### 2. Import VS Code Settings
20
-
21
- Cursor can import your VS Code configuration:
22
- - `Cmd+Shift+P` → "Cursor: Import VS Code Settings"
23
-
24
- ### 3. Configure AI Model
25
-
26
- Settings → AI → Model:
27
- - **Claude**: Recommended for complex tasks
28
- - **GPT-4**: Alternative option
29
- - **Local models**: For privacy-sensitive work
30
-
31
- ---
32
-
33
- ## Cursor-Specific Settings
34
-
35
- Access via `Cmd+,` or Settings:
36
-
37
- ```json
38
- {
39
- // AI Settings
40
- "cursor.ai.enableAutoComplete": true,
41
- "cursor.ai.autoCompleteModel": "claude-3-sonnet",
42
- "cursor.ai.chatModel": "claude-3-opus",
43
-
44
- // Code Actions
45
- "cursor.ai.enableInlineEdits": true,
46
- "cursor.ai.showInlineSuggestions": true,
47
-
48
- // Context
49
- "cursor.ai.includeProjectContext": true,
50
- "cursor.ai.maxContextFiles": 10,
51
-
52
- // Privacy
53
- "cursor.ai.codebaseIndexing": true,
54
- "cursor.ai.sendCodeToCloud": true // Set false for sensitive projects
55
- }
56
- ```
57
-
58
- ---
59
-
60
- ## ProAgents Integration
61
-
62
- ### Using ProAgents Commands in Cursor
63
-
64
- Cursor's AI chat integrates well with ProAgents:
65
-
66
- ```
67
- # In Cursor Chat (Cmd+L)
68
-
69
- "Run pa:feature 'Add user authentication'"
70
-
71
- "Check the ProAgents workflow status"
72
-
73
- "Apply the coding standards from .proagents/standards/"
74
- ```
75
-
76
- ### Codebase Context
77
-
78
- Cursor indexes your codebase for context. Ensure ProAgents files are indexed:
79
-
80
- ```json
81
- {
82
- "cursor.ai.includePaths": [
83
- "src/**",
84
- ".proagents/**"
85
- ],
86
- "cursor.ai.excludePaths": [
87
- "node_modules/**",
88
- "dist/**",
89
- ".next/**"
90
- ]
91
- }
92
- ```
93
-
94
- ---
95
-
96
- ## Keyboard Shortcuts
97
-
98
- ### AI Features
99
-
100
- | Shortcut | Action |
101
- |----------|--------|
102
- | `Cmd+L` | Open AI Chat |
103
- | `Cmd+K` | Inline Edit |
104
- | `Cmd+Shift+K` | Edit Selection |
105
- | `Tab` | Accept Suggestion |
106
- | `Esc` | Dismiss Suggestion |
107
- | `Cmd+Shift+L` | Add to Chat Context |
108
-
109
- ### Standard Editing
110
-
111
- | Shortcut | Action |
112
- |----------|--------|
113
- | `Cmd+P` | Quick Open File |
114
- | `Cmd+Shift+P` | Command Palette |
115
- | `Cmd+B` | Toggle Sidebar |
116
- | `Cmd+J` | Toggle Terminal |
117
- | `Cmd+/` | Toggle Comment |
118
-
119
- ---
120
-
121
- ## Cursor Rules (.cursorrules)
122
-
123
- Create `.cursorrules` in project root:
124
-
125
- ```
126
- # Project Context
127
- This is a [project type] project using [technologies].
128
-
129
- # Coding Standards
130
- - Use TypeScript with strict mode
131
- - Follow functional programming patterns
132
- - Use Tailwind CSS for styling
133
- - Follow the patterns in .proagents/standards/
134
-
135
- # Testing
136
- - Write tests using Vitest
137
- - Aim for 80% coverage
138
- - Use React Testing Library for components
139
-
140
- # Conventions
141
- - Components in src/components/
142
- - Hooks in src/hooks/
143
- - Types in src/types/
144
-
145
- # ProAgents
146
- - Follow the workflow in .proagents/WORKFLOW.md
147
- - Check .proagents/standards/ for coding guidelines
148
- - Use .proagents/checklists/ before completing phases
149
- ```
150
-
151
- ---
152
-
153
- ## AI Chat Prompts for ProAgents
154
-
155
- ### Starting Features
156
-
157
- ```
158
- I'm starting a new feature: [description]
159
-
160
- Please help me:
161
- 1. Analyze the codebase for related code
162
- 2. Suggest an implementation approach
163
- 3. Identify files that need changes
164
- 4. Create the implementation plan
165
-
166
- Reference: .proagents/prompts/04-planning.md
167
- ```
168
-
169
- ### Code Review
170
-
171
- ```
172
- Review this code following ProAgents standards:
173
-
174
- [paste code]
175
-
176
- Check against:
177
- - .proagents/standards/coding-standards.md
178
- - .proagents/checklists/code-review.md
179
-
180
- Provide specific feedback and suggestions.
181
- ```
182
-
183
- ### Debugging
184
-
185
- ```
186
- I'm encountering this error:
187
-
188
- [error message]
189
-
190
- Help me debug following .proagents/prompts/debugging/systematic.md
191
-
192
- 1. Analyze the error
193
- 2. Identify potential causes
194
- 3. Suggest debugging steps
195
- 4. Provide fix if possible
196
- ```
197
-
198
- ---
199
-
200
- ## Composer Mode
201
-
202
- Cursor's Composer mode is powerful for multi-file changes:
203
-
204
- ### Using Composer for Features
205
-
206
- 1. `Cmd+I` to open Composer
207
- 2. Describe the feature
208
- 3. Reference ProAgents docs:
209
- ```
210
- Implement [feature] following:
211
- - .proagents/standards/react-nextjs.md for code style
212
- - .proagents/prompts/05-implementation.md for approach
213
- ```
214
- 4. Review proposed changes
215
- 5. Apply changes
216
-
217
- ### Best Practices
218
-
219
- - Start with clear, specific prompts
220
- - Reference ProAgents standards in prompts
221
- - Review AI suggestions before applying
222
- - Use `@file` to include specific files as context
223
-
224
- ---
225
-
226
- ## Workspace Configuration
227
-
228
- Create `.cursor/settings.json`:
229
-
230
- ```json
231
- {
232
- "editor.formatOnSave": true,
233
- "editor.defaultFormatter": "esbenp.prettier-vscode",
234
-
235
- "cursor.ai.contextFiles": [
236
- ".proagents/standards/*.md",
237
- ".proagents/prompts/*.md",
238
- "README.md",
239
- "package.json"
240
- ],
241
-
242
- "cursor.composer.includePaths": [
243
- "src/**/*.{ts,tsx}",
244
- ".proagents/**/*.md"
245
- ]
246
- }
247
- ```
248
-
249
- ---
250
-
251
- ## Tips for AI-Assisted Development
252
-
253
- 1. **Be Specific**: Clear prompts get better results
254
- 2. **Provide Context**: Reference relevant ProAgents docs
255
- 3. **Iterate**: Refine AI suggestions with follow-up prompts
256
- 4. **Review**: Always review AI-generated code
257
- 5. **Learn**: Use AI explanations to understand code
258
-
259
- ---
260
-
261
- ## Troubleshooting
262
-
263
- ### AI Not Responding
264
- - Check internet connection
265
- - Verify API key in settings
266
- - Try different model
267
-
268
- ### Context Too Large
269
- - Exclude unnecessary files
270
- - Use specific file references
271
- - Split large requests
272
-
273
- ### Suggestions Not Relevant
274
- - Improve `.cursorrules`
275
- - Add more context in prompts
276
- - Reference specific ProAgents docs
@@ -1,330 +0,0 @@
1
- # JetBrains IDE Setup Guide
2
-
3
- Configure WebStorm, IntelliJ IDEA, or other JetBrains IDEs for ProAgents development.
4
-
5
- ---
6
-
7
- ## Supported IDEs
8
-
9
- - **WebStorm** - JavaScript/TypeScript development
10
- - **IntelliJ IDEA** - Full-stack development
11
- - **PhpStorm** - PHP with JS/TS
12
- - **PyCharm** - Python with JS/TS frontend
13
-
14
- ---
15
-
16
- ## Essential Plugins
17
-
18
- ### Install via Settings → Plugins
19
-
20
- | Plugin | Purpose |
21
- |--------|---------|
22
- | Prettier | Code formatting |
23
- | ESLint | Linting |
24
- | Tailwind CSS | Tailwind IntelliSense |
25
- | GitToolBox | Enhanced Git features |
26
- | String Manipulation | Text utilities |
27
- | Rainbow Brackets | Bracket colorization |
28
-
29
- ### AI Plugins (Choose One)
30
-
31
- | Plugin | Description |
32
- |--------|-------------|
33
- | GitHub Copilot | GitHub's AI assistant |
34
- | JetBrains AI | Built-in AI features |
35
- | Codeium | Free AI completion |
36
- | Tabnine | AI code completion |
37
-
38
- ---
39
-
40
- ## Project Configuration
41
-
42
- ### 1. Node.js Setup
43
-
44
- Settings → Languages & Frameworks → Node.js:
45
- - Set Node interpreter from `.nvmrc`
46
- - Enable coding assistance for Node.js
47
-
48
- ### 2. TypeScript Setup
49
-
50
- Settings → Languages & Frameworks → TypeScript:
51
- - TypeScript: Use project's `node_modules/typescript`
52
- - Enable TypeScript service
53
- - Recompile on changes: ✓
54
-
55
- ### 3. ESLint Setup
56
-
57
- Settings → Languages & Frameworks → JavaScript → Code Quality Tools → ESLint:
58
- - Automatic ESLint configuration: ✓
59
- - Run for files: `**/*.{js,jsx,ts,tsx}`
60
- - Run eslint --fix on save: ✓
61
-
62
- ### 4. Prettier Setup
63
-
64
- Settings → Languages & Frameworks → JavaScript → Prettier:
65
- - Prettier package: `node_modules/prettier`
66
- - Run for files: `**/*.{js,jsx,ts,tsx,json,css,md}`
67
- - On save: ✓
68
- - On reformat: ✓
69
-
70
- ---
71
-
72
- ## Editor Settings
73
-
74
- Settings → Editor:
75
-
76
- ### Code Style
77
-
78
- ```
79
- General:
80
- - Hard wrap at: 100
81
- - Visual guides: 80, 100
82
-
83
- JavaScript/TypeScript:
84
- - Tabs and Indents:
85
- - Tab size: 2
86
- - Indent: 2
87
- - Continuation indent: 2
88
- - Use tab character: No
89
-
90
- - Spaces:
91
- - Before parentheses: function declaration ✓
92
-
93
- - Imports:
94
- - Sort imports: ✓
95
- - Use paths relative to project: ✓
96
- ```
97
-
98
- ### Inspections
99
-
100
- Settings → Editor → Inspections:
101
- - JavaScript and TypeScript → Code quality tools → ESLint: ✓
102
- - JavaScript and TypeScript → Imports and dependencies: ✓
103
-
104
- ---
105
-
106
- ## File Templates
107
-
108
- Settings → Editor → File and Code Templates:
109
-
110
- ### React Component
111
-
112
- ```tsx
113
- import { FC } from 'react';
114
-
115
- interface ${NAME}Props {
116
- #[[// TODO: Define props]]#
117
- }
118
-
119
- export const ${NAME}: FC<${NAME}Props> = ({}) => {
120
- return (
121
- <div>
122
- ${NAME}
123
- </div>
124
- );
125
- };
126
- ```
127
-
128
- ### Custom Hook
129
-
130
- ```typescript
131
- import { useState, useEffect } from 'react';
132
-
133
- export function use${NAME}() {
134
- #[[// TODO: Implement hook]]#
135
-
136
- return {};
137
- }
138
- ```
139
-
140
- ---
141
-
142
- ## Live Templates
143
-
144
- Settings → Editor → Live Templates → JavaScript/TypeScript:
145
-
146
- ### React Component (rfc)
147
-
148
- ```
149
- import { FC } from 'react';
150
-
151
- interface $NAME$Props {
152
- $PROPS$
153
- }
154
-
155
- export const $NAME$: FC<$NAME$Props> = ({ $DESTRUCTURED$ }) => {
156
- return (
157
- <div>
158
- $END$
159
- </div>
160
- );
161
- };
162
- ```
163
-
164
- ### useState (us)
165
-
166
- ```
167
- const [$STATE$, set$STATE_CAPITALIZED$] = useState<$TYPE$>($DEFAULT$);
168
- ```
169
-
170
- ### useEffect (ue)
171
-
172
- ```
173
- useEffect(() => {
174
- $BODY$
175
- return () => {
176
- $CLEANUP$
177
- };
178
- }, [$DEPS$]);
179
- ```
180
-
181
- ### Console Log (cl)
182
-
183
- ```
184
- console.log('$LABEL$:', $VALUE$);
185
- ```
186
-
187
- ---
188
-
189
- ## Run Configurations
190
-
191
- ### Development Server
192
-
193
- 1. Run → Edit Configurations → Add → npm
194
- 2. Settings:
195
- - Name: "dev"
196
- - Scripts: "dev"
197
- - Node interpreter: Project
198
- 3. Save
199
-
200
- ### Tests
201
-
202
- 1. Run → Edit Configurations → Add → npm
203
- 2. Settings:
204
- - Name: "test"
205
- - Scripts: "test"
206
- 3. For watch mode, add arguments: `-- --watch`
207
-
208
- ### Debugging
209
-
210
- 1. Run → Edit Configurations → Add → JavaScript Debug
211
- 2. Settings:
212
- - Name: "Debug: Chrome"
213
- - URL: `http://localhost:3000`
214
- - Browser: Chrome
215
-
216
- ---
217
-
218
- ## Keyboard Shortcuts
219
-
220
- ### Essential Shortcuts (macOS / Windows)
221
-
222
- | Action | macOS | Windows |
223
- |--------|-------|---------|
224
- | Search Everywhere | `Double Shift` | `Double Shift` |
225
- | Find File | `Cmd+Shift+O` | `Ctrl+Shift+N` |
226
- | Find in Files | `Cmd+Shift+F` | `Ctrl+Shift+F` |
227
- | Go to Definition | `Cmd+B` | `Ctrl+B` |
228
- | Find Usages | `Alt+F7` | `Alt+F7` |
229
- | Refactor | `Ctrl+T` | `Ctrl+Alt+Shift+T` |
230
- | Reformat Code | `Cmd+Alt+L` | `Ctrl+Alt+L` |
231
- | Run | `Ctrl+R` | `Shift+F10` |
232
- | Debug | `Ctrl+D` | `Shift+F9` |
233
- | Terminal | `Alt+F12` | `Alt+F12` |
234
-
235
- ### Custom ProAgents Shortcuts
236
-
237
- Add via Settings → Keymap → External Tools:
238
-
239
- 1. Add External Tool for ProAgents commands
240
- 2. Assign keyboard shortcuts
241
-
242
- ---
243
-
244
- ## Project View Settings
245
-
246
- View → Tool Windows → Project:
247
- - Show Excluded Files: Off
248
- - Show Members: Off
249
- - Flatten Packages: Off
250
- - Compact Middle Packages: On
251
-
252
- Right-click node_modules → Mark Directory as → Excluded
253
-
254
- ---
255
-
256
- ## Performance Optimization
257
-
258
- ### Exclude from Indexing
259
-
260
- Settings → Project Structure → Excluded:
261
- - `node_modules`
262
- - `.next`
263
- - `dist`
264
- - `build`
265
- - `coverage`
266
-
267
- ### Memory Settings
268
-
269
- Help → Edit Custom VM Options:
270
- ```
271
- -Xms1024m
272
- -Xmx4096m
273
- -XX:ReservedCodeCacheSize=512m
274
- ```
275
-
276
- ### Disable Unnecessary Inspections
277
-
278
- Settings → Editor → Inspections:
279
- - Disable inspections you don't use
280
- - Set inspection severity appropriately
281
-
282
- ---
283
-
284
- ## Version Control
285
-
286
- ### Git Settings
287
-
288
- Settings → Version Control → Git:
289
- - Enable: ✓
290
- - Commit: Use non-modal commit interface ✓
291
- - Push: Update method: Rebase
292
-
293
- ### Commit Template
294
-
295
- Settings → Version Control → Commit:
296
- - Commit message template:
297
- ```
298
- <type>(<scope>): <description>
299
-
300
- <body>
301
-
302
- <footer>
303
- ```
304
-
305
- ### Pre-commit Checks
306
-
307
- Settings → Version Control → Commit → Before Commit:
308
- - Reformat code: ✓
309
- - Analyze code: ✓
310
- - Check TODO: ✓
311
-
312
- ---
313
-
314
- ## Troubleshooting
315
-
316
- ### TypeScript Errors Not Showing
317
- 1. File → Invalidate Caches / Restart
318
- 2. Check TypeScript version in settings
319
- 3. Run `npm install`
320
-
321
- ### ESLint Not Working
322
- 1. Check ESLint is enabled in settings
323
- 2. Verify `.eslintrc` exists
324
- 3. Check ESLint plugin is installed
325
-
326
- ### Slow Performance
327
- 1. Increase memory in VM options
328
- 2. Exclude large directories
329
- 3. Disable unused plugins
330
- 4. Check "Power Save Mode" is off