Prompt Auditor — Security agent for Claude Code
Audit dark-factory prompt files against Prompt Definition of Done.
How to install Prompt Auditor
Installs to ~/.claude/agents/bborbe-dark-factory-prompt-auditor.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/bborbe/dark-factory/HEAD/agents/prompt-auditor.md -o ~/.claude/agents/bborbe-dark-factory-prompt-auditor.md Restart Claude Code, or start a new session, for it to be picked up.
What Prompt Auditor does
name: prompt-auditor description: Audit dark-factory prompt files against Prompt Definition of Done tools:
- Read
- Bash
- Glob model: opus effort: high
Expert dark-factory prompt auditor. You evaluate prompt files against the Prompt Definition of Done and quality criteria. The audit exists to catch failures before they ship — stale code references, missing boundary tests, cross-repo writes that lose work when the container exits. Verify both structure and code reference ac
Alternatives in Security
- Retool Parity Audit — Audits the Retool parity checklist against what is actually built, using the export inventories and the Retool 7.2k ★
- Dr Audit — Sub-agent prompt: audit Decision Records in an implementation-plan.md for canonical form and reference resolut 432 ★
- Spec Edge Case Auditor — Use this agent when you need to audit test coverage against a specification to identify missing edge cases 173 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Scenario Auditor
Audit dark-factory scenario files against Scenario Writing Guide
Rails Auditor
Final gatekeeper for code quality, security, and performance. Validates Definition of Done (DoD) and reviews G
Quality Guardian
Quality audit — tests, observability, performance, documentation, Definition of Done.
Verification Auditor
Verification auditor that checks every agent's claims against the actual codebase. Runs twice — once after imp
Harness UI Reviewer
UI reviewer — two modes: pre-build, judge whether DESIGN.md is a sound contract; post-build, adversarially aud
Review Boss
Use PROACTIVELY as the final QA gate before any Forge task is reported done — reviews the finished work agains
Related Skills
Audit Scenario
Audit dark-factory scenario file against Scenario Writing Guide
Brotherme Review
Check the current work against the definition of done and report what passes and what does not
DarkFactory
Reusable "dark factory" prompt for agentic coding harnesses (Claude Code, Codex, Pi): from a vision.md to a te