intense-visions/harness-engineering/harness-soundness-review
Claude Code and agent skill by intense-visions/harness-engineering
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install intense-visions/harness-engineering/harness-soundness-reviewSKILL.md
The same SKILL.md was published earlier as intense-visions/harness-engineering/harness-soundness-review.
Harness Soundness Review
Deep soundness analysis of specs and plans. Auto-fixes inferrable issues, surfaces design decisions to you. Runs automatically before sign-off.
When to Use
- Automatically invoked by harness-brainstorming before spec sign-off (
--mode spec) - Automatically invoked by harness-planning before plan sign-off (
--mode plan) - Manually invoked to review a spec or plan on demand
- NOT for reviewing implementation code (use harness-code-review)
- NOT as a replacement for mechanical validation (harness validate, check-deps remain as-is)
- NOT in CI — this is a design-time skill
Arguments
- `--mode spec` — Run spec-mode checks (S1-S7). Invoked by harness-brainstorming.
- `--mode plan` — Run plan-mode checks (P1-P7). Invoked by harness-planning.
Process
Pause points
Every point below where this skill stops for the human carries a marker line, _Pause point (<class>): resolve per the Pause Protocol._ followed by a <!-- pause: <class> --> comment. Resolve each one with the Pause Protocol: agents/skills/templates/pause-protocol.md (also shipped in the harness CLI package at dist/agents/skills/templates/pause-protocol.md).
- Re-read autonomy at every pause point:
gather_context({ path, session, include: ["autonomy"] }). irreversibleandgatepauses stop at every autonomy level.- A
ceremonyorjudgmentpause auto-resolves only when autonomy istrusted, the pause states a recommendation, ajudgmentfork passed the self-audit, andrecord_auto_decisionreturnedrecorded: true. In every other case, pause exactly as written below. - If you cannot read the protocol or resolve autonomy, pause.
Iron Law
No spec or plan may be signed off without a converged soundness review. Inferrable fixes are applied silently. Design decisions are always surfaced to the user.
Finding Schema
Every finding conforms to this structure:
Phase 1: CHECK — Run All Checks for Current Mode
Execute all checks for the active mode. Classify each finding as autoFixable: true or false. Record total issue count.
Traceability and Cross-Check Tools
Run check_traceability to verify that all requirements in the spec/plan have corresponding implementation artifacts. Run validate_cross_check to verify plan-to-implementation alignment as part of the soundness assessment.
Graph Detection and Fallback
Before running checks, determine graph availability:
- Check whether
.harness/graph/exists. - If present, these MCP tools enhance checks S3, S5, P1, P3, P4:
query_graph— traverse module/dependency nodes to verify referenced patterns and architectural compatibilityfind_context_for— search for related design decisions from other specsget_relationships— verify dependency direction and layer complianceget_impact— analyze downstream impact to verify dependency completeness
- If absent, use the "Without graph" path for every check. Do not block or warn — all checks produce useful results from document analysis and codebase reads alone.
Per-check procedures include "Without graph" and "With graph" variants. Use whichever matches step 1.
Spec Mode Checks (--mode spec)
| # | Check | What it detects | Auto-fixable? | |
|---|---|---|---|---|
| S1 | Internal coherence | Contradictions between decisions, technical design, and success criteria | No — surface to user | |
| S2 | Goal-criteria traceability | Goals without success criteria; orphan criteria not tied to any goal | Yes — add missing links, flag orphans | |
| S3 | Unstated assumptions | Implicit assumptions not called out (e.g., single-tenant, always-online) | Partially — infer obvious ones, surface ambiguous | |
| S4 | Requirement completeness | Missing error/edge cases, failure modes; EARS unwanted-behavior gaps | Partially — add obvious error cases, surface design-dependent | |
| S5 | Feasibility red flags | Design depends on nonexistent codebase capabilities or incompatible patterns | No — surface with evidence | |
| S6 | YAGNI re-scan | Speculative features that crept in during conversation | No — surface to user | |
| S7 | Testability | Vague success criteria not observable or measurable ("should be fast") | Yes — add thresholds where inferrable |
S1 Internal Coherence
Analyze: Decisions table, Technical Design, Success Criteria, Non-goals.
Detection:
- Verify each decision is consistent with Technical Design. "Use approach A" in decisions + "approach B" in design = contradiction.
- Verify no success criterion contradicts a decision or non-goal.
- Verify no non-goal has a corresponding implementation section.
- Flag any pair where one section asserts X and another asserts not-X.
Classification: Always severity: "error", autoFixable: false. Contradictions require user judgment.
Example:
S2 Goal-Criteria Traceability
Analyze: Overview (goals), Success Criteria.
Detection:
- Extract goals from Overview.
- For each goal, check at least one success criterion covers it. No match = gap.
- For each criterion, check it traces to a goal. No match = orphan.
- Flag gaps and orphans separately (different fix strategies).
Classification:
- Missing links (goals without criteria):
severity: "warning",autoFixable: true. Fix: add criterion derived from Technical Design. - Orphan criteria:
severity: "warning",autoFixable: false. Removing criteria is a design decision.
Example:
S3 Unstated Assumptions
Analyze: Technical Design, Decisions table, data structures, integration points.
Detection:
- Document analysis: Scan for implicit assumptions about runtime (single-process, always-online), data (fits in memory, UTF-8 only), deployment (single-tenant, specific cloud), user context (admin access). Check whether spec states them.
- Without graph: Read referenced source files to identify conventions the spec assumes but does not state. Use Grep/Glob to verify referenced patterns exist.
- With graph: Use
query_graphfor related modules' assumptions. Usefind_context_forto surface conflicting design decisions.
Classification:
- Obvious (Node.js runtime, filesystem access, UTF-8):
severity: "warning",autoFixable: true. Fix: add to Assumptions section. - Ambiguous (single-tenant vs multi-tenant, concurrency model):
severity: "warning",autoFixable: false. User decides.
Example:
S4 Requirement Completeness
Analyze: Technical Design (data structures, API endpoints, integration points), Success Criteria.
Detection:
- Error cases: For each operation, identify what happens on missing/null/malformed input. Flag operations with no defined error behavior.
- Edge cases: For each numeric field, check boundary values (zero, negative, overflow). For each string field, check empty string, very long string, and special character handling. For each collection, check empty collection behavior.
- Failure modes: For each external dependency, check timeout/unavailability/partial-failure behaviors. Apply EARS "Unwanted" pattern: "If [failure], then system shall [graceful behavior]."
- Codebase context: Read referenced modules for established error patterns.
Classification:
- Obvious error cases (file I/O, network, JSON parsing):
severity: "warning",autoFixable: true. Fix follows codebase patterns. - Design-dependent error handling (retry? cache? fail?):
severity: "warning",autoFixable: false.
Example:
S5 Feasibility Red Flags
Analyze: Technical Design (referenced modules, dependencies, patterns, APIs).
Detection:
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 reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/claude-code/harness-soundness-review/SKILL.md
Popularity
- Repository stars
- 14
- Repository forks
- 7
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 30 Apr 2026, 7 months ago.
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/intense-visions/harness-engineering/harness-soundness-review)