@su-record/vibe 2.7.6 → 2.7.9
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/dist/cli/commands/init.d.ts +10 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +78 -2
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/update.d.ts.map +1 -1
- package/dist/cli/commands/update.js +17 -2
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/postinstall/codex-agents.d.ts +12 -0
- package/dist/cli/postinstall/codex-agents.d.ts.map +1 -0
- package/dist/cli/postinstall/codex-agents.js +51 -0
- package/dist/cli/postinstall/codex-agents.js.map +1 -0
- package/dist/cli/postinstall/codex-instruction.d.ts +10 -0
- package/dist/cli/postinstall/codex-instruction.d.ts.map +1 -0
- package/dist/cli/postinstall/codex-instruction.js +56 -0
- package/dist/cli/postinstall/codex-instruction.js.map +1 -0
- package/dist/cli/postinstall/constants.d.ts.map +1 -1
- package/dist/cli/postinstall/constants.js +1 -0
- package/dist/cli/postinstall/constants.js.map +1 -1
- package/dist/cli/postinstall/gemini-agents.d.ts +12 -0
- package/dist/cli/postinstall/gemini-agents.d.ts.map +1 -0
- package/dist/cli/postinstall/gemini-agents.js +80 -0
- package/dist/cli/postinstall/gemini-agents.js.map +1 -0
- package/dist/cli/postinstall/gemini-instruction.d.ts +10 -0
- package/dist/cli/postinstall/gemini-instruction.d.ts.map +1 -0
- package/dist/cli/postinstall/gemini-instruction.js +59 -0
- package/dist/cli/postinstall/gemini-instruction.js.map +1 -0
- package/dist/cli/postinstall/index.d.ts +4 -0
- package/dist/cli/postinstall/index.d.ts.map +1 -1
- package/dist/cli/postinstall/index.js +4 -0
- package/dist/cli/postinstall/index.js.map +1 -1
- package/dist/cli/postinstall/main.d.ts.map +1 -1
- package/dist/cli/postinstall/main.js +34 -1
- package/dist/cli/postinstall/main.js.map +1 -1
- package/dist/cli/postinstall.d.ts +1 -1
- package/dist/cli/postinstall.d.ts.map +1 -1
- package/dist/cli/postinstall.js +1 -1
- package/dist/cli/postinstall.js.map +1 -1
- package/dist/cli/setup/ProjectSetup.d.ts +15 -0
- package/dist/cli/setup/ProjectSetup.d.ts.map +1 -1
- package/dist/cli/setup/ProjectSetup.js +159 -0
- package/dist/cli/setup/ProjectSetup.js.map +1 -1
- package/dist/cli/setup.d.ts +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +1 -1
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/utils/cli-detector.d.ts +25 -0
- package/dist/cli/utils/cli-detector.d.ts.map +1 -0
- package/dist/cli/utils/cli-detector.js +55 -0
- package/dist/cli/utils/cli-detector.js.map +1 -0
- package/hooks/gemini-hooks.json +73 -0
- package/package.json +1 -1
- package/skills/agents-md/SKILL.md +120 -0
- package/skills/brand-assets/SKILL.md +8 -0
- package/skills/characterization-test/SKILL.md +4 -0
- package/skills/commerce-patterns/SKILL.md +36 -338
- package/skills/commit-push-pr/SKILL.md +21 -64
- package/skills/core-capabilities/SKILL.md +26 -142
- package/skills/e2e-commerce/SKILL.md +37 -284
- package/skills/frontend-design/SKILL.md +12 -31
- package/skills/git-worktree/SKILL.md +34 -146
- package/skills/handoff/SKILL.md +8 -0
- package/skills/parallel-research/SKILL.md +7 -0
- package/skills/priority-todos/SKILL.md +34 -213
- package/skills/seo-checklist/SKILL.md +38 -225
- package/skills/tool-fallback/SKILL.md +53 -143
- package/skills/typescript-advanced-types/SKILL.md +30 -685
- package/skills/ui-ux-pro-max/SKILL.md +40 -220
- package/skills/vercel-react-best-practices/SKILL.md +38 -283
- package/skills/video-production/SKILL.md +35 -206
|
@@ -4,14 +4,19 @@ description: "Production-grade frontend with bold aesthetic direction for UI-foc
|
|
|
4
4
|
triggers: [frontend, ui design, aesthetic, beautiful ui, design system, ui quality, visual design]
|
|
5
5
|
priority: 70
|
|
6
6
|
---
|
|
7
|
+
|
|
7
8
|
# Frontend Design Skill
|
|
8
9
|
|
|
9
10
|
Create production-grade frontend with bold aesthetic direction.
|
|
10
11
|
|
|
12
|
+
## Pre-check (K1)
|
|
13
|
+
|
|
14
|
+
> Does this project need a custom design direction? If using an existing design system (shadcn/ui, Material UI, Ant Design) without customization, standard component docs suffice.
|
|
15
|
+
|
|
11
16
|
## When to Use
|
|
12
17
|
|
|
13
18
|
- UI-focused projects requiring high visual quality
|
|
14
|
-
- Design system implementation
|
|
19
|
+
- Design system implementation from scratch
|
|
15
20
|
- User-facing features where aesthetics matter
|
|
16
21
|
|
|
17
22
|
## Core Principles
|
|
@@ -49,24 +54,6 @@ Create production-grade frontend with bold aesthetic direction.
|
|
|
49
54
|
- Stock photography without curation
|
|
50
55
|
- Safe, corporate color palettes
|
|
51
56
|
|
|
52
|
-
## Implementation Guidelines
|
|
53
|
-
|
|
54
|
-
```typescript
|
|
55
|
-
// Design token structure
|
|
56
|
-
const tokens = {
|
|
57
|
-
colors: {
|
|
58
|
-
primary: { /* custom palette */ },
|
|
59
|
-
semantic: { /* success, error, warning */ },
|
|
60
|
-
},
|
|
61
|
-
typography: {
|
|
62
|
-
fontFamily: { /* display, body, mono */ },
|
|
63
|
-
scale: { /* modular scale */ },
|
|
64
|
-
},
|
|
65
|
-
spacing: { /* consistent rhythm */ },
|
|
66
|
-
motion: { /* duration, easing */ },
|
|
67
|
-
};
|
|
68
|
-
```
|
|
69
|
-
|
|
70
57
|
## Quality Checklist
|
|
71
58
|
|
|
72
59
|
- [ ] Typography creates clear hierarchy
|
|
@@ -77,16 +64,10 @@ const tokens = {
|
|
|
77
64
|
- [ ] Dark mode (if applicable) is intentional
|
|
78
65
|
- [ ] Micro-interactions provide feedback
|
|
79
66
|
|
|
80
|
-
##
|
|
81
|
-
|
|
82
|
-
Use with `/vibe.utils --ui` for preview:
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
/vibe.utils --ui "login form with bold typography and custom color scheme"
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
## Resources
|
|
67
|
+
## Done Criteria (K4)
|
|
89
68
|
|
|
90
|
-
- [
|
|
91
|
-
- [
|
|
92
|
-
- [
|
|
69
|
+
- [ ] Design tokens defined (colors, typography, spacing, motion)
|
|
70
|
+
- [ ] Visual hierarchy clear at all breakpoints
|
|
71
|
+
- [ ] No default/uncustomized framework styles remain
|
|
72
|
+
- [ ] All interactive states designed (hover, focus, active, disabled)
|
|
73
|
+
- [ ] Accessibility verified (contrast, focus rings, motion preferences)
|
|
@@ -4,181 +4,69 @@ description: "Git Worktree for parallel branch work. Auto-activates for PR revie
|
|
|
4
4
|
triggers: [worktree, PR review, hotfix, parallel branch, multiple branches]
|
|
5
5
|
priority: 50
|
|
6
6
|
---
|
|
7
|
-
# Git Worktree Skill
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
# Git Worktree
|
|
10
9
|
|
|
11
|
-
##
|
|
10
|
+
## Pre-check (K1)
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
> Do you need to work on another branch without losing current work? If you can just `git stash` and switch, worktree may be overkill.
|
|
14
13
|
|
|
15
|
-
##
|
|
14
|
+
## Core Commands
|
|
16
15
|
|
|
17
16
|
```bash
|
|
18
|
-
# Create worktree
|
|
19
|
-
git worktree add ../review-pr123 pr/123
|
|
20
|
-
|
|
21
|
-
# Work in that directory
|
|
22
|
-
cd ../review-pr123
|
|
23
|
-
npm test
|
|
24
|
-
|
|
25
|
-
# Clean up after work is done
|
|
26
|
-
git worktree remove ../review-pr123
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Commands
|
|
30
|
-
|
|
31
|
-
### Create Worktree
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
# Worktree for PR review
|
|
17
|
+
# Create worktree for PR review
|
|
35
18
|
git worktree add ../review-{pr_number} origin/pr/{pr_number}
|
|
36
19
|
|
|
37
|
-
#
|
|
38
|
-
git worktree add ../feature-work feature/new-feature
|
|
39
|
-
|
|
40
|
-
# Worktree with new branch
|
|
20
|
+
# Create worktree with new branch (hotfix)
|
|
41
21
|
git worktree add -b hotfix/urgent ../hotfix main
|
|
42
|
-
```
|
|
43
22
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
```bash
|
|
23
|
+
# List all worktrees
|
|
47
24
|
git worktree list
|
|
48
|
-
# /path/to/main abc1234 [main]
|
|
49
|
-
# /path/to/review-123 def5678 [pr/123]
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### Remove Worktree
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
# Normal removal
|
|
56
|
-
git worktree remove ../review-123
|
|
57
25
|
|
|
58
|
-
#
|
|
59
|
-
git worktree remove
|
|
26
|
+
# Remove when done
|
|
27
|
+
git worktree remove ../review-{pr_number}
|
|
60
28
|
|
|
61
|
-
#
|
|
29
|
+
# Clean up stale entries
|
|
62
30
|
git worktree prune
|
|
63
31
|
```
|
|
64
32
|
|
|
65
|
-
## Workflow
|
|
66
|
-
|
|
67
|
-
### PR Review Workflow
|
|
33
|
+
## PR Review Workflow
|
|
68
34
|
|
|
69
35
|
```
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
│ 2. cd ../review-123 │
|
|
76
|
-
│ 3. npm install && npm test │
|
|
77
|
-
│ 4. Run parallel review agents │
|
|
78
|
-
│ 5. Generate review report │
|
|
79
|
-
│ 6. cd - && git worktree remove ../review-123 │
|
|
80
|
-
│ │
|
|
81
|
-
└─────────────────────────────────────────────────────────────────┘
|
|
36
|
+
1. git worktree add ../review-123 origin/pr/123
|
|
37
|
+
2. cd ../review-123
|
|
38
|
+
3. npm install && npm test
|
|
39
|
+
4. Run review agents
|
|
40
|
+
5. cd - && git worktree remove ../review-123
|
|
82
41
|
```
|
|
83
42
|
|
|
84
|
-
|
|
43
|
+
## Hotfix Workflow
|
|
85
44
|
|
|
86
45
|
```
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
│ # Keep feature work intact │
|
|
92
|
-
│ git worktree add -b hotfix/critical ../hotfix main │
|
|
93
|
-
│ cd ../hotfix │
|
|
94
|
-
│ │
|
|
95
|
-
│ # Fix and deploy │
|
|
96
|
-
│ vim src/bug.py │
|
|
97
|
-
│ git commit -am "fix: critical bug" │
|
|
98
|
-
│ git push origin hotfix/critical │
|
|
99
|
-
│ │
|
|
100
|
-
│ # Return to feature │
|
|
101
|
-
│ cd - && git worktree remove ../hotfix │
|
|
102
|
-
│ │
|
|
103
|
-
└─────────────────────────────────────────────────────────────────┘
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
## Benefits
|
|
107
|
-
|
|
108
|
-
1. **No Stash Needed**: Keep current work intact
|
|
109
|
-
2. **Full Codebase**: Each worktree is a complete codebase
|
|
110
|
-
3. **Parallel Work**: Work on multiple branches simultaneously
|
|
111
|
-
4. **Clean Testing**: Test in isolated environment
|
|
112
|
-
|
|
113
|
-
## Best Practices
|
|
114
|
-
|
|
115
|
-
### Naming Convention
|
|
116
|
-
|
|
117
|
-
```bash
|
|
118
|
-
# PR review
|
|
119
|
-
../review-{pr_number}
|
|
120
|
-
|
|
121
|
-
# Hotfix
|
|
122
|
-
../hotfix-{issue_number}
|
|
123
|
-
|
|
124
|
-
# Experiment
|
|
125
|
-
../experiment-{feature_name}
|
|
46
|
+
1. git worktree add -b hotfix/critical ../hotfix main
|
|
47
|
+
2. cd ../hotfix
|
|
48
|
+
3. Fix bug → commit → push
|
|
49
|
+
4. cd - && git worktree remove ../hotfix
|
|
126
50
|
```
|
|
127
51
|
|
|
128
|
-
|
|
52
|
+
## Naming Convention
|
|
129
53
|
|
|
130
54
|
```bash
|
|
131
|
-
#
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
# Check all worktrees
|
|
135
|
-
git worktree list
|
|
136
|
-
|
|
137
|
-
# Auto cleanup with script
|
|
138
|
-
for wt in $(git worktree list --porcelain | grep worktree | cut -d' ' -f2); do
|
|
139
|
-
if [[ $wt == *"review-"* ]] || [[ $wt == *"hotfix-"* ]]; then
|
|
140
|
-
git worktree remove "$wt" 2>/dev/null || true
|
|
141
|
-
fi
|
|
142
|
-
done
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
### Integration with CI/CD
|
|
146
|
-
|
|
147
|
-
```yaml
|
|
148
|
-
# GitHub Actions example
|
|
149
|
-
- name: Setup Review Worktree
|
|
150
|
-
run: |
|
|
151
|
-
git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-${{ github.event.pull_request.number }}
|
|
152
|
-
git worktree add ../review pr-${{ github.event.pull_request.number }}
|
|
153
|
-
|
|
154
|
-
- name: Run Tests in Worktree
|
|
155
|
-
working-directory: ../review
|
|
156
|
-
run: npm test
|
|
157
|
-
|
|
158
|
-
- name: Cleanup
|
|
159
|
-
run: git worktree remove ../review
|
|
55
|
+
../review-{pr_number} # PR review
|
|
56
|
+
../hotfix-{issue_number} # Hotfix
|
|
57
|
+
../experiment-{feature_name} # Experiment
|
|
160
58
|
```
|
|
161
59
|
|
|
162
60
|
## Troubleshooting
|
|
163
61
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
git worktree
|
|
169
|
-
git worktree remove <path> # Remove
|
|
170
|
-
```
|
|
62
|
+
| Error | Fix |
|
|
63
|
+
|-------|-----|
|
|
64
|
+
| "already checked out" | Branch is in another worktree — `git worktree list`, then remove |
|
|
65
|
+
| Locked worktree | `git worktree unlock <path>` |
|
|
66
|
+
| Stale worktree | `git worktree prune` |
|
|
171
67
|
|
|
172
|
-
|
|
68
|
+
## Done Criteria (K4)
|
|
173
69
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
git worktree
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
### Stale Worktree
|
|
180
|
-
|
|
181
|
-
```bash
|
|
182
|
-
# Solution: Clean up deleted directories
|
|
183
|
-
git worktree prune
|
|
184
|
-
```
|
|
70
|
+
- [ ] Worktree created and work completed in isolation
|
|
71
|
+
- [ ] Worktree removed after work is done
|
|
72
|
+
- [ ] No stale worktrees left (`git worktree list` clean)
|
package/skills/handoff/SKILL.md
CHANGED
|
@@ -99,3 +99,11 @@ Or use alongside VIBE auto-restore:
|
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
In this case, saved decisions are also restored via `core_recall_memory`.
|
|
102
|
+
|
|
103
|
+
## Done Criteria (K4)
|
|
104
|
+
|
|
105
|
+
- [ ] HANDOFF.md created with all sections filled
|
|
106
|
+
- [ ] Completed/in-progress/next tasks accurately listed
|
|
107
|
+
- [ ] Related files section includes all modified files
|
|
108
|
+
- [ ] Session context saved via `core_auto_save_context`
|
|
109
|
+
- [ ] Key decisions saved via `core_save_memory`
|
|
@@ -78,3 +78,10 @@ Reference during implementation
|
|
|
78
78
|
- Research runs **after requirements confirmed**
|
|
79
79
|
- Split overly broad topics
|
|
80
80
|
- Research results are references, not absolute truth
|
|
81
|
+
|
|
82
|
+
## Done Criteria (K4)
|
|
83
|
+
|
|
84
|
+
- [ ] All 4 research agents returned results (or documented why not)
|
|
85
|
+
- [ ] Results synthesized into actionable recommendations
|
|
86
|
+
- [ ] Key findings reflected in SPEC Context section or implementation notes
|
|
87
|
+
- [ ] Conflicting recommendations resolved with reasoning
|
|
@@ -4,239 +4,60 @@ description: "Priority-based TODO management (P1/P2/P3). Auto-activates when man
|
|
|
4
4
|
triggers: [todo, priority, P1, P2, P3, task management, issue, organize]
|
|
5
5
|
priority: 60
|
|
6
6
|
---
|
|
7
|
-
# Priority-Based Todo Management Skill
|
|
8
7
|
|
|
9
|
-
Priority-
|
|
8
|
+
# Priority-Based Todo Management
|
|
10
9
|
|
|
11
|
-
##
|
|
10
|
+
## Pre-check (K1)
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
> Do you need structured priority tracking? For 1-2 item task lists, use inline TODOs. This system is for multi-issue tracking across reviews and sessions.
|
|
14
13
|
|
|
15
|
-
## Priority
|
|
14
|
+
## Priority Definitions
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
│ 🔴 P1 (Critical) │
|
|
23
|
-
│ ├── Security vulnerabilities │
|
|
24
|
-
│ ├── Data loss risk │
|
|
25
|
-
│ ├── Production incidents │
|
|
26
|
-
│ └── Merge-blocking issues │
|
|
27
|
-
│ │
|
|
28
|
-
│ 🟡 P2 (Important) │
|
|
29
|
-
│ ├── Performance issues │
|
|
30
|
-
│ ├── Missing tests │
|
|
31
|
-
│ ├── Architecture violations │
|
|
32
|
-
│ └── Technical debt │
|
|
33
|
-
│ │
|
|
34
|
-
│ 🔵 P3 (Nice-to-have) │
|
|
35
|
-
│ ├── Code style │
|
|
36
|
-
│ ├── Refactoring suggestions │
|
|
37
|
-
│ ├── Documentation │
|
|
38
|
-
│ └── Optimization opportunities │
|
|
39
|
-
│ │
|
|
40
|
-
└─────────────────────────────────────────────────────────────────┘
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## File-Based Todo System
|
|
16
|
+
| Priority | Meaning | Action | Examples |
|
|
17
|
+
|----------|---------|--------|----------|
|
|
18
|
+
| P1 | **Blocks merge** | Fix immediately | Security vulnerability, data loss risk, production incident |
|
|
19
|
+
| P2 | **Should fix** | Fix before PR | Performance issue, missing tests, architecture violation |
|
|
20
|
+
| P3 | **Backlog** | Fix when time permits | Code style, refactoring suggestion, documentation |
|
|
44
21
|
|
|
45
|
-
|
|
22
|
+
## Directory Structure
|
|
46
23
|
|
|
47
24
|
```
|
|
48
25
|
.claude/vibe/todos/
|
|
49
26
|
├── P1-security-sql-injection.md
|
|
50
|
-
├── P1-data-transaction-missing.md
|
|
51
27
|
├── P2-perf-n1-query.md
|
|
52
|
-
├── P2-test-missing-edge-case.md
|
|
53
|
-
├── P2-arch-circular-dependency.md
|
|
54
28
|
├── P3-style-extract-helper.md
|
|
55
|
-
├──
|
|
56
|
-
└──
|
|
29
|
+
├── index.md # Summary table with counts/status
|
|
30
|
+
└── done/ # Archived completed items
|
|
57
31
|
```
|
|
58
32
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
```markdown
|
|
62
|
-
# [P1] SQL Injection Vulnerability
|
|
63
|
-
|
|
64
|
-
## Summary
|
|
65
|
-
User input directly concatenated in SQL query without sanitization.
|
|
66
|
-
|
|
67
|
-
## Priority Justification
|
|
68
|
-
- 🔴 P1 (Critical)
|
|
69
|
-
- Category: Security
|
|
70
|
-
- Impact: High (data breach risk)
|
|
71
|
-
- Effort: Low (simple fix)
|
|
33
|
+
## Workflow
|
|
72
34
|
|
|
73
|
-
## Location
|
|
74
|
-
- **File**: src/api/users.py
|
|
75
|
-
- **Line**: 42-45
|
|
76
|
-
- **Function**: `get_user_by_email()`
|
|
77
|
-
|
|
78
|
-
## Current Code
|
|
79
|
-
```python
|
|
80
|
-
def get_user_by_email(email: str):
|
|
81
|
-
query = f"SELECT * FROM users WHERE email = '{email}'"
|
|
82
|
-
return db.execute(query)
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
## Suggested Fix
|
|
86
|
-
```python
|
|
87
|
-
def get_user_by_email(email: str):
|
|
88
|
-
query = "SELECT * FROM users WHERE email = %s"
|
|
89
|
-
return db.execute(query, (email,))
|
|
90
35
|
```
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
- OWASP SQL Injection: https://owasp.org/www-community/attacks/SQL_Injection
|
|
101
|
-
- Project Security Guide: docs/security.md
|
|
102
|
-
|
|
103
|
-
## Metadata
|
|
104
|
-
- Created: 2026-01-11
|
|
105
|
-
- Author: Claude
|
|
106
|
-
- Review: /vibe.review PR#123
|
|
36
|
+
/vibe.review → Creates P1/P2/P3 todo files + updates index.md
|
|
37
|
+
↓
|
|
38
|
+
Fix P1 first (blocks merge)
|
|
39
|
+
↓
|
|
40
|
+
Fix P2 before PR (warning only)
|
|
41
|
+
↓
|
|
42
|
+
P3 → backlog (weekly review)
|
|
43
|
+
↓
|
|
44
|
+
Mark done → moves to done/ with date prefix
|
|
107
45
|
```
|
|
108
46
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
```markdown
|
|
112
|
-
# Todo Index
|
|
113
|
-
|
|
114
|
-
## Summary
|
|
115
|
-
| Priority | Count | Status |
|
|
116
|
-
|----------|-------|--------|
|
|
117
|
-
| 🔴 P1 | 2 | 🚨 Blocks merge |
|
|
118
|
-
| 🟡 P2 | 5 | ⚠️ Should fix |
|
|
119
|
-
| 🔵 P3 | 3 | 💡 Backlog |
|
|
120
|
-
|
|
121
|
-
## 🔴 P1 Critical (Blocks Merge)
|
|
122
|
-
|
|
123
|
-
| # | Title | Location | Status |
|
|
124
|
-
|---|-------|----------|--------|
|
|
125
|
-
| 1 | SQL Injection | users.py:42 | ❌ Open |
|
|
126
|
-
| 2 | Missing Rollback | payment.py:128 | ❌ Open |
|
|
127
|
-
|
|
128
|
-
## 🟡 P2 Important
|
|
129
|
-
|
|
130
|
-
| # | Title | Location | Status |
|
|
131
|
-
|---|-------|----------|--------|
|
|
132
|
-
| 3 | N+1 Query | orders.py:78 | ❌ Open |
|
|
133
|
-
| 4 | Missing Tests | auth.py | ❌ Open |
|
|
134
|
-
| 5 | Circular Dep | services/ | ❌ Open |
|
|
135
|
-
|
|
136
|
-
## 🔵 P3 Nice-to-have
|
|
137
|
-
|
|
138
|
-
| # | Title | Location | Status |
|
|
139
|
-
|---|-------|----------|--------|
|
|
140
|
-
| 6 | Extract Helper | utils.py:45 | 💤 Backlog |
|
|
141
|
-
| 7 | Add README | /payment | 💤 Backlog |
|
|
142
|
-
|
|
143
|
-
---
|
|
144
|
-
|
|
145
|
-
Last updated: 2026-01-11 10:30
|
|
146
|
-
```
|
|
47
|
+
## Todo File Format
|
|
147
48
|
|
|
148
|
-
|
|
49
|
+
Each file follows: `# [P1] Title` → Summary → Priority Justification → Location (file:line) → Suggested Fix → Checklist (fix, test, review, merge).
|
|
149
50
|
|
|
150
|
-
|
|
51
|
+
## Rules
|
|
151
52
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
# Manual creation
|
|
158
|
-
core todo add "SQL Injection in users.py" --priority P1 --category security
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
### List Todos
|
|
162
|
-
|
|
163
|
-
```bash
|
|
164
|
-
# Full list
|
|
165
|
-
core todo list
|
|
166
|
-
|
|
167
|
-
# By priority
|
|
168
|
-
core todo list --priority P1
|
|
169
|
-
core todo list --priority P2
|
|
170
|
-
|
|
171
|
-
# By category
|
|
172
|
-
core todo list --category security
|
|
173
|
-
core todo list --category performance
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
### Complete Todo
|
|
177
|
-
|
|
178
|
-
```bash
|
|
179
|
-
# Mark as complete
|
|
180
|
-
core todo done P1-security-sql-injection
|
|
181
|
-
|
|
182
|
-
# Updates checklist in file + updates index
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
### Clean Up
|
|
186
|
-
|
|
187
|
-
```bash
|
|
188
|
-
# Archive completed items
|
|
189
|
-
core todo archive
|
|
190
|
-
|
|
191
|
-
# Result:
|
|
192
|
-
# .claude/vibe/todos/P1-security-sql-injection.md
|
|
193
|
-
# -> .claude/vibe/todos/done/2026-01-11-P1-security-sql-injection.md
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
## Integration with TodoWrite
|
|
197
|
-
|
|
198
|
-
Integration with existing TodoWrite tool:
|
|
199
|
-
|
|
200
|
-
```javascript
|
|
201
|
-
TodoWrite({
|
|
202
|
-
todos: [
|
|
203
|
-
{
|
|
204
|
-
content: "[P1] Fix SQL injection in users.py:42",
|
|
205
|
-
status: "in_progress",
|
|
206
|
-
activeForm: "Fixing SQL injection vulnerability",
|
|
207
|
-
priority: "P1", // extended field
|
|
208
|
-
category: "security" // extended field
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
content: "[P2] Add missing tests for auth",
|
|
212
|
-
status: "pending",
|
|
213
|
-
activeForm: "Adding auth tests",
|
|
214
|
-
priority: "P2",
|
|
215
|
-
category: "testing"
|
|
216
|
-
}
|
|
217
|
-
]
|
|
218
|
-
})
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
## Auto-Blocking Rules
|
|
222
|
-
|
|
223
|
-
```yaml
|
|
224
|
-
# .claude/vibe/config.yaml
|
|
225
|
-
merge_blocking:
|
|
226
|
-
P1: true # Block merge if P1 exists
|
|
227
|
-
P2: false # Warning only
|
|
228
|
-
P3: false # Ignore
|
|
229
|
-
|
|
230
|
-
notifications:
|
|
231
|
-
P1: immediate # Immediate notification
|
|
232
|
-
P2: daily # Daily summary
|
|
233
|
-
P3: weekly # Weekly summary
|
|
234
|
-
```
|
|
53
|
+
- P1 exists → merge is **blocked**
|
|
54
|
+
- P2 → warning only, recommended to resolve
|
|
55
|
+
- P3 → no blocking, backlog
|
|
56
|
+
- Weekly cleanup: review and archive completed items
|
|
235
57
|
|
|
236
|
-
##
|
|
58
|
+
## Done Criteria (K4)
|
|
237
59
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
5. **Document completions**: Document how issues were resolved
|
|
60
|
+
- [ ] All P1 items resolved before merge
|
|
61
|
+
- [ ] P2 items reviewed and either resolved or documented
|
|
62
|
+
- [ ] index.md reflects current state
|
|
63
|
+
- [ ] Completed items archived to `done/` directory
|