aiwf 0.3.19 → 0.3.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.
- package/package.json +3 -5
- package/src/cli/index.js +7 -546
- package/src/lib/installer.js +2 -2
- package/src/lib/validator.js +56 -6
- package/ai-tools/README.md +0 -105
- package/ai-tools/augment/README.md +0 -371
- package/ai-tools/augment/config.json +0 -30
- package/ai-tools/augment/template/.augment/aiwf-integration.md +0 -387
- package/ai-tools/augment/template/.augment/augment.yaml +0 -347
- package/ai-tools/augment/template/augment.config.json +0 -64
- package/ai-tools/claude-code/README.md +0 -151
- package/ai-tools/claude-code/config.json +0 -28
- package/ai-tools/claude-code/template/CLAUDE.md +0 -91
- package/ai-tools/cursor/README.md +0 -314
- package/ai-tools/cursor/config.json +0 -29
- package/ai-tools/cursor/template/.cursorrules +0 -362
- package/ai-tools/github-copilot/README.md +0 -195
- package/ai-tools/github-copilot/config.json +0 -24
- package/ai-tools/github-copilot/template/.github/copilot-instructions.md +0 -202
- package/ai-tools/windsurf/README.md +0 -355
- package/ai-tools/windsurf/config.json +0 -29
- package/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +0 -260
- package/ai-tools/windsurf/template/.windsurf/windsurf.config.js +0 -312
- package/ai-tools/windsurf/template/windsurf.config.json +0 -63
package/src/lib/validator.js
CHANGED
|
@@ -119,14 +119,37 @@ async function validateTool(tool) {
|
|
|
119
119
|
*/
|
|
120
120
|
async function validateClaudeCode() {
|
|
121
121
|
try {
|
|
122
|
-
|
|
122
|
+
// 기본 필수 파일 (현재 리포지토리에 존재하는 핵심 명령어)
|
|
123
|
+
const baseRequired = [
|
|
123
124
|
'aiwf_initialize.md',
|
|
124
125
|
'aiwf_do_task.md',
|
|
125
|
-
'aiwf_commit.md'
|
|
126
|
-
|
|
126
|
+
'aiwf_commit.md'
|
|
127
|
+
];
|
|
128
|
+
|
|
129
|
+
// 과거 필수였던 리뷰 명령어의 대체 후보들
|
|
130
|
+
const reviewPrimary = 'aiwf_code_review.md';
|
|
131
|
+
const reviewAlternatives = [
|
|
132
|
+
'aiwf_yolo.md',
|
|
133
|
+
'aiwf_prime.md',
|
|
134
|
+
'aiwf_agent_workflow.md'
|
|
127
135
|
];
|
|
128
136
|
|
|
129
|
-
|
|
137
|
+
// 디렉토리 존재 및 파일 개수 간단 점검
|
|
138
|
+
const dirExists = await fs
|
|
139
|
+
.access(TOOL_DIRS.CLAUDE_COMMANDS)
|
|
140
|
+
.then(() => true)
|
|
141
|
+
.catch(() => false);
|
|
142
|
+
if (!dirExists) {
|
|
143
|
+
return { success: false, reason: `Missing Claude commands directory: ${TOOL_DIRS.CLAUDE_COMMANDS}` };
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
const allFiles = await fs.readdir(TOOL_DIRS.CLAUDE_COMMANDS);
|
|
147
|
+
if (allFiles.length < VALIDATION_CONSTANTS.MIN_FILE_COUNT.CLAUDE_COMMANDS) {
|
|
148
|
+
return { success: false, reason: `Insufficient Claude commands files: expected at least ${VALIDATION_CONSTANTS.MIN_FILE_COUNT.CLAUDE_COMMANDS}, found ${allFiles.length}` };
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// 기본 필수 파일 존재/크기 확인
|
|
152
|
+
for (const fileName of baseRequired) {
|
|
130
153
|
const filePath = path.join(TOOL_DIRS.CLAUDE_COMMANDS, fileName);
|
|
131
154
|
const exists = await fs
|
|
132
155
|
.access(filePath)
|
|
@@ -135,8 +158,6 @@ async function validateClaudeCode() {
|
|
|
135
158
|
if (!exists) {
|
|
136
159
|
return { success: false, reason: `Missing file: ${filePath}` };
|
|
137
160
|
}
|
|
138
|
-
|
|
139
|
-
// Check file size
|
|
140
161
|
try {
|
|
141
162
|
const stats = await fs.stat(filePath);
|
|
142
163
|
if (stats.size < VALIDATION_CONSTANTS.MIN_FILE_SIZE) {
|
|
@@ -147,6 +168,35 @@ async function validateClaudeCode() {
|
|
|
147
168
|
}
|
|
148
169
|
}
|
|
149
170
|
|
|
171
|
+
// 리뷰 명령어: 기본 파일 또는 대체 파일 중 하나라도 존재하면 통과
|
|
172
|
+
const reviewPrimaryPath = path.join(TOOL_DIRS.CLAUDE_COMMANDS, reviewPrimary);
|
|
173
|
+
const primaryExists = await fs.access(reviewPrimaryPath).then(() => true).catch(() => false);
|
|
174
|
+
|
|
175
|
+
let alternativeUsed = null;
|
|
176
|
+
if (!primaryExists) {
|
|
177
|
+
for (const alt of reviewAlternatives) {
|
|
178
|
+
const altPath = path.join(TOOL_DIRS.CLAUDE_COMMANDS, alt);
|
|
179
|
+
const altExists = await fs.access(altPath).then(() => true).catch(() => false);
|
|
180
|
+
if (altExists) {
|
|
181
|
+
alternativeUsed = alt;
|
|
182
|
+
// 크기 확인
|
|
183
|
+
try {
|
|
184
|
+
const stats = await fs.stat(altPath);
|
|
185
|
+
if (stats.size < VALIDATION_CONSTANTS.MIN_FILE_SIZE) {
|
|
186
|
+
return { success: false, reason: `File ${alt} is too small (${stats.size} bytes)` };
|
|
187
|
+
}
|
|
188
|
+
} catch (error) {
|
|
189
|
+
return { success: false, reason: `Cannot read file ${alt}: ${error.message}` };
|
|
190
|
+
}
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
if (!primaryExists && !alternativeUsed) {
|
|
197
|
+
return { success: false, reason: `Missing file: ${reviewPrimary} (or one of alternatives: ${reviewAlternatives.join(', ')})` };
|
|
198
|
+
}
|
|
199
|
+
|
|
150
200
|
return { success: true };
|
|
151
201
|
} catch (error) {
|
|
152
202
|
return { success: false, reason: `Claude Code validation error: ${error.message}` };
|
package/ai-tools/README.md
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
# AIWF AI Tool Integration Templates
|
|
2
|
-
|
|
3
|
-
This directory contains integration templates for various AI development tools to work seamlessly with the AI Workflow Framework (AIWF).
|
|
4
|
-
|
|
5
|
-
## Available Tools
|
|
6
|
-
|
|
7
|
-
### 1. Claude Code (`claude-code`)
|
|
8
|
-
- **Description**: Official Anthropic Claude Code integration
|
|
9
|
-
- **Features**: Deep AIWF integration, feature ledger sync, AI personas
|
|
10
|
-
- **Installation**: `aiwf ai-tool install claude-code`
|
|
11
|
-
|
|
12
|
-
### 2. GitHub Copilot (`github-copilot`)
|
|
13
|
-
- **Description**: GitHub Copilot configuration for AIWF projects
|
|
14
|
-
- **Features**: Feature-aware suggestions, sprint task integration
|
|
15
|
-
- **Installation**: `aiwf ai-tool install github-copilot`
|
|
16
|
-
|
|
17
|
-
### 3. Cursor (`cursor`)
|
|
18
|
-
- **Description**: Cursor IDE integration with AIWF
|
|
19
|
-
- **Features**: Multi-file context, composer enhancement, task tracking
|
|
20
|
-
- **Installation**: `aiwf ai-tool install cursor`
|
|
21
|
-
|
|
22
|
-
### 4. Windsurf (`windsurf`)
|
|
23
|
-
- **Description**: Windsurf IDE with Cascade AI integration
|
|
24
|
-
- **Features**: Flow-based development, multi-agent support, visual progress
|
|
25
|
-
- **Installation**: `aiwf ai-tool install windsurf`
|
|
26
|
-
|
|
27
|
-
### 5. Augment (`augment`)
|
|
28
|
-
- **Description**: Augment Code with deep codebase understanding
|
|
29
|
-
- **Features**: Team collaboration, knowledge queries, smart refactoring
|
|
30
|
-
- **Installation**: `aiwf ai-tool install augment`
|
|
31
|
-
|
|
32
|
-
## Quick Start
|
|
33
|
-
|
|
34
|
-
1. **List available tools**:
|
|
35
|
-
```bash
|
|
36
|
-
aiwf ai-tool list
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
2. **Install a tool**:
|
|
40
|
-
```bash
|
|
41
|
-
aiwf ai-tool install <tool-name>
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
3. **Update installed tools**:
|
|
45
|
-
```bash
|
|
46
|
-
aiwf ai-tool update <tool-name>
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
4. **Verify installation**:
|
|
50
|
-
```bash
|
|
51
|
-
aiwf ai-tool verify <tool-name>
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
## Integration Features
|
|
55
|
-
|
|
56
|
-
All templates provide:
|
|
57
|
-
- ✅ Feature Ledger integration
|
|
58
|
-
- ✅ AI Persona support
|
|
59
|
-
- ✅ Sprint task management
|
|
60
|
-
- ✅ Context optimization
|
|
61
|
-
- ✅ Offline cache support
|
|
62
|
-
|
|
63
|
-
## Directory Structure
|
|
64
|
-
|
|
65
|
-
```
|
|
66
|
-
ai-tools/
|
|
67
|
-
├── claude-code/
|
|
68
|
-
│ ├── template/
|
|
69
|
-
│ ├── config.json
|
|
70
|
-
│ └── README.md
|
|
71
|
-
├── github-copilot/
|
|
72
|
-
│ ├── template/
|
|
73
|
-
│ ├── config.json
|
|
74
|
-
│ └── README.md
|
|
75
|
-
├── cursor/
|
|
76
|
-
│ ├── template/
|
|
77
|
-
│ ├── config.json
|
|
78
|
-
│ └── README.md
|
|
79
|
-
├── windsurf/
|
|
80
|
-
│ ├── template/
|
|
81
|
-
│ ├── config.json
|
|
82
|
-
│ └── README.md
|
|
83
|
-
└── augment/
|
|
84
|
-
├── template/
|
|
85
|
-
├── config.json
|
|
86
|
-
└── README.md
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
## Customization
|
|
90
|
-
|
|
91
|
-
Each tool template can be customized:
|
|
92
|
-
1. Edit the template files in the tool directory
|
|
93
|
-
2. Modify config.json for tool-specific settings
|
|
94
|
-
3. Add project-specific rules to the template files
|
|
95
|
-
|
|
96
|
-
## Support
|
|
97
|
-
|
|
98
|
-
For issues or questions:
|
|
99
|
-
- Check individual tool README files
|
|
100
|
-
- Visit [AIWF Documentation](https://aiwf.dev)
|
|
101
|
-
- Submit issues on GitHub
|
|
102
|
-
|
|
103
|
-
---
|
|
104
|
-
|
|
105
|
-
*AIWF AI Tool Integration System v1.0.0*
|
|
@@ -1,371 +0,0 @@
|
|
|
1
|
-
# Augment AIWF Integration Template
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
This template integrates Augment Code's deep codebase understanding and team collaboration features with AIWF's structured development framework. It creates a powerful combination for AI-assisted team development.
|
|
6
|
-
|
|
7
|
-
## Features
|
|
8
|
-
|
|
9
|
-
- **Deep Codebase Understanding**: Augment comprehends your entire AIWF structure
|
|
10
|
-
- **Team Collaboration**: Shared feature knowledge and task coordination
|
|
11
|
-
- **Intelligent Code Completion**: Context-aware suggestions based on features
|
|
12
|
-
- **Automated Documentation**: Generate docs aligned with AIWF standards
|
|
13
|
-
- **Smart Refactoring**: Feature-aware code improvements
|
|
14
|
-
- **Knowledge Queries**: Ask questions about your AIWF project
|
|
15
|
-
|
|
16
|
-
## Installation
|
|
17
|
-
|
|
18
|
-
```bash
|
|
19
|
-
# Install Augment template
|
|
20
|
-
aiwf ai-tool install augment
|
|
21
|
-
|
|
22
|
-
# Or manually copy template files
|
|
23
|
-
cp -r .aiwf/ai-tools/augment/template/* .
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
## Configuration
|
|
27
|
-
|
|
28
|
-
The template includes:
|
|
29
|
-
|
|
30
|
-
1. **augment.config.json**: Main configuration
|
|
31
|
-
- AIWF integration settings
|
|
32
|
-
- Team collaboration options
|
|
33
|
-
- AI model preferences
|
|
34
|
-
- Automation rules
|
|
35
|
-
|
|
36
|
-
2. **.augment/aiwf-integration.md**: Integration guide
|
|
37
|
-
- Usage patterns
|
|
38
|
-
- Team features
|
|
39
|
-
- Best practices
|
|
40
|
-
- Command reference
|
|
41
|
-
|
|
42
|
-
## Core Capabilities
|
|
43
|
-
|
|
44
|
-
### 1. Feature-Aware Development
|
|
45
|
-
|
|
46
|
-
Augment understands your Feature Ledger:
|
|
47
|
-
|
|
48
|
-
```javascript
|
|
49
|
-
// Start typing code
|
|
50
|
-
function createUser() {
|
|
51
|
-
// Augment suggests:
|
|
52
|
-
// This relates to Feature FL-002 - User Management
|
|
53
|
-
// Dependencies: FL-001 (Authentication)
|
|
54
|
-
// Current status: in_progress
|
|
55
|
-
}
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
### 2. Team Knowledge Sharing
|
|
59
|
-
|
|
60
|
-
Share understanding across your team:
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
@augment who implemented authentication?
|
|
64
|
-
// Alice implemented FL-001 last week
|
|
65
|
-
|
|
66
|
-
@augment show alice's patterns for error handling
|
|
67
|
-
// Shows consistent patterns from Alice's code
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### 3. Sprint Task Management
|
|
71
|
-
|
|
72
|
-
Stay aligned with sprints:
|
|
73
|
-
|
|
74
|
-
```
|
|
75
|
-
@augment my current tasks
|
|
76
|
-
// T13_S03 - AI Tool Integration (in_progress)
|
|
77
|
-
// T14_S03 - Performance Optimization (pending)
|
|
78
|
-
|
|
79
|
-
@augment suggest next task
|
|
80
|
-
// Based on your expertise and dependencies
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### 4. Intelligent Documentation
|
|
84
|
-
|
|
85
|
-
Auto-generate AIWF-compliant docs:
|
|
86
|
-
|
|
87
|
-
```javascript
|
|
88
|
-
// @augment document this class
|
|
89
|
-
/**
|
|
90
|
-
* UserService handles user management operations
|
|
91
|
-
*
|
|
92
|
-
* @feature FL-002 - User Management
|
|
93
|
-
* @sprint S03
|
|
94
|
-
* @implements Requirements from FL-002 specification
|
|
95
|
-
* @dependencies FL-001 (Authentication)
|
|
96
|
-
*
|
|
97
|
-
* @example
|
|
98
|
-
* const userService = new UserService();
|
|
99
|
-
* const user = await userService.createUser(data);
|
|
100
|
-
*/
|
|
101
|
-
class UserService {
|
|
102
|
-
// Implementation
|
|
103
|
-
}
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
## Usage Examples
|
|
107
|
-
|
|
108
|
-
### 1. Feature Development
|
|
109
|
-
|
|
110
|
-
```javascript
|
|
111
|
-
// @augment implement FL-003 payment processing
|
|
112
|
-
|
|
113
|
-
// Augment provides:
|
|
114
|
-
// - Feature specification summary
|
|
115
|
-
// - Required methods from spec
|
|
116
|
-
// - Integration points with other features
|
|
117
|
-
// - Test requirements
|
|
118
|
-
// - Documentation template
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
### 2. Code Review
|
|
122
|
-
|
|
123
|
-
```javascript
|
|
124
|
-
// @augment review this PR for FL-001 compliance
|
|
125
|
-
|
|
126
|
-
// Augment checks:
|
|
127
|
-
// ✓ Implements all required features
|
|
128
|
-
// ✓ Follows team patterns
|
|
129
|
-
// ✓ Has appropriate tests
|
|
130
|
-
// ⚠ Missing error handling for edge case X
|
|
131
|
-
// ⚠ Consider using established pattern from auth.js
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
### 3. Refactoring
|
|
135
|
-
|
|
136
|
-
```javascript
|
|
137
|
-
// @augment refactor payment module for better feature separation
|
|
138
|
-
|
|
139
|
-
// Augment suggests:
|
|
140
|
-
// 1. Extract FL-003 logic to PaymentService
|
|
141
|
-
// 2. Move FL-001 auth checks to middleware
|
|
142
|
-
// 3. Create feature flags for gradual rollout
|
|
143
|
-
// 4. Add monitoring for new architecture
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### 4. Knowledge Queries
|
|
147
|
-
|
|
148
|
-
```
|
|
149
|
-
@augment how does our authentication flow work?
|
|
150
|
-
// Augment explains FL-001 implementation with code examples
|
|
151
|
-
|
|
152
|
-
@augment what depends on the user service?
|
|
153
|
-
// Features: FL-003 (payments), FL-004 (notifications)
|
|
154
|
-
// Files: 15 controllers, 8 services, 23 tests
|
|
155
|
-
|
|
156
|
-
@augment show architecture diagram
|
|
157
|
-
// Generates visual representation of feature dependencies
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
## Team Collaboration Features
|
|
161
|
-
|
|
162
|
-
### 1. Expertise Mapping
|
|
163
|
-
|
|
164
|
-
```
|
|
165
|
-
@augment team expertise
|
|
166
|
-
// Alice: FL-001 (auth), FL-002 (users) - Senior
|
|
167
|
-
// Bob: FL-003 (payments), FL-005 (analytics) - Expert
|
|
168
|
-
// Carol: FL-004 (notifications) - Intermediate
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### 2. Task Assignment
|
|
172
|
-
|
|
173
|
-
```
|
|
174
|
-
@augment assign T14_S03
|
|
175
|
-
// Recommends: Bob (payment expertise, available capacity)
|
|
176
|
-
// Alternative: Alice (general expertise, higher load)
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
### 3. Code Patterns
|
|
180
|
-
|
|
181
|
-
```
|
|
182
|
-
@augment show team patterns for error handling
|
|
183
|
-
// Consistent patterns across team:
|
|
184
|
-
// - Custom error classes per feature
|
|
185
|
-
// - Centralized error logging
|
|
186
|
-
// - User-friendly error messages
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
### 4. Onboarding
|
|
190
|
-
|
|
191
|
-
```
|
|
192
|
-
@augment create onboarding guide for new developer
|
|
193
|
-
// Generates comprehensive guide:
|
|
194
|
-
// - Project structure
|
|
195
|
-
// - Feature overview
|
|
196
|
-
// - Team patterns
|
|
197
|
-
// - Development workflow
|
|
198
|
-
// - Key architecture decisions
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
## Advanced Features
|
|
202
|
-
|
|
203
|
-
### 1. Codebase Analysis
|
|
204
|
-
|
|
205
|
-
```
|
|
206
|
-
@augment analyze feature coverage
|
|
207
|
-
// FL-001: 95% implemented, 90% tested
|
|
208
|
-
// FL-002: 80% implemented, 85% tested
|
|
209
|
-
// FL-003: 60% implemented, 70% tested
|
|
210
|
-
|
|
211
|
-
@augment find technical debt
|
|
212
|
-
// - Duplicated auth logic in 3 files
|
|
213
|
-
// - Missing tests for edge cases in FL-002
|
|
214
|
-
// - Outdated dependencies in payment module
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
### 2. Architecture Insights
|
|
218
|
-
|
|
219
|
-
```
|
|
220
|
-
@augment analyze architecture
|
|
221
|
-
// - Clean separation between features
|
|
222
|
-
// - Some circular dependencies detected
|
|
223
|
-
// - Opportunity to extract shared utilities
|
|
224
|
-
// - Consider implementing event system
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
### 3. Performance Analysis
|
|
228
|
-
|
|
229
|
-
```
|
|
230
|
-
@augment analyze performance bottlenecks
|
|
231
|
-
// - Database queries in user service (N+1)
|
|
232
|
-
// - Synchronous payment processing
|
|
233
|
-
// - Large bundle size from unused imports
|
|
234
|
-
```
|
|
235
|
-
|
|
236
|
-
### 4. Test Generation
|
|
237
|
-
|
|
238
|
-
```javascript
|
|
239
|
-
// @augment generate tests for UserService
|
|
240
|
-
|
|
241
|
-
describe('UserService (FL-002)', () => {
|
|
242
|
-
// Generates comprehensive test suite
|
|
243
|
-
// based on feature specifications
|
|
244
|
-
});
|
|
245
|
-
```
|
|
246
|
-
|
|
247
|
-
## Best Practices
|
|
248
|
-
|
|
249
|
-
### 1. Feature-First Approach
|
|
250
|
-
|
|
251
|
-
Always start with feature context:
|
|
252
|
-
- Check Feature Ledger before coding
|
|
253
|
-
- Reference features in all code
|
|
254
|
-
- Update feature status regularly
|
|
255
|
-
|
|
256
|
-
### 2. Team Alignment
|
|
257
|
-
|
|
258
|
-
Leverage team features:
|
|
259
|
-
- Share knowledge through Augment
|
|
260
|
-
- Follow team patterns
|
|
261
|
-
- Document decisions
|
|
262
|
-
|
|
263
|
-
### 3. Sprint Discipline
|
|
264
|
-
|
|
265
|
-
Stay focused on current work:
|
|
266
|
-
- Check sprint tasks daily
|
|
267
|
-
- Update progress regularly
|
|
268
|
-
- Complete tasks fully
|
|
269
|
-
|
|
270
|
-
### 4. Continuous Learning
|
|
271
|
-
|
|
272
|
-
Let Augment teach:
|
|
273
|
-
- Ask about unfamiliar code
|
|
274
|
-
- Learn team patterns
|
|
275
|
-
- Understand architecture
|
|
276
|
-
|
|
277
|
-
## Configuration Options
|
|
278
|
-
|
|
279
|
-
### 1. Model Selection
|
|
280
|
-
|
|
281
|
-
```json
|
|
282
|
-
{
|
|
283
|
-
"models": {
|
|
284
|
-
"completion": "augment-fast", // Quick suggestions
|
|
285
|
-
"understanding": "augment-deep", // Complex analysis
|
|
286
|
-
"documentation": "augment-doc", // Doc generation
|
|
287
|
-
"review": "augment-review" // Code review
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
```
|
|
291
|
-
|
|
292
|
-
### 2. Team Settings
|
|
293
|
-
|
|
294
|
-
```json
|
|
295
|
-
{
|
|
296
|
-
"team": {
|
|
297
|
-
"sync_interval": "5m",
|
|
298
|
-
"share_patterns": true,
|
|
299
|
-
"expertise_tracking": true,
|
|
300
|
-
"automated_assignment": false
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
### 3. Automation
|
|
306
|
-
|
|
307
|
-
```json
|
|
308
|
-
{
|
|
309
|
-
"automation": {
|
|
310
|
-
"auto_document": true,
|
|
311
|
-
"suggest_refactoring": true,
|
|
312
|
-
"update_feature_status": true,
|
|
313
|
-
"generate_tests": false
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
```
|
|
317
|
-
|
|
318
|
-
## Troubleshooting
|
|
319
|
-
|
|
320
|
-
### Common Issues
|
|
321
|
-
|
|
322
|
-
1. **Slow indexing**
|
|
323
|
-
```
|
|
324
|
-
@augment config set indexing.incremental true
|
|
325
|
-
@augment reindex --fast
|
|
326
|
-
```
|
|
327
|
-
|
|
328
|
-
2. **Team sync problems**
|
|
329
|
-
```
|
|
330
|
-
@augment team sync --reset
|
|
331
|
-
@augment team verify
|
|
332
|
-
```
|
|
333
|
-
|
|
334
|
-
3. **Feature recognition**
|
|
335
|
-
```
|
|
336
|
-
@augment feature reindex
|
|
337
|
-
@augment feature validate
|
|
338
|
-
```
|
|
339
|
-
|
|
340
|
-
### Performance Tips
|
|
341
|
-
|
|
342
|
-
1. Enable caching for faster responses
|
|
343
|
-
2. Use incremental indexing
|
|
344
|
-
3. Compress large contexts
|
|
345
|
-
4. Limit analysis scope when needed
|
|
346
|
-
|
|
347
|
-
## Updates
|
|
348
|
-
|
|
349
|
-
Keep Augment template current:
|
|
350
|
-
|
|
351
|
-
```bash
|
|
352
|
-
# Check version
|
|
353
|
-
aiwf ai-tool version augment
|
|
354
|
-
|
|
355
|
-
# Update template
|
|
356
|
-
aiwf ai-tool update augment
|
|
357
|
-
|
|
358
|
-
# Verify installation
|
|
359
|
-
aiwf ai-tool verify augment
|
|
360
|
-
```
|
|
361
|
-
|
|
362
|
-
## Resources
|
|
363
|
-
|
|
364
|
-
- [Augment Documentation](https://augmentcode.com/docs)
|
|
365
|
-
- [AIWF Documentation](https://aiwf.dev/docs)
|
|
366
|
-
- [Integration Examples](https://github.com/aiwf/augment-examples)
|
|
367
|
-
- [Team Playbook](https://aiwf.dev/guides/team-collaboration)
|
|
368
|
-
|
|
369
|
-
---
|
|
370
|
-
|
|
371
|
-
*Augment Integration Template v1.0.0*
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "augment",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "Augment Code integration template for AIWF",
|
|
5
|
-
"compatible_aiwf_version": ">=0.1.0",
|
|
6
|
-
"features": {
|
|
7
|
-
"feature_ledger": true,
|
|
8
|
-
"ai_persona": true,
|
|
9
|
-
"context_compression": true,
|
|
10
|
-
"offline_cache": true,
|
|
11
|
-
"team_collaboration": true
|
|
12
|
-
},
|
|
13
|
-
"setup_commands": [],
|
|
14
|
-
"files_to_copy": [
|
|
15
|
-
{
|
|
16
|
-
"source": "template/.augment",
|
|
17
|
-
"destination": ".augment"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"source": "template/augment.config.json",
|
|
21
|
-
"destination": "augment.config.json"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"settings": {
|
|
25
|
-
"aiwf_team_sync": true,
|
|
26
|
-
"feature_awareness": true,
|
|
27
|
-
"codebase_understanding": true,
|
|
28
|
-
"automated_documentation": true
|
|
29
|
-
}
|
|
30
|
-
}
|