@su-record/vibe 2.3.0 → 2.3.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.
- package/.claude/settings.json +35 -35
- package/.claude/settings.local.json +24 -25
- package/.claude/vibe/constitution.md +184 -184
- package/.claude/vibe/rules/core/communication-guide.md +104 -104
- package/.claude/vibe/rules/core/development-philosophy.md +52 -52
- package/.claude/vibe/rules/core/quick-start.md +120 -120
- package/.claude/vibe/rules/languages/dart-flutter.md +509 -509
- package/.claude/vibe/rules/languages/go.md +396 -396
- package/.claude/vibe/rules/languages/java-spring.md +586 -586
- package/.claude/vibe/rules/languages/kotlin-android.md +491 -491
- package/.claude/vibe/rules/languages/python-django.md +371 -371
- package/.claude/vibe/rules/languages/python-fastapi.md +386 -386
- package/.claude/vibe/rules/languages/rust.md +425 -425
- package/.claude/vibe/rules/languages/swift-ios.md +516 -516
- package/.claude/vibe/rules/languages/typescript-nextjs.md +441 -441
- package/.claude/vibe/rules/languages/typescript-node.md +375 -375
- package/.claude/vibe/rules/languages/typescript-nuxt.md +521 -521
- package/.claude/vibe/rules/languages/typescript-react-native.md +446 -446
- package/.claude/vibe/rules/languages/typescript-react.md +525 -525
- package/.claude/vibe/rules/languages/typescript-vue.md +353 -353
- package/.claude/vibe/rules/quality/bdd-contract-testing.md +388 -388
- package/.claude/vibe/rules/quality/checklist.md +276 -276
- package/.claude/vibe/rules/quality/testing-strategy.md +437 -437
- package/.claude/vibe/rules/standards/anti-patterns.md +369 -369
- package/.claude/vibe/rules/standards/code-structure.md +291 -291
- package/.claude/vibe/rules/standards/complexity-metrics.md +312 -312
- package/.claude/vibe/rules/standards/naming-conventions.md +198 -198
- package/.claude/vibe/setup.sh +31 -31
- package/.claude/vibe/templates/constitution-template.md +184 -184
- package/.claude/vibe/templates/contract-backend-template.md +517 -517
- package/.claude/vibe/templates/contract-frontend-template.md +594 -594
- package/.claude/vibe/templates/feature-template.md +96 -96
- package/.claude/vibe/templates/spec-template.md +199 -199
- package/CLAUDE.md +345 -323
- package/LICENSE +21 -21
- package/README.md +744 -724
- package/agents/compounder.md +261 -261
- package/agents/diagrammer.md +178 -178
- package/agents/e2e-tester.md +266 -266
- package/agents/explorer.md +48 -48
- package/agents/implementer.md +53 -53
- package/agents/research/best-practices-agent.md +139 -139
- package/agents/research/codebase-patterns-agent.md +147 -147
- package/agents/research/framework-docs-agent.md +181 -181
- package/agents/research/security-advisory-agent.md +167 -167
- package/agents/review/architecture-reviewer.md +107 -107
- package/agents/review/complexity-reviewer.md +116 -116
- package/agents/review/data-integrity-reviewer.md +88 -88
- package/agents/review/git-history-reviewer.md +103 -103
- package/agents/review/performance-reviewer.md +86 -86
- package/agents/review/python-reviewer.md +152 -152
- package/agents/review/rails-reviewer.md +139 -139
- package/agents/review/react-reviewer.md +144 -144
- package/agents/review/security-reviewer.md +80 -80
- package/agents/review/simplicity-reviewer.md +140 -140
- package/agents/review/test-coverage-reviewer.md +116 -116
- package/agents/review/typescript-reviewer.md +127 -127
- package/agents/searcher.md +54 -54
- package/agents/simplifier.md +119 -119
- package/agents/tester.md +49 -49
- package/agents/ui-previewer.md +137 -137
- package/commands/vibe.analyze.md +245 -180
- package/commands/vibe.reason.md +223 -183
- package/commands/vibe.review.md +200 -136
- package/commands/vibe.run.md +838 -836
- package/commands/vibe.spec.md +419 -383
- package/commands/vibe.utils.md +101 -101
- package/commands/vibe.verify.md +282 -241
- package/dist/cli/index.js +385 -385
- package/dist/lib/MemoryManager.d.ts.map +1 -1
- package/dist/lib/MemoryManager.js +119 -114
- package/dist/lib/MemoryManager.js.map +1 -1
- package/dist/lib/PythonParser.js +108 -108
- package/dist/lib/gemini-mcp.js +15 -15
- package/dist/lib/gemini-oauth.js +35 -35
- package/dist/lib/gpt-mcp.js +17 -17
- package/dist/lib/gpt-oauth.js +44 -44
- package/dist/tools/analytics/getUsageAnalytics.js +12 -12
- package/dist/tools/index.d.ts +50 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +61 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/memory/createMemoryTimeline.js +10 -10
- package/dist/tools/memory/getMemoryGraph.js +12 -12
- package/dist/tools/memory/getSessionContext.js +9 -9
- package/dist/tools/memory/linkMemories.js +14 -14
- package/dist/tools/memory/listMemories.js +4 -4
- package/dist/tools/memory/recallMemory.js +4 -4
- package/dist/tools/memory/saveMemory.js +4 -4
- package/dist/tools/memory/searchMemoriesAdvanced.js +22 -22
- package/dist/tools/planning/generatePrd.js +46 -46
- package/dist/tools/prompt/enhancePromptGemini.js +160 -160
- package/dist/tools/reasoning/applyReasoningFramework.js +56 -56
- package/dist/tools/semantic/analyzeDependencyGraph.js +12 -12
- package/hooks/hooks.json +121 -103
- package/package.json +73 -69
- package/skills/git-worktree.md +178 -178
- package/skills/priority-todos.md +236 -236
package/commands/vibe.analyze.md
CHANGED
|
@@ -1,180 +1,245 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Analyze project or specific feature/module
|
|
3
|
-
argument-hint: "feature-name" or --code or --deps or --arch
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /vibe.analyze
|
|
7
|
-
|
|
8
|
-
Analyze project or specific feature/module.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
/vibe.analyze # Full project quality analysis
|
|
14
|
-
/vibe.analyze "login" # Login related code exploration + context collection
|
|
15
|
-
/vibe.analyze --code # Code quality analysis only
|
|
16
|
-
/vibe.analyze --deps # Dependency analysis only
|
|
17
|
-
/vibe.analyze --arch # Architecture analysis only
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Context Reset
|
|
21
|
-
|
|
22
|
-
**When this command runs, previous conversation is ignored.**
|
|
23
|
-
- Explore and analyze code from scratch like new session
|
|
24
|
-
- Base conversation only on newly collected information from this analysis
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## Mode 1: Feature/Module Analysis (`/vibe.analyze "feature-name"`)
|
|
29
|
-
|
|
30
|
-
### Goal
|
|
31
|
-
|
|
32
|
-
**Explore all source code** related to user's requested feature/module and **analyze flow** to:
|
|
33
|
-
1. Understand current implementation status
|
|
34
|
-
2. Understand code structure and dependencies
|
|
35
|
-
3. Build context for immediate response to future development/modification requests
|
|
36
|
-
|
|
37
|
-
### Process
|
|
38
|
-
|
|
39
|
-
#### 1. Request Analysis
|
|
40
|
-
|
|
41
|
-
Extract key keywords from user request:
|
|
42
|
-
- Feature name (e.g., login, feed, payment)
|
|
43
|
-
- Action (e.g., create, read, update, delete)
|
|
44
|
-
- Scope (e.g., backend only, frontend only, full)
|
|
45
|
-
|
|
46
|
-
#### 2. Understand Project Structure
|
|
47
|
-
|
|
48
|
-
Read `CLAUDE.md`, `package.json`, `pyproject.toml`, etc. to identify tech stack:
|
|
49
|
-
|
|
50
|
-
**Backend:**
|
|
51
|
-
- FastAPI/Django: `app/api/`, `app/services/`, `app/models/`
|
|
52
|
-
- Express/NestJS: `src/controllers/`, `src/services/`, `src/models/`
|
|
53
|
-
|
|
54
|
-
**Frontend:**
|
|
55
|
-
- React/Next.js: `src/components/`, `src/pages/`, `src/hooks/`
|
|
56
|
-
- Flutter: `lib/screens/`, `lib/services/`, `lib/providers/`
|
|
57
|
-
|
|
58
|
-
#### 3. Explore Related Code
|
|
59
|
-
|
|
60
|
-
**Exploration strategy:**
|
|
61
|
-
1. **Glob** to collect related file list
|
|
62
|
-
2. **Grep** to locate code by keyword
|
|
63
|
-
3. **Read** to analyze key files in detail
|
|
64
|
-
4. If needed, **Task (Explore)** agent for parallel exploration
|
|
65
|
-
|
|
66
|
-
#### 4. Flow Analysis
|
|
67
|
-
|
|
68
|
-
**API Flow:**
|
|
69
|
-
- Endpoint URL and HTTP method
|
|
70
|
-
- Request/response schema
|
|
71
|
-
- Authentication/authorization requirements
|
|
72
|
-
|
|
73
|
-
**Business Logic:**
|
|
74
|
-
- Core methods and roles
|
|
75
|
-
- Validation rules
|
|
76
|
-
- External service integrations
|
|
77
|
-
|
|
78
|
-
**Data Flow:**
|
|
79
|
-
- Related tables/models
|
|
80
|
-
- Relationships (1:N, N:M)
|
|
81
|
-
- Key query patterns
|
|
82
|
-
|
|
83
|
-
#### 5. Output Analysis Results
|
|
84
|
-
|
|
85
|
-
```markdown
|
|
86
|
-
## [feature-name] Analysis Results
|
|
87
|
-
|
|
88
|
-
### Overview
|
|
89
|
-
- **Feature description**: [one-line summary]
|
|
90
|
-
- **Implementation status**: [Complete/In progress/Not implemented]
|
|
91
|
-
- **Related files**: N files
|
|
92
|
-
|
|
93
|
-
### Structure
|
|
94
|
-
|
|
95
|
-
#### API Endpoints
|
|
96
|
-
| Method | Path | Description | Auth |
|
|
97
|
-
|--------|------|-------------|------|
|
|
98
|
-
| POST | /api/v1/auth/login | Login | - |
|
|
99
|
-
|
|
100
|
-
#### Core Services
|
|
101
|
-
- `auth_service.py`: Authentication logic
|
|
102
|
-
- `login()`: Login processing
|
|
103
|
-
- `verify_token()`: Token verification
|
|
104
|
-
|
|
105
|
-
#### Data Models
|
|
106
|
-
- `User`: User table
|
|
107
|
-
- Key fields: id, email, password_hash
|
|
108
|
-
- Relationships: Session (1:N)
|
|
109
|
-
|
|
110
|
-
### Reference File List
|
|
111
|
-
- src/api/auth/router.py:L10-50
|
|
112
|
-
- src/services/auth_service.py:L1-100
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
#### 6. Complete
|
|
116
|
-
|
|
117
|
-
After analysis:
|
|
118
|
-
1. Output analysis summary
|
|
119
|
-
2. Ask
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
-
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
1
|
+
---
|
|
2
|
+
description: Analyze project or specific feature/module
|
|
3
|
+
argument-hint: "feature-name" or --code or --deps or --arch
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /vibe.analyze
|
|
7
|
+
|
|
8
|
+
Analyze project or specific feature/module.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/vibe.analyze # Full project quality analysis
|
|
14
|
+
/vibe.analyze "login" # Login related code exploration + context collection
|
|
15
|
+
/vibe.analyze --code # Code quality analysis only
|
|
16
|
+
/vibe.analyze --deps # Dependency analysis only
|
|
17
|
+
/vibe.analyze --arch # Architecture analysis only
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Context Reset
|
|
21
|
+
|
|
22
|
+
**When this command runs, previous conversation is ignored.**
|
|
23
|
+
- Explore and analyze code from scratch like new session
|
|
24
|
+
- Base conversation only on newly collected information from this analysis
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Mode 1: Feature/Module Analysis (`/vibe.analyze "feature-name"`)
|
|
29
|
+
|
|
30
|
+
### Goal
|
|
31
|
+
|
|
32
|
+
**Explore all source code** related to user's requested feature/module and **analyze flow** to:
|
|
33
|
+
1. Understand current implementation status
|
|
34
|
+
2. Understand code structure and dependencies
|
|
35
|
+
3. Build context for immediate response to future development/modification requests
|
|
36
|
+
|
|
37
|
+
### Process
|
|
38
|
+
|
|
39
|
+
#### 1. Request Analysis
|
|
40
|
+
|
|
41
|
+
Extract key keywords from user request:
|
|
42
|
+
- Feature name (e.g., login, feed, payment)
|
|
43
|
+
- Action (e.g., create, read, update, delete)
|
|
44
|
+
- Scope (e.g., backend only, frontend only, full)
|
|
45
|
+
|
|
46
|
+
#### 2. Understand Project Structure
|
|
47
|
+
|
|
48
|
+
Read `CLAUDE.md`, `package.json`, `pyproject.toml`, etc. to identify tech stack:
|
|
49
|
+
|
|
50
|
+
**Backend:**
|
|
51
|
+
- FastAPI/Django: `app/api/`, `app/services/`, `app/models/`
|
|
52
|
+
- Express/NestJS: `src/controllers/`, `src/services/`, `src/models/`
|
|
53
|
+
|
|
54
|
+
**Frontend:**
|
|
55
|
+
- React/Next.js: `src/components/`, `src/pages/`, `src/hooks/`
|
|
56
|
+
- Flutter: `lib/screens/`, `lib/services/`, `lib/providers/`
|
|
57
|
+
|
|
58
|
+
#### 3. Explore Related Code
|
|
59
|
+
|
|
60
|
+
**Exploration strategy:**
|
|
61
|
+
1. **Glob** to collect related file list
|
|
62
|
+
2. **Grep** to locate code by keyword
|
|
63
|
+
3. **Read** to analyze key files in detail
|
|
64
|
+
4. If needed, **Task (Explore)** agent for parallel exploration
|
|
65
|
+
|
|
66
|
+
#### 4. Flow Analysis
|
|
67
|
+
|
|
68
|
+
**API Flow:**
|
|
69
|
+
- Endpoint URL and HTTP method
|
|
70
|
+
- Request/response schema
|
|
71
|
+
- Authentication/authorization requirements
|
|
72
|
+
|
|
73
|
+
**Business Logic:**
|
|
74
|
+
- Core methods and roles
|
|
75
|
+
- Validation rules
|
|
76
|
+
- External service integrations
|
|
77
|
+
|
|
78
|
+
**Data Flow:**
|
|
79
|
+
- Related tables/models
|
|
80
|
+
- Relationships (1:N, N:M)
|
|
81
|
+
- Key query patterns
|
|
82
|
+
|
|
83
|
+
#### 5. Output Analysis Results
|
|
84
|
+
|
|
85
|
+
```markdown
|
|
86
|
+
## [feature-name] Analysis Results
|
|
87
|
+
|
|
88
|
+
### Overview
|
|
89
|
+
- **Feature description**: [one-line summary]
|
|
90
|
+
- **Implementation status**: [Complete/In progress/Not implemented]
|
|
91
|
+
- **Related files**: N files
|
|
92
|
+
|
|
93
|
+
### Structure
|
|
94
|
+
|
|
95
|
+
#### API Endpoints
|
|
96
|
+
| Method | Path | Description | Auth |
|
|
97
|
+
|--------|------|-------------|------|
|
|
98
|
+
| POST | /api/v1/auth/login | Login | - |
|
|
99
|
+
|
|
100
|
+
#### Core Services
|
|
101
|
+
- `auth_service.py`: Authentication logic
|
|
102
|
+
- `login()`: Login processing
|
|
103
|
+
- `verify_token()`: Token verification
|
|
104
|
+
|
|
105
|
+
#### Data Models
|
|
106
|
+
- `User`: User table
|
|
107
|
+
- Key fields: id, email, password_hash
|
|
108
|
+
- Relationships: Session (1:N)
|
|
109
|
+
|
|
110
|
+
### Reference File List
|
|
111
|
+
- src/api/auth/router.py:L10-50
|
|
112
|
+
- src/services/auth_service.py:L1-100
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
#### 6. Complete & Next Action
|
|
116
|
+
|
|
117
|
+
After analysis:
|
|
118
|
+
1. Output analysis summary
|
|
119
|
+
2. **Ask user to choose workflow** when development is requested:
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
## Next Steps
|
|
123
|
+
|
|
124
|
+
개발을 진행하려면 워크플로우를 선택하세요:
|
|
125
|
+
|
|
126
|
+
| 작업 규모 | 권장 방식 |
|
|
127
|
+
|----------|----------|
|
|
128
|
+
| 간단한 수정 (1-2 파일) | Plan Mode |
|
|
129
|
+
| 복잡한 기능 (3+ 파일, 리서치/검증 필요) | /vibe.spec |
|
|
130
|
+
|
|
131
|
+
1. `/vibe.spec "feature-name"` - VIBE 워크플로우 (병렬 리서치 + SPEC 검증)
|
|
132
|
+
2. Plan Mode - 빠른 구현 (간단한 작업용)
|
|
133
|
+
|
|
134
|
+
어떤 방식으로 진행할까요?
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
3. Wait for user's choice before proceeding
|
|
138
|
+
4. If user chooses VIBE → wait for `/vibe.spec` command
|
|
139
|
+
5. If user chooses Plan Mode → proceed with EnterPlanMode
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Mode 2: Project Quality Analysis (--code/--deps/--arch)
|
|
144
|
+
|
|
145
|
+
### Analysis Scope
|
|
146
|
+
|
|
147
|
+
- **Default** (`/vibe.analyze`): Full analysis (code + dependencies + architecture)
|
|
148
|
+
- **--code**: Code quality analysis only
|
|
149
|
+
- **--deps**: Dependency analysis only
|
|
150
|
+
- **--arch**: Architecture analysis only
|
|
151
|
+
|
|
152
|
+
### Code Quality Analysis (--code)
|
|
153
|
+
|
|
154
|
+
- Complexity analysis (Cyclomatic Complexity)
|
|
155
|
+
- Code quality validation
|
|
156
|
+
- Coupling/cohesion check
|
|
157
|
+
|
|
158
|
+
### Dependency Analysis (--deps)
|
|
159
|
+
|
|
160
|
+
- Read `package.json` / `pyproject.toml` / `pubspec.yaml`
|
|
161
|
+
- Analyze version conflicts, security vulnerabilities, packages needing updates
|
|
162
|
+
|
|
163
|
+
### Architecture Analysis (--arch)
|
|
164
|
+
|
|
165
|
+
- Find core modules
|
|
166
|
+
- Identify module dependencies
|
|
167
|
+
- Detect circular dependencies, layer violations
|
|
168
|
+
|
|
169
|
+
### Analysis Report
|
|
170
|
+
|
|
171
|
+
`.claude/vibe/reports/analysis-{date}.md`:
|
|
172
|
+
|
|
173
|
+
```markdown
|
|
174
|
+
# Project Analysis Report
|
|
175
|
+
|
|
176
|
+
## Overview
|
|
177
|
+
- Analysis date: 2025-01-06 12:00
|
|
178
|
+
- Analysis scope: Full
|
|
179
|
+
|
|
180
|
+
## Code Quality (85/100)
|
|
181
|
+
- Average complexity: 8.2 (good)
|
|
182
|
+
- High complexity files: 3
|
|
183
|
+
|
|
184
|
+
## Dependencies (92/100)
|
|
185
|
+
- Total packages: 42
|
|
186
|
+
- Updates needed: 3
|
|
187
|
+
|
|
188
|
+
## Architecture (78/100)
|
|
189
|
+
- Circular dependencies: 2 found
|
|
190
|
+
- Layer violations: 1
|
|
191
|
+
|
|
192
|
+
## Improvement Suggestions
|
|
193
|
+
1. Refactor service.py
|
|
194
|
+
2. Apply lodash security patch
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## Vibe Tools (Semantic Analysis)
|
|
198
|
+
|
|
199
|
+
### Tool Invocation
|
|
200
|
+
|
|
201
|
+
All tools are called via:
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
node -e "import('@su-record/vibe/tools').then(t => t.TOOL_NAME({...args}).then(r => console.log(r.content[0].text)))"
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
### Recommended Tools for Analysis
|
|
208
|
+
|
|
209
|
+
| Tool | Purpose | When to Use |
|
|
210
|
+
|------|---------|-------------|
|
|
211
|
+
| `findSymbol` | Find symbol definitions | Locate function/class implementations |
|
|
212
|
+
| `findReferences` | Find all references | Track usage patterns |
|
|
213
|
+
| `analyzeComplexity` | Complexity analysis | Measure code complexity metrics |
|
|
214
|
+
| `validateCodeQuality` | Quality validation | Check code quality standards |
|
|
215
|
+
| `saveMemory` | Save analysis results | Store analysis findings |
|
|
216
|
+
|
|
217
|
+
### Example Tool Usage in Analysis
|
|
218
|
+
|
|
219
|
+
**1. Find function definition:**
|
|
220
|
+
|
|
221
|
+
```bash
|
|
222
|
+
node -e "import('@su-record/vibe/tools').then(t => t.findSymbol({symbolName: 'login', searchPath: 'src/'}).then(r => console.log(r.content[0].text)))"
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
**2. Analyze complexity:**
|
|
226
|
+
|
|
227
|
+
```bash
|
|
228
|
+
node -e "import('@su-record/vibe/tools').then(t => t.analyzeComplexity({targetPath: 'src/services/', projectPath: process.cwd()}).then(r => console.log(r.content[0].text)))"
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
**3. Validate code quality:**
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
node -e "import('@su-record/vibe/tools').then(t => t.validateCodeQuality({targetPath: 'src/', projectPath: process.cwd()}).then(r => console.log(r.content[0].text)))"
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
**4. Save analysis results:**
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
node -e "import('@su-record/vibe/tools').then(t => t.saveMemory({key: 'analysis-login-module', value: 'Found 5 related files, complexity avg 6.2', category: 'analysis', projectPath: process.cwd()}).then(r => console.log(r.content[0].text)))"
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
ARGUMENTS: $ARGUMENTS
|