Skip to content
Back to skills

Verification Slots

ASecurity

This skill should be used when the user asks about "verification slots", "integrating a linter", "adding a deterministic tool", "harness-enforcer", "constraint enforcement interface", "wrapping a tool", or needs the technical reference for how deterministic and agent-based checks work in the harness framework.

  • 104 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
developmentgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add Habitat-Thinking/ai-literacy-superpowers --skill verification-slots --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verification Slots?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Verification Slots
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/habitat-thinking-verification-slots/badge)](https://www.skillsdirectory.com/skills/habitat-thinking-verification-slots)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: verification-slots
description: This skill should be used when the user asks about "verification slots", "integrating a linter", "adding a deterministic tool", "harness-enforcer", "constraint enforcement interface", "wrapping a tool", or needs the technical reference for how deterministic and agent-based checks work in the harness framework.
---

# Verification Slots

The verification slot is the harness framework's core technical
abstraction. Every constraint — whether backed by a linter, a formatter,
a structural test, or an LLM agent — is checked through the same
interface. This uniformity means the rest of the system (hooks, CI,
commands) does not care how a constraint is verified.

## The Contract

**Input:**

- Constraint definition (rule, enforcement type, tool)
- Scope (commit, pr, weekly, manual)
- File set (changed files, or all files)

**Output:**

- Result: `pass` or `fail`
- Findings: list of `{file, line, message}` (empty on pass)

## How the Enforcer Decides

The `harness-enforcer` agent reads each constraint from HARNESS.md and
dispatches verification based on the `enforcement` field:

| Enforcement | What happens |
| --- | --- |
| `deterministic` | Execute the `tool` command, interpret exit code |
| `agent` | Read the `rule` text, review files, produce findings |
| `deterministic + agent` | Run both, merge findings |
| `unverified` | Skip — log as unchecked |

## Deterministic Tool Integration

To fill a verification slot with a deterministic tool:

1. Identify a tool that checks the constraint (linter, formatter,
   scanner, custom script)
2. Verify it runs locally and produces usable output
3. Update the constraint in HARNESS.md: set `enforcement` to
   `deterministic` and `tool` to the exact command
4. Run `/harness-audit` to confirm the tool works in the harness
   context

For detailed integration patterns for common tools (ESLint, Prettier,
gitleaks, ArchUnit, custom scripts), consult
`references/tool-integration.md`.

## Agent-Based Verification

When no deterministic tool exists, the enforcer reads the constraint's
prose rule and reviews code against it. The output format is identical
to deterministic verification — pass/fail with file:line findings.

Agent-based checks are:

- **Flexible** — work with any constraint that can be described in prose
- **Non-deterministic** — may give different results on identical input
- **Token-intensive** — each check costs LLM inference
- **Nuance-aware** — can evaluate intent and context, not just syntax

## Mixed Enforcement

Some constraints benefit from both levels. For example, a linter checks
that doc comments exist (deterministic presence check) while the agent
reviews that comments explain reasoning rather than restating signatures
(quality check).

Use `deterministic + agent` in the enforcement field and list both tools.

## Additional Resources

### Reference Files

- **`references/tool-integration.md`** — Step-by-step integration
  patterns for linters, formatters, type checkers, secret scanners,
  structural test frameworks, and custom scripts

Files in this skill

  • SKILL.md3 KB
  • references/tool-integration.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.