mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-30 19:00:57 +08:00
Fix for docs: Scope Decision Guide table duplicated in SKILL.md and observer.md with minor drift (#2366)
#2306 Co-authored-by: angadsingh7666 <angdsingh7666@gmail.com>
This commit is contained in:
parent
909ae2f67e
commit
85dfb07576
8
package-lock.json
generated
8
package-lock.json
generated
@ -11,7 +11,7 @@
|
|||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@iarna/toml": "^2.2.5",
|
"@iarna/toml": "^2.2.5",
|
||||||
"ajv": "^8.18.0",
|
"ajv": "^8.20.0",
|
||||||
"sql.js": "^1.14.1"
|
"sql.js": "^1.14.1"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
@ -535,9 +535,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ajv": {
|
"node_modules/ajv": {
|
||||||
"version": "8.18.0",
|
"version": "8.20.0",
|
||||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz",
|
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
|
||||||
"integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==",
|
"integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
|
|||||||
@ -358,7 +358,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@iarna/toml": "^2.2.5",
|
"@iarna/toml": "^2.2.5",
|
||||||
"ajv": "^8.18.0",
|
"ajv": "^8.20.0",
|
||||||
"sql.js": "^1.14.1"
|
"sql.js": "^1.14.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@ -121,16 +121,7 @@ Validate and sanitize all user input before processing.
|
|||||||
|
|
||||||
When creating instincts, determine scope based on these heuristics:
|
When creating instincts, determine scope based on these heuristics:
|
||||||
|
|
||||||
| Pattern Type | Scope | Examples |
|
> **Scope Decision Guide** – See the canonical table in `skills/continuous-learning-v2/SKILL.md` (lines 271‑282).
|
||||||
|-------------|-------|---------|
|
|
||||||
| Language/framework conventions | **project** | "Use React hooks", "Follow Django REST patterns" |
|
|
||||||
| File structure preferences | **project** | "Tests in `__tests__`/", "Components in src/components/" |
|
|
||||||
| Code style | **project** | "Use functional style", "Prefer dataclasses" |
|
|
||||||
| Error handling strategies | **project** (usually) | "Use Result type for errors" |
|
|
||||||
| Security practices | **global** | "Validate user input", "Sanitize SQL" |
|
|
||||||
| General best practices | **global** | "Write tests first", "Always handle errors" |
|
|
||||||
| Tool workflow preferences | **global** | "Grep before Edit", "Read before Write" |
|
|
||||||
| Git practices | **global** | "Conventional commits", "Small focused commits" |
|
|
||||||
|
|
||||||
**When in doubt, default to `scope: project`** — it's safer to be project-specific and promote later than to contaminate the global space.
|
**When in doubt, default to `scope: project`** — it's safer to be project-specific and promote later than to contaminate the global space.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user