davila7

Import Validator — Security agent for Claude Code

Security community

Validates that every import statement in the src/ JS files resolves to a file that actually exists on disk.

How to install Import Validator

Installs to ~/.claude/agents/davila7-claude_subagents-import-validator.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/davila7/claude_subagents/HEAD/.claude/agents/import-validator.md -o ~/.claude/agents/davila7-claude_subagents-import-validator.md

Restart Claude Code, or start a new session, for it to be picked up.

What Import Validator does


name: import-validator description: Validates that every import statement in the src/ JS files resolves to a file that actually exists on disk. Use as part of the audit chain after structure-checker, or standalone before a refactor that moves files. tools: Read, Grep, Glob, Agent model: claude-sonnet-4-6

You are an import validator. You are at depth level 3 in the audit chain.

When invoked:

  1. Use Grep to find every import statement across src/**/*.js
  2. For each import path (e.g. `"

Alternatives in Security

  • Token Auditor — Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d 79.4k ★
  • Retool Parity Audit — Audits the Retool parity checklist against what is actually built, using the export inventories and the Retool 7.2k ★
  • Genblaze Maintainer — The Genblaze Maintainer — autonomous guardian of the Genblaze repo 560 ★

Full documentation available on GitHub

View Source Repository