spec-harness-audit

Audit spec harness memory bank, rules index, and codebase for stale or contradictory entries.

28|2|Updated Oct 3, 2025
One-click install
npx skills add https://github.com/chohra-med/expo_boilerplate --skill spec-harness-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-harness-audit
Source: https://github.com/chohra-med/expo_boilerplate/tree/main/.claude/skills/spec-harness-audit
Command: npx skills add https://github.com/chohra-med/expo_boilerplate --skill spec-harness-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves issues with outdated, contradictory, or misaligned spec harness components (memory bank, rules, index) that cause AI coding assistants to generate inconsistent or incorrect code, and eliminates spec-to-code drift that leads to broken implementations.

Core Features & Use Cases

  • Holistic Harness Health Check: Cross-checks the memory bank, ai_rules, and index for stale, contradictory, or redundant entries.
  • Drift Detection: Identifies mismatches between spec definitions and actual production code to catch implementation gaps early.
  • Durable Learning Capture: Promotes validated fixes into the curated rules bank to prevent recurring issues. Use Case: For teams using AI coding tools like Claude Code or Cursor, this skill ensures the AI always follows the latest, correct project rules instead of hallucinating outdated patterns.

Quick Start

Use the spec-harness-audit skill to run a full health check of your project's spec harness and resolve any identified staleness or drift issues.

Frequently Asked Questions about spec-harness-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix spec-to-code drift in AI-native software projects?

To fix spec-to-code drift, you must audit the spec harness memory bank and rules index to identify mismatches between spec definitions and actual production code, ensuring AI coding assistants follow consistent project rules instead of hallucinating outdated patterns.

Why does my AI coding assistant generate inconsistent code despite existing project rules?

AI coding assistants generate inconsistent code when the spec harness contains stale, contradictory, or redundant entries in the memory bank and rules index. Auditing these components cross-checks for misaligned definitions and eliminates outdated patterns causing the inconsistency.

How do I audit a memory bank for stale rules and contradictory entries?

Auditing a memory bank for stale rules involves cross-checking the memory bank, ai_rules, and index to identify redundant or contradictory entries. This holistic health check ensures all stored rules are consistent and up-to-date for AI-driven development workflows.

Can I use a spec harness audit tool with spec-driven development workflows for Claude Code or Cursor?

Yes, a spec harness audit applies directly to spec-driven development workflows using AI tools like Claude Code or Cursor. It ensures the AI adheres to latest project rules by maintaining rule ratcheting, verifier pass criteria, and durable learning capture.

What is durable learning capture in spec harness systems?

Durable learning capture in spec harness systems is the process of promoting validated fixes into the curated rules bank. This prevents recurring issues by ensuring AI coding assistants permanently learn from corrected spec-to-code drift and updated project rules.