lite-kits 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl
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.
- lite_kits/__init__.py +9 -9
- lite_kits/cli.py +170 -155
- lite_kits/core/__init__.py +13 -0
- lite_kits/core/banner.py +160 -0
- lite_kits/{installer.py → core/installer.py} +47 -27
- lite_kits/core/manifest.py +146 -0
- lite_kits/kits/README.md +9 -10
- lite_kits/kits/dev/README.md +241 -0
- lite_kits/kits/dev/claude/commands/audit.md +143 -0
- lite_kits/kits/dev/claude/commands/cleanup.md +361 -0
- lite_kits/kits/dev/claude/commands/commit.md +612 -0
- lite_kits/kits/dev/claude/commands/orient.md +146 -0
- lite_kits/kits/dev/claude/commands/pr.md +593 -0
- lite_kits/kits/dev/claude/commands/review.md +202 -0
- lite_kits/kits/dev/claude/commands/stats.md +162 -0
- lite_kits/kits/dev/github/prompts/audit.prompt.md +143 -0
- lite_kits/kits/dev/github/prompts/cleanup.prompt.md +382 -0
- lite_kits/kits/dev/github/prompts/commit.prompt.md +591 -0
- lite_kits/kits/dev/github/prompts/orient.prompt.md +150 -0
- lite_kits/kits/dev/github/prompts/pr.prompt.md +603 -0
- lite_kits/kits/dev/github/prompts/review.prompt.md +202 -0
- lite_kits/kits/dev/github/prompts/stats.prompt.md +163 -0
- lite_kits/kits/git/README.md +59 -68
- lite_kits/kits/git/claude/commands/review.md +202 -0
- lite_kits/kits/git/github/prompts/review.prompt.md +202 -0
- lite_kits/kits/kits.yaml +180 -0
- lite_kits/kits/multiagent/README.md +26 -15
- lite_kits/kits/multiagent/memory/pr-workflow-guide.md +1 -7
- lite_kits/kits/project/README.md +6 -22
- lite_kits/kits/project/claude/commands/audit.md +143 -0
- lite_kits/kits/project/claude/commands/orient.md +29 -46
- lite_kits/kits/project/claude/commands/review.md +112 -0
- lite_kits/kits/project/claude/commands/stats.md +162 -0
- lite_kits/kits/project/github/prompts/audit.prompt.md +143 -0
- lite_kits/kits/project/github/prompts/orient.prompt.md +33 -46
- lite_kits/kits/project/github/prompts/review.prompt.md +112 -0
- lite_kits/kits/project/github/prompts/stats.prompt.md +163 -0
- {lite_kits-0.1.0.dist-info → lite_kits-0.1.1.dist-info}/METADATA +98 -66
- lite_kits-0.1.1.dist-info/RECORD +58 -0
- lite_kits-0.1.0.dist-info/RECORD +0 -31
- {lite_kits-0.1.0.dist-info → lite_kits-0.1.1.dist-info}/WHEEL +0 -0
- {lite_kits-0.1.0.dist-info → lite_kits-0.1.1.dist-info}/entry_points.txt +0 -0
- {lite_kits-0.1.0.dist-info → lite_kits-0.1.1.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,202 @@
|
|
1
|
+
---
|
2
|
+
description: Review staged changes against best practices
|
3
|
+
---
|
4
|
+
|
5
|
+
# Code Review of Staged Changes
|
6
|
+
|
7
|
+
**Purpose**: Review staged git changes for quality, best practices, and potential issues before committing.
|
8
|
+
|
9
|
+
## Execution Steps
|
10
|
+
|
11
|
+
Execute the following steps to review staged changes:
|
12
|
+
|
13
|
+
### 1. Check Staged Files
|
14
|
+
|
15
|
+
```bash
|
16
|
+
# Get list of staged files with status
|
17
|
+
git diff --staged --name-status
|
18
|
+
```
|
19
|
+
|
20
|
+
**If no files are staged**:
|
21
|
+
- Inform user that nothing is staged
|
22
|
+
- Suggest running `git add` or `/commit` to stage and commit together
|
23
|
+
- Exit gracefully
|
24
|
+
|
25
|
+
### 2. Analyze Staged Changes
|
26
|
+
|
27
|
+
```bash
|
28
|
+
# Get the actual diff with context
|
29
|
+
git diff --staged
|
30
|
+
```
|
31
|
+
|
32
|
+
### 3. Review Changes
|
33
|
+
|
34
|
+
Analyze the diff output for:
|
35
|
+
|
36
|
+
**✅ Good Practices to Acknowledge**:
|
37
|
+
- Clear, descriptive function/variable names
|
38
|
+
- Appropriate comments where needed
|
39
|
+
- Consistent formatting
|
40
|
+
- Type hints (Python) or type annotations
|
41
|
+
- Test coverage for new code
|
42
|
+
- Error handling
|
43
|
+
- Input validation
|
44
|
+
|
45
|
+
**⚠️ Issues to Flag**:
|
46
|
+
- **Security**:
|
47
|
+
- Hardcoded credentials or API keys
|
48
|
+
- SQL injection vulnerabilities
|
49
|
+
- XSS vulnerabilities
|
50
|
+
- Unsafe deserialization
|
51
|
+
- Missing authentication/authorization checks
|
52
|
+
|
53
|
+
- **Code Quality**:
|
54
|
+
- TODOs or FIXMEs (should be tracked in issues)
|
55
|
+
- Commented-out code blocks
|
56
|
+
- Magic numbers without explanation
|
57
|
+
- Overly complex functions (>50 lines)
|
58
|
+
- Duplicate code patterns
|
59
|
+
- Inconsistent naming conventions
|
60
|
+
|
61
|
+
- **Best Practices**:
|
62
|
+
- Missing error handling
|
63
|
+
- No logging for important operations
|
64
|
+
- Hardcoded configuration values
|
65
|
+
- Missing input validation
|
66
|
+
- Unused imports or variables
|
67
|
+
- Missing docstrings for public APIs
|
68
|
+
|
69
|
+
### 4. Present Review Results
|
70
|
+
|
71
|
+
Format output as follows:
|
72
|
+
|
73
|
+
```
|
74
|
+
## Code Review Results
|
75
|
+
|
76
|
+
**Staged files**: [count]
|
77
|
+
[list files with status: A=added, M=modified, D=deleted]
|
78
|
+
|
79
|
+
**Summary of changes**:
|
80
|
+
[brief description of what's being changed]
|
81
|
+
|
82
|
+
===========================================================
|
83
|
+
**✅ Good Practices Found:**
|
84
|
+
===========================================================
|
85
|
+
|
86
|
+
[List positive findings, grouped by file]
|
87
|
+
- [file]: [specific good practice observed]
|
88
|
+
|
89
|
+
===========================================================
|
90
|
+
**⚠️ Suggestions for Improvement:**
|
91
|
+
===========================================================
|
92
|
+
|
93
|
+
[List issues/suggestions, grouped by file with line numbers if possible]
|
94
|
+
- [file]:[line]: [specific issue and suggested fix]
|
95
|
+
|
96
|
+
===========================================================
|
97
|
+
**🔒 Security Check:**
|
98
|
+
===========================================================
|
99
|
+
|
100
|
+
[Report any security concerns or confirm none found]
|
101
|
+
- ✓ No hardcoded credentials detected
|
102
|
+
- ✓ No obvious security vulnerabilities
|
103
|
+
- ⚠ [Any security concerns]
|
104
|
+
|
105
|
+
===========================================================
|
106
|
+
**📊 Overall Assessment:**
|
107
|
+
===========================================================
|
108
|
+
|
109
|
+
[One of: "Ready to commit", "Ready with minor suggestions", "Needs changes"]
|
110
|
+
|
111
|
+
[Brief summary of overall code quality]
|
112
|
+
|
113
|
+
**Recommendation**: [Approve / Address suggestions / Do not commit]
|
114
|
+
```
|
115
|
+
|
116
|
+
### 5. Handle User Response
|
117
|
+
|
118
|
+
After presenting results, wait for user action. They may:
|
119
|
+
- Proceed with commit anyway
|
120
|
+
- Make changes and re-review
|
121
|
+
- Cancel the review
|
122
|
+
|
123
|
+
## Example Output
|
124
|
+
|
125
|
+
```
|
126
|
+
## Code Review Results
|
127
|
+
|
128
|
+
**Staged files**: 3
|
129
|
+
- A src/auth.py (new file)
|
130
|
+
- M src/models.py (modified)
|
131
|
+
- A tests/test_auth.py (new file)
|
132
|
+
|
133
|
+
**Summary of changes**:
|
134
|
+
Adding user authentication system with bcrypt password hashing
|
135
|
+
and JWT token generation.
|
136
|
+
|
137
|
+
===========================================================
|
138
|
+
**✅ Good Practices Found:**
|
139
|
+
===========================================================
|
140
|
+
|
141
|
+
- src/auth.py: Clear function names (hash_password, verify_password)
|
142
|
+
- src/auth.py: Type hints used throughout
|
143
|
+
- src/auth.py: Comprehensive docstrings for all functions
|
144
|
+
- src/models.py: Proper SQLAlchemy relationship definitions
|
145
|
+
- tests/test_auth.py: Good test coverage with fixtures
|
146
|
+
|
147
|
+
===========================================================
|
148
|
+
**⚠️ Suggestions for Improvement:**
|
149
|
+
===========================================================
|
150
|
+
|
151
|
+
- src/auth.py:45: Consider extracting hash_password to utils module
|
152
|
+
Current: Function in auth.py
|
153
|
+
Suggest: Move to src/utils/crypto.py for reusability
|
154
|
+
|
155
|
+
- src/models.py:12: TODO comment present
|
156
|
+
Line: "# TODO: Add password reset functionality"
|
157
|
+
Suggest: Create GitHub issue and reference it in comment
|
158
|
+
|
159
|
+
- tests/test_auth.py:67: Missing edge case test
|
160
|
+
Suggest: Add test for empty password input
|
161
|
+
|
162
|
+
- src/auth.py:23: Magic number for token expiration
|
163
|
+
Current: expires_delta = timedelta(hours=24)
|
164
|
+
Suggest: Move to config file or environment variable
|
165
|
+
|
166
|
+
===========================================================
|
167
|
+
**🔒 Security Check:**
|
168
|
+
===========================================================
|
169
|
+
|
170
|
+
✓ No hardcoded credentials detected
|
171
|
+
✓ Using bcrypt for password hashing (good choice!)
|
172
|
+
✓ JWT tokens generated securely
|
173
|
+
⚠ Consider adding rate limiting to prevent brute force attacks
|
174
|
+
|
175
|
+
===========================================================
|
176
|
+
**📊 Overall Assessment:**
|
177
|
+
===========================================================
|
178
|
+
|
179
|
+
**Status**: Ready with minor suggestions
|
180
|
+
|
181
|
+
The code follows good practices with proper type hints, docstrings,
|
182
|
+
and test coverage. The suggestions above are minor improvements that
|
183
|
+
can be addressed now or in future iterations.
|
184
|
+
|
185
|
+
**Recommendation**: Approve and commit - suggestions are non-blocking
|
186
|
+
```
|
187
|
+
|
188
|
+
## Important Notes
|
189
|
+
|
190
|
+
- This command is **read-only** - it never modifies files
|
191
|
+
- Focus on **actionable feedback** - be specific about what to change
|
192
|
+
- Be **encouraging** - acknowledge good practices
|
193
|
+
- **Security first** - always check for security issues
|
194
|
+
- Keep review **concise** - don't overwhelm with minor issues
|
195
|
+
- **Respect the agent's work** - balance critique with acknowledgment
|
196
|
+
|
197
|
+
## Integration with Other Commands
|
198
|
+
|
199
|
+
- Run `/review` before `/commit` to catch issues early
|
200
|
+
- Use after making changes and staging them with `git add`
|
201
|
+
- Combine with `/pr` workflow - review before creating PR
|
202
|
+
- Works great in multi-agent workflows (one agent reviews another's work)
|
@@ -0,0 +1,202 @@
|
|
1
|
+
---
|
2
|
+
description: Review staged changes against best practices
|
3
|
+
---
|
4
|
+
|
5
|
+
# Code Review of Staged Changes
|
6
|
+
|
7
|
+
**Purpose**: Review staged git changes for quality, best practices, and potential issues before committing.
|
8
|
+
|
9
|
+
## Execution Steps
|
10
|
+
|
11
|
+
Execute the following steps to review staged changes:
|
12
|
+
|
13
|
+
### 1. Check Staged Files
|
14
|
+
|
15
|
+
```bash
|
16
|
+
# Get list of staged files with status
|
17
|
+
git diff --staged --name-status
|
18
|
+
```
|
19
|
+
|
20
|
+
**If no files are staged**:
|
21
|
+
- Inform user that nothing is staged
|
22
|
+
- Suggest running `git add` or `@terminal /commit` to stage and commit together
|
23
|
+
- Exit gracefully
|
24
|
+
|
25
|
+
### 2. Analyze Staged Changes
|
26
|
+
|
27
|
+
```bash
|
28
|
+
# Get the actual diff with context
|
29
|
+
git diff --staged
|
30
|
+
```
|
31
|
+
|
32
|
+
### 3. Review Changes
|
33
|
+
|
34
|
+
Analyze the diff output for:
|
35
|
+
|
36
|
+
**✅ Good Practices to Acknowledge**:
|
37
|
+
- Clear, descriptive function/variable names
|
38
|
+
- Appropriate comments where needed
|
39
|
+
- Consistent formatting
|
40
|
+
- Type hints (Python) or type annotations
|
41
|
+
- Test coverage for new code
|
42
|
+
- Error handling
|
43
|
+
- Input validation
|
44
|
+
|
45
|
+
**⚠️ Issues to Flag**:
|
46
|
+
- **Security**:
|
47
|
+
- Hardcoded credentials or API keys
|
48
|
+
- SQL injection vulnerabilities
|
49
|
+
- XSS vulnerabilities
|
50
|
+
- Unsafe deserialization
|
51
|
+
- Missing authentication/authorization checks
|
52
|
+
|
53
|
+
- **Code Quality**:
|
54
|
+
- TODOs or FIXMEs (should be tracked in issues)
|
55
|
+
- Commented-out code blocks
|
56
|
+
- Magic numbers without explanation
|
57
|
+
- Overly complex functions (>50 lines)
|
58
|
+
- Duplicate code patterns
|
59
|
+
- Inconsistent naming conventions
|
60
|
+
|
61
|
+
- **Best Practices**:
|
62
|
+
- Missing error handling
|
63
|
+
- No logging for important operations
|
64
|
+
- Hardcoded configuration values
|
65
|
+
- Missing input validation
|
66
|
+
- Unused imports or variables
|
67
|
+
- Missing docstrings for public APIs
|
68
|
+
|
69
|
+
### 4. Present Review Results
|
70
|
+
|
71
|
+
Format output as follows:
|
72
|
+
|
73
|
+
```
|
74
|
+
## Code Review Results
|
75
|
+
|
76
|
+
**Staged files**: [count]
|
77
|
+
[list files with status: A=added, M=modified, D=deleted]
|
78
|
+
|
79
|
+
**Summary of changes**:
|
80
|
+
[brief description of what's being changed]
|
81
|
+
|
82
|
+
===========================================================
|
83
|
+
**✅ Good Practices Found:**
|
84
|
+
===========================================================
|
85
|
+
|
86
|
+
[List positive findings, grouped by file]
|
87
|
+
- [file]: [specific good practice observed]
|
88
|
+
|
89
|
+
===========================================================
|
90
|
+
**⚠️ Suggestions for Improvement:**
|
91
|
+
===========================================================
|
92
|
+
|
93
|
+
[List issues/suggestions, grouped by file with line numbers if possible]
|
94
|
+
- [file]:[line]: [specific issue and suggested fix]
|
95
|
+
|
96
|
+
===========================================================
|
97
|
+
**🔒 Security Check:**
|
98
|
+
===========================================================
|
99
|
+
|
100
|
+
[Report any security concerns or confirm none found]
|
101
|
+
- ✓ No hardcoded credentials detected
|
102
|
+
- ✓ No obvious security vulnerabilities
|
103
|
+
- ⚠ [Any security concerns]
|
104
|
+
|
105
|
+
===========================================================
|
106
|
+
**📊 Overall Assessment:**
|
107
|
+
===========================================================
|
108
|
+
|
109
|
+
[One of: "Ready to commit", "Ready with minor suggestions", "Needs changes"]
|
110
|
+
|
111
|
+
[Brief summary of overall code quality]
|
112
|
+
|
113
|
+
**Recommendation**: [Approve / Address suggestions / Do not commit]
|
114
|
+
```
|
115
|
+
|
116
|
+
### 5. Handle User Response
|
117
|
+
|
118
|
+
After presenting results, wait for user action. They may:
|
119
|
+
- Proceed with commit anyway
|
120
|
+
- Make changes and re-review
|
121
|
+
- Cancel the review
|
122
|
+
|
123
|
+
## Example Output
|
124
|
+
|
125
|
+
```
|
126
|
+
## Code Review Results
|
127
|
+
|
128
|
+
**Staged files**: 3
|
129
|
+
- A src/auth.py (new file)
|
130
|
+
- M src/models.py (modified)
|
131
|
+
- A tests/test_auth.py (new file)
|
132
|
+
|
133
|
+
**Summary of changes**:
|
134
|
+
Adding user authentication system with bcrypt password hashing
|
135
|
+
and JWT token generation.
|
136
|
+
|
137
|
+
===========================================================
|
138
|
+
**✅ Good Practices Found:**
|
139
|
+
===========================================================
|
140
|
+
|
141
|
+
- src/auth.py: Clear function names (hash_password, verify_password)
|
142
|
+
- src/auth.py: Type hints used throughout
|
143
|
+
- src/auth.py: Comprehensive docstrings for all functions
|
144
|
+
- src/models.py: Proper SQLAlchemy relationship definitions
|
145
|
+
- tests/test_auth.py: Good test coverage with fixtures
|
146
|
+
|
147
|
+
===========================================================
|
148
|
+
**⚠️ Suggestions for Improvement:**
|
149
|
+
===========================================================
|
150
|
+
|
151
|
+
- src/auth.py:45: Consider extracting hash_password to utils module
|
152
|
+
Current: Function in auth.py
|
153
|
+
Suggest: Move to src/utils/crypto.py for reusability
|
154
|
+
|
155
|
+
- src/models.py:12: TODO comment present
|
156
|
+
Line: "# TODO: Add password reset functionality"
|
157
|
+
Suggest: Create GitHub issue and reference it in comment
|
158
|
+
|
159
|
+
- tests/test_auth.py:67: Missing edge case test
|
160
|
+
Suggest: Add test for empty password input
|
161
|
+
|
162
|
+
- src/auth.py:23: Magic number for token expiration
|
163
|
+
Current: expires_delta = timedelta(hours=24)
|
164
|
+
Suggest: Move to config file or environment variable
|
165
|
+
|
166
|
+
===========================================================
|
167
|
+
**🔒 Security Check:**
|
168
|
+
===========================================================
|
169
|
+
|
170
|
+
✓ No hardcoded credentials detected
|
171
|
+
✓ Using bcrypt for password hashing (good choice!)
|
172
|
+
✓ JWT tokens generated securely
|
173
|
+
⚠ Consider adding rate limiting to prevent brute force attacks
|
174
|
+
|
175
|
+
===========================================================
|
176
|
+
**📊 Overall Assessment:**
|
177
|
+
===========================================================
|
178
|
+
|
179
|
+
**Status**: Ready with minor suggestions
|
180
|
+
|
181
|
+
The code follows good practices with proper type hints, docstrings,
|
182
|
+
and test coverage. The suggestions above are minor improvements that
|
183
|
+
can be addressed now or in future iterations.
|
184
|
+
|
185
|
+
**Recommendation**: Approve and commit - suggestions are non-blocking
|
186
|
+
```
|
187
|
+
|
188
|
+
## Important Notes
|
189
|
+
|
190
|
+
- This command is **read-only** - it never modifies files
|
191
|
+
- Focus on **actionable feedback** - be specific about what to change
|
192
|
+
- Be **encouraging** - acknowledge good practices
|
193
|
+
- **Security first** - always check for security issues
|
194
|
+
- Keep review **concise** - don't overwhelm with minor issues
|
195
|
+
- **Respect the agent's work** - balance critique with acknowledgment
|
196
|
+
|
197
|
+
## Integration with Other Commands
|
198
|
+
|
199
|
+
- Run `@terminal /review` before `@terminal /commit` to catch issues early
|
200
|
+
- Use after making changes and staging them with `git add`
|
201
|
+
- Combine with `@terminal /pr` workflow - review before creating PR
|
202
|
+
- Works great in multi-agent workflows (one agent reviews another's work)
|
lite_kits/kits/kits.yaml
ADDED
@@ -0,0 +1,180 @@
|
|
1
|
+
# Lite-Kits Manifest
|
2
|
+
# Defines available kits, their commands, and generated files
|
3
|
+
|
4
|
+
kits:
|
5
|
+
dev:
|
6
|
+
name: "Dev Kit"
|
7
|
+
description: "Solo development essentials: /orient, /commit, /pr, /review, /cleanup, /audit, /stats"
|
8
|
+
icon: "🚀"
|
9
|
+
recommended: true
|
10
|
+
|
11
|
+
commands:
|
12
|
+
- name: "orient"
|
13
|
+
description: "Agent orientation protocol"
|
14
|
+
status: "stable"
|
15
|
+
|
16
|
+
- name: "commit"
|
17
|
+
description: "Smart commit with staging and message generation"
|
18
|
+
status: "stable"
|
19
|
+
|
20
|
+
- name: "pr"
|
21
|
+
description: "Pull request creation with auto-push"
|
22
|
+
status: "stable"
|
23
|
+
|
24
|
+
- name: "review"
|
25
|
+
description: "Code review helper for staged changes"
|
26
|
+
status: "stable"
|
27
|
+
|
28
|
+
- name: "cleanup"
|
29
|
+
description: "Safe branch cleanup (delete merged branches)"
|
30
|
+
status: "stable"
|
31
|
+
|
32
|
+
- name: "audit"
|
33
|
+
description: "Security & quality audit"
|
34
|
+
status: "planned"
|
35
|
+
|
36
|
+
- name: "stats"
|
37
|
+
description: "Project statistics"
|
38
|
+
status: "planned"
|
39
|
+
|
40
|
+
# Files that get installed
|
41
|
+
files:
|
42
|
+
claude:
|
43
|
+
- path: ".claude/commands/orient.md"
|
44
|
+
source: "dev/claude/commands/orient.md"
|
45
|
+
required: true
|
46
|
+
|
47
|
+
- path: ".claude/commands/commit.md"
|
48
|
+
source: "dev/claude/commands/commit.md"
|
49
|
+
required: true
|
50
|
+
|
51
|
+
- path: ".claude/commands/pr.md"
|
52
|
+
source: "dev/claude/commands/pr.md"
|
53
|
+
required: true
|
54
|
+
|
55
|
+
- path: ".claude/commands/review.md"
|
56
|
+
source: "dev/claude/commands/review.md"
|
57
|
+
required: true
|
58
|
+
|
59
|
+
- path: ".claude/commands/cleanup.md"
|
60
|
+
source: "dev/claude/commands/cleanup.md"
|
61
|
+
required: true
|
62
|
+
|
63
|
+
- path: ".claude/commands/audit.md"
|
64
|
+
source: "dev/claude/commands/audit.md"
|
65
|
+
required: false
|
66
|
+
|
67
|
+
- path: ".claude/commands/stats.md"
|
68
|
+
source: "dev/claude/commands/stats.md"
|
69
|
+
required: false
|
70
|
+
|
71
|
+
copilot:
|
72
|
+
- path: ".github/prompts/orient.prompt.md"
|
73
|
+
source: "dev/github/prompts/orient.prompt.md"
|
74
|
+
required: true
|
75
|
+
|
76
|
+
- path: ".github/prompts/commit.prompt.md"
|
77
|
+
source: "dev/github/prompts/commit.prompt.md"
|
78
|
+
required: true
|
79
|
+
|
80
|
+
- path: ".github/prompts/pr.prompt.md"
|
81
|
+
source: "dev/github/prompts/pr.prompt.md"
|
82
|
+
required: true
|
83
|
+
|
84
|
+
- path: ".github/prompts/review.prompt.md"
|
85
|
+
source: "dev/github/prompts/review.prompt.md"
|
86
|
+
required: true
|
87
|
+
|
88
|
+
- path: ".github/prompts/cleanup.prompt.md"
|
89
|
+
source: "dev/github/prompts/cleanup.prompt.md"
|
90
|
+
required: true
|
91
|
+
|
92
|
+
- path: ".github/prompts/audit.prompt.md"
|
93
|
+
source: "dev/github/prompts/audit.prompt.md"
|
94
|
+
required: false
|
95
|
+
|
96
|
+
- path: ".github/prompts/stats.prompt.md"
|
97
|
+
source: "dev/github/prompts/stats.prompt.md"
|
98
|
+
required: false
|
99
|
+
|
100
|
+
# Marker files for detection (if any of these exist, kit is installed)
|
101
|
+
markers:
|
102
|
+
- ".claude/commands/orient.md"
|
103
|
+
- ".github/prompts/orient.prompt.md"
|
104
|
+
|
105
|
+
multiagent:
|
106
|
+
name: "Multiagent Kit"
|
107
|
+
description: "Multi-agent coordination: /sync, collaboration dirs, memory guides"
|
108
|
+
icon: "🤝"
|
109
|
+
recommended: false
|
110
|
+
|
111
|
+
commands:
|
112
|
+
- name: "sync"
|
113
|
+
description: "Multi-agent coordination status"
|
114
|
+
status: "stable"
|
115
|
+
|
116
|
+
files:
|
117
|
+
claude:
|
118
|
+
- path: ".claude/commands/sync.md"
|
119
|
+
source: "multiagent/claude/commands/sync.md"
|
120
|
+
required: true
|
121
|
+
|
122
|
+
copilot:
|
123
|
+
- path: ".github/prompts/sync.prompt.md"
|
124
|
+
source: "multiagent/github/prompts/sync.prompt.md"
|
125
|
+
required: true
|
126
|
+
|
127
|
+
memory:
|
128
|
+
- path: ".specify/memory/pr-workflow-guide.md"
|
129
|
+
source: "multiagent/memory/pr-workflow-guide.md"
|
130
|
+
required: true
|
131
|
+
|
132
|
+
- path: ".specify/memory/git-worktrees-protocol.md"
|
133
|
+
source: "multiagent/memory/git-worktrees-protocol.md"
|
134
|
+
required: true
|
135
|
+
|
136
|
+
- path: ".specify/memory/parallel-work-protocol.md"
|
137
|
+
source: "multiagent/memory/parallel-work-protocol.md"
|
138
|
+
required: true
|
139
|
+
|
140
|
+
templates:
|
141
|
+
- path: ".specify/templates/session-log.md"
|
142
|
+
source: "multiagent/templates/session-log.md"
|
143
|
+
required: true
|
144
|
+
|
145
|
+
- path: ".specify/templates/handoff.md"
|
146
|
+
source: "multiagent/templates/handoff.md"
|
147
|
+
required: true
|
148
|
+
|
149
|
+
- path: ".specify/templates/decision.md"
|
150
|
+
source: "multiagent/templates/decision.md"
|
151
|
+
required: true
|
152
|
+
|
153
|
+
- path: ".specify/templates/collaboration-README.md"
|
154
|
+
source: "multiagent/templates/collaboration-structure/README.md"
|
155
|
+
required: true
|
156
|
+
|
157
|
+
markers:
|
158
|
+
- ".specify/memory/pr-workflow-guide.md"
|
159
|
+
- ".claude/commands/sync.md"
|
160
|
+
- ".github/prompts/sync.prompt.md"
|
161
|
+
|
162
|
+
# Agent detection
|
163
|
+
agents:
|
164
|
+
claude:
|
165
|
+
marker_dir: ".claude"
|
166
|
+
commands_dir: ".claude/commands"
|
167
|
+
file_extension: ".md"
|
168
|
+
|
169
|
+
copilot:
|
170
|
+
marker_dir: ".github/prompts"
|
171
|
+
commands_dir: ".github/prompts"
|
172
|
+
file_extension: ".prompt.md"
|
173
|
+
|
174
|
+
# Installation options
|
175
|
+
options:
|
176
|
+
default_kit: "dev"
|
177
|
+
recommended_kits: ["dev"]
|
178
|
+
allow_partial_install: true # Can install for just one agent
|
179
|
+
skip_existing: true # Don't overwrite existing files by default
|
180
|
+
validate_on_install: true # Run validation after install
|
@@ -6,6 +6,12 @@ Multi-agent coordination structure for projects with multiple AI agents working
|
|
6
6
|
|
7
7
|
## What It Adds
|
8
8
|
|
9
|
+
### Commands
|
10
|
+
|
11
|
+
| Command | Claude Code | GitHub Copilot | Description |
|
12
|
+
|---------|-------------|----------------|-------------|
|
13
|
+
| `/sync` | ✅ | ✅ | Show git sync status with worktree visualization |
|
14
|
+
|
9
15
|
### Memory Guides
|
10
16
|
|
11
17
|
| Guide | Description | Status |
|
@@ -23,26 +29,23 @@ Multi-agent coordination structure for projects with multiple AI agents working
|
|
23
29
|
|
24
30
|
## Dependencies
|
25
31
|
|
26
|
-
|
27
|
-
- **project-kit**: For `/review` command and best practices
|
28
|
-
- **git-kit**: For `/commit`, `/pr` commands used in workflows
|
32
|
+
**None** - multiagent-kit is standalone.
|
29
33
|
|
30
34
|
**Recommended installation**:
|
31
35
|
```bash
|
32
|
-
lite-kits install -
|
33
|
-
# Installs: project + git + multiagent
|
36
|
+
lite-kits install -Kit multiagent
|
34
37
|
```
|
35
38
|
|
36
|
-
**Note**:
|
39
|
+
**Note**: Works best when combined with project-kit and git-kit, but they are not required.
|
37
40
|
|
38
41
|
## Installation
|
39
42
|
|
40
|
-
###
|
43
|
+
### As part of recommended kits:
|
41
44
|
```bash
|
42
|
-
lite-kits install -Recommended -Kit multiagent
|
45
|
+
lite-kits install -Recommended -Kit multiagent # project + git + multiagent
|
43
46
|
```
|
44
47
|
|
45
|
-
### Individually
|
48
|
+
### Individually:
|
46
49
|
```bash
|
47
50
|
lite-kits install -Kit multiagent
|
48
51
|
```
|
@@ -51,9 +54,14 @@ lite-kits install -Kit multiagent
|
|
51
54
|
|
52
55
|
```
|
53
56
|
your-project/
|
57
|
+
├── .claude/commands/ # If Claude Code detected
|
58
|
+
│ └── sync.md # ✅ Sync status with worktrees
|
59
|
+
├── .github/prompts/ # If GitHub Copilot detected
|
60
|
+
│ └── sync.prompt.md # ✅ Sync status with worktrees
|
54
61
|
├── .specify/memory/
|
55
62
|
│ ├── pr-workflow-guide.md # ✅ AI agent PR workflow
|
56
|
-
│
|
63
|
+
│ ├── git-worktrees-protocol.md # ✅ Parallel development guide
|
64
|
+
│ └── parallel-work-protocol.md # ✅ Multi-agent coordination
|
57
65
|
└── specs/
|
58
66
|
└── NNN-feature/
|
59
67
|
└── collaboration/ # 🚧 Created per-feature
|
@@ -301,15 +309,15 @@ Backend authentication complete. Need frontend integration.
|
|
301
309
|
|
302
310
|
## Integration with Other Kits
|
303
311
|
|
304
|
-
### With project-kit
|
312
|
+
### With project-kit (optional)
|
305
313
|
- Use `/orient` for each agent to understand their role
|
306
|
-
- Use `/review` for agent-to-agent code review
|
307
314
|
|
308
|
-
### With git-kit
|
315
|
+
### With git-kit (optional)
|
309
316
|
- Use `/commit` for agent-attributed commits
|
310
317
|
- Use `/pr` to create PRs with multi-agent summary
|
311
|
-
- Use `/
|
318
|
+
- Use `/review` for agent-to-agent code review
|
312
319
|
- Use `/cleanup` to remove stale worktrees
|
320
|
+
- Combine `/sync` (from multiagent-kit) with git-kit workflows
|
313
321
|
|
314
322
|
---
|
315
323
|
|
@@ -351,7 +359,7 @@ No configuration needed - works out of the box.
|
|
351
359
|
|
352
360
|
## Compatibility
|
353
361
|
|
354
|
-
- ✅ **Agents**: Claude Code, GitHub Copilot
|
362
|
+
- ✅ **Agents**: Claude Code, GitHub Copilot
|
355
363
|
- ✅ **Platforms**: Linux, macOS, Windows
|
356
364
|
- ✅ **Shells**: Bash, PowerShell
|
357
365
|
- ✅ **Vanilla safe**: Only adds new files, never modifies existing
|
@@ -365,8 +373,11 @@ lite-kits remove -Kit multiagent
|
|
365
373
|
```
|
366
374
|
|
367
375
|
Removes:
|
376
|
+
- `.claude/commands/sync.md`
|
377
|
+
- `.github/prompts/sync.prompt.md`
|
368
378
|
- `.specify/memory/pr-workflow-guide.md`
|
369
379
|
- `.specify/memory/git-worktrees-protocol.md`
|
380
|
+
- `.specify/memory/parallel-work-protocol.md`
|
370
381
|
|
371
382
|
**Note**: Existing `specs/*/collaboration/` directories are **preserved** (user data).
|
372
383
|
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
## Purpose
|
7
7
|
|
8
|
-
This guide defines the workflow for AI agents (Claude Code, GitHub Copilot
|
8
|
+
This guide defines the workflow for AI agents (Claude Code, GitHub Copilot) when creating pull requests in spec-kit projects with multiagent coordination.
|
9
9
|
|
10
10
|
## Core Principles
|
11
11
|
|
@@ -122,12 +122,6 @@ fix: Resolve race condition in async handlers
|
|
122
122
|
via gpt-4 @ github-copilot-cli
|
123
123
|
```
|
124
124
|
|
125
|
-
```
|
126
|
-
docs: Update API documentation for auth endpoints
|
127
|
-
|
128
|
-
via claude-opus-4 @ cursor
|
129
|
-
```
|
130
|
-
|
131
125
|
## Multi-Agent Coordination
|
132
126
|
|
133
127
|
### When Multiple Agents Work on Same Feature
|