norbertsuski/sdd-toolkit/sdd-health-check
Claude Code and agent skill by norbertsuski/sdd-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Health-check an existing project: dependency audit, security scan, test runner detection, CI/CD and missing-config analysis. Writes $CONTEXT_ROOT/foundation/health-check.md with prioritized fixes and an agent-readiness verdict. Trigger phrases: "health check", "audit my project", "is my project healthy", "sprawdź projekt", "audyt projektu". Use AFTER /sdd-stack-assess (brownfield chain), BEFORE agent onboarding.
Install
npx vskill@latest install norbertsuski/sdd-toolkit/sdd-health-checkSKILL.md
The same SKILL.md was published earlier as norbertsuski/sdd-toolkit/sdd-health-check.
Health Check: Audit an Existing Project for Agent-Readiness
This skill is the brownfield counterpart to /sdd-bootstrapper. Where bootstrapper scaffolds a new project and verifies the scaffold, health-check runs the same three execution gates (pre/in/post) as an assessment framework for an existing codebase. It reuses the per-language audit dispatch pattern from bootstrapper's post-scaffold verification but applies it as the opening move, not the closing check.
The skill sits in the brownfield chain: /sdd-shape → /sdd-prd → /sdd-stack-assess → /sdd-health-check. Its single job: audit the project's dependency health, test infrastructure, CI/CD configuration, and configuration completeness, then produce a structured report with prioritized fixes and an agent-readiness verdict.
Before any of that, it resolves `CONTEXT_ROOT` per ../sdd-shape/references/context-resolution.md (discover every context/.sdd.yml in the repo, pick among several roots — pre-selecting the one nearest cwd — and, for a legacy root, pick the <app>). Every artifact path below is relative to that resolved CONTEXT_ROOT.
When $CONTEXT_ROOT/foundation/stack-assessment.md exists (from /sdd-stack-assess), health-check links its findings to the quality-gate gaps identified there. The two reports are complementary: stack-assess evaluates the _stack choice_ against quality gates; health-check evaluates the _project state_ against operational health criteria.
This skill resolves audience per ../sdd-shape/references/plain-mode.md's "Audience resolution": it reads $CONTEXT_ROOT/.sdd.local.yml, else asks+writes there; default technical. When audience: plain, it follows ../sdd-shape/references/plain-mode.md: it runs the same autonomous audit and gives a plain-language summary in place of the technical status block. The health-check.md it writes is unchanged — a developer reads the full report.
Legacy roots. If the resolved CONTEXT_ROOT came from a legacy (app-partitioned) root, health-check still runs exactly as described below — legacy roots remain fully supported for reads and writes. It's worth a one-line note to the user that new context roots are flat (no <app> segment); the legacy layout isn't being deprecated, just superseded for anything scaffolded going forward.
When to use, when to skip
Use when: the user has an existing project and wants to verify its health before starting agent-assisted development. The project directory should contain recognizable project markers (package.json, Cargo.toml, pyproject.toml, go.mod, Gemfile, composer.json, *.csproj, pubspec.yaml).
Skip when: the user is scaffolding a new project — /sdd-bootstrapper runs its own verification slots. Skip also when the user only wants a stack quality-gate assessment without operational health checks — that is /sdd-stack-assess territory.
Relationship to other skills
/sdd-stack-assess— upstream. Produces$CONTEXT_ROOT/foundation/stack-assessment.md. Optional input — health-check can run without it, but the report is richer when gaps are linked./sdd-bootstrapper— greenfield parallel. Same three execution gates, different application (scaffold verification vs existing project audit)./sdd-shape,/sdd-prd— earlier in the brownfield chain. Not direct inputs, but the PRD's scope-of-change context can inform which parts of the project matter most.
Required inputs
- An existing codebase in cwd with at least one recognizable project marker.
Optional inputs
$CONTEXT_ROOT/foundation/stack-assessment.md— if present, health-check cross-references quality-gate gaps with operational findings.$CONTEXT_ROOT/foundation/prd.md— if present and hascontext_type: brownfield, health-check uses the PRD's## Scope of Changeto prioritize findings relevant to the planned work.
Initial Response
When this skill is invoked:
- Resolve `CONTEXT_ROOT` per
../sdd-shape/references/context-resolution.md: run discovery, then either inherit the root from an input path (when the argument is a path-style reference under a discovered root — see step 2 below), or present the pick (pre-selecting the root nearest cwd) and let the user confirm. This setsCONTEXT_ROOTto a flat root or a resolvedroot/<app>for a legacy root. If no root is discovered, offer to run/sdd-initper the reference's "None found" step, then re-run discovery. - If a path argument was provided (e.g.
/sdd-health-check @$CONTEXT_ROOT/foundation/stack-assessment.md), strip a leading@if present and use the path as the stack-assessment location for this run — and, if the path reveals aCONTEXT_ROOTdifferent from the one resolved in step 1, inherit it from the path instead. The assessment is optional context, not a precondition. - If no argument was provided, check for
$CONTEXT_ROOT/foundation/stack-assessment.md. If present, load it for cross-referencing. If absent, proceed without it.
Workflow
Step 0 — Cwd precondition
Detect project markers by executing a shell command:
If no markers found, print:
Then STOP.
If markers are found, detect the language family from the marker (same detection logic as /sdd-stack-assess Step 1) and proceed to Step 1.
Step 1 — Pre-check (dependency audit + lockfile + security)
Execution gate: pre-check. Before reading or changing anything in the project, audit the dependency tree. This maps to the bootstrapper's pre-execution gate: "what is the state of the hand-off before we act on it?"
1a. Lockfile presence
Check for a lockfile matching the detected language family:
| Language family | Expected lockfiles | |
|---|---|---|
| JS/TS | package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lockb | |
| Python | poetry.lock, uv.lock, Pipfile.lock, requirements.txt (weak — not a true lock) | |
| Rust | Cargo.lock | |
| Go | go.sum | |
| Ruby | Gemfile.lock | |
| PHP | composer.lock | |
| .NET | packages.lock.json (NuGet) | |
| Dart | pubspec.lock |
If no lockfile is found, flag as a finding:
1b. Dependency audit
Dispatch to the ecosystem's audit tool by language family. The dispatch table matches the bootstrapper's audit_commands pattern:
| Language family | Audit command | Notes | |
|---|---|---|---|
| JS/TS | npm audit --json | Exits non-zero when vulnerabilities exist — not a halt condition | |
| Python | pip-audit --format json | Falls back to skip if pip-audit not installed | |
| Rust | cargo audit --json | Falls back to skip if cargo-audit not installed | |
| Go | govulncheck -json ./... | Falls back to skip if govulncheck not installed | |
| Ruby | bundle audit check --update | Human-readable output, parse line-by-line | |
| PHP | composer audit --format json | Requires Composer 2.4+ | |
| .NET | dotnet list package --vulnerable --include-transitive | Human-readable, parse for severity markers | |
| Java, Dart | (skip) | No built-in audit tool; note the skip and recommend external tools |
Run the resolved command from cwd using a shell command. Capture stdout, stderr, and exit code. The audit tool's exit code is informational — health-check does NOT halt on a non-zero audit exit.
Severity tiering (same as bootstrapper's post-scaffold verification):
- CRITICAL (CVSS >= 9.0) — surface inline
- HIGH (CVSS 7.0–8.9) — surface inline
- MODERATE (CVSS 4.0–6.9) — log only
- LOW (CVSS < 4.0) — log only
For tools with native severity (npm-audit, cargo-audit, govulncheck), use the tool's label. For tools without native severity, default to MODERATE unless the advisory explicitly names CRITICAL or HIGH.
When the tool distinguishes direct from transitive dependencies, surface the breakdown. Direct findings are immediately actionable; transitive findings are advisory.
1c. Outdated dependencies check
If the language family supports it, run a quick staleness check:
| Language family | Command | What it shows | |
|---|---|---|---|
| JS/TS | npm outdated --json | Current vs wanted vs latest for each package | |
| Python | pip list --outdated --format json | Current vs latest | |
| Rust | cargo outdated --root-deps-only (if installed) | Outdated direct deps | |
| Ruby | bundle outdated --only-explicit | Outdated direct gems |
This check is informational — surface major version gaps and packages more than 2 major versions behind. Do not report every minor version bump.
Failure mode for all 1a–1c steps: WARN-AND-CONTINUE. If a tool is not installed, log the skip and proceed. If a network call fails, log the partial output and proceed. Never halt on a pre-check finding.
Echo one summary line after pre-check completes:
Step 2 — In-check (test runner, CI/CD, configuration)
Execution gate: in-check. Read-only analysis of the project's test infrastructure, CI/CD pipeline, and configuration completeness. This maps to the bootstrapper's in-execution gate: "what does the execution environment look like?"
2a. Test runner detection and health
Detect the test runner from configuration files:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sdd-health-check/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/norbertsuski/sdd-toolkit/sdd-health-check)