🐎 Open Harness Engineering Instrument
AI Harness Blueprint Generator
Configure enterprise-grade AGENTS.md, CLAUDE.md, and .cursorrules files in seconds. Stop AI hallucinations and context decay by engineering your repository context.
Target File: CLAUDE.md — Optimized for Anthropic's terminal CLI agent with automated build/test commands and self-correction protocols.
📄CLAUDE.md
# CLAUDE.md — Repository Operating Guidelines for my-vibe-app
> Generated via Vibe Coding Codex Harness Generator (https://vibecodingcodex.com)
> Inspired by Ryan Lopopolo's Harness Engineering (https://github.com/lopopolo/harness-engineering)
## 1. Core Architecture Principles
- **Vibe Coding Philosophy**: Never ask the user to type code manually. Produce complete, runnable code files.
- **Framework Target**: Next.js 15 App Router.
- **Strict Typing**: All code must pass type validation without implicit any types.
- **CSS Architecture**: Use Vanilla CSS Modules or custom CSS variables. Avoid inline styles.
## 2. Directory Structure Map
- app/: Pages, layouts, and API route handlers.
- app/components/: Reusable atomic React UI components.
- app/lib/: Business logic, database clients, and helper utilities.
- public/: Static assets, brand icons, and images.
## 3. Mandatory Error & Exception Handling
- All API handlers MUST return standardized JSON responses: `{ success: boolean, data?: any, error?: string }`.
- Wrap all async database operations in try/catch blocks and log tracebacks silently.
## 5. Verification Protocol
Before submitting code changes, execute:
1. Build verification: `npm run build`
2. Automated test suite: `npm test`
💡 Place this file in your project's root folder. Your AI agent will parse it automatically.