@codihaus/claude-skills 1.6.6 → 1.6.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.
@@ -0,0 +1,231 @@
1
+ # Scout Output Templates
2
+
3
+ ## Principle
4
+
5
+ **Capture:** Stable patterns, rules, and conventions (what won't change soon)
6
+ **Don't Capture:** Volatile inventory like file lists, component counts, route lists
7
+
8
+ ---
9
+
10
+ ## 1. Project-Level: tech-context.md
11
+
12
+ **Location:** `plans/brd/tech-context.md`
13
+ **Purpose:** Document HOW the project works (patterns, rules, conventions)
14
+ **Length:** ~150-200 lines
15
+
16
+ ### Structure
17
+
18
+ ```markdown
19
+ # Project Technical Context
20
+
21
+ > **Last Updated**: {date}
22
+ > **Purpose**: Document HOW we work, not WHAT files exist
23
+ > **Previous**: [history/tech-context-{prev-date}.md]
24
+
25
+ ## Summary
26
+ {2-3 sentences: what the app does}
27
+
28
+ **Project Type**: {type}
29
+ **Primary Stack**: {stack}
30
+
31
+ ## Tech Stack (Why These?)
32
+
33
+ | Layer | Choice | Why This? |
34
+ |-------|--------|-----------|
35
+ | Frontend | | |
36
+ | Backend | | |
37
+ | Database | | |
38
+ | Auth | | |
39
+
40
+ ## Architecture Patterns (How We Build)
41
+
42
+ ### 1. API Communication
43
+ **How:** {pattern description}
44
+ **Rule:** {what must be followed}
45
+ **Example:** {code example showing pattern}
46
+ **Why:** {reason}
47
+
48
+ ### 2. Data Access
49
+ {same structure}
50
+
51
+ ### 3. Client-Side Data Fetching
52
+ {same structure}
53
+
54
+ ### 4. Validation & Forms
55
+ {same structure}
56
+
57
+ ### 5. State Management
58
+ {same structure}
59
+
60
+ ## Code Conventions (Team Standards)
61
+
62
+ ### Naming
63
+ | Type | Convention | Example |
64
+ |------|------------|---------|
65
+
66
+ ### File Organization
67
+ {where different types go}
68
+
69
+ ### Imports
70
+ {pattern}
71
+
72
+ ### Code Style
73
+ {standards}
74
+
75
+ ## Git & Team Process
76
+
77
+ ### Commits
78
+ {format}
79
+
80
+ ### Branches
81
+ {pattern}
82
+
83
+ ### PRs
84
+ {requirements}
85
+
86
+ ## Integration Points
87
+
88
+ ### External Services
89
+ {how we use them}
90
+
91
+ ### Local Services
92
+ {docker-compose services}
93
+
94
+ ### Available MCPs
95
+ {what they provide}
96
+
97
+ ## Project Structure (High-Level)
98
+
99
+ {core directories only, not exhaustive}
100
+
101
+ **Where to put new code:**
102
+ {guidelines}
103
+
104
+ ## Rules & Constraints
105
+
106
+ **Must Follow:**
107
+ {critical rules}
108
+
109
+ **Forbidden:**
110
+ {what not to do}
111
+
112
+ **From CLAUDE.md:**
113
+ {project-specific rules}
114
+
115
+ ## For Downstream Skills
116
+
117
+ {guidelines for /dev-specs and /dev-coding}
118
+
119
+ ### Stack Knowledge References
120
+ {links to knowledge base if applicable}
121
+
122
+ ## Changes Since Last Scout
123
+ {pattern changes, not file changes}
124
+
125
+ ## Notes
126
+ {gotchas, pain points}
127
+ ```
128
+
129
+ ---
130
+
131
+ ## 2. Feature-Level: codebase-context.md
132
+
133
+ **Location:** `plans/features/{feature}/codebase-context.md`
134
+ **Purpose:** How THIS feature works (implementation details, not patterns)
135
+ **Prerequisite:** MUST read tech-context.md first (patterns already documented)
136
+ **Length:** ~100-150 lines
137
+
138
+ ### Structure
139
+
140
+ ```markdown
141
+ # {Feature} - Codebase Context
142
+
143
+ > **Date**: {date}
144
+ > **Feature**: [[feature-{feature}]]
145
+ > **Related UCs**: [[uc-{group}-001]]
146
+ > **Patterns**: See [tech-context.md](../../brd/tech-context.md)
147
+
148
+ ## Summary
149
+ {what this feature does}
150
+
151
+ **Status**: {Complete | Partial | Planned | Not Started}
152
+
153
+ ## How It Works
154
+
155
+ {2-3 paragraphs explaining flow}
156
+
157
+ **Flow:**
158
+ 1. {step}
159
+ 2. {step}
160
+ 3. {step}
161
+
162
+ ## Architecture
163
+
164
+ **Entry Point:** `{file}` - {purpose}
165
+ **Uses Pattern:** {reference to tech-context.md pattern}
166
+ **Data Flow:** {diagram or description}
167
+
168
+ ## Key Files
169
+
170
+ | File | Role | Why Important |
171
+ |------|------|---------------|
172
+
173
+ ## How This Feature Uses Project Patterns
174
+
175
+ **API Communication:**
176
+ {which APIs, where}
177
+
178
+ **Data Access:**
179
+ {which models, how}
180
+
181
+ **State Management:**
182
+ {where state lives}
183
+
184
+ **Validation:**
185
+ {where schemas are}
186
+
187
+ ## Integration Points
188
+
189
+ **Where to add new code:**
190
+ {location + pattern}
191
+
192
+ **What to extend:**
193
+ {existing abstraction}
194
+
195
+ **Dependencies:**
196
+ {what must exist}
197
+
198
+ **Used By:**
199
+ {what depends on this}
200
+
201
+ ## Patterns to Follow
202
+
203
+ **✅ DO:**
204
+ {feature-specific guidance}
205
+
206
+ **❌ DON'T:**
207
+ {feature-specific anti-pattern}
208
+
209
+ ## Gotchas
210
+
211
+ {feature-specific issues}
212
+
213
+ ## For Implementation
214
+
215
+ **Start here:** `{file}` - {why}
216
+ **Follow pattern:** See tech-context.md → {section}
217
+ **Watch out:** {warning}
218
+ ```
219
+
220
+ ---
221
+
222
+ ## Key Difference
223
+
224
+ | Project Scout | Feature Scout |
225
+ |---------------|---------------|
226
+ | HOW we work (patterns) | HOW this feature works |
227
+ | Project-wide conventions | Feature-specific details |
228
+ | Pattern definition | Pattern usage |
229
+ | Reusable across features | Specific to feature |
230
+
231
+ Feature scout **references** tech-context.md, doesn't **repeat** it.