@codacy/verity-cli 0.32.0-experimental.f0746f7 → 0.32.0

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.
@@ -1,3 +1,10 @@
1
+ ---
2
+ description: >-
3
+ Run an independent AI review of the current change on demand — a second opinion on quality,
4
+ security, and whether the code matches its stated intent. Use when the user asks to review,
5
+ check, or analyze code before committing, or to get an independent check on work you have
6
+ just finished.
7
+ ---
1
8
  # /verity-analyze — Run Verity analysis on demand
2
9
 
3
10
  You are running an on-demand Verity analysis. This is like a "second opinion" — the user (or you) can invoke it at any point to get a quality and security review with rich context.
@@ -1,3 +1,9 @@
1
+ ---
2
+ description: >-
3
+ Send the user's feedback about Verity to the Verity team, verbatim. Use only when the user
4
+ explicitly asks to send feedback.
5
+ disable-model-invocation: true
6
+ ---
1
7
  # /verity-feedback — Send feedback
2
8
 
3
9
  ## General feedback
@@ -1,3 +1,10 @@
1
+ ---
2
+ description: >-
3
+ Report project quality metrics from accumulated run data, and manage the Standard's evolution
4
+ suggestions. Use when the user asks for quality trends or metrics, or whether the Standard
5
+ should change.
6
+ disable-model-invocation: true
7
+ ---
1
8
  # /verity-insights — Project quality insights and Standard evolution
2
9
 
3
10
  Surface metrics from accumulated run data and manage Standard evolution suggestions.
@@ -1,3 +1,9 @@
1
+ ---
2
+ description: >-
3
+ View and manage the durable project knowledge Verity has accumulated — decisions, patterns,
4
+ gotchas, and conventions extracted from past analysis runs. Use when the user asks what
5
+ Verity has learned, or before changing an area of the code you do not know.
6
+ ---
1
7
  # /verity-learn — View and manage project knowledge
2
8
 
3
9
  Project knowledge is durable insights extracted from analysis runs — decisions, patterns, gotchas, and conventions. When the memory graph is enabled (`memory_graph_enabled`), this skill delegates to the graph. Otherwise, it uses flat lessons.
@@ -1,3 +1,10 @@
1
+ ---
2
+ description: >-
3
+ Browse, query, and extend the project knowledge graph at .verity/memory/ — typed nodes and
4
+ edges covering decisions, patterns, security constraints, and gotchas. Use to pull prior
5
+ context on files you are about to change, or when the user asks to record or inspect project
6
+ knowledge.
7
+ ---
1
8
  # /verity-memory — Manage the project knowledge graph
2
9
 
3
10
  The memory graph is a collection of markdown nodes at `.verity/memory/` organized into 8 domains. Each node has YAML frontmatter with typed edges that form a graph. The graph is the project's accumulated knowledge — decisions, patterns, gotchas, security constraints, and more.
@@ -1,3 +1,9 @@
1
+ ---
2
+ description: >-
3
+ Capture a durable learning at the end of a task: draft a concrete, cited observation from
4
+ what actually happened, then confirm it with the user or record it directly. Use at natural
5
+ task-completion moments, or when the user asks to record a lesson.
6
+ ---
1
7
  # /verity-reflect — Capture learnings after a task
2
8
 
3
9
  At a natural task-completion moment, **the agent reflects first** — draft a
@@ -1,3 +1,10 @@
1
+ ---
2
+ description: >-
3
+ Configure Verity for this project: create or update the project Standard, wire the
4
+ static-analysis tools, and authenticate. Use when setting Verity up for the first time, or
5
+ when the user asks to change quality rules, severity thresholds, or which analysis tools run.
6
+ disable-model-invocation: true
7
+ ---
1
8
  # /verity-setup — Configure Verity for this project
2
9
 
3
10
  You are finishing Verity's setup: the half that needs a model.
@@ -28,7 +35,7 @@ propose them from evidence rather than have them invented from a dependency list
28
35
  3. Write `.codacy/codacy.config.json` with curated, validated pattern ids (Step 5).
29
36
  4. Upload both, seed the knowledge base, write `VERITY.md` (Steps 7–8).
30
37
 
31
- **Reference files** (installed in this project at `.claude/skills/verity-setup/`):
38
+ **Reference files** (bundled alongside this skill, at `${CLAUDE_SKILL_DIR}`):
32
39
  - `patterns-reference.yaml` — Research-backed patterns catalog (quality, security, language-specific)
33
40
  - `standard-template.yaml` — YAML skeleton for the Standard
34
41
 
@@ -148,7 +155,7 @@ user's decision to make at a terminal.
148
155
 
149
156
  ## Step 4: Synthesize the Standard
150
157
 
151
- Read `.claude/skills/verity-setup/patterns-reference.yaml` and `.claude/skills/verity-setup/standard-template.yaml` from the project root.
158
+ Read `${CLAUDE_SKILL_DIR}/patterns-reference.yaml` and `${CLAUDE_SKILL_DIR}/standard-template.yaml`.
152
159
 
153
160
  Generate `.verity/standard.yaml` by filling in the template:
154
161
 
@@ -221,7 +228,7 @@ it from the installed adapter. Then **always validate** (next section).
221
228
 
222
229
  ```bash
223
230
  # balanced/thorough: critical + high vulns, secrets, malicious packages
224
- node <skill-dir>/validate-patterns.mjs --emit Trivy \
231
+ node ${CLAUDE_SKILL_DIR}/validate-patterns.mjs --emit Trivy \
225
232
  '^Trivy_(secret|malicious_packages|vulnerability_(critical|high))$'
226
233
 
227
234
  # lightweight: drop malicious_packages if you want the minimum
@@ -406,7 +413,7 @@ alongside this skill. It checks every `patternId` against the IDs the installed
406
413
  adapters actually define, and exits non-zero on any that does not exist:
407
414
 
408
415
  ```bash
409
- node "$(dirname "$0")/validate-patterns.mjs" # or: node <skill-dir>/validate-patterns.mjs
416
+ node ${CLAUDE_SKILL_DIR}/validate-patterns.mjs
410
417
  ```
411
418
 
412
419
  Expected output:
@@ -474,7 +481,7 @@ disabled tool produces the same zero findings as clean code, so a quiet run prov
474
481
  nothing on its own:
475
482
 
476
483
  ```bash
477
- node <skill-dir>/validate-patterns.mjs
484
+ node ${CLAUDE_SKILL_DIR}/validate-patterns.mjs
478
485
  ```
479
486
 
480
487
  Then confirm the volume is sane:
@@ -1,3 +1,9 @@
1
+ ---
2
+ description: >-
3
+ Show Verity quality status for this project: Standard version, last run summary, quality
4
+ trend, and pending items. Use when the user asks how the project is doing, what Verity found
5
+ recently, or whether the gate is passing.
6
+ ---
1
7
  # /verity-status — Show Verity quality status
2
8
 
3
9
  You are showing the current Verity quality status for this project. This gives a quick overview of project health without running a new analysis.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codacy/verity-cli",
3
- "version": "0.32.0-experimental.f0746f7",
3
+ "version": "0.32.0",
4
4
  "description": "CLI for Verity quality gate service",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "homepage": "https://verity.md",