scip-query 0.10.3 → 0.10.5
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/README.md +9 -8
- package/dist/{chunk-YVLHL6KQ.js → chunk-237YUOPK.js} +2 -2
- package/dist/chunk-56UN3DMK.js +2 -0
- package/dist/chunk-5UDFZC4D.js +2 -0
- package/dist/{chunk-X474LKJX.js → chunk-6UFMPECA.js} +2 -2
- package/dist/chunk-7JOTOWZO.js +4 -0
- package/dist/chunk-A7RNHUJH.js +20 -0
- package/dist/chunk-AYYIZ4BA.js +4 -0
- package/dist/chunk-BNKE4TT5.js +2 -0
- package/dist/chunk-MA7OVFHI.js +2 -0
- package/dist/chunk-ONPCQ2PM.js +6 -0
- package/dist/chunk-QUJBXLBY.js +2 -0
- package/dist/chunk-WBJZNPUT.js +2 -0
- package/dist/{chunk-4HOMAEDD.js → chunk-YUTRW57I.js} +2 -2
- package/dist/cli.js +211 -198
- package/dist/frontend-behavior-evidence-BxKpKWUu.d.ts +4 -0
- package/dist/postinstall.js +3 -3
- package/dist/queries/diff-gate.d.ts +4 -2
- package/dist/queries/diff-gate.js +1 -1
- package/dist/queries/diff-impact.js +1 -1
- package/dist/queries/doc-drift.js +1 -1
- package/dist/queries/health.js +1 -1
- package/dist/queries/incomplete-migration.js +1 -1
- package/dist/queries/index.d.ts +1 -0
- package/dist/queries/index.js +1 -1
- package/dist/queries/plan-context.js +1 -1
- package/dist/queries/react-component-duplicates.js +1 -1
- package/dist/queries/react-hook-candidates.d.ts +3 -2
- package/dist/queries/react-hook-candidates.js +1 -1
- package/dist/queries/recent-duplicates.js +1 -1
- package/dist/queries/vue-component-duplicates.js +1 -1
- package/dist/queries/vue-composable-candidates.d.ts +3 -2
- package/dist/queries/vue-composable-candidates.js +1 -1
- package/dist/reindex-worker.js +8 -8
- package/dist/reindex.d.ts +1 -1
- package/dist/reindex.js +19 -19
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +2 -2
- package/dist/{scip-cli-a-xOztiK.d.ts → scip-cli-Bh1M_JPu.d.ts} +1 -1
- package/docs/AGENT_GUIDE.md +42 -5
- package/docs/AI_FAILURE_MODES.md +28 -21
- package/docs/COMMAND_REFERENCE.md +4 -2
- package/docs/analyzer-inventory.md +5 -1
- package/docs/analyzer-validation-ledger.md +8 -0
- package/package.json +7 -3
- package/scripts/build-scip-windows.mjs +75 -0
- package/skills/concrete-plan/SKILL.md +3 -5
- package/skills/concrete-plan/agents/openai.yaml +4 -0
- package/skills/scip-adoption/SKILL.md +120 -0
- package/skills/scip-adoption/agents/openai.yaml +4 -0
- package/skills/scip-ai-cleanup/SKILL.md +12 -4
- package/skills/scip-ai-cleanup/agents/openai.yaml +4 -0
- package/skills/scip-api-impact/SKILL.md +147 -0
- package/skills/scip-api-impact/agents/openai.yaml +4 -0
- package/skills/scip-debloat/SKILL.md +15 -13
- package/skills/scip-debloat/agents/openai.yaml +4 -0
- package/skills/scip-debug/SKILL.md +119 -0
- package/skills/scip-debug/agents/openai.yaml +4 -0
- package/skills/scip-diagram/SKILL.md +138 -0
- package/skills/scip-diagram/agents/openai.yaml +4 -0
- package/skills/scip-directory-architecture/SKILL.md +2 -2
- package/skills/scip-directory-architecture/agents/openai.yaml +4 -0
- package/skills/scip-doc-reconcile/SKILL.md +1 -3
- package/skills/scip-doc-reconcile/agents/openai.yaml +4 -0
- package/skills/scip-explore/SKILL.md +8 -2
- package/skills/scip-explore/agents/openai.yaml +4 -0
- package/skills/scip-health-audit/SKILL.md +158 -0
- package/skills/scip-health-audit/agents/openai.yaml +4 -0
- package/skills/scip-health-improve/SKILL.md +151 -0
- package/skills/scip-health-improve/agents/openai.yaml +4 -0
- package/skills/scip-language-playbook/SKILL.md +7 -4
- package/skills/scip-language-playbook/agents/openai.yaml +4 -0
- package/skills/scip-maintainability/SKILL.md +7 -3
- package/skills/scip-maintainability/agents/openai.yaml +4 -0
- package/skills/scip-query/SKILL.md +74 -33
- package/skills/scip-query/agents/openai.yaml +4 -0
- package/skills/scip-query-setup/SKILL.md +65 -18
- package/skills/scip-query-setup/agents/openai.yaml +3 -0
- package/skills/scip-react-maintainability/SKILL.md +2 -2
- package/skills/scip-react-maintainability/agents/openai.yaml +4 -0
- package/skills/scip-triage-issue/SKILL.md +112 -0
- package/skills/scip-triage-issue/agents/openai.yaml +4 -0
- package/skills/scip-verify/SKILL.md +83 -232
- package/skills/scip-verify/agents/openai.yaml +4 -0
- package/skills/scip-vue-maintainability/SKILL.md +2 -3
- package/skills/scip-vue-maintainability/agents/openai.yaml +4 -0
- package/vendor/scip/LICENSE.scip +201 -0
- package/vendor/scip/README.md +6 -0
- package/vendor/scip/win32-arm64/scip.exe +0 -0
- package/vendor/scip/win32-x64/scip.exe +0 -0
- package/dist/chunk-7ADUXFRZ.js +0 -2
- package/dist/chunk-GLJAAKDW.js +0 -4
- package/dist/chunk-GS33KGAY.js +0 -2
- package/dist/chunk-I7TSQZ3J.js +0 -4
- package/dist/chunk-NP5HYVLX.js +0 -20
- package/dist/chunk-NXIAHE7F.js +0 -5
- package/dist/chunk-O4L4AB3T.js +0 -2
- package/dist/chunk-TO54DY4O.js +0 -2
- package/dist/chunk-UMNENNTX.js +0 -2
|
@@ -1,307 +1,158 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: scip-verify
|
|
3
|
-
description: Post-implementation verification using scip-query
|
|
4
|
-
allowed-tools: [Bash, Write, Edit, Glob, Agent, TaskCreate, TaskUpdate, TaskGet, TaskList]
|
|
5
|
-
keywords: [verify, check, validate, wire, confirm, post-implementation, review, regression, health]
|
|
3
|
+
description: Post-implementation verification using scip-query's modern gate model. Use after making code, docs, config, refactor, cleanup, or setup changes; before committing; when the user asks whether a change is wired correctly, safe, verified, regression-free, or ready to ship.
|
|
6
4
|
---
|
|
7
5
|
|
|
8
6
|
# Post-Implementation Verification with scip-query
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
## When to Use This Skill
|
|
15
|
-
|
|
16
|
-
- "Verify my changes"
|
|
17
|
-
- "Check if everything is wired correctly"
|
|
18
|
-
- "Did I break anything?"
|
|
19
|
-
- "Is it safe to commit?"
|
|
20
|
-
- "Run a post-implementation check"
|
|
21
|
-
- After completing a `/concrete-plan` implementation
|
|
22
|
-
- Before any commit of non-trivial changes
|
|
23
|
-
|
|
24
|
-
---
|
|
8
|
+
Verify the actual diff, not your intention. A verification pass proves that the current workspace has a runnable scip-query environment, a current index, expected blast radius, no diff-gate findings, and no relevant health or config regression.
|
|
25
9
|
|
|
26
10
|
## Hard Rules
|
|
27
11
|
|
|
28
|
-
1.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
4. **Compare against baseline.** If a health score or finding count was recorded before the change, compare against it. A regression is a finding.
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
## Symbol Lookup Tips
|
|
39
|
-
|
|
40
|
-
`scip-query` accepts partial symbol names — you don't need the full SCIP symbol path. These all work:
|
|
41
|
-
|
|
42
|
-
```bash
|
|
43
|
-
scip-query code processVegaMention # just the function name
|
|
44
|
-
scip-query call-graph ChatService # just the class name
|
|
45
|
-
scip-query trace getActiveInferenceConfig # any unique substring
|
|
46
|
-
```
|
|
12
|
+
1. Run environment checks before trusting graph facts.
|
|
13
|
+
2. Reindex before final verification unless a just-finished command already did so and no files changed afterward.
|
|
14
|
+
3. Treat `scip-query diff-gate --json` as the primary blocker for diff-specific risk. Manual checks are drill-down evidence, not a replacement.
|
|
15
|
+
4. Run the postchecks that match the actual change type.
|
|
16
|
+
5. Prefer fixing findings. Use `scip-query suppress <id> --reason "<specific reason>"` only for intentional design, compatibility shims, framework entry points, or accepted false positives with durable evidence.
|
|
17
|
+
6. If `.scipquery.json` or suppressions changed, run `scip-query config-validate`.
|
|
47
18
|
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
# BAD — shell tries to execute a subshell
|
|
51
|
-
scip-query code processVegaMention()
|
|
19
|
+
## Default Verification Flow
|
|
52
20
|
|
|
53
|
-
|
|
54
|
-
scip-query code processVegaMention
|
|
21
|
+
### 1. Prove the workspace can answer
|
|
55
22
|
|
|
56
|
-
# ALSO GOOD — single quotes protect special characters
|
|
57
|
-
scip-query code 'processVegaMention'
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
**Read source by file + line range** when the symbol name is ambiguous:
|
|
61
23
|
```bash
|
|
62
|
-
scip-query
|
|
24
|
+
scip-query doctor
|
|
25
|
+
scip-query status --capabilities
|
|
63
26
|
```
|
|
64
27
|
|
|
65
|
-
|
|
66
|
-
1. Try a shorter/simpler name — `login` instead of `AuthService:login`
|
|
67
|
-
2. Try `scip-query outline <file>` to see what symbols exist in the file
|
|
68
|
-
3. Try `scip-query trace <name>` which uses a different lookup path
|
|
69
|
-
4. Use the `file:line-line` syntax for `code` if you know the location
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
|
-
## The 7 Verification Checks
|
|
74
|
-
|
|
75
|
-
Run every one of these. Each catches a different class of implementation error.
|
|
28
|
+
If either command reports missing indexers, stale indexes, invalid config, or unavailable capabilities relevant to the change, resolve that first or report it as a blocker. Unavailable is not clean; it means that signal class was not proven.
|
|
76
29
|
|
|
77
|
-
###
|
|
30
|
+
### 2. Refresh and assess the diff
|
|
78
31
|
|
|
79
32
|
```bash
|
|
80
33
|
scip-query reindex
|
|
81
|
-
scip-query diff-impact
|
|
34
|
+
scip-query diff-impact --json
|
|
82
35
|
```
|
|
83
36
|
|
|
84
|
-
|
|
37
|
+
Use `diff-impact` to check whether the changed files, changed symbols, and downstream consumers match the work you intended to do. Unexpected symbols or a much wider blast radius are findings even if `diff-gate` later passes.
|
|
85
38
|
|
|
86
|
-
|
|
87
|
-
- Every changed symbol is intentional (no accidental modifications)
|
|
88
|
-
- The number of affected consumer files matches expectations
|
|
39
|
+
### 3. Run routed postchecks
|
|
89
40
|
|
|
90
|
-
|
|
41
|
+
Run every row that applies to the work just performed.
|
|
91
42
|
|
|
92
|
-
|
|
43
|
+
| Change type | Required checks |
|
|
44
|
+
|---|---|
|
|
45
|
+
| Extracted a helper or created an abstraction | `scip-query incomplete-migration --json --full` |
|
|
46
|
+
| Added a new helper, module, component, or adapter | `scip-query similar <symbol> --json --full` and `scip-query recent-duplicates --json --full` |
|
|
47
|
+
| Added parameters, options, or config flags | `scip-query unused-params --json --full` |
|
|
48
|
+
| Added a forwarding or wrapper layer | `scip-query wrapper-candidates --json --full` and `scip-query passthrough-candidates --json --full` |
|
|
49
|
+
| Added an interface, base class, adapter contract, or type alias | `scip-query stale-abstractions --json --full` |
|
|
50
|
+
| Changed schema, config, generated artifacts, or public contracts | `scip-query co-change <file> --json --full` |
|
|
51
|
+
| Changed code described by docs or changed docs that cite code | `scip-query doc-drift --json --full` |
|
|
52
|
+
| Deleted code | `scip-query cleanup-plan --verify --json` |
|
|
53
|
+
| Changed React components or hooks | `scip-query react-component-duplicates --json --full`, `scip-query react-hook-candidates --json --full`, and `scip-query react-large-component-pressure --json --full` |
|
|
54
|
+
| Changed Vue SFCs or composables | `scip-query vue-component-duplicates --json --full`, `scip-query vue-composable-candidates --json --full`, and `scip-query vue-large-view-pressure --json --full` |
|
|
55
|
+
|
|
56
|
+
Use focused probes when a finding needs explanation:
|
|
93
57
|
|
|
94
58
|
```bash
|
|
95
|
-
scip-query
|
|
59
|
+
scip-query code <symbol-or-file>
|
|
60
|
+
scip-query refs <symbol>
|
|
61
|
+
scip-query fan-in <symbol>
|
|
62
|
+
scip-query fan-out <symbol>
|
|
63
|
+
scip-query affected <symbol> --json
|
|
64
|
+
scip-query change-surface <file> --json --full
|
|
96
65
|
```
|
|
97
66
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
**Pass criteria:** Zero cycles, OR the same cycles that existed before the change.
|
|
101
|
-
|
|
102
|
-
**Fail if:** New cycle(s) appear. Report the full cycle path.
|
|
103
|
-
|
|
104
|
-
### Check 3: No New Dead Code
|
|
67
|
+
### 4. Run the gate
|
|
105
68
|
|
|
106
69
|
```bash
|
|
107
|
-
scip-query
|
|
70
|
+
scip-query diff-gate --json
|
|
108
71
|
```
|
|
109
72
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
**Pass criteria:** No new dead symbols compared to before the change. Existing dead code doesn't count.
|
|
113
|
-
|
|
114
|
-
**Fail if:** A symbol that was alive before the change is now dead. This means something was disconnected.
|
|
115
|
-
|
|
116
|
-
### Check 4: No New Isolated Symbols
|
|
73
|
+
On any finding, fix it or explicitly accept it with evidence. Do not ignore a nonzero gate. If a suppression is the right outcome, record the reason and validate config:
|
|
117
74
|
|
|
118
75
|
```bash
|
|
119
|
-
scip-query
|
|
76
|
+
scip-query suppress <id> --reason "<specific reason>"
|
|
77
|
+
scip-query config-validate
|
|
120
78
|
```
|
|
121
79
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
**Pass criteria:** No new isolated symbols.
|
|
125
|
-
|
|
126
|
-
**Fail if:** New isolated symbol(s) appear — something got orphaned.
|
|
80
|
+
### 5. Check baseline health when present
|
|
127
81
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
For each symbol that was modified (from diff-impact), verify it's still referenced by the expected consumers:
|
|
82
|
+
Run this when the repository has a committed scip-query baseline:
|
|
131
83
|
|
|
132
84
|
```bash
|
|
133
|
-
scip-query
|
|
134
|
-
scip-query fan-in <changed-symbol>
|
|
85
|
+
scip-query health --baseline
|
|
135
86
|
```
|
|
136
87
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
**Pass criteria:** Fan-in count for each changed symbol is the same or higher than before.
|
|
140
|
-
|
|
141
|
-
**Fail if:** A changed symbol's fan-in dropped — a consumer was disconnected.
|
|
142
|
-
|
|
143
|
-
### Check 6: Change Surface Risk Check
|
|
144
|
-
|
|
145
|
-
For each modified file:
|
|
88
|
+
If no baseline exists and the user asked for broad health verification, run:
|
|
146
89
|
|
|
147
90
|
```bash
|
|
148
|
-
scip-query
|
|
91
|
+
scip-query health --json --full
|
|
149
92
|
```
|
|
150
93
|
|
|
151
|
-
|
|
94
|
+
Health score changes are diagnostic, not the objective. A score drop matters when it corresponds to a real new signal; a score increase does not excuse unverified behavior.
|
|
152
95
|
|
|
153
|
-
|
|
96
|
+
### 6. Validate config and docs when touched
|
|
154
97
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
### Check 7: Health Score
|
|
98
|
+
If `.scipquery.json`, AGENTS.md, CLAUDE.md, command docs, or skill instructions changed, run the relevant check:
|
|
158
99
|
|
|
159
100
|
```bash
|
|
160
|
-
scip-query
|
|
101
|
+
scip-query config-validate
|
|
102
|
+
scip-query doc-drift --json --full
|
|
161
103
|
```
|
|
162
104
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
**Pass criteria:** Health score is the same or higher than before the change. If it dropped, every finding that increased must be explained.
|
|
166
|
-
|
|
167
|
-
**Fail if:** Health score dropped by more than 5 points without explanation.
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
## Verification Workflow
|
|
105
|
+
For generated command docs, also run the repo's descriptor or docs test if one exists.
|
|
172
106
|
|
|
173
|
-
|
|
107
|
+
If you are maintaining scip-query analyzers or command descriptors inside the scip-query repository itself, add:
|
|
174
108
|
|
|
175
109
|
```bash
|
|
176
|
-
scip-query
|
|
177
|
-
scip-query diff-impact
|
|
110
|
+
scip-query self-audit
|
|
178
111
|
```
|
|
179
112
|
|
|
180
|
-
|
|
113
|
+
This is a maintainer check for analyzer consistency, not a general app-developer verification step.
|
|
181
114
|
|
|
182
|
-
|
|
115
|
+
## Manual Drill-Down Checks
|
|
183
116
|
|
|
184
|
-
|
|
117
|
+
Use these when `diff-impact`, routed postchecks, or `diff-gate` point to a structural risk:
|
|
185
118
|
|
|
186
119
|
```bash
|
|
187
120
|
scip-query cycles
|
|
188
|
-
scip-query dead --
|
|
189
|
-
scip-query isolated --
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
### Phase 3: Per-Symbol Checks
|
|
193
|
-
|
|
194
|
-
For each changed symbol from diff-impact:
|
|
195
|
-
|
|
196
|
-
```bash
|
|
197
|
-
scip-query refs <symbol>
|
|
198
|
-
scip-query fan-in <symbol>
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
### Phase 4: Per-File Checks
|
|
202
|
-
|
|
203
|
-
For each modified file:
|
|
204
|
-
|
|
205
|
-
```bash
|
|
206
|
-
scip-query change-surface <file>
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
### Phase 5: Health Comparison
|
|
210
|
-
|
|
211
|
-
```bash
|
|
212
|
-
scip-query health
|
|
121
|
+
scip-query dead --json --full
|
|
122
|
+
scip-query isolated --json --full
|
|
123
|
+
scip-query coupling
|
|
124
|
+
scip-query bottlenecks
|
|
213
125
|
```
|
|
214
126
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
---
|
|
127
|
+
These commands are not a substitute for `diff-gate`; they explain or bound the finding.
|
|
218
128
|
|
|
219
|
-
##
|
|
129
|
+
## Verification Report
|
|
220
130
|
|
|
221
|
-
|
|
131
|
+
End with a compact report:
|
|
222
132
|
|
|
223
133
|
```markdown
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
**Date:** YYYY-MM-DD
|
|
227
|
-
**Change:** [description]
|
|
228
|
-
**Pre-change health:** N/100
|
|
229
|
-
**Post-change health:** N/100
|
|
230
|
-
|
|
231
|
-
## Diff Impact
|
|
232
|
-
- Changed files: N
|
|
233
|
-
- Changed symbols: N
|
|
234
|
-
- Affected consumer files: N
|
|
235
|
-
- High-risk symbols touched: N
|
|
236
|
-
|
|
237
|
-
## Check Results
|
|
238
|
-
|
|
239
|
-
| # | Check | Result | Evidence |
|
|
240
|
-
|---|---|---|---|
|
|
241
|
-
| 1 | Diff impact | PASS/FAIL | [summary] |
|
|
242
|
-
| 2 | No new cycles | PASS/FAIL | [count] |
|
|
243
|
-
| 3 | No new dead code | PASS/FAIL | [count] |
|
|
244
|
-
| 4 | No new isolated | PASS/FAIL | [count] |
|
|
245
|
-
| 5 | References intact | PASS/FAIL | [fan-in changes] |
|
|
246
|
-
| 6 | Risk assessment | PASS/FAIL | [high-risk symbols] |
|
|
247
|
-
| 7 | Health score | PASS/FAIL | [score delta] |
|
|
248
|
-
|
|
249
|
-
## Failures
|
|
250
|
-
[Detailed explanation of any failures with scip-query output]
|
|
251
|
-
|
|
252
|
-
## Verdict
|
|
253
|
-
PASS — safe to commit
|
|
254
|
-
FAIL — [list what needs fixing before commit]
|
|
255
|
-
```
|
|
256
|
-
|
|
257
|
-
---
|
|
258
|
-
|
|
259
|
-
## Using with /concrete-plan
|
|
260
|
-
|
|
261
|
-
The ideal workflow:
|
|
134
|
+
Verification: PASS/FAIL
|
|
262
135
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
136
|
+
Environment:
|
|
137
|
+
- doctor: PASS/FAIL
|
|
138
|
+
- status capabilities: PASS/FAIL or unavailable checks
|
|
266
139
|
|
|
267
|
-
|
|
140
|
+
Diff:
|
|
141
|
+
- changed files/symbols from `scip-query diff-impact --json`
|
|
142
|
+
- unexpected blast radius, if any
|
|
268
143
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
## Subagent Briefing Template
|
|
272
|
-
|
|
273
|
-
When parallelizing verification checks:
|
|
274
|
-
|
|
275
|
-
```
|
|
276
|
-
## Task: Run verification check [N]
|
|
144
|
+
Postchecks:
|
|
145
|
+
- <command>: PASS/FAIL and finding count
|
|
277
146
|
|
|
278
|
-
|
|
147
|
+
Gate:
|
|
148
|
+
- `scip-query diff-gate --json`: PASS/FAIL
|
|
279
149
|
|
|
280
|
-
|
|
281
|
-
|
|
150
|
+
Health/config:
|
|
151
|
+
- baseline or health result
|
|
152
|
+
- config validation result when applicable
|
|
282
153
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
2. Whether it PASSES or FAILS the criteria: [specific criteria]
|
|
286
|
-
3. If FAIL: exactly what went wrong and which symbols/files are affected
|
|
287
|
-
|
|
288
|
-
Do NOT use grep, rg, or Read. Use only scip-query commands.
|
|
154
|
+
Remaining risk:
|
|
155
|
+
- accepted suppressions, blocked capabilities, or checks not run
|
|
289
156
|
```
|
|
290
157
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
## scip-query Quick Reference
|
|
294
|
-
|
|
295
|
-
| Check | Command |
|
|
296
|
-
|---|---|
|
|
297
|
-
| Reindex | `scip-query reindex` |
|
|
298
|
-
| Diff impact | `scip-query diff-impact` |
|
|
299
|
-
| Cycles | `scip-query cycles` |
|
|
300
|
-
| Dead code | `scip-query dead --min-loc 5` |
|
|
301
|
-
| Isolated | `scip-query isolated --min-loc 3` |
|
|
302
|
-
| References | `scip-query refs <symbol>` |
|
|
303
|
-
| Fan-in | `scip-query fan-in <symbol>` |
|
|
304
|
-
| Change surface | `scip-query change-surface <file>` |
|
|
305
|
-
| Health | `scip-query health` |
|
|
306
|
-
| Full blast radius | `scip-query affected <symbol>` |
|
|
307
|
-
| Read source | `scip-query code <symbol>` |
|
|
158
|
+
Do not claim "safe to commit" unless `scip-query reindex` and `scip-query diff-gate --json` passed after the final file edit.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: scip-vue-maintainability
|
|
3
3
|
description: Vue frontend maintainability review using scip-query's Vue SFC, template-duplicate, composable-candidate, large-view, and health commands. Use when reviewing Vue or Nuxt codebases, investigating duplicated components or composables, checking frontend health score pressure, or asking whether agents are reusing Vue code correctly.
|
|
4
|
-
allowed-tools: [Bash, Read, Grep, Glob]
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
# SCIP Vue Maintainability Review
|
|
@@ -80,7 +79,7 @@ After implementing a component reuse, composable extraction, or large-view split
|
|
|
80
79
|
Run the checks that match what changed:
|
|
81
80
|
|
|
82
81
|
```bash
|
|
83
|
-
scip-query diff-impact
|
|
82
|
+
scip-query diff-impact --json
|
|
84
83
|
scip-query vue-component-duplicates --scope <vue-source-scope> --full --json
|
|
85
84
|
scip-query vue-composable-candidates --scope <vue-source-scope> --full --json
|
|
86
85
|
scip-query vue-large-view-pressure --scope <vue-source-scope> --full --json
|
|
@@ -90,7 +89,7 @@ scip-query unused-params
|
|
|
90
89
|
scip-query wrapper-candidates --scope <vue-source-scope> --full --json
|
|
91
90
|
scip-query passthrough-candidates --scope <vue-source-scope> --full --json
|
|
92
91
|
scip-query stale-abstractions --scope <vue-source-scope> --include-low-confidence --full --json
|
|
93
|
-
scip-query reindex && scip-query diff-gate
|
|
92
|
+
scip-query reindex && scip-query diff-gate --json
|
|
94
93
|
```
|
|
95
94
|
|
|
96
95
|
Use the results this way:
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright [yyyy] [name of copyright owner]
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Managed scip binaries
|
|
2
|
+
|
|
3
|
+
These binaries are built from https://github.com/scip-code/scip.git at v0.8.1.
|
|
4
|
+
They are included so Windows installs can run `scip-query reindex` without requiring Go or WSL.
|
|
5
|
+
|
|
6
|
+
Run `npm run build:scip-windows` before publishing to refresh them.
|
|
Binary file
|
|
Binary file
|