@vyuhlabs/dxkit 0.11.0 → 0.11.1

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 CHANGED
@@ -34,10 +34,12 @@ Running `init` auto-detects your tech stack and generates a complete `.claude/`
34
34
  test-gap-finder.md # Identifies untested critical code
35
35
  dependency-mapper.md # Maps import chains and blast radius
36
36
  health-auditor.md # 6-dimension codebase health audit
37
- vulnerability-scanner.md # Dependency + code security scan
37
+ vulnerability-scanner.md # CWE-classified security scan (Snyk-comparable)
38
38
  dev-report.md # Developer activity + quality attribution
39
+ dashboard-builder.md # HTML dashboard from all reports
40
+ hooks-configurator.md # Git hooks from DXKit commands
39
41
  debugger.md # Root cause analysis
40
- commands/ # 24 slash commands (see below)
42
+ commands/ # 26 slash commands (see below)
41
43
  skills/ # Domain knowledge
42
44
  codebase/ # Auto-generated architecture overview
43
45
  learned/ # Evolving gotchas, conventions, deny list
@@ -82,7 +84,7 @@ Auto-detected and integrated when present:
82
84
  - **Pulumi** — IaC with preview-before-apply safety
83
85
  - **Docker** — Container commands
84
86
 
85
- ## Commands (24)
87
+ ## Commands (26)
86
88
 
87
89
  ### Development Workflow
88
90
  | Command | Description |
@@ -100,17 +102,17 @@ Auto-detected and integrated when present:
100
102
  | `/check` | Full pre-commit validation (quality + tests + AI review) |
101
103
  | `/fix` | Auto-fix formatting and lint issues |
102
104
  | `/build` | Build the project |
103
- | `/setup-hooks` | Install git pre-commit/pre-push hooks |
104
105
  | `/test-gaps` | Find critical untested code paths |
105
106
 
106
107
  ### Analysis & Reports
107
108
  | Command | Description | Report |
108
109
  |---|---|---|
109
110
  | `/health` | 6-dimension codebase health audit | `.ai/reports/health-audit-*.md` |
110
- | `/vulnerabilities` | Dependency + code vulnerability scan | `.ai/reports/vulnerability-scan-*.md` |
111
+ | `/vulnerabilities` | CWE-classified security scan (Snyk-comparable) | `.ai/reports/vulnerability-scan-*.md` |
111
112
  | `/dev-report` | Developer activity + security attribution | `.ai/reports/developer-report-*.md` |
112
113
  | `/docs audit` | Documentation gap analysis | `.ai/reports/docs-audit-*.md` |
113
114
  | `/deps` | Dependency map + blast radius | `.ai/reports/dependency-map-*.md` |
115
+ | `/dashboard` | Generate HTML dashboard from all reports | `.ai/reports/dashboard.html` |
114
116
  | `/export-pdf` | Convert markdown reports to PDF | `.ai/reports/*.pdf` |
115
117
 
116
118
  ### Exploration & Onboarding
@@ -120,11 +122,13 @@ Auto-detected and integrated when present:
120
122
  | `/explore-codebase` | Deep architecture exploration |
121
123
  | `/help` | List all commands and agents |
122
124
 
123
- ### Operations
125
+ ### Setup & Hooks
124
126
  | Command | Description |
125
127
  |---|---|
126
- | `/fix-issue <number>` | Investigate and fix a GitHub issue |
128
+ | `/setup-hooks` | Configure git hooks (quality, test, vulnerability) — consistent with DXKit reports |
129
+ | `/stealth-mode` | Gitignore DXKit files + install hooks (DXKit local-only, hooks for all devs) |
127
130
  | `/setup-pr-review` | Set up automated PR review GitHub Action |
131
+ | `/fix-issue <number>` | Investigate and fix a GitHub issue |
128
132
  | `/doctor` | Diagnose environment issues |
129
133
  | `/enable-agent <name>` | Activate a dormant agent |
130
134
 
