@codyswann/lisa 1.19.0 → 1.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/all/copy-overwrite/.claude/README.md +7 -1
- package/all/copy-overwrite/.claude/commands/plan/create.md +6 -0
- package/all/copy-overwrite/.claude/commands/plan/implement.md +6 -0
- package/all/copy-overwrite/HUMAN.md +114 -265
- package/all/copy-overwrite/README.md +4 -0
- package/all/deletions.json +18 -0
- package/cdk/copy-overwrite/README.md +4 -0
- package/expo/copy-overwrite/README.md +4 -0
- package/nestjs/copy-overwrite/README.md +4 -0
- package/package.json +4 -2
- package/all/copy-overwrite/.claude/commands/project/add-test-coverage.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/archive.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/bootstrap.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/debrief.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/document.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/execute.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/fix-linter-error.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/implement.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/local-code-review.md +0 -10
- package/all/copy-overwrite/.claude/commands/project/lower-code-complexity.md +0 -9
- package/all/copy-overwrite/.claude/commands/project/plan.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/reduce-max-lines-per-function.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/reduce-max-lines.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/research.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/review.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/setup.md +0 -11
- package/all/copy-overwrite/.claude/commands/project/verify.md +0 -11
- package/all/copy-overwrite/.claude/skills/project-add-test-coverage/SKILL.md +0 -61
- package/all/copy-overwrite/.claude/skills/project-archive/SKILL.md +0 -14
- package/all/copy-overwrite/.claude/skills/project-bootstrap/SKILL.md +0 -33
- package/all/copy-overwrite/.claude/skills/project-debrief/SKILL.md +0 -48
- package/all/copy-overwrite/.claude/skills/project-document/SKILL.md +0 -55
- package/all/copy-overwrite/.claude/skills/project-execute/SKILL.md +0 -72
- package/all/copy-overwrite/.claude/skills/project-fix-linter-error/SKILL.md +0 -70
- package/all/copy-overwrite/.claude/skills/project-implement/SKILL.md +0 -43
- package/all/copy-overwrite/.claude/skills/project-local-code-review/SKILL.md +0 -92
- package/all/copy-overwrite/.claude/skills/project-lower-code-complexity/SKILL.md +0 -65
- package/all/copy-overwrite/.claude/skills/project-plan/SKILL.md +0 -183
- package/all/copy-overwrite/.claude/skills/project-reduce-max-lines/SKILL.md +0 -66
- package/all/copy-overwrite/.claude/skills/project-reduce-max-lines-per-function/SKILL.md +0 -69
- package/all/copy-overwrite/.claude/skills/project-research/SKILL.md +0 -170
- package/all/copy-overwrite/.claude/skills/project-review/SKILL.md +0 -53
- package/all/copy-overwrite/.claude/skills/project-setup/SKILL.md +0 -60
- package/all/copy-overwrite/.claude/skills/project-verify/SKILL.md +0 -46
package/README.md
CHANGED
|
@@ -66,6 +66,10 @@ Or use utility commands:
|
|
|
66
66
|
- `/plan:reduce-max-lines` - Reduce max file lines threshold
|
|
67
67
|
- `/plan:reduce-max-lines-per-function` - Reduce max function lines
|
|
68
68
|
|
|
69
|
+
## Lisa Commands
|
|
70
|
+
|
|
71
|
+
> Ask Claude: "What Lisa commands are available and how do I use them? Read HUMAN.md and give me a summary."
|
|
72
|
+
|
|
69
73
|
## Common Tasks
|
|
70
74
|
|
|
71
75
|
### Code Review
|
|
@@ -115,7 +115,7 @@ Slash commands in `commands/` provide quick actions:
|
|
|
115
115
|
|
|
116
116
|
- `git/` - Git-related commands
|
|
117
117
|
- `jira/` - Jira integration commands
|
|
118
|
-
- `
|
|
118
|
+
- `plan/` - Plan utility commands (test coverage, linting, code review, complexity)
|
|
119
119
|
- `pull-request/` - PR workflow commands
|
|
120
120
|
- `rules/` - Rule management commands
|
|
121
121
|
- `sonarqube/` - Code quality commands
|
|
@@ -128,6 +128,12 @@ Skills in `skills/` provide domain-specific knowledge:
|
|
|
128
128
|
|-------|---------|
|
|
129
129
|
| `jsdoc-best-practices/` | JSDoc documentation standards |
|
|
130
130
|
| `skill-creator/` | Creating new skills |
|
|
131
|
+
| `plan-add-test-coverage/` | Increase test coverage via plan mode |
|
|
132
|
+
| `plan-fix-linter-error/` | Fix ESLint violations via plan mode |
|
|
133
|
+
| `plan-local-code-review/` | Review local branch changes |
|
|
134
|
+
| `plan-lower-code-complexity/` | Reduce cognitive complexity via plan mode |
|
|
135
|
+
| `plan-reduce-max-lines/` | Reduce max file lines via plan mode |
|
|
136
|
+
| `plan-reduce-max-lines-per-function/` | Reduce max function lines via plan mode |
|
|
131
137
|
|
|
132
138
|
See each skill's `SKILL.md` for detailed documentation.
|
|
133
139
|
|
|
@@ -4,45 +4,43 @@ This document describes all available slash commands and the recommended workflo
|
|
|
4
4
|
|
|
5
5
|
## Quick Start Workflow
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Step 1: Create a Spec
|
|
10
|
-
|
|
11
|
-
Create a file inside `specs/` called `<something>.md` and describe what you want Claude to do in as much detail as possible. See any `brief.md` for an example.
|
|
12
|
-
|
|
13
|
-
### Step 2: Bootstrap the Project
|
|
7
|
+
### Step 1: Create a Plan
|
|
14
8
|
|
|
15
9
|
```bash
|
|
16
|
-
/
|
|
10
|
+
/plan:create <description-of-what-you-want>
|
|
17
11
|
```
|
|
18
12
|
|
|
19
13
|
**What happens:**
|
|
20
14
|
|
|
21
|
-
1.
|
|
22
|
-
2.
|
|
23
|
-
3.
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
1. Claude enters plan mode
|
|
16
|
+
2. Researches the codebase and gathers context
|
|
17
|
+
3. Creates a detailed implementation plan with tasks
|
|
18
|
+
4. Presents the plan for your review and approval
|
|
19
|
+
|
|
20
|
+
### Step 2: Review and Approve the Plan
|
|
26
21
|
|
|
27
|
-
|
|
22
|
+
Review the generated plan. You can:
|
|
23
|
+
|
|
24
|
+
- **Approve** the plan to proceed to implementation
|
|
25
|
+
- **Reject** with feedback to refine the approach
|
|
26
|
+
- **Edit** the plan file directly before approving
|
|
27
|
+
|
|
28
|
+
### Step 3: Implement the Plan
|
|
28
29
|
|
|
29
30
|
```bash
|
|
30
|
-
/
|
|
31
|
+
/plan:implement @plans/<plan-file>.md
|
|
31
32
|
```
|
|
32
33
|
|
|
33
34
|
**What happens:**
|
|
34
35
|
|
|
35
|
-
1.
|
|
36
|
-
2.
|
|
37
|
-
3.
|
|
38
|
-
4.
|
|
39
|
-
5. **Verification** (via `/project:verify`): Verifies implementation matches all requirements, documents drift
|
|
40
|
-
6. **Debrief** (via `/project:debrief`): Evaluates findings.md and creates skills or adds rules to .claude/rules/PROJECT_RULES.md
|
|
41
|
-
7. **Archive** (via `/project:archive`): Moves project to projects/archive and submits PR
|
|
36
|
+
1. Reads the plan and creates tasks
|
|
37
|
+
2. Launches parallel subagents to implement tasks
|
|
38
|
+
3. Runs verification commands for each task
|
|
39
|
+
4. Commits changes and submits a PR
|
|
42
40
|
|
|
43
41
|
### Step 4: Address PR Feedback
|
|
44
42
|
|
|
45
|
-
After
|
|
43
|
+
After implementation completes and a PR is submitted, wait for CI/CD and code review to finish. Then:
|
|
46
44
|
|
|
47
45
|
```bash
|
|
48
46
|
/pull-request:review <github-pr-link>
|
|
@@ -59,281 +57,143 @@ After `/project:execute` completes and submits a PR, wait for CI/CD and code rev
|
|
|
59
57
|
|
|
60
58
|
## Command Reference
|
|
61
59
|
|
|
62
|
-
Commands are organized by category.
|
|
63
|
-
|
|
64
|
-
###
|
|
65
|
-
|
|
66
|
-
| Command | Description | Arguments |
|
|
67
|
-
|
|
68
|
-
| `/
|
|
69
|
-
| `/
|
|
70
|
-
| `/
|
|
71
|
-
| `/
|
|
72
|
-
| `/
|
|
73
|
-
| `/
|
|
74
|
-
| `/
|
|
75
|
-
| `/
|
|
76
|
-
| `/project:debrief` | Evaluate findings and create skills or rules from learnings | `<project-directory>` (required) | `/project:execute` |
|
|
77
|
-
| `/project:archive` | Move completed project to projects/archive | `<project-directory>` (required) | `/project:execute` |
|
|
78
|
-
| `/project:local-code-review` | Code review local changes on current branch | `<project-directory>` (required) | `/project:review` |
|
|
79
|
-
| `/project:fix-linter-error` | Fix all violations of a specific ESLint rule | `<eslint-rule-name>` (required) | - |
|
|
80
|
-
| `/project:lower-code-complexity` | Reduce code complexity threshold by 2 and fix violations | none | - |
|
|
81
|
-
| `/project:add-test-coverage` | Increase test coverage to a specified threshold | `<threshold-percentage>` (required) | - |
|
|
82
|
-
| `/project:reduce-max-lines` | Reduce max file lines threshold and fix violations | `<max-lines-value>` (required) | - |
|
|
83
|
-
| `/project:reduce-max-lines-per-function` | Reduce max lines per function threshold and fix violations | `<max-lines-per-function-value>` (required) | - |
|
|
60
|
+
Commands are organized by category.
|
|
61
|
+
|
|
62
|
+
### Plan Commands
|
|
63
|
+
|
|
64
|
+
| Command | Description | Arguments |
|
|
65
|
+
|---------|-------------|-----------|
|
|
66
|
+
| `/plan:create` | Create an implementation plan for a given prompt | `<request>` (required) |
|
|
67
|
+
| `/plan:implement` | Implement a plan | `<plan-file>` (required) |
|
|
68
|
+
| `/plan:local-code-review` | Review local branch changes compared to main | none |
|
|
69
|
+
| `/plan:fix-linter-error` | Fix all violations of one or more ESLint rules | `<rule-1> [rule-2] ...` (required) |
|
|
70
|
+
| `/plan:lower-code-complexity` | Reduce cognitive complexity threshold by 2 and fix violations | none |
|
|
71
|
+
| `/plan:add-test-coverage` | Increase test coverage to a specified threshold | `<threshold-percentage>` (required) |
|
|
72
|
+
| `/plan:reduce-max-lines` | Reduce max file lines threshold and fix violations | `<max-lines-value>` (required) |
|
|
73
|
+
| `/plan:reduce-max-lines-per-function` | Reduce max lines per function threshold and fix violations | `<max-lines-per-function-value>` (required) |
|
|
84
74
|
|
|
85
75
|
### Git Commands
|
|
86
76
|
|
|
87
|
-
| Command | Description | Arguments |
|
|
88
|
-
|
|
89
|
-
| `/git:commit` | Create conventional commits for current changes | `[commit-message-hint]` (optional) |
|
|
90
|
-
| `/git:submit-pr` | Push changes and create or update a pull request | `[pr-title-or-description-hint]` (optional) |
|
|
91
|
-
| `/git:commit-and-submit-pr` | Create commits and submit PR for code review | `[commit-message-hint]` (optional) |
|
|
92
|
-
| `/git:prune` | Remove local branches deleted on remote | none |
|
|
77
|
+
| Command | Description | Arguments |
|
|
78
|
+
|---------|-------------|-----------|
|
|
79
|
+
| `/git:commit` | Create conventional commits for current changes | `[commit-message-hint]` (optional) |
|
|
80
|
+
| `/git:submit-pr` | Push changes and create or update a pull request | `[pr-title-or-description-hint]` (optional) |
|
|
81
|
+
| `/git:commit-and-submit-pr` | Create commits and submit PR for code review | `[commit-message-hint]` (optional) |
|
|
82
|
+
| `/git:prune` | Remove local branches deleted on remote | none |
|
|
93
83
|
|
|
94
84
|
### Pull Request Commands
|
|
95
85
|
|
|
96
|
-
| Command | Description | Arguments |
|
|
97
|
-
|
|
98
|
-
| `/pull-request:review` | Fetch PR review comments and implement fixes | `<github-pr-link>` (required) |
|
|
86
|
+
| Command | Description | Arguments |
|
|
87
|
+
|---------|-------------|-----------|
|
|
88
|
+
| `/pull-request:review` | Fetch PR review comments and implement fixes | `<github-pr-link>` (required) |
|
|
99
89
|
|
|
100
90
|
### Task Commands
|
|
101
91
|
|
|
102
|
-
| Command | Description | Arguments |
|
|
103
|
-
|
|
104
|
-
| `/tasks:load` | Load tasks from a project directory into current session | `<project-name>` (required) |
|
|
105
|
-
| `/tasks:sync` | Sync current session tasks to a project directory | `<project-name>` (required) |
|
|
92
|
+
| Command | Description | Arguments |
|
|
93
|
+
|---------|-------------|-----------|
|
|
94
|
+
| `/tasks:load` | Load tasks from a project directory into current session | `<project-name>` (required) |
|
|
95
|
+
| `/tasks:sync` | Sync current session tasks to a project directory | `<project-name>` (required) |
|
|
106
96
|
|
|
107
|
-
###
|
|
97
|
+
### SonarQube Commands
|
|
108
98
|
|
|
109
|
-
| Command | Description | Arguments |
|
|
110
|
-
|
|
111
|
-
| `/
|
|
112
|
-
| `/
|
|
99
|
+
| Command | Description | Arguments |
|
|
100
|
+
|---------|-------------|-----------|
|
|
101
|
+
| `/sonarqube:check` | Get reason last PR failed SonarQube checks | none |
|
|
102
|
+
| `/sonarqube:fix` | Check SonarQube failures, fix them, and commit | none |
|
|
113
103
|
|
|
114
|
-
###
|
|
104
|
+
### JIRA Commands
|
|
115
105
|
|
|
116
|
-
| Command | Description | Arguments |
|
|
117
|
-
|
|
118
|
-
| `/
|
|
119
|
-
| `/
|
|
106
|
+
| Command | Description | Arguments |
|
|
107
|
+
|---------|-------------|-----------|
|
|
108
|
+
| `/jira:create` | Create JIRA epics/stories/tasks from code files | `<file-or-directory-path> [project-key]` (path required, key optional) |
|
|
109
|
+
| `/jira:verify` | Verify JIRA ticket meets standards for epic relationships | `<TICKET-ID>` (required) |
|
|
120
110
|
|
|
121
111
|
### Lisa Commands
|
|
122
112
|
|
|
123
|
-
| Command | Description | Arguments |
|
|
124
|
-
|
|
125
|
-
| `/lisa:review-project` | Compare Lisa templates against a project's implementation | `<project-path>` (required) |
|
|
126
|
-
| `/lisa:review-implementation` | Compare project files against Lisa templates, offer to upstream | `[lisa-dir]` (optional) |
|
|
113
|
+
| Command | Description | Arguments |
|
|
114
|
+
|---------|-------------|-----------|
|
|
115
|
+
| `/lisa:review-project` | Compare Lisa templates against a project's implementation | `<project-path>` (required) |
|
|
116
|
+
| `/lisa:review-implementation` | Compare project files against Lisa templates, offer to upstream | `[lisa-dir]` (optional) |
|
|
127
117
|
|
|
128
118
|
---
|
|
129
119
|
|
|
130
120
|
## Command Details
|
|
131
121
|
|
|
132
|
-
### `/
|
|
133
|
-
|
|
134
|
-
**Arguments:** `<project-brief-file-or-jira-issue-number>` (required)
|
|
135
|
-
|
|
136
|
-
Orchestrates project initialization in 3 steps:
|
|
137
|
-
|
|
138
|
-
1. **Setup**: Uses Task tool to run `/project:setup` - creates project directory, brief.md, findings.md, git branch
|
|
139
|
-
2. **Research**: Uses Task tool to run `/project:research` - generates research.md with codebase and web findings
|
|
140
|
-
3. **Gap Detection**: Reads research.md and checks "Open Questions" section for unresolved questions
|
|
141
|
-
|
|
142
|
-
**Calls:** `/project:setup` → `/project:research`
|
|
143
|
-
|
|
144
|
-
**Output:**
|
|
145
|
-
- "✅ Bootstrap complete with no gaps - ready for execution" OR
|
|
146
|
-
- "⚠️ Bootstrap complete but needs human review - see Open Questions in research.md"
|
|
147
|
-
|
|
148
|
-
---
|
|
149
|
-
|
|
150
|
-
### `/project:execute`
|
|
151
|
-
|
|
152
|
-
**Arguments:** `<project-directory>` (required)
|
|
153
|
-
|
|
154
|
-
Orchestrates the full implementation workflow. Runs continuously without stopping between steps.
|
|
155
|
-
|
|
156
|
-
**Setup phase:**
|
|
157
|
-
1. Sets active project marker (`.claude-active-project`)
|
|
158
|
-
2. Validates research.md has no unresolved open questions (stops if gaps exist)
|
|
159
|
-
3. Checks if planning already complete (skips to implementation if task files exist)
|
|
160
|
-
|
|
161
|
-
**Execution phase:**
|
|
162
|
-
1. Planning → 2. Implementation → 3. Review → 4. Verification → 5. Debrief → 6. Archive
|
|
163
|
-
|
|
164
|
-
**Calls:** `/project:plan` → `/project:implement` → `/project:review` → `/project:verify` → `/project:debrief` → `/project:archive`
|
|
122
|
+
### `/plan:create`
|
|
165
123
|
|
|
166
|
-
**
|
|
124
|
+
**Arguments:** `<request>` (required)
|
|
167
125
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
### `/project:setup`
|
|
126
|
+
Enters Claude's native plan mode and creates an implementation plan. Claude will:
|
|
171
127
|
|
|
172
|
-
|
|
128
|
+
1. Research the codebase to understand existing patterns and architecture
|
|
129
|
+
2. Create a detailed plan with tasks, dependencies, and verification commands
|
|
130
|
+
3. Present the plan for review and approval
|
|
173
131
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
**Called by:** `/project:bootstrap`
|
|
177
|
-
**Calls:** `/git:commit`
|
|
132
|
+
**Output:** A plan file in `plans/` ready for review.
|
|
178
133
|
|
|
179
134
|
---
|
|
180
135
|
|
|
181
|
-
### `/
|
|
182
|
-
|
|
183
|
-
**Arguments:** `<project-directory>` (required)
|
|
136
|
+
### `/plan:implement`
|
|
184
137
|
|
|
185
|
-
|
|
186
|
-
- **codebase-locator**: Find where files and components live
|
|
187
|
-
- **codebase-analyzer**: Understand how specific code works
|
|
188
|
-
- **codebase-pattern-finder**: Find examples of existing patterns
|
|
189
|
-
- **git-history-analyzer**: Understand file change history
|
|
190
|
-
- **web-search-researcher**: External documentation and resources
|
|
138
|
+
**Arguments:** `<plan-file>` (required)
|
|
191
139
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
**Called by:** `/project:bootstrap`
|
|
195
|
-
**Calls:** `/git:commit`
|
|
140
|
+
Implements the requirements described in the referenced plan file. Creates tasks from the plan and executes them systematically.
|
|
196
141
|
|
|
197
142
|
---
|
|
198
143
|
|
|
199
|
-
### `/
|
|
200
|
-
|
|
201
|
-
**Arguments:** `<project-directory>` (required)
|
|
202
|
-
|
|
203
|
-
Creates a detailed task list using Claude Code's native task tools. Reads brief.md and research.md, validates research has no unanswered questions, discovers applicable skills, and creates tasks with:
|
|
204
|
-
- Subject and activeForm
|
|
205
|
-
- Type (Bug/Task/Epic/Story)
|
|
206
|
-
- Description with acceptance criteria
|
|
207
|
-
- Relevant research excerpts
|
|
208
|
-
- Skills to invoke
|
|
209
|
-
- Implementation details
|
|
210
|
-
- Testing requirements (unit, integration, E2E)
|
|
211
|
-
- Verification command and expected output
|
|
212
|
-
|
|
213
|
-
**Called by:** `/project:execute`
|
|
214
|
-
|
|
215
|
-
---
|
|
216
|
-
|
|
217
|
-
### `/project:implement`
|
|
218
|
-
|
|
219
|
-
**Arguments:** `<project-directory>` (required)
|
|
220
|
-
|
|
221
|
-
Systematically implements all tasks. For each pending, unblocked task:
|
|
222
|
-
1. Marks it in_progress
|
|
223
|
-
2. Retrieves full task details
|
|
224
|
-
3. Launches a subagent with the task description
|
|
225
|
-
4. Subagent runs verification command and confirms expected output
|
|
226
|
-
5. Marks task completed (or keeps in_progress if verification fails)
|
|
227
|
-
6. Checks for newly unblocked tasks
|
|
144
|
+
### `/plan:local-code-review`
|
|
228
145
|
|
|
229
|
-
**
|
|
230
|
-
|
|
231
|
-
---
|
|
232
|
-
|
|
233
|
-
### `/project:review`
|
|
234
|
-
|
|
235
|
-
**Arguments:** `<project-directory>` (required)
|
|
236
|
-
|
|
237
|
-
Performs extensive code review in 5 steps:
|
|
238
|
-
1. **Claude Review**: Runs `/project:local-code-review` (if not already done)
|
|
239
|
-
2. **Implement Claude Fixes**: Fixes suggestions scoring above 45
|
|
240
|
-
3. **CodeRabbit Review**: Runs `coderabbit review --plain` (if not already done)
|
|
241
|
-
4. **Implement CodeRabbit Fixes**: Evaluates and implements valid findings
|
|
242
|
-
5. **Claude Optimizations**: Uses code-simplifier agent to clean up code
|
|
243
|
-
|
|
244
|
-
**Called by:** `/project:execute`
|
|
245
|
-
**Calls:** `/project:local-code-review`
|
|
246
|
-
|
|
247
|
-
---
|
|
248
|
-
|
|
249
|
-
### `/project:local-code-review`
|
|
250
|
-
|
|
251
|
-
**Arguments:** `<project-directory>` (required)
|
|
146
|
+
**Arguments:** none
|
|
252
147
|
|
|
253
148
|
Performs code review on local branch changes using 5 parallel agents:
|
|
149
|
+
|
|
254
150
|
1. CLAUDE.md compliance check
|
|
255
151
|
2. Shallow scan for obvious bugs
|
|
256
152
|
3. Git blame and history context
|
|
257
153
|
4. Previous PR comments that may apply
|
|
258
154
|
5. Code comments compliance
|
|
259
155
|
|
|
260
|
-
Scores issues 0-100 and filters to findings with score
|
|
261
|
-
|
|
262
|
-
**Called by:** `/project:review`
|
|
156
|
+
Scores issues 0-100 and filters to findings with score >= 80.
|
|
263
157
|
|
|
264
158
|
---
|
|
265
159
|
|
|
266
|
-
### `/
|
|
267
|
-
|
|
268
|
-
**Arguments:** `<project-directory>` (required)
|
|
160
|
+
### `/plan:fix-linter-error`
|
|
269
161
|
|
|
270
|
-
|
|
162
|
+
**Arguments:** `<rule-1> [rule-2] [rule-3] ...` (required)
|
|
271
163
|
|
|
272
|
-
|
|
164
|
+
Enables specific ESLint rules, identifies all violations, creates a task for each file (ordered by violation count), and launches parallel subagents to fix them.
|
|
273
165
|
|
|
274
166
|
---
|
|
275
167
|
|
|
276
|
-
### `/
|
|
277
|
-
|
|
278
|
-
**Arguments:** `<project-directory>` (required)
|
|
279
|
-
|
|
280
|
-
Evaluates findings.md and uses skill-evaluator agent to decide where each learning belongs:
|
|
281
|
-
- **CREATE SKILL**: Complex, reusable pattern
|
|
282
|
-
- **ADD TO RULES**: Simple never/always rule for .claude/rules/PROJECT_RULES.md
|
|
283
|
-
- **OMIT ENTIRELY**: Already covered or too project-specific
|
|
284
|
-
|
|
285
|
-
**Called by:** `/project:execute`
|
|
286
|
-
|
|
287
|
-
---
|
|
288
|
-
|
|
289
|
-
### `/project:archive`
|
|
290
|
-
|
|
291
|
-
**Arguments:** `<project-directory>` (required)
|
|
292
|
-
|
|
293
|
-
Moves the completed project to `projects/archive` and submits a PR.
|
|
294
|
-
|
|
295
|
-
**Called by:** `/project:execute`
|
|
296
|
-
**Calls:** `/git:commit-and-submit-pr`
|
|
297
|
-
|
|
298
|
-
---
|
|
299
|
-
|
|
300
|
-
### `/project:fix-linter-error`
|
|
301
|
-
|
|
302
|
-
**Arguments:** `<eslint-rule-name>` (required)
|
|
303
|
-
|
|
304
|
-
Enables a specific ESLint rule, identifies all violations, creates a task for each file (ordered by violation count), and launches up to 5 parallel subagents to fix them.
|
|
305
|
-
|
|
306
|
-
---
|
|
307
|
-
|
|
308
|
-
### `/project:lower-code-complexity`
|
|
168
|
+
### `/plan:lower-code-complexity`
|
|
309
169
|
|
|
310
170
|
**Arguments:** none
|
|
311
171
|
|
|
312
|
-
Lowers the cognitive complexity threshold by 2, identifies all functions exceeding the new limit, creates tasks ordered by complexity score, and launches
|
|
172
|
+
Lowers the cognitive complexity threshold by 2, identifies all functions exceeding the new limit, creates tasks ordered by complexity score, and launches parallel code-simplifier agents to refactor.
|
|
313
173
|
|
|
314
174
|
---
|
|
315
175
|
|
|
316
|
-
### `/
|
|
176
|
+
### `/plan:add-test-coverage`
|
|
317
177
|
|
|
318
178
|
**Arguments:** `<threshold-percentage>` (required)
|
|
319
179
|
|
|
320
|
-
Updates coverage config thresholds, identifies the 20 files with lowest coverage, creates tasks for each, and launches
|
|
180
|
+
Updates coverage config thresholds, identifies the 20 files with lowest coverage, creates tasks for each, and launches parallel test-coverage agents. Iterates until all thresholds meet or exceed the target.
|
|
321
181
|
|
|
322
182
|
---
|
|
323
183
|
|
|
324
|
-
### `/
|
|
184
|
+
### `/plan:reduce-max-lines`
|
|
325
185
|
|
|
326
186
|
**Arguments:** `<max-lines-value>` (required)
|
|
327
187
|
|
|
328
|
-
Reduces the max file lines threshold, identifies all files exceeding the new limit, creates tasks ordered by line count, and launches
|
|
188
|
+
Reduces the max file lines threshold, identifies all files exceeding the new limit, creates tasks ordered by line count, and launches parallel code-simplifier agents. Iterates until all files are under the target.
|
|
329
189
|
|
|
330
190
|
---
|
|
331
191
|
|
|
332
|
-
### `/
|
|
192
|
+
### `/plan:reduce-max-lines-per-function`
|
|
333
193
|
|
|
334
194
|
**Arguments:** `<max-lines-per-function-value>` (required)
|
|
335
195
|
|
|
336
|
-
Reduces the max lines per function threshold, identifies all functions exceeding the new limit, creates tasks ordered by line count, and launches
|
|
196
|
+
Reduces the max lines per function threshold, identifies all functions exceeding the new limit, creates tasks ordered by line count, and launches parallel code-simplifier agents. Iterates until all functions are under the target.
|
|
337
197
|
|
|
338
198
|
---
|
|
339
199
|
|
|
@@ -342,12 +202,13 @@ Reduces the max lines per function threshold, identifies all functions exceeding
|
|
|
342
202
|
**Arguments:** `[commit-message-hint]` (optional)
|
|
343
203
|
|
|
344
204
|
Creates conventional commits for all current changes:
|
|
205
|
+
|
|
345
206
|
1. If on protected branch (dev/staging/main), creates a feature branch
|
|
346
207
|
2. Groups related changes into logical commits
|
|
347
208
|
3. Uses conventional prefixes (feat, fix, chore, docs, style, refactor, test)
|
|
348
209
|
4. Ensures working directory is clean
|
|
349
210
|
|
|
350
|
-
**Called by:** `/
|
|
211
|
+
**Called by:** `/sonarqube:fix`, `/pull-request:review`, `/git:commit-and-submit-pr`
|
|
351
212
|
|
|
352
213
|
---
|
|
353
214
|
|
|
@@ -356,6 +217,7 @@ Creates conventional commits for all current changes:
|
|
|
356
217
|
**Arguments:** `[pr-title-or-description-hint]` (optional)
|
|
357
218
|
|
|
358
219
|
Pushes current branch and creates or updates a pull request:
|
|
220
|
+
|
|
359
221
|
1. Verifies not on protected branch
|
|
360
222
|
2. Ensures all changes committed
|
|
361
223
|
3. Pushes with `-u` flag
|
|
@@ -372,7 +234,7 @@ Pushes current branch and creates or updates a pull request:
|
|
|
372
234
|
|
|
373
235
|
Commits all changes and submits the branch as a PR.
|
|
374
236
|
|
|
375
|
-
**Called by:** `/
|
|
237
|
+
**Called by:** `/pull-request:review`
|
|
376
238
|
**Calls:** `/git:commit` → `/git:submit-pr`
|
|
377
239
|
|
|
378
240
|
---
|
|
@@ -390,6 +252,7 @@ Removes local branches whose upstream tracking branches have been deleted on rem
|
|
|
390
252
|
**Arguments:** `<github-pr-link>` (required)
|
|
391
253
|
|
|
392
254
|
Fetches all review comments on a PR via GitHub CLI, creates a task for each unresolved comment with instructions to:
|
|
255
|
+
|
|
393
256
|
1. Evaluate if the requested change is valid
|
|
394
257
|
2. If not valid, reply explaining why
|
|
395
258
|
3. If valid, make code updates following project standards
|
|
@@ -418,24 +281,6 @@ Syncs all tasks from the current session to `projects/<project-name>/tasks/` as
|
|
|
418
281
|
|
|
419
282
|
---
|
|
420
283
|
|
|
421
|
-
### `/jira:create`
|
|
422
|
-
|
|
423
|
-
**Arguments:** `<file-or-directory-path>` (required), `[project-key]` (optional, defaults to SE)
|
|
424
|
-
|
|
425
|
-
Analyzes code files and creates a comprehensive JIRA hierarchy (Epic → User Story → Tasks) with mandatory quality gates: test-first, quality gates, documentation, feature flags, cleanup.
|
|
426
|
-
|
|
427
|
-
---
|
|
428
|
-
|
|
429
|
-
### `/jira:verify`
|
|
430
|
-
|
|
431
|
-
**Arguments:** `<TICKET-ID>` (required)
|
|
432
|
-
|
|
433
|
-
Verifies a JIRA ticket:
|
|
434
|
-
1. Has an epic parent (if not a bug or epic itself)
|
|
435
|
-
2. Has quality description addressing coding assistants, developers, and stakeholders
|
|
436
|
-
|
|
437
|
-
---
|
|
438
|
-
|
|
439
284
|
### `/sonarqube:check`
|
|
440
285
|
|
|
441
286
|
**Arguments:** none
|
|
@@ -466,32 +311,32 @@ Run FROM the Lisa repository. Compares Lisa's templates against a target project
|
|
|
466
311
|
|
|
467
312
|
### `/lisa:review-implementation`
|
|
468
313
|
|
|
469
|
-
**Arguments:** `[lisa-dir]` (optional
|
|
314
|
+
**Arguments:** `[lisa-dir]` (optional — auto-detects if Claude started with `--add-dir`)
|
|
470
315
|
|
|
471
316
|
Run FROM a project with Lisa applied. Compares the project's Lisa-managed files against Lisa source templates and offers to upstream changes back to Lisa.
|
|
472
317
|
|
|
473
318
|
---
|
|
474
319
|
|
|
320
|
+
### `/jira:create`
|
|
321
|
+
|
|
322
|
+
**Arguments:** `<file-or-directory-path> [project-key]` (path required, key optional)
|
|
323
|
+
|
|
324
|
+
Creates JIRA epics, stories, and tasks from code files or descriptions with comprehensive quality requirements.
|
|
325
|
+
|
|
326
|
+
---
|
|
327
|
+
|
|
328
|
+
### `/jira:verify`
|
|
329
|
+
|
|
330
|
+
**Arguments:** `<TICKET-ID>` (required)
|
|
331
|
+
|
|
332
|
+
Verifies a JIRA ticket meets organizational standards for epic relationships and description quality.
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
475
336
|
## Command Call Graph
|
|
476
337
|
|
|
477
338
|
```text
|
|
478
|
-
/
|
|
479
|
-
├── /project:setup
|
|
480
|
-
│ └── /git:commit
|
|
481
|
-
└── /project:research
|
|
482
|
-
└── /git:commit
|
|
483
|
-
|
|
484
|
-
/project:execute
|
|
485
|
-
├── /project:plan
|
|
486
|
-
├── /project:implement
|
|
487
|
-
├── /project:review
|
|
488
|
-
│ └── /project:local-code-review
|
|
489
|
-
├── /project:verify
|
|
490
|
-
├── /project:debrief
|
|
491
|
-
└── /project:archive
|
|
492
|
-
└── /git:commit-and-submit-pr
|
|
493
|
-
├── /git:commit
|
|
494
|
-
└── /git:submit-pr
|
|
339
|
+
/plan:create → (plan mode) → /plan:implement
|
|
495
340
|
|
|
496
341
|
/sonarqube:fix
|
|
497
342
|
├── /sonarqube:check
|
|
@@ -502,4 +347,8 @@ Run FROM a project with Lisa applied. Compares the project's Lisa-managed files
|
|
|
502
347
|
└── /git:commit-and-submit-pr
|
|
503
348
|
├── /git:commit
|
|
504
349
|
└── /git:submit-pr
|
|
350
|
+
|
|
351
|
+
/git:commit-and-submit-pr
|
|
352
|
+
├── /git:commit
|
|
353
|
+
└── /git:submit-pr
|
|
505
354
|
```
|
|
@@ -34,6 +34,10 @@ Or use utility commands:
|
|
|
34
34
|
- `/plan:reduce-max-lines` - Reduce max file lines threshold
|
|
35
35
|
- `/plan:reduce-max-lines-per-function` - Reduce max function lines
|
|
36
36
|
|
|
37
|
+
## Lisa Commands
|
|
38
|
+
|
|
39
|
+
> Ask Claude: "What Lisa commands are available and how do I use them? Read HUMAN.md and give me a summary."
|
|
40
|
+
|
|
37
41
|
## Common Tasks
|
|
38
42
|
|
|
39
43
|
### Code Review
|
package/all/deletions.json
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"paths": [
|
|
3
|
+
".claude/commands/project",
|
|
3
4
|
".claude/skills/coding-philosophy",
|
|
5
|
+
".claude/skills/project-add-test-coverage",
|
|
6
|
+
".claude/skills/project-archive",
|
|
7
|
+
".claude/skills/project-bootstrap",
|
|
8
|
+
".claude/skills/project-debrief",
|
|
9
|
+
".claude/skills/project-document",
|
|
10
|
+
".claude/skills/project-execute",
|
|
11
|
+
".claude/skills/project-fix-linter-error",
|
|
12
|
+
".claude/skills/project-implement",
|
|
13
|
+
".claude/skills/project-local-code-review",
|
|
14
|
+
".claude/skills/project-lower-code-complexity",
|
|
15
|
+
".claude/skills/project-plan",
|
|
16
|
+
".claude/skills/project-reduce-max-lines",
|
|
17
|
+
".claude/skills/project-reduce-max-lines-per-function",
|
|
18
|
+
".claude/skills/project-research",
|
|
19
|
+
".claude/skills/project-review",
|
|
20
|
+
".claude/skills/project-setup",
|
|
21
|
+
".claude/skills/project-verify",
|
|
4
22
|
".claude/skills/prompt-complexity-scorer"
|
|
5
23
|
]
|
|
6
24
|
}
|
|
@@ -34,6 +34,10 @@ Or use utility commands:
|
|
|
34
34
|
- `/plan:reduce-max-lines` - Reduce max file lines threshold
|
|
35
35
|
- `/plan:reduce-max-lines-per-function` - Reduce max function lines
|
|
36
36
|
|
|
37
|
+
## Lisa Commands
|
|
38
|
+
|
|
39
|
+
> Ask Claude: "What Lisa commands are available and how do I use them? Read HUMAN.md and give me a summary."
|
|
40
|
+
|
|
37
41
|
## Common Tasks
|
|
38
42
|
|
|
39
43
|
### Code Review
|
|
@@ -34,6 +34,10 @@ Or use utility commands:
|
|
|
34
34
|
- `/plan:reduce-max-lines` - Reduce max file lines threshold
|
|
35
35
|
- `/plan:reduce-max-lines-per-function` - Reduce max function lines
|
|
36
36
|
|
|
37
|
+
## Lisa Commands
|
|
38
|
+
|
|
39
|
+
> Ask Claude: "What Lisa commands are available and how do I use them? Read HUMAN.md and give me a summary."
|
|
40
|
+
|
|
37
41
|
## Common Tasks
|
|
38
42
|
|
|
39
43
|
### Code Review
|