bobo-ai-cli 1.0.2 → 1.2.0
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/bundled-skills/Skill_Seekers/SKILL.md +1722 -0
- package/bundled-skills/ab-test-setup/SKILL.md +557 -0
- package/bundled-skills/adversarial-verification/SKILL.md +95 -0
- package/bundled-skills/agent-sdk-dev/SKILL.md +238 -0
- package/bundled-skills/agent-tools/SKILL.md +136 -0
- package/bundled-skills/analytics-tracking/SKILL.md +597 -0
- package/bundled-skills/artifacts-builder/SKILL.md +89 -0
- package/bundled-skills/asana/SKILL.md +13 -0
- package/bundled-skills/backend-expert/SKILL.md +97 -0
- package/bundled-skills/brand-voice/SKILL.md +481 -0
- package/bundled-skills/browser-use/SKILL.md +419 -0
- package/bundled-skills/cache-optimization-skill/SKILL.md +179 -0
- package/bundled-skills/canvas-design/SKILL.md +147 -0
- package/bundled-skills/citation-validator/SKILL.md +203 -0
- package/bundled-skills/clangd-lsp/SKILL.md +52 -0
- package/bundled-skills/code-review/SKILL.md +280 -0
- package/bundled-skills/code-review-expert/SKILL.md +85 -0
- package/bundled-skills/code-simplifier/SKILL.md +13 -0
- package/bundled-skills/commit-commands/SKILL.md +258 -0
- package/bundled-skills/competitor-alternatives/SKILL.md +795 -0
- package/bundled-skills/content-atomizer/SKILL.md +910 -0
- package/bundled-skills/content-research-writer/SKILL.md +605 -0
- package/bundled-skills/context-budget-analyzer/SKILL.md +76 -0
- package/bundled-skills/context-compressor/SKILL.md +75 -0
- package/bundled-skills/context-optimization-suite/SKILL.md +162 -0
- package/bundled-skills/context7/SKILL.md +13 -0
- package/bundled-skills/copy-editing/SKILL.md +494 -0
- package/bundled-skills/copywriting/SKILL.md +510 -0
- package/bundled-skills/csharp-lsp/SKILL.md +40 -0
- package/bundled-skills/decision-making-framework/SKILL.md +154 -0
- package/bundled-skills/deep-research/SKILL.md +236 -0
- package/bundled-skills/developer-growth-analysis/SKILL.md +335 -0
- package/bundled-skills/direct-response-copy/SKILL.md +2336 -0
- package/bundled-skills/docker-expert/SKILL.md +229 -0
- package/bundled-skills/document-skills/SKILL.md +13 -0
- package/bundled-skills/documentation-expert/SKILL.md +126 -0
- package/bundled-skills/email-sequence/SKILL.md +1061 -0
- package/bundled-skills/email-sequences/SKILL.md +910 -0
- package/bundled-skills/example-plugin/SKILL.md +72 -0
- package/bundled-skills/explanatory-output-style/SKILL.md +82 -0
- package/bundled-skills/feature-dev/SKILL.md +458 -0
- package/bundled-skills/file-organizer/SKILL.md +466 -0
- package/bundled-skills/firebase.disabled/SKILL.md +13 -0
- package/bundled-skills/form-cro/SKILL.md +488 -0
- package/bundled-skills/free-tool-strategy/SKILL.md +636 -0
- package/bundled-skills/frontend-design/SKILL.md +41 -0
- package/bundled-skills/frontend-design-offical/SKILL.md +55 -0
- package/bundled-skills/frontend-expert/SKILL.md +93 -0
- package/bundled-skills/github/SKILL.md +13 -0
- package/bundled-skills/gitlab/SKILL.md +13 -0
- package/bundled-skills/gopls-lsp/SKILL.md +32 -0
- package/bundled-skills/got-controller/SKILL.md +218 -0
- package/bundled-skills/greptile/SKILL.md +72 -0
- package/bundled-skills/high-agency/SKILL.md +473 -0
- package/bundled-skills/high-agency/references/builder-patterns.md +126 -0
- package/bundled-skills/high-agency/references/recovery-playbook.md +298 -0
- package/bundled-skills/hookify/SKILL.md +376 -0
- package/bundled-skills/image-editor/SKILL.md +189 -0
- package/bundled-skills/image-enhancer/SKILL.md +109 -0
- package/bundled-skills/jdtls-lsp/SKILL.md +49 -0
- package/bundled-skills/json-canvas/SKILL.md +654 -0
- package/bundled-skills/keyword-research/SKILL.md +559 -0
- package/bundled-skills/kotlin-lsp/SKILL.md +28 -0
- package/bundled-skills/laravel-boost/SKILL.md +13 -0
- package/bundled-skills/launch-strategy/SKILL.md +394 -0
- package/bundled-skills/lead-magnet/SKILL.md +393 -0
- package/bundled-skills/learning-output-style/SKILL.md +106 -0
- package/bundled-skills/linear/SKILL.md +13 -0
- package/bundled-skills/lua-lsp/SKILL.md +47 -0
- package/bundled-skills/marketing-ideas/SKILL.md +720 -0
- package/bundled-skills/marketing-psychology/SKILL.md +534 -0
- package/bundled-skills/mcp-builder/SKILL.md +369 -0
- package/bundled-skills/meeting-insights-analyzer/SKILL.md +347 -0
- package/bundled-skills/memory-evolution-system/SKILL.md +172 -0
- package/bundled-skills/memory-manager/SKILL.md +214 -0
- package/bundled-skills/memory-manager/references/advanced-config.md +65 -0
- package/bundled-skills/multi-lens-thinking/SKILL.md +407 -0
- package/bundled-skills/nano-banana-pro/SKILL.md +116 -0
- package/bundled-skills/newsletter/SKILL.md +736 -0
- package/bundled-skills/notebooklm/SKILL.md +296 -0
- package/bundled-skills/obsidian-bases/SKILL.md +634 -0
- package/bundled-skills/obsidian-markdown/SKILL.md +651 -0
- package/bundled-skills/onboarding-cro/SKILL.md +494 -0
- package/bundled-skills/orchestrator/SKILL.md +681 -0
- package/bundled-skills/page-cro/SKILL.md +379 -0
- package/bundled-skills/paid-ads/SKILL.md +624 -0
- package/bundled-skills/paywall-upgrade-cro/SKILL.md +651 -0
- package/bundled-skills/php-lsp/SKILL.md +36 -0
- package/bundled-skills/planning-with-files/SKILL.md +193 -0
- package/bundled-skills/playwright/SKILL.md +13 -0
- package/bundled-skills/plugin-dev/SKILL.md +434 -0
- package/bundled-skills/popup-cro/SKILL.md +520 -0
- package/bundled-skills/positioning-angles/SKILL.md +330 -0
- package/bundled-skills/pr-review-toolkit/SKILL.md +359 -0
- package/bundled-skills/pricing-strategy/SKILL.md +777 -0
- package/bundled-skills/proactive-self-improving/SKILL.md +435 -0
- package/bundled-skills/programmatic-seo/SKILL.md +714 -0
- package/bundled-skills/pyright-lsp/SKILL.md +43 -0
- package/bundled-skills/quality-assurance-framework/SKILL.md +168 -0
- package/bundled-skills/question-refiner/SKILL.md +160 -0
- package/bundled-skills/ralph-loop/SKILL.md +205 -0
- package/bundled-skills/refactoring-expert/SKILL.md +103 -0
- package/bundled-skills/referral-program/SKILL.md +668 -0
- package/bundled-skills/research-executor/SKILL.md +164 -0
- package/bundled-skills/review-with-security/SKILL.md +12 -0
- package/bundled-skills/rust-analyzer-lsp/SKILL.md +50 -0
- package/bundled-skills/schema-markup/SKILL.md +647 -0
- package/bundled-skills/security-audit-expert/SKILL.md +124 -0
- package/bundled-skills/security-expert/SKILL.md +140 -0
- package/bundled-skills/security-guidance/SKILL.md +13 -0
- package/bundled-skills/seedance-prompt/SKILL.md +139 -0
- package/bundled-skills/self-evolution/SKILL.md +1160 -0
- package/bundled-skills/seo-audit/SKILL.md +432 -0
- package/bundled-skills/seo-content/SKILL.md +787 -0
- package/bundled-skills/serena/SKILL.md +13 -0
- package/bundled-skills/signup-flow-cro/SKILL.md +409 -0
- package/bundled-skills/skill-creator/SKILL.md +220 -0
- package/bundled-skills/skill-manager/SKILL.md +226 -0
- package/bundled-skills/skill-share/SKILL.md +98 -0
- package/bundled-skills/slack/SKILL.md +13 -0
- package/bundled-skills/social-content/SKILL.md +878 -0
- package/bundled-skills/spec-flow-skill/SKILL.md +124 -0
- package/bundled-skills/stripe/SKILL.md +13 -0
- package/bundled-skills/supabase/SKILL.md +13 -0
- package/bundled-skills/swift-lsp/SKILL.md +40 -0
- package/bundled-skills/synthesizer/SKILL.md +236 -0
- package/bundled-skills/template-skill/SKILL.md +16 -0
- package/bundled-skills/testing-expert/SKILL.md +99 -0
- package/bundled-skills/theme-factory/SKILL.md +72 -0
- package/bundled-skills/tiktok-research/SKILL.md +208 -0
- package/bundled-skills/typescript-lsp/SKILL.md +36 -0
- package/bundled-skills/ui-ux-pro-max/SKILL.md +247 -0
- package/bundled-skills/verify/SKILL.md +15 -0
- package/bundled-skills/visual-prompt-engineer/SKILL.md +102 -0
- package/bundled-skills/webapp-testing/SKILL.md +111 -0
- package/bundled-skills/wide-research/SKILL.md +191 -0
- package/dist/agent.d.ts +4 -0
- package/dist/agent.js +42 -11
- package/dist/agent.js.map +1 -1
- package/dist/config.js +10 -1
- package/dist/config.js.map +1 -1
- package/dist/index.js +340 -10
- package/dist/index.js.map +1 -1
- package/dist/insight.d.ts +5 -0
- package/dist/insight.js +80 -0
- package/dist/insight.js.map +1 -0
- package/dist/sessions.d.ts +29 -0
- package/dist/sessions.js +106 -0
- package/dist/sessions.js.map +1 -0
- package/dist/skills.d.ts +6 -2
- package/dist/skills.js +33 -6
- package/dist/skills.js.map +1 -1
- package/dist/spinner.d.ts +14 -0
- package/dist/spinner.js +38 -0
- package/dist/spinner.js.map +1 -0
- package/dist/sub-agent-runner.d.ts +6 -0
- package/dist/sub-agent-runner.js +37 -0
- package/dist/sub-agent-runner.js.map +1 -0
- package/dist/sub-agents.d.ts +30 -0
- package/dist/sub-agents.js +112 -0
- package/dist/sub-agents.js.map +1 -0
- package/dist/ui.d.ts +2 -1
- package/dist/ui.js +37 -27
- package/dist/ui.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "code-review-expert"
|
|
3
|
+
title: "Code Review Expert"
|
|
4
|
+
category: "dev-tools"
|
|
5
|
+
tags: ["code review expert", "review focus areas", "review output format", "summary", "critical issues 🔴", "warnings ⚠️", "suggestions 💡", "positive aspects ✅", "guidelines"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/code-review-expert"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
name: code-review-expert
|
|
13
|
+
description: Comprehensive code review skill that analyzes code quality, identifies issues, and suggests improvements
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Code Review Expert
|
|
17
|
+
|
|
18
|
+
You are an expert code reviewer with deep knowledge of software engineering best practices, design patterns, and clean code principles.
|
|
19
|
+
|
|
20
|
+
## Review Focus Areas
|
|
21
|
+
|
|
22
|
+
When reviewing code, analyze the following aspects:
|
|
23
|
+
|
|
24
|
+
### 1. Code Quality
|
|
25
|
+
|
|
26
|
+
- Readability and clarity
|
|
27
|
+
- Naming conventions (variables, functions, classes)
|
|
28
|
+
- Code organization and structure
|
|
29
|
+
- Comments and documentation
|
|
30
|
+
|
|
31
|
+
### 2. Logic and Correctness
|
|
32
|
+
|
|
33
|
+
- Algorithm correctness
|
|
34
|
+
- Edge case handling
|
|
35
|
+
- Error handling and validation
|
|
36
|
+
- Null/undefined safety
|
|
37
|
+
|
|
38
|
+
### 3. Performance
|
|
39
|
+
|
|
40
|
+
- Time complexity
|
|
41
|
+
- Space complexity
|
|
42
|
+
- Unnecessary computations
|
|
43
|
+
- Memory leaks potential
|
|
44
|
+
|
|
45
|
+
### 4. Security
|
|
46
|
+
|
|
47
|
+
- Input validation
|
|
48
|
+
- SQL injection vulnerabilities
|
|
49
|
+
- XSS vulnerabilities
|
|
50
|
+
- Sensitive data exposure
|
|
51
|
+
|
|
52
|
+
### 5. Maintainability
|
|
53
|
+
|
|
54
|
+
- DRY (Don't Repeat Yourself)
|
|
55
|
+
- SOLID principles
|
|
56
|
+
- Coupling and cohesion
|
|
57
|
+
- Testability
|
|
58
|
+
|
|
59
|
+
## Review Output Format
|
|
60
|
+
|
|
61
|
+
Provide feedback in the following structure:
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
## Summary
|
|
65
|
+
[Brief overview of the code and overall assessment]
|
|
66
|
+
|
|
67
|
+
## Critical Issues 🔴
|
|
68
|
+
[Issues that must be fixed]
|
|
69
|
+
|
|
70
|
+
## Warnings ⚠️
|
|
71
|
+
[Issues that should be addressed]
|
|
72
|
+
|
|
73
|
+
## Suggestions 💡
|
|
74
|
+
[Improvements that would enhance the code]
|
|
75
|
+
|
|
76
|
+
## Positive Aspects ✅
|
|
77
|
+
[What the code does well]
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Guidelines
|
|
81
|
+
|
|
82
|
+
- Be constructive and specific
|
|
83
|
+
- Provide code examples for suggested changes
|
|
84
|
+
- Explain the reasoning behind each suggestion
|
|
85
|
+
- Prioritize issues by severity
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "code-simplifier"
|
|
3
|
+
title: "code-simplifier"
|
|
4
|
+
category: "dev-tools"
|
|
5
|
+
tags: ["code-simplifier"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/code-simplifier"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# code-simplifier
|
|
12
|
+
|
|
13
|
+
Skill directory: code-simplifier
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "commit-commands"
|
|
3
|
+
title: "Commit Commands Plugin"
|
|
4
|
+
category: "dev-tools"
|
|
5
|
+
tags: ["commit commands plugin", "overview", "commands", "review your changes", "stage the files", "show you the commit status", "make your changes"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/commit-commands"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Commit Commands Plugin
|
|
12
|
+
|
|
13
|
+
Streamline your git workflow with simple commands for committing, pushing, and creating pull requests.
|
|
14
|
+
|
|
15
|
+
## Overview
|
|
16
|
+
|
|
17
|
+
The Commit Commands Plugin automates common git operations, reducing context switching and manual command execution. Instead of running multiple git commands, use a single slash command to handle your entire workflow.
|
|
18
|
+
|
|
19
|
+
## Commands
|
|
20
|
+
|
|
21
|
+
### `/commit`
|
|
22
|
+
|
|
23
|
+
Creates a git commit with an automatically generated commit message based on staged and unstaged changes.
|
|
24
|
+
|
|
25
|
+
**What it does:**
|
|
26
|
+
|
|
27
|
+
1. Analyzes current git status
|
|
28
|
+
2. Reviews both staged and unstaged changes
|
|
29
|
+
3. Examines recent commit messages to match your repository's style
|
|
30
|
+
4. Drafts an appropriate commit message
|
|
31
|
+
5. Stages relevant files
|
|
32
|
+
6. Creates the commit
|
|
33
|
+
|
|
34
|
+
**Usage:**
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
/commit
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Example workflow:**
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Make some changes to your code
|
|
44
|
+
# Then simply run:
|
|
45
|
+
/commit
|
|
46
|
+
|
|
47
|
+
# Claude will:
|
|
48
|
+
# - Review your changes
|
|
49
|
+
# - Stage the files
|
|
50
|
+
# - Create a commit with an appropriate message
|
|
51
|
+
# - Show you the commit status
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Features:**
|
|
55
|
+
|
|
56
|
+
- Automatically drafts commit messages that match your repo's style
|
|
57
|
+
- Follows conventional commit practices
|
|
58
|
+
- Avoids committing files with secrets (.env, credentials.json)
|
|
59
|
+
- Includes Claude Code attribution in commit message
|
|
60
|
+
|
|
61
|
+
### `/commit-push-pr`
|
|
62
|
+
|
|
63
|
+
Complete workflow command that commits, pushes, and creates a pull request in one step.
|
|
64
|
+
|
|
65
|
+
**What it does:**
|
|
66
|
+
|
|
67
|
+
1. Creates a new branch (if currently on main)
|
|
68
|
+
2. Stages and commits changes with an appropriate message
|
|
69
|
+
3. Pushes the branch to origin
|
|
70
|
+
4. Creates a pull request using `gh pr create`
|
|
71
|
+
5. Provides the PR URL
|
|
72
|
+
|
|
73
|
+
**Usage:**
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
/commit-push-pr
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Example workflow:**
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# Make your changes
|
|
83
|
+
# Then run:
|
|
84
|
+
/commit-push-pr
|
|
85
|
+
|
|
86
|
+
# Claude will:
|
|
87
|
+
# - Create a feature branch (if needed)
|
|
88
|
+
# - Commit your changes
|
|
89
|
+
# - Push to remote
|
|
90
|
+
# - Open a PR with summary and test plan
|
|
91
|
+
# - Give you the PR URL to review
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**Features:**
|
|
95
|
+
|
|
96
|
+
- Analyzes all commits in the branch (not just the latest)
|
|
97
|
+
- Creates comprehensive PR descriptions with:
|
|
98
|
+
- Summary of changes (1-3 bullet points)
|
|
99
|
+
- Test plan checklist
|
|
100
|
+
- Claude Code attribution
|
|
101
|
+
- Handles branch creation automatically
|
|
102
|
+
- Uses GitHub CLI (`gh`) for PR creation
|
|
103
|
+
|
|
104
|
+
**Requirements:**
|
|
105
|
+
|
|
106
|
+
- GitHub CLI (`gh`) must be installed and authenticated
|
|
107
|
+
- Repository must have a remote named `origin`
|
|
108
|
+
|
|
109
|
+
### `/clean_gone`
|
|
110
|
+
|
|
111
|
+
Cleans up local branches that have been deleted from the remote repository.
|
|
112
|
+
|
|
113
|
+
**What it does:**
|
|
114
|
+
|
|
115
|
+
1. Lists all local branches to identify [gone] status
|
|
116
|
+
2. Identifies and removes worktrees associated with [gone] branches
|
|
117
|
+
3. Deletes all branches marked as [gone]
|
|
118
|
+
4. Provides feedback on removed branches
|
|
119
|
+
|
|
120
|
+
**Usage:**
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
/clean_gone
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
**Example workflow:**
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
# After PRs are merged and remote branches are deleted
|
|
130
|
+
/clean_gone
|
|
131
|
+
|
|
132
|
+
# Claude will:
|
|
133
|
+
# - Find all branches marked as [gone]
|
|
134
|
+
# - Remove any associated worktrees
|
|
135
|
+
# - Delete the stale local branches
|
|
136
|
+
# - Report what was cleaned up
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
**Features:**
|
|
140
|
+
|
|
141
|
+
- Handles both regular branches and worktree branches
|
|
142
|
+
- Safely removes worktrees before deleting branches
|
|
143
|
+
- Shows clear feedback about what was removed
|
|
144
|
+
- Reports if no cleanup was needed
|
|
145
|
+
|
|
146
|
+
**When to use:**
|
|
147
|
+
|
|
148
|
+
- After merging and deleting remote branches
|
|
149
|
+
- When your local branch list is cluttered with stale branches
|
|
150
|
+
- During regular repository maintenance
|
|
151
|
+
|
|
152
|
+
## Installation
|
|
153
|
+
|
|
154
|
+
This plugin is included in the Claude Code repository. The commands are automatically available when using Claude Code.
|
|
155
|
+
|
|
156
|
+
## Best Practices
|
|
157
|
+
|
|
158
|
+
### Using `/commit`
|
|
159
|
+
|
|
160
|
+
- Review the staged changes before committing
|
|
161
|
+
- Let Claude analyze your changes and match your repo's commit style
|
|
162
|
+
- Trust the automated message, but verify it's accurate
|
|
163
|
+
- Use for routine commits during development
|
|
164
|
+
|
|
165
|
+
### Using `/commit-push-pr`
|
|
166
|
+
|
|
167
|
+
- Use when you're ready to create a PR
|
|
168
|
+
- Ensure all your changes are complete and tested
|
|
169
|
+
- Claude will analyze the full branch history for the PR description
|
|
170
|
+
- Review the PR description and edit if needed
|
|
171
|
+
- Use when you want to minimize context switching
|
|
172
|
+
|
|
173
|
+
### Using `/clean_gone`
|
|
174
|
+
|
|
175
|
+
- Run periodically to keep your branch list clean
|
|
176
|
+
- Especially useful after merging multiple PRs
|
|
177
|
+
- Safe to run - only removes branches already deleted remotely
|
|
178
|
+
- Helps maintain a tidy local repository
|
|
179
|
+
|
|
180
|
+
## Workflow Integration
|
|
181
|
+
|
|
182
|
+
### Quick commit workflow:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
# Write code
|
|
186
|
+
/commit
|
|
187
|
+
# Continue development
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Feature branch workflow:
|
|
191
|
+
|
|
192
|
+
```bash
|
|
193
|
+
# Develop feature across multiple commits
|
|
194
|
+
/commit # First commit
|
|
195
|
+
# More changes
|
|
196
|
+
/commit # Second commit
|
|
197
|
+
# Ready to create PR
|
|
198
|
+
/commit-push-pr
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Maintenance workflow:
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
# After several PRs are merged
|
|
205
|
+
/clean_gone
|
|
206
|
+
# Clean workspace ready for next feature
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
## Requirements
|
|
210
|
+
|
|
211
|
+
- Git must be installed and configured
|
|
212
|
+
- For `/commit-push-pr`: GitHub CLI (`gh`) must be installed and authenticated
|
|
213
|
+
- Repository must be a git repository with a remote
|
|
214
|
+
|
|
215
|
+
## Troubleshooting
|
|
216
|
+
|
|
217
|
+
### `/commit` creates empty commit
|
|
218
|
+
|
|
219
|
+
**Issue**: No changes to commit
|
|
220
|
+
|
|
221
|
+
**Solution**:
|
|
222
|
+
|
|
223
|
+
- Ensure you have unstaged or staged changes
|
|
224
|
+
- Run `git status` to verify changes exist
|
|
225
|
+
|
|
226
|
+
### `/commit-push-pr` fails to create PR
|
|
227
|
+
|
|
228
|
+
**Issue**: `gh pr create` command fails
|
|
229
|
+
|
|
230
|
+
**Solution**:
|
|
231
|
+
|
|
232
|
+
- Install GitHub CLI: `brew install gh` (macOS) or see [GitHub CLI installation](https://cli.github.com/)
|
|
233
|
+
- Authenticate: `gh auth login`
|
|
234
|
+
- Ensure repository has a GitHub remote
|
|
235
|
+
|
|
236
|
+
### `/clean_gone` doesn't find branches
|
|
237
|
+
|
|
238
|
+
**Issue**: No branches marked as [gone]
|
|
239
|
+
|
|
240
|
+
**Solution**:
|
|
241
|
+
|
|
242
|
+
- Run `git fetch --prune` to update remote tracking
|
|
243
|
+
- Branches must be deleted from the remote to show as [gone]
|
|
244
|
+
|
|
245
|
+
## Tips
|
|
246
|
+
|
|
247
|
+
- **Combine with other tools**: Use `/commit` during development, then `/commit-push-pr` when ready
|
|
248
|
+
- **Let Claude draft messages**: The commit message analysis learns from your repo's style
|
|
249
|
+
- **Regular cleanup**: Run `/clean_gone` weekly to maintain a clean branch list
|
|
250
|
+
- **Review before pushing**: Always review the commit message and changes before pushing
|
|
251
|
+
|
|
252
|
+
## Author
|
|
253
|
+
|
|
254
|
+
Anthropic (support@anthropic.com)
|
|
255
|
+
|
|
256
|
+
## Version
|
|
257
|
+
|
|
258
|
+
1.0.0
|