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:
Angad Singh Thind 2026-06-29 23:50:49 +01:00 committed by GitHub
parent 909ae2f67e
commit 85dfb07576
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 1548 additions and 2284 deletions

8
package-lock.json generated
View File

@ -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",

View File

@ -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": {

View File

@ -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 271282).
|-------------|-------|---------|
| 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.

3811
yarn.lock

File diff suppressed because it is too large Load Diff