lite-kits 0.1.1__py3-none-any.whl → 0.3.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 +56 -4
- lite_kits/cli.py +696 -185
- lite_kits/core/__init__.py +6 -0
- lite_kits/core/banner.py +1 -1
- lite_kits/core/conflict_checker.py +115 -0
- lite_kits/core/detector.py +140 -0
- lite_kits/core/installer.py +236 -351
- lite_kits/core/manifest.py +146 -146
- lite_kits/core/validator.py +146 -0
- lite_kits/kits/README.md +6 -6
- lite_kits/kits/dev/README.md +241 -241
- lite_kits/kits/dev/{claude/commands → commands/.claude}/audit.md +143 -143
- lite_kits/kits/dev/{claude/commands → commands/.claude}/cleanup.md +2 -2
- lite_kits/kits/{git/claude/commands → dev/commands/.claude}/commit.md +2 -2
- lite_kits/kits/{project/claude/commands → dev/commands/.claude}/orient.md +3 -4
- lite_kits/kits/{git/claude/commands → dev/commands/.claude}/pr.md +1 -1
- lite_kits/kits/{git/claude/commands → dev/commands/.claude}/review.md +202 -202
- lite_kits/kits/{project/claude/commands → dev/commands/.claude}/stats.md +162 -162
- lite_kits/kits/{project/github/prompts → dev/commands/.github}/audit.prompt.md +143 -143
- lite_kits/kits/{git/github/prompts → dev/commands/.github}/cleanup.prompt.md +2 -2
- lite_kits/kits/{git/github/prompts → dev/commands/.github}/commit.prompt.md +2 -2
- lite_kits/kits/dev/{github/prompts → commands/.github}/orient.prompt.md +3 -4
- lite_kits/kits/{git/github/prompts → dev/commands/.github}/pr.prompt.md +1 -1
- lite_kits/kits/{git/github/prompts → dev/commands/.github}/review.prompt.md +202 -202
- lite_kits/kits/dev/{github/prompts → commands/.github}/stats.prompt.md +163 -163
- lite_kits/kits/kits.yaml +497 -180
- lite_kits/kits/multiagent/README.md +6 -6
- lite_kits/kits/multiagent/{claude/commands → commands/.claude}/sync.md +331 -331
- lite_kits/kits/multiagent/{github/prompts → commands/.github}/sync.prompt.md +73 -69
- lite_kits/kits/multiagent/memory/git-worktrees-protocol.md +370 -370
- lite_kits/kits/multiagent/memory/parallel-work-protocol.md +536 -536
- lite_kits/kits/multiagent/memory/pr-workflow-guide.md +275 -275
- lite_kits/kits/multiagent/templates/collaboration-structure/README.md +166 -166
- lite_kits/kits/multiagent/templates/decision.md +79 -79
- lite_kits/kits/multiagent/templates/handoff.md +95 -95
- lite_kits/kits/multiagent/templates/session-log.md +68 -68
- lite_kits-0.3.1.dist-info/METADATA +259 -0
- lite_kits-0.3.1.dist-info/RECORD +41 -0
- {lite_kits-0.1.1.dist-info → lite_kits-0.3.1.dist-info}/licenses/LICENSE +21 -21
- lite_kits/kits/dev/claude/commands/commit.md +0 -612
- lite_kits/kits/dev/claude/commands/orient.md +0 -146
- lite_kits/kits/dev/claude/commands/pr.md +0 -593
- lite_kits/kits/dev/claude/commands/review.md +0 -202
- lite_kits/kits/dev/claude/commands/stats.md +0 -162
- lite_kits/kits/dev/github/prompts/audit.prompt.md +0 -143
- lite_kits/kits/dev/github/prompts/cleanup.prompt.md +0 -382
- lite_kits/kits/dev/github/prompts/commit.prompt.md +0 -591
- lite_kits/kits/dev/github/prompts/pr.prompt.md +0 -603
- lite_kits/kits/dev/github/prompts/review.prompt.md +0 -202
- lite_kits/kits/git/README.md +0 -365
- lite_kits/kits/git/claude/commands/cleanup.md +0 -361
- lite_kits/kits/git/scripts/bash/get-git-context.sh +0 -208
- lite_kits/kits/git/scripts/powershell/Get-GitContext.ps1 +0 -242
- lite_kits/kits/project/README.md +0 -228
- lite_kits/kits/project/claude/commands/audit.md +0 -143
- lite_kits/kits/project/claude/commands/review.md +0 -112
- lite_kits/kits/project/github/prompts/orient.prompt.md +0 -150
- lite_kits/kits/project/github/prompts/review.prompt.md +0 -112
- lite_kits/kits/project/github/prompts/stats.prompt.md +0 -163
- lite_kits-0.1.1.dist-info/METADATA +0 -447
- lite_kits-0.1.1.dist-info/RECORD +0 -58
- {lite_kits-0.1.1.dist-info → lite_kits-0.3.1.dist-info}/WHEEL +0 -0
- {lite_kits-0.1.1.dist-info → lite_kits-0.3.1.dist-info}/entry_points.txt +0 -0
@@ -1,202 +0,0 @@
|
|
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/git/README.md
DELETED
@@ -1,365 +0,0 @@
|
|
1
|
-
# Git Kit
|
2
|
-
|
3
|
-
**Status**: ✅ Recommended (Default)
|
4
|
-
|
5
|
-
Git workflow automation with smart commits, PR creation, code review, and cleanup operations. Includes ASCII visualization for better readability.
|
6
|
-
|
7
|
-
## What It Adds
|
8
|
-
|
9
|
-
### Commands
|
10
|
-
|
11
|
-
| Command | Claude Code | GitHub Copilot | Description |
|
12
|
-
|---------|-------------|----------------|-------------|
|
13
|
-
| `/commit` | 🚧 | 🚧 | Smart commit with agent attribution |
|
14
|
-
| `/pr` | 🚧 | 🚧 | Create PR with auto-generated description |
|
15
|
-
| `/review` | 🚧 | 🚧 | Review staged changes against best practices |
|
16
|
-
| `/cleanup` | 🚧 | 🚧 | Clean merged branches, stale worktrees |
|
17
|
-
|
18
|
-
🚧 = Coming Soon
|
19
|
-
|
20
|
-
## Installation
|
21
|
-
|
22
|
-
### As part of recommended kits:
|
23
|
-
```bash
|
24
|
-
lite-kits install -Recommended # project + git
|
25
|
-
```
|
26
|
-
|
27
|
-
### Individually:
|
28
|
-
```bash
|
29
|
-
lite-kits install -Kit git
|
30
|
-
```
|
31
|
-
|
32
|
-
## What Gets Installed
|
33
|
-
|
34
|
-
```
|
35
|
-
your-project/
|
36
|
-
├── .claude/commands/ # If Claude Code detected
|
37
|
-
│ ├── commit.md
|
38
|
-
│ ├── pr.md
|
39
|
-
│ ├── review.md
|
40
|
-
│ └── cleanup.md
|
41
|
-
└── .github/prompts/ # If GitHub Copilot detected
|
42
|
-
├── commit.prompt.md
|
43
|
-
├── pr.prompt.md
|
44
|
-
├── review.prompt.md
|
45
|
-
└── cleanup.prompt.md
|
46
|
-
```
|
47
|
-
|
48
|
-
**Note**: Vanilla spec-kit files are **never modified** - only new files are added.
|
49
|
-
|
50
|
-
## Commands
|
51
|
-
|
52
|
-
### `/commit` - Smart Commit (Coming Soon)
|
53
|
-
|
54
|
-
**Purpose**: Generate smart commit messages with agent attribution.
|
55
|
-
|
56
|
-
**What it will do**:
|
57
|
-
1. Run `git status` to see staged files
|
58
|
-
2. Run `git diff --staged` to see changes
|
59
|
-
3. Analyze changes and generate conventional commit message
|
60
|
-
4. Add agent attribution footer
|
61
|
-
5. Execute commit with generated message
|
62
|
-
|
63
|
-
**Example usage** (planned):
|
64
|
-
```
|
65
|
-
/commit
|
66
|
-
|
67
|
-
## Smart Commit
|
68
|
-
|
69
|
-
**Staged files**: 3
|
70
|
-
- src/auth.py (new)
|
71
|
-
- src/models.py (modified)
|
72
|
-
- tests/test_auth.py (new)
|
73
|
-
|
74
|
-
**Changes detected**:
|
75
|
-
- New feature: Authentication system
|
76
|
-
- Added User model
|
77
|
-
- Comprehensive test coverage
|
78
|
-
|
79
|
-
**Suggested commit message**:
|
80
|
-
|
81
|
-
feat: Add user authentication system
|
82
|
-
|
83
|
-
Implements bcrypt password hashing, JWT token generation,
|
84
|
-
and session management. Includes User model and comprehensive
|
85
|
-
tests with 94% coverage.
|
86
|
-
|
87
|
-
via claude-sonnet-4.5 @ claude-code
|
88
|
-
|
89
|
-
**Confirm?** (y/n): y
|
90
|
-
|
91
|
-
[dev/003-auth a1b2c3d] feat: Add user authentication system
|
92
|
-
3 files changed, 247 insertions(+)
|
93
|
-
create mode 100644 src/auth.py
|
94
|
-
create mode 100644 tests/test_auth.py
|
95
|
-
```
|
96
|
-
|
97
|
-
**Benefits**:
|
98
|
-
- Consistent commit message format
|
99
|
-
- Auto-attribution for AI-generated code
|
100
|
-
- Follows conventional commits
|
101
|
-
- Saves time thinking about messages
|
102
|
-
|
103
|
-
---
|
104
|
-
|
105
|
-
### `/review` - Code Review (Coming Soon)
|
106
|
-
|
107
|
-
**Purpose**: Review staged changes against best practices and project standards.
|
108
|
-
|
109
|
-
**What it will do**:
|
110
|
-
1. Run `git diff --staged` to see changes
|
111
|
-
2. Check changes against common best practices
|
112
|
-
3. Identify potential code smells
|
113
|
-
4. Suggest improvements
|
114
|
-
5. Verify consistent formatting
|
115
|
-
6. Check for common issues (hardcoded secrets, TODO comments, etc.)
|
116
|
-
|
117
|
-
**Example usage** (planned):
|
118
|
-
```
|
119
|
-
/review
|
120
|
-
|
121
|
-
## Code Review
|
122
|
-
|
123
|
-
**Staged files**: 3
|
124
|
-
- src/auth.py (new)
|
125
|
-
- src/models.py (modified)
|
126
|
-
- tests/test_auth.py (new)
|
127
|
-
|
128
|
-
**Analysis**:
|
129
|
-
|
130
|
-
✅ **Good practices**:
|
131
|
-
- Clear function names and docstrings
|
132
|
-
- Comprehensive test coverage (94%)
|
133
|
-
- Type hints used throughout
|
134
|
-
- No hardcoded credentials
|
135
|
-
|
136
|
-
⚠ **Suggestions**:
|
137
|
-
- src/auth.py:45: Consider extracting hash_password to utils
|
138
|
-
- src/models.py:12: TODO comment should be tracked in issue
|
139
|
-
- tests/test_auth.py: Add edge case for empty passwords
|
140
|
-
|
141
|
-
**Overall**: Ready to commit with minor suggestions
|
142
|
-
|
143
|
-
**Approve?** (y/n): y
|
144
|
-
```
|
145
|
-
|
146
|
-
**Benefits**:
|
147
|
-
- Catch issues before committing
|
148
|
-
- Consistent code quality
|
149
|
-
- Learn best practices
|
150
|
-
- Agent-to-agent code review support
|
151
|
-
|
152
|
-
---
|
153
|
-
|
154
|
-
### `/pr` - Create Pull Request (Coming Soon)
|
155
|
-
|
156
|
-
**Purpose**: Create PR with auto-generated description from commits.
|
157
|
-
|
158
|
-
**What it will do**:
|
159
|
-
1. Check current branch against base (main/develop)
|
160
|
-
2. List all commits that will be in PR
|
161
|
-
3. Analyze changes across all commits
|
162
|
-
4. Generate PR title and description
|
163
|
-
5. Create PR using `gh pr create`
|
164
|
-
|
165
|
-
**Example usage** (planned):
|
166
|
-
```
|
167
|
-
/pr
|
168
|
-
|
169
|
-
## Create Pull Request
|
170
|
-
|
171
|
-
**Branch**: dev/003-auth → main
|
172
|
-
**Commits**: 5
|
173
|
-
|
174
|
-
**Changes summary**:
|
175
|
-
- Added authentication system (bcrypt + JWT)
|
176
|
-
- Created User model with validation
|
177
|
-
- Added login/logout API endpoints
|
178
|
-
- Comprehensive test suite (94% coverage)
|
179
|
-
- Updated API documentation
|
180
|
-
|
181
|
-
**Generated PR**:
|
182
|
-
|
183
|
-
Title: feat: Add user authentication system
|
184
|
-
|
185
|
-
Body:
|
186
|
-
## Summary
|
187
|
-
- Implements bcrypt password hashing
|
188
|
-
- JWT token generation and validation
|
189
|
-
- Session management
|
190
|
-
- User model with SQLAlchemy
|
191
|
-
|
192
|
-
## Changes
|
193
|
-
- `src/auth.py` - Authentication logic
|
194
|
-
- `src/models.py` - User model
|
195
|
-
- `src/api/auth_routes.py` - Login/logout endpoints
|
196
|
-
- `tests/test_auth.py` - Test suite (94% coverage)
|
197
|
-
|
198
|
-
## Test Plan
|
199
|
-
- [x] Unit tests passing (24/24)
|
200
|
-
- [x] Manual testing of login flow
|
201
|
-
- [x] Password validation tested
|
202
|
-
- [ ] Security review pending
|
203
|
-
|
204
|
-
## Related
|
205
|
-
- Implements: specs/003-user-auth/spec.md
|
206
|
-
- Closes: #42
|
207
|
-
|
208
|
-
🤖 Generated with spec-kit-multiagent
|
209
|
-
via claude-sonnet-4.5 @ claude-code
|
210
|
-
|
211
|
-
**Create PR?** (y/n): y
|
212
|
-
|
213
|
-
✓ Pull request created: https://github.com/user/repo/pull/15
|
214
|
-
```
|
215
|
-
|
216
|
-
---
|
217
|
-
|
218
|
-
### `/cleanup` - Git Cleanup (Coming Soon)
|
219
|
-
|
220
|
-
**Purpose**: Clean up merged branches, stale worktrees, and old features.
|
221
|
-
|
222
|
-
**What it will do**:
|
223
|
-
1. Detect merged branches (local and remote)
|
224
|
-
2. Find stale worktrees
|
225
|
-
3. Identify old feature directories in `specs/`
|
226
|
-
4. Suggest safe cleanup actions
|
227
|
-
5. Execute cleanup with confirmation
|
228
|
-
|
229
|
-
**Example usage** (planned):
|
230
|
-
```
|
231
|
-
/cleanup
|
232
|
-
|
233
|
-
## Git Cleanup
|
234
|
-
|
235
|
-
**Merged branches** (safe to delete):
|
236
|
-
- dev/001-init (merged 2 weeks ago)
|
237
|
-
- dev/002-blog (merged 1 week ago)
|
238
|
-
- feature/old-experiment (merged 3 months ago)
|
239
|
-
|
240
|
-
**Stale worktrees**:
|
241
|
-
- ../blog-backend (branch merged, worktree orphaned)
|
242
|
-
|
243
|
-
**Old feature specs**:
|
244
|
-
- specs/001-init/ (merged, archived?)
|
245
|
-
|
246
|
-
**Cleanup plan**:
|
247
|
-
1. Delete 3 merged local branches
|
248
|
-
2. Delete 2 merged remote branches
|
249
|
-
3. Remove 1 stale worktree
|
250
|
-
4. Suggest archiving specs/001-init/
|
251
|
-
|
252
|
-
**Disk space freed**: ~45 MB
|
253
|
-
|
254
|
-
**Proceed?** (y/n): y
|
255
|
-
|
256
|
-
✓ Deleted branch dev/001-init
|
257
|
-
✓ Deleted branch dev/002-blog
|
258
|
-
✓ Deleted branch feature/old-experiment
|
259
|
-
✓ Deleted remote branch origin/dev/001-init
|
260
|
-
✓ Removed stale worktree ../blog-backend
|
261
|
-
⚠ Manual action: Archive specs/001-init/ to specs/.archive/
|
262
|
-
|
263
|
-
**Cleanup complete!**
|
264
|
-
```
|
265
|
-
|
266
|
-
---
|
267
|
-
|
268
|
-
## ASCII Visualization Examples
|
269
|
-
|
270
|
-
Git-kit emphasizes visual output because AI agents are good at generating ASCII art and it makes git status much easier to understand.
|
271
|
-
|
272
|
-
### Branch Relationships
|
273
|
-
```
|
274
|
-
main ──────────┬──────────> origin/main (synced)
|
275
|
-
│
|
276
|
-
├─ develop ──> origin/develop (2 ahead, 1 behind)
|
277
|
-
│ ↕ PULL & PUSH NEEDED
|
278
|
-
│ │
|
279
|
-
│ ├─ dev/001-kits (current, 3 ahead)
|
280
|
-
│ │ ↑ PUSH NEEDED
|
281
|
-
│ │
|
282
|
-
│ └─ dev/002-examples (merged)
|
283
|
-
│ 🗑 CAN DELETE
|
284
|
-
│
|
285
|
-
└─ hotfix/security (1 ahead)
|
286
|
-
⚠ URGENT PUSH
|
287
|
-
```
|
288
|
-
|
289
|
-
### Commit Graph
|
290
|
-
```
|
291
|
-
Commits ahead of main:
|
292
|
-
|
293
|
-
* e5f6g7h (HEAD) fix: Resolve merge conflict
|
294
|
-
│
|
295
|
-
* d4e5f6g docs: Update README
|
296
|
-
│
|
297
|
-
* c3d4e5f test: Add auth tests
|
298
|
-
│
|
299
|
-
* b2c3d4e feat: Add User model
|
300
|
-
│
|
301
|
-
* a1b2c3d feat: Add auth system
|
302
|
-
│
|
303
|
-
o ─────── (origin/main)
|
304
|
-
```
|
305
|
-
|
306
|
-
---
|
307
|
-
|
308
|
-
## Use Cases
|
309
|
-
|
310
|
-
### Daily Development
|
311
|
-
**Use**: `/review` before committing, `/commit` for every commit
|
312
|
-
|
313
|
-
### Before Creating PR
|
314
|
-
**Use**: `/review` final check, `/pr` to create pull request
|
315
|
-
|
316
|
-
### Weekly Maintenance
|
317
|
-
**Use**: `/cleanup` to remove merged branches and free up space
|
318
|
-
|
319
|
-
### Multi-Agent Projects
|
320
|
-
**Combine with**: multiagent-kit for coordination and `/sync` command
|
321
|
-
**Use**: `/review` for agent-to-agent code review
|
322
|
-
|
323
|
-
---
|
324
|
-
|
325
|
-
## Dependencies
|
326
|
-
|
327
|
-
**None** - git-kit is standalone.
|
328
|
-
|
329
|
-
**Requires**: Git 2.0+, optionally `gh` CLI for `/pr` command
|
330
|
-
|
331
|
-
**Recommended with**: multiagent-kit (for worktree visualization)
|
332
|
-
|
333
|
-
---
|
334
|
-
|
335
|
-
## Compatibility
|
336
|
-
|
337
|
-
- ✅ **Agents**: Claude Code, GitHub Copilot
|
338
|
-
- ✅ **Platforms**: Linux, macOS, Windows
|
339
|
-
- ✅ **Shells**: Bash, PowerShell (ASCII works in both!)
|
340
|
-
- ✅ **Vanilla safe**: Only adds new files, never modifies existing
|
341
|
-
|
342
|
-
---
|
343
|
-
|
344
|
-
## Uninstall
|
345
|
-
|
346
|
-
```bash
|
347
|
-
lite-kits remove -Kit git
|
348
|
-
```
|
349
|
-
|
350
|
-
Removes:
|
351
|
-
- `.claude/commands/{commit,pr,review,cleanup}.md`
|
352
|
-
- `.github/prompts/{commit,pr,review,cleanup}.prompt.md`
|
353
|
-
|
354
|
-
---
|
355
|
-
|
356
|
-
## Future Enhancements
|
357
|
-
|
358
|
-
Considering for git-kit:
|
359
|
-
- `/rebase` - Interactive rebase helper
|
360
|
-
- `/stash` - Stash management with visualization
|
361
|
-
- `/blame` - Enhanced git blame with agent attribution
|
362
|
-
- `/conflicts` - Merge conflict resolver helper
|
363
|
-
- `/bisect` - Git bisect helper for finding bugs
|
364
|
-
|
365
|
-
Suggest more in [GitHub Discussions](https://github.com/tmorgan181/spec-kit-multiagent-lite/discussions).
|