# Semantic View Audit

> Audit semantic views for quality issues including best practices, inconsistencies, duplicates, and missing relationships. Use when: user wants to audit, validate, check quality, find issues, review semantic view. Triggers: 'audit', 'validate', 'check best practices', 'any issues?', 'is this good?', 'review my semantic view'.

- Skill: `s-14-h/semantic-view-audit` (Agent Skill)
- Install (CLI): `npx get-skill add s-14-h/semantic-view-audit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/s-14-h/semantic-view-audit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: S-14-H (https://skillmd.com/u/s-14-h)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/s-14-h/semantic-view-audit

---


# Audit Semantic View

## When to Use

User wants to audit or validate a semantic view for quality issues.

## Workflow

### Phase 1: Retrieve Semantic View

Use `cortex agent-studio sv-read` to read the YAML. If not in workspace, run `sv-read --fqn DB.SCHEMA.NAME` then `sv-write` to save it.

### Phase 2: Select Audit Type

```
Select audit type:

1. Best Practices - naming, documentation, inconsistencies, duplicates
2. Custom Criteria - your own validation rules

Enter selection (1-2):
```

**⚠️ STOP:** Wait for user response.

### Phase 3: Route to Audit

- **Option 1:** Load `best_practices/SKILL.md`
- **Option 2:** Load `custom_criteria/SKILL.md`

### Phase 4: Next Steps

After audit completion:
- **A**: Run another audit type
- **B**: Fix issues → Load `../edit/SKILL.md`
- **C**: Exit

## Stopping Points

- ✋ Phase 2: Audit type selection
- ✋ Phase 4: Next steps after audit

## Success Criteria

- ✅ YAML retrieved
- ✅ Audit completed
- ✅ Findings presented with severity levels
- ✅ Recommendations provided

