Skip to content

Commit ad27fe4

Browse files
feat: add periscope ECC bundle (.claude/homunculus/instincts/inherited/periscope-instincts.yaml)
1 parent 74071bf commit ad27fe4

1 file changed

Lines changed: 299 additions & 0 deletions

File tree

Lines changed: 299 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,299 @@
1+
# Instincts generated from https://github.com/diazMelgarejo/periscope
2+
# Generated: 2026-07-28T00:55:34.446Z
3+
# Version: 2.0
4+
# NOTE: This file supplements (does not replace) any existing curated instincts.
5+
# High-confidence manually curated instincts should be preserved alongside these.
6+
7+
---
8+
id: periscope-commit-conventional
9+
trigger: "when writing a commit message"
10+
confidence: 0.85
11+
domain: git
12+
source: repo-analysis
13+
source_repo: https://github.com/diazMelgarejo/periscope
14+
---
15+
16+
# Periscope Commit Conventional
17+
18+
## Action
19+
20+
Use conventional commit format with prefixes: chore
21+
22+
## Evidence
23+
24+
- 1 commits analyzed
25+
- Detected conventional commit pattern
26+
- Examples: chore(git): sync attribution guard scripts and cursor rules
27+
28+
---
29+
id: periscope-commit-length
30+
trigger: "when writing a commit message"
31+
confidence: 0.6
32+
domain: git
33+
source: repo-analysis
34+
source_repo: https://github.com/diazMelgarejo/periscope
35+
---
36+
37+
# Periscope Commit Length
38+
39+
## Action
40+
41+
Write moderate-length commit messages (~59 characters)
42+
43+
## Evidence
44+
45+
- Average commit message length: 59 chars
46+
- Based on 1 commits
47+
48+
---
49+
id: periscope-naming-files
50+
trigger: "when creating a new file"
51+
confidence: 0.8
52+
domain: code-style
53+
source: repo-analysis
54+
source_repo: https://github.com/diazMelgarejo/periscope
55+
---
56+
57+
# Periscope Naming Files
58+
59+
## Action
60+
61+
Use kebab-case naming convention
62+
63+
## Evidence
64+
65+
- Analyzed file naming patterns in repository
66+
- Dominant pattern: kebab-case
67+
68+
---
69+
id: periscope-import-relative
70+
trigger: "when importing modules"
71+
confidence: 0.75
72+
domain: code-style
73+
source: repo-analysis
74+
source_repo: https://github.com/diazMelgarejo/periscope
75+
---
76+
77+
# Periscope Import Relative
78+
79+
## Action
80+
81+
Use relative imports for project files
82+
83+
## Evidence
84+
85+
- Import analysis shows relative import pattern
86+
- Example: import { x } from '../lib/x'
87+
88+
---
89+
id: periscope-export-style
90+
trigger: "when exporting from a module"
91+
confidence: 0.7
92+
domain: code-style
93+
source: repo-analysis
94+
source_repo: https://github.com/diazMelgarejo/periscope
95+
---
96+
97+
# Periscope Export Style
98+
99+
## Action
100+
101+
Prefer named exports
102+
103+
## Evidence
104+
105+
- Export pattern analysis
106+
- Dominant style: named
107+
108+
---
109+
id: periscope-test-separate
110+
trigger: "when writing tests"
111+
confidence: 0.8
112+
domain: testing
113+
source: repo-analysis
114+
source_repo: https://github.com/diazMelgarejo/periscope
115+
---
116+
117+
# Periscope Test Separate
118+
119+
## Action
120+
121+
Place tests in the tests/ or __tests__/ directory, mirroring src structure
122+
123+
## Evidence
124+
125+
- Separate test directory pattern detected
126+
- Tests live in dedicated test folders
127+
128+
---
129+
id: periscope-instinct-file-naming
130+
trigger: "When creating a new file"
131+
confidence: 0.9
132+
domain: code-style
133+
source: repo-analysis
134+
source_repo: diazMelgarejo/periscope
135+
---
136+
137+
# Periscope Instinct File Naming
138+
139+
## Action
140+
141+
Name the file using kebab-case
142+
143+
## Evidence
144+
145+
- Pattern in namingConventions.files
146+
147+
---
148+
id: periscope-instinct-function-naming
149+
trigger: "When defining a function"
150+
confidence: 0.9
151+
domain: code-style
152+
source: repo-analysis
153+
source_repo: diazMelgarejo/periscope
154+
---
155+
156+
# Periscope Instinct Function Naming
157+
158+
## Action
159+
160+
Use camelCase for the function name
161+
162+
## Evidence
163+
164+
- Pattern in namingConventions.functions
165+
166+
---
167+
id: periscope-instinct-class-naming
168+
trigger: "When defining a class"
169+
confidence: 0.9
170+
domain: code-style
171+
source: repo-analysis
172+
source_repo: diazMelgarejo/periscope
173+
---
174+
175+
# Periscope Instinct Class Naming
176+
177+
## Action
178+
179+
Use PascalCase for the class name
180+
181+
## Evidence
182+
183+
- Pattern in namingConventions.classes
184+
185+
---
186+
id: periscope-instinct-constant-naming
187+
trigger: "When defining a constant"
188+
confidence: 0.9
189+
domain: code-style
190+
source: repo-analysis
191+
source_repo: diazMelgarejo/periscope
192+
---
193+
194+
# Periscope Instinct Constant Naming
195+
196+
## Action
197+
198+
Use SCREAMING_SNAKE_CASE for the constant name
199+
200+
## Evidence
201+
202+
- Pattern in namingConventions.constants
203+
204+
---
205+
id: periscope-instinct-import-style
206+
trigger: "When importing modules"
207+
confidence: 0.8
208+
domain: code-style
209+
source: repo-analysis
210+
source_repo: diazMelgarejo/periscope
211+
---
212+
213+
# Periscope Instinct Import Style
214+
215+
## Action
216+
217+
Use relative import paths
218+
219+
## Evidence
220+
221+
- Pattern in importStyle
222+
223+
---
224+
id: periscope-instinct-export-style
225+
trigger: "When exporting from a module"
226+
confidence: 0.8
227+
domain: code-style
228+
source: repo-analysis
229+
source_repo: diazMelgarejo/periscope
230+
---
231+
232+
# Periscope Instinct Export Style
233+
234+
## Action
235+
236+
Use named exports
237+
238+
## Evidence
239+
240+
- Pattern in exportStyle
241+
242+
---
243+
id: periscope-instinct-git-commit-format
244+
trigger: "When writing a commit message"
245+
confidence: 0.9
246+
domain: git
247+
source: repo-analysis
248+
source_repo: diazMelgarejo/periscope
249+
---
250+
251+
# Periscope Instinct Git Commit Format
252+
253+
## Action
254+
255+
Use the conventional commit format with a 'chore' prefix
256+
257+
## Evidence
258+
259+
- Seen in commit: chore(git): sync attribution guard scripts and cursor rules
260+
- Pattern in commits.prefixes
261+
262+
---
263+
id: periscope-instinct-git-commit-length
264+
trigger: "When writing a commit message"
265+
confidence: 0.7
266+
domain: git
267+
source: repo-analysis
268+
source_repo: diazMelgarejo/periscope
269+
---
270+
271+
# Periscope Instinct Git Commit Length
272+
273+
## Action
274+
275+
Keep the commit message concise, around 59 characters on average
276+
277+
## Evidence
278+
279+
- Pattern in commits.averageLength
280+
281+
---
282+
id: periscope-instinct-test-location
283+
trigger: "When adding or updating tests"
284+
confidence: 0.8
285+
domain: testing
286+
source: repo-analysis
287+
source_repo: diazMelgarejo/periscope
288+
---
289+
290+
# Periscope Instinct Test Location
291+
292+
## Action
293+
294+
Place test files in a separate test directory
295+
296+
## Evidence
297+
298+
- Pattern in architecture.folderStructure.testLocation
299+

0 commit comments

Comments
 (0)