# Shared Validation Feedback Loops

> Type-check, lint, test, build validation sequence. Use proactively before every commit across all agents. Use when this capability is needed.

- Skill: `tomevault-io/shared-validation-feedback-loops` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/shared-validation-feedback-loops`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/shared-validation-feedback-loops/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/shared-validation-feedback-loops

---


# Feedback Loops

> "Validate early, validate often – catch errors before they compound."

## When to Use This Skill

Use **before every task related changes commit** to ensure code quality and prevent broken builds.

## Quick Start

**⚠️ PRE-REQUISITE: Test Coverage Check (BLOCKING)**

Before running feedback loops, verify test coverage exists:

```bash
# Check for modified files without tests
git diff --name-only HEAD~5 | grep '^src/' | while read file; do
  test_file="src/tests/${file#src/}"
  test_file="${test_file%.ts}.test.ts"
  if [ ! -f "$test_file" ]; then
    echo "COVERAGE GAP: $file missing $test_file"
  fi
done

# If coverage gaps found: BLOCK - invoke test-creator
```

**Then run all feedback loops in sequence:**

```bash
npm run type-check && npm run lint && npm run build
```

## Anti-Patterns

❌ **DON'T:**

- Commit without running feedback loops
- Use `@ts-ignore` or `// eslint-disable` to hide errors
- Use `any` type without justification

✅ **DO:**

- Run all loops before every commit
- Fix errors properly, don't suppress
- Add types to all public interfaces
- Run `--fix` for auto-fixable issues

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/feliperyba) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