@@ -138,16 +142,17 @@ These agents auto-trigger when Claude detects a matching question:
138
142
  - **quality-reviewer** — "Review my changes" "Check quality before I commit"
139
143
  - **doc-writer** — "What needs documentation?" "Help me write docs"
140
144
 
141
- ### Dormant (10) — activate with `/enable-agent`
145
+ ### Dormant (12) — activate with `/enable-agent`
142
146
  - **codebase-explorer** — Deep architecture analysis, generates documentation
143
147
  - **code-reviewer** — PR review and security audit (read-only)
144
148
  - **test-writer** — Writes tests for existing code
145
149
  - **test-gap-finder** — Identifies critical untested code paths, prioritized by risk
146
150
  - **dependency-mapper** — Maps import chains and blast radius of changes
147
151
  - **health-auditor** — Comprehensive codebase health audit (scores 6 dimensions)
148
- - **vulnerability-scanner** — CWE-classified security scan (Snyk-comparable depth)
152
+ - **vulnerability-scanner** — CWE-classified security scan with Snyk-comparable depth
149
153
  - **dev-report** — Developer activity, quality patterns, security attribution
150
154
  - **dashboard-builder** — Generates HTML dashboard from all reports
155
+ - **hooks-configurator** — Configures scoped git hooks from DXKit commands
151
156
  - **debugger** — Systematic root cause analysis
152
157
 
153
158
  ## Reports
@@ -189,6 +194,28 @@ DXKit generates a GitHub Action that automatically reviews PRs using Claude Code
189
194
 
190
195
  Reviews appear as PR comments with issues rated as critical/warning/suggestion.
191
196
 
197
+ ## Git Hooks (Consistent with Reports)
198
+
199
+ `/setup-hooks` configures git hooks that run the **exact same tools** as your DXKit reports:
200
+
201
+ ```
202
+ commit → pre-commit → lint staged files only (fast, ~5s)
203
+ push → pre-push → test affected areas only (medium, ~30s)
204
+ PR → CI workflow → full quality + tests + security (thorough, ~3m)
205
+ ```
206
+
207
+ - User chooses which checks to enable: quality, test, vulnerability
208
+ - Hooks read from your `/quality`, `/test`, `/vulnerabilities` commands — no hardcoded tools
209
+ - Supports scoped testing: Jest `--changedSince`, Vitest `--changed`, pytest `--testmon`
210
+ - Works for all devs (plain bash, no Claude Code needed at runtime)
211
+
212
+ ### Stealth Mode
213
+
214
+ `/stealth-mode` keeps DXKit local-only:
215
+ - `.claude/`, `.ai/`, `CLAUDE.md` gitignored — not committed
216
+ - `.githooks/` committed — all devs get the hooks
217
+ - One-time setup: `git config core.hooksPath .githooks`
218
+
192
219
  ## Vulnerability Scanner (Snyk-Comparable)
193
220
 
194
221
  The `/vulnerabilities` command runs a comprehensive security scan with CWE classification:
@@ -1,5 +1,5 @@
1
1
  import { ResolvedConfig } from './types';
2
- export declare const VERSION = "0.11.0";
2
+ export declare const VERSION = "0.11.1";
3
3
  export declare const DEFAULT_VERSIONS: {
4
4
  python: string;
5
5
  go: string;
package/dist/constants.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EVOLVING_FILES = exports.DEFAULT_COVERAGE = exports.DEFAULT_VERSIONS = exports.VERSION = void 0;
4
4
  exports.buildVariables = buildVariables;
5
5
  exports.buildConditions = buildConditions;
6
- exports.VERSION = '0.11.0';
6
+ exports.VERSION = '0.11.1';
7
7
  exports.DEFAULT_VERSIONS = {
8
8
  python: '3.12',
9
9
  go: '1.24.0',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyuhlabs/dxkit",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "AI-native developer experience toolkit for any repository",
5
5
  "license": "MIT",
6
6
  "bin": {