nextura-data-hygiene
Find and fix SSOT data quality issues. Use when checking for orphans, duplicates, stale content, or broken refs.
Packaged view
This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.
Install command
npx @skill-hub/cli install alicoding-nextura-nextura-data-hygiene
Repository
Skill path: .claude/skills/nextura-data-hygiene
Find and fix SSOT data quality issues. Use when checking for orphans, duplicates, stale content, or broken refs.
Open repositoryBest for
Primary workflow: Write Technical Docs.
Technical facets: Full Stack, Data / AI, Tech Writer.
Target audience: everyone.
License: Unknown.
Original source
Catalog source: SkillHub Club.
Repository owner: alicoding.
This is still a mirrored public skill entry. Review the repository before installing into production workflows.
What it helps with
- Install nextura-data-hygiene into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
- Review https://github.com/alicoding/nextura before adding nextura-data-hygiene to shared team environments
- Use nextura-data-hygiene for development workflows
Works across
Favorites: 0.
Sub-skills: 0.
Aggregator: No.
Original source / Raw SKILL.md
---
name: nextura-data-hygiene
scope: nextura
description: >
Find and fix SSOT data quality issues.
Use when checking for orphans, duplicates, stale content, or broken refs.
version: 3.0.0
triggers:
- check orphans
- find duplicates
- broken refs
- stale content
- validate YAML
- data quality
gates:
post:
- "make validate"
- "make check-refs"
---
# Data Hygiene
Detect and fix data quality issues in SSOT.
---
## Quick Start
```bash
# Full hygiene check
make check
# Individual checks
make validate # Schema validation
make check-refs # Reference validation
make check-bidirectional # Bidirectional links
```
---
## Issue Types
| Issue | Detection | Fix |
|-------|-----------|-----|
| Orphan entity | No references to it | Archive or delete |
| Broken ref | Reference to non-existent | Fix ref or create entity |
| One-way ref | Missing reverse link | Add bidirectional |
| Duplicate | Same content, different ID | Merge |
| Stale | Old status, no updates | Update or archive |
---
## Detection Commands
```bash
# Find orphans
python -m ssot_toolkit.hygiene find_orphans
# Find duplicates
python -m ssot_toolkit.hygiene find_duplicates
# Find stale (>90 days)
python -m ssot_toolkit.hygiene find_stale --days 90
# Check bidirectional
python -m ssot_toolkit.hygiene check_bidirectional
```
---
## STOP GATES
### STOP GATE 1: Backup First
**Check:** Is backup made for destructive ops?
**Pass:** Backup exists
**Fail:** STOP. Create backup.
### STOP GATE 2: Validation Passes
**Check:** Does `make validate` pass?
**Pass:** No schema errors
**Fail:** STOP. Fix schema errors first.
---
## Quick Reference
```
COMMANDS
make check # All checks
make validate # Schema only
make check-refs # References only
make check-bidirectional # Links
THRESHOLDS
Orphan: 0 allowed
Broken refs: 0 allowed
Stale: Review >90 days
```
---
## Anti-Patterns
| If you're doing... | STOP. Do this instead... |
|--------------------|--------------------------|
| Deleting without backup | Create backup first |
| Ignoring broken refs | Fix refs or create entities |
| One-way references | Add bidirectional links |