start-vibing 3.0.6 → 3.0.7
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/package.json +1 -1
- package/template/.claude/skills/codebase-knowledge/SKILL.md +145 -145
- package/template/.claude/skills/docs-tracker/SKILL.md +239 -239
- package/template/.claude/skills/final-check/SKILL.md +284 -284
- package/template/.claude/skills/quality-gate/SKILL.md +294 -294
- package/template/.claude/skills/security-scan/SKILL.md +222 -222
- package/template/.claude/skills/ui-ux-audit/SKILL.md +254 -254
package/package.json
CHANGED
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: codebase-knowledge
|
|
3
|
-
description: "ALWAYS invoke BEFORE implementing any feature. Maps files by domain, tracks connections. Do NOT write code without checking affected areas first."
|
|
4
|
-
allowed-tools: Read, Glob, Grep
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Codebase Knowledge - Domain Mapping System
|
|
8
|
-
|
|
9
|
-
## Purpose
|
|
10
|
-
|
|
11
|
-
This skill provides cached knowledge about project domains:
|
|
12
|
-
|
|
13
|
-
- **Maps** files by domain/feature area
|
|
14
|
-
- **Tracks** connections between components
|
|
15
|
-
- **Records** recent commits per area
|
|
16
|
-
- **Caches** architecture decisions
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## How It Works
|
|
21
|
-
|
|
22
|
-
### Domain Files Location
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
.claude/skills/codebase-knowledge/domains/
|
|
26
|
-
├── [domain-name].md # One file per domain
|
|
27
|
-
└── ...
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
### Domain File Template
|
|
31
|
-
|
|
32
|
-
```markdown
|
|
33
|
-
# [Domain Name]
|
|
34
|
-
|
|
35
|
-
## Last Update
|
|
36
|
-
|
|
37
|
-
- **Date:** YYYY-MM-DD
|
|
38
|
-
- **Commit:** [hash]
|
|
39
|
-
|
|
40
|
-
## Files
|
|
41
|
-
|
|
42
|
-
### Frontend
|
|
43
|
-
|
|
44
|
-
- `app/[path]/page.tsx` - Description
|
|
45
|
-
- `components/[path]/*.tsx` - Description
|
|
46
|
-
|
|
47
|
-
### Backend
|
|
48
|
-
|
|
49
|
-
- `server/trpc/routers/[name].router.ts` - Router
|
|
50
|
-
- `server/db/models/[name].model.ts` - Model
|
|
51
|
-
|
|
52
|
-
### Types/Schemas
|
|
53
|
-
|
|
54
|
-
- `lib/validators/[name].ts` - Zod schemas
|
|
55
|
-
|
|
56
|
-
## Connections
|
|
57
|
-
|
|
58
|
-
- **[other-domain]:** How they connect
|
|
59
|
-
|
|
60
|
-
## Recent Commits
|
|
61
|
-
|
|
62
|
-
| Hash | Date | Description |
|
|
63
|
-
| ------ | ---------- | ----------------- |
|
|
64
|
-
| abc123 | YYYY-MM-DD | feat: description |
|
|
65
|
-
|
|
66
|
-
## Attention Points
|
|
67
|
-
|
|
68
|
-
- [Special rules, gotchas, etc]
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
## Workflow
|
|
74
|
-
|
|
75
|
-
### BEFORE Implementation
|
|
76
|
-
|
|
77
|
-
1. **Identify** which domain is affected
|
|
78
|
-
2. **Read** `domains/[domain].md` file
|
|
79
|
-
3. **Check** affected files listed
|
|
80
|
-
4. **Verify** recent commits for context
|
|
81
|
-
5. **Note** connections with other domains
|
|
82
|
-
|
|
83
|
-
### AFTER Implementation
|
|
84
|
-
|
|
85
|
-
1. **Update** the domain file
|
|
86
|
-
2. **Add** new commit to "Recent Commits"
|
|
87
|
-
3. **Add/remove** files if changed
|
|
88
|
-
4. **Update** connections if affected
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Commands
|
|
93
|
-
|
|
94
|
-
### Check Recent Commits by Domain
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
git log --oneline -10 -- [list of domain files]
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
### Check Uncommitted Changes
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
git diff --name-status main..HEAD
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
### Create New Domain File
|
|
107
|
-
|
|
108
|
-
```bash
|
|
109
|
-
# Copy template
|
|
110
|
-
cp .claude/skills/codebase-knowledge/TEMPLATE.md .claude/skills/codebase-knowledge/domains/[name].md
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
---
|
|
114
|
-
|
|
115
|
-
## Rules
|
|
116
|
-
|
|
117
|
-
### MANDATORY
|
|
118
|
-
|
|
119
|
-
1. **READ domain before implementing** - Always check cached knowledge
|
|
120
|
-
2. **UPDATE after implementing** - Keep cache current
|
|
121
|
-
3. **VERIFY connections** - Changes may affect other domains
|
|
122
|
-
4. **RECORD commits** - Maintain history
|
|
123
|
-
|
|
124
|
-
### FORBIDDEN
|
|
125
|
-
|
|
126
|
-
1. **Ignore cached knowledge** - It exists to accelerate development
|
|
127
|
-
2. **Leave outdated** - Old docs are worse than none
|
|
128
|
-
3. **Modify without recording** - Every commit should be noted
|
|
129
|
-
|
|
130
|
-
---
|
|
131
|
-
|
|
132
|
-
## Integration with Agents
|
|
133
|
-
|
|
134
|
-
The **analyzer** agent MUST use this skill:
|
|
135
|
-
|
|
136
|
-
1. Check which domain is affected
|
|
137
|
-
2. Read domain file for context
|
|
138
|
-
3. Report affected files and connections
|
|
139
|
-
4. Update domain after implementation
|
|
140
|
-
|
|
141
|
-
---
|
|
142
|
-
|
|
143
|
-
## Version
|
|
144
|
-
|
|
145
|
-
- **v2.0.0** - Generic template (no project-specific domains)
|
|
1
|
+
---
|
|
2
|
+
name: codebase-knowledge
|
|
3
|
+
description: "ALWAYS invoke BEFORE implementing any feature. Maps files by domain, tracks connections. Do NOT write code without checking affected areas first."
|
|
4
|
+
allowed-tools: Read, Glob, Grep
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Codebase Knowledge - Domain Mapping System
|
|
8
|
+
|
|
9
|
+
## Purpose
|
|
10
|
+
|
|
11
|
+
This skill provides cached knowledge about project domains:
|
|
12
|
+
|
|
13
|
+
- **Maps** files by domain/feature area
|
|
14
|
+
- **Tracks** connections between components
|
|
15
|
+
- **Records** recent commits per area
|
|
16
|
+
- **Caches** architecture decisions
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## How It Works
|
|
21
|
+
|
|
22
|
+
### Domain Files Location
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
.claude/skills/codebase-knowledge/domains/
|
|
26
|
+
├── [domain-name].md # One file per domain
|
|
27
|
+
└── ...
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Domain File Template
|
|
31
|
+
|
|
32
|
+
```markdown
|
|
33
|
+
# [Domain Name]
|
|
34
|
+
|
|
35
|
+
## Last Update
|
|
36
|
+
|
|
37
|
+
- **Date:** YYYY-MM-DD
|
|
38
|
+
- **Commit:** [hash]
|
|
39
|
+
|
|
40
|
+
## Files
|
|
41
|
+
|
|
42
|
+
### Frontend
|
|
43
|
+
|
|
44
|
+
- `app/[path]/page.tsx` - Description
|
|
45
|
+
- `components/[path]/*.tsx` - Description
|
|
46
|
+
|
|
47
|
+
### Backend
|
|
48
|
+
|
|
49
|
+
- `server/trpc/routers/[name].router.ts` - Router
|
|
50
|
+
- `server/db/models/[name].model.ts` - Model
|
|
51
|
+
|
|
52
|
+
### Types/Schemas
|
|
53
|
+
|
|
54
|
+
- `lib/validators/[name].ts` - Zod schemas
|
|
55
|
+
|
|
56
|
+
## Connections
|
|
57
|
+
|
|
58
|
+
- **[other-domain]:** How they connect
|
|
59
|
+
|
|
60
|
+
## Recent Commits
|
|
61
|
+
|
|
62
|
+
| Hash | Date | Description |
|
|
63
|
+
| ------ | ---------- | ----------------- |
|
|
64
|
+
| abc123 | YYYY-MM-DD | feat: description |
|
|
65
|
+
|
|
66
|
+
## Attention Points
|
|
67
|
+
|
|
68
|
+
- [Special rules, gotchas, etc]
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Workflow
|
|
74
|
+
|
|
75
|
+
### BEFORE Implementation
|
|
76
|
+
|
|
77
|
+
1. **Identify** which domain is affected
|
|
78
|
+
2. **Read** `domains/[domain].md` file
|
|
79
|
+
3. **Check** affected files listed
|
|
80
|
+
4. **Verify** recent commits for context
|
|
81
|
+
5. **Note** connections with other domains
|
|
82
|
+
|
|
83
|
+
### AFTER Implementation
|
|
84
|
+
|
|
85
|
+
1. **Update** the domain file
|
|
86
|
+
2. **Add** new commit to "Recent Commits"
|
|
87
|
+
3. **Add/remove** files if changed
|
|
88
|
+
4. **Update** connections if affected
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Commands
|
|
93
|
+
|
|
94
|
+
### Check Recent Commits by Domain
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
git log --oneline -10 -- [list of domain files]
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Check Uncommitted Changes
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
git diff --name-status main..HEAD
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Create New Domain File
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
# Copy template
|
|
110
|
+
cp .claude/skills/codebase-knowledge/TEMPLATE.md .claude/skills/codebase-knowledge/domains/[name].md
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## Rules
|
|
116
|
+
|
|
117
|
+
### MANDATORY
|
|
118
|
+
|
|
119
|
+
1. **READ domain before implementing** - Always check cached knowledge
|
|
120
|
+
2. **UPDATE after implementing** - Keep cache current
|
|
121
|
+
3. **VERIFY connections** - Changes may affect other domains
|
|
122
|
+
4. **RECORD commits** - Maintain history
|
|
123
|
+
|
|
124
|
+
### FORBIDDEN
|
|
125
|
+
|
|
126
|
+
1. **Ignore cached knowledge** - It exists to accelerate development
|
|
127
|
+
2. **Leave outdated** - Old docs are worse than none
|
|
128
|
+
3. **Modify without recording** - Every commit should be noted
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Integration with Agents
|
|
133
|
+
|
|
134
|
+
The **analyzer** agent MUST use this skill:
|
|
135
|
+
|
|
136
|
+
1. Check which domain is affected
|
|
137
|
+
2. Read domain file for context
|
|
138
|
+
3. Report affected files and connections
|
|
139
|
+
4. Update domain after implementation
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Version
|
|
144
|
+
|
|
145
|
+
- **v2.0.0** - Generic template (no project-specific domains)
|