AI-assisted development of anti-hallucination specifications. Check out the seven-layer defense architecture, quantitative indicators, execution templates and practical cases. Used for code review, task startup inspection, and weekly review.
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
AI-assisted development of anti-hallucination specifications. Check out the seven-layer defense architecture, quantitative indicators, execution templates and practical cases. Used for code review, task startup inspection, and weekly review.
VibeGuard is an anti-hallucination framework for AI-assisted development that systematically blocks common failure modes in LLM code generation through a seven-layer defense architecture.
Canonical contract sources for this skill:
README.md — product entry and current Core vs Workflow boundary
docs/rule-reference.md — public rule/guard summary
workflows/references/routing-contract.md — canonical readiness decisions and execution handoff fields
A new guard or rule is proposed without a corresponding automated detection method.
A workflow skips the routing contract or omits mode, artifacts, runtime_pinning_snapshot, verification_owner, stop_conditions, or lane_map.
A completion claim lacks fresh verification output from the current session.
Checklist
Confirm the task goal, data source, constraints, and done-when condition.
Map the work to the relevant L1-L7 layer before changing rules or hooks.
Run the focused guard, hook, or documentation check that covers the changed surface.
Quick review of seven-layer defense architecture
Hierarchy
Name
Key Tools/Rules
L1
Anti-duplicate system
check_duplicates.py / Search first then write
L2
Naming constraints
check_naming_convention.py/snake_case
L3
Pre-commit Hooks
ruff / gitleaks / shellcheck
L4
Architecture guard testing
test_code_quality_guards.py Five rules
L5
Skill/Workflow
plan-flow / fixflow / optflow
L6
Prompt embedded rules
CLAUDE.md mandatory rules
L7
Weekly review
review-template.md
Quick use
Task startup check
Refer to references/task-contract.yaml and confirm:
1. Goals are clear and verifiable
2. The data source has been determined
3. Acceptance criteria can be tested
risk assessment
Refer to references/scoring-matrix.md to score each finding:
- impact: 1-5
- effort: 1-5
- risk: 1-5
- confidence: 1-5
Formula: priority = (impact × confidence) - (effort + risk)
Weekly review
Refer to references/review-template.md, record:
1. Return event this week
2. Guard interception statistics
3. Indicator trends
4. Highlights for next week