Cross-validate documentation and artifacts across the codebase for consistency, conflicts, and contradictions. Use when users ask to "cross-validate", "validate docs", "check documentation consistency", "audit documentation", or find conflicts/contradictions in docs. Supports automatic fixing with "validate and fix" argument. Runs parallel subagents for efficient validation across categories (domain-models, agent-system, tech-stack, architecture, cli-commands). Part of the Shep autonomous SDLC platform — https://shep.bot
66
79%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.claude/skills/cross-validate-artifacts/SKILL.mdCross-validate documentation and artifacts across the codebase for consistency, conflicts, and contradictions.
Use this skill when the user:
/cross-validate-artifacts commandvalidate and fix or fix: Perform validation AND automatically fix all issues found--category <name>: Validate specific category only (domain-models, agent-system, tech-stack, architecture, cli-commands)Gather all documentation files to validate:
Root docs:
- README.md
- CLAUDE.md
- AGENTS.md
- CONTRIBUTING.md
docs/ folder:
- docs/architecture/*.md
- docs/concepts/*.md
- docs/guides/*.md
- docs/development/*.md
- docs/api/*.mdSplit validation into parallel sub-tasks for efficiency. Each category should be handled by a dedicated subagent:
| Category | Description | Key Files to Compare |
|---|---|---|
| domain-models | Entity definitions, fields, enums | CLAUDE.md, docs/api/domain-models.md, docs/concepts/*.md |
| agent-system | Agent names, tools, state schema, workflow | AGENTS.md, docs/architecture/agent-system.md, docs/guides/langgraph-agents.md |
| tech-stack | Framework versions, library references | README.md, CLAUDE.md, docs/architecture/overview.md |
| architecture | Layer descriptions, folder structure, patterns | CLAUDE.md, docs/architecture/*.md, CONTRIBUTING.md |
| cli-commands | pnpm scripts, paths, configuration | CLAUDE.md, docs/development/.md, docs/guides/.md |
CRITICAL: Use the Task tool with subagent_type=Explore to run validation categories in parallel.
Launch 5 subagents simultaneously:
1. Domain models validation subagent
2. Agent system validation subagent
3. Technology stack validation subagent
4. Architecture validation subagent
5. CLI commands validation subagentEach subagent should:
Aggregate all subagent results into a summary table:
## Validation Results Summary
### Critical Violations (Must Fix)
| # | Category | Issue | Files Affected | Details |
| --- | -------- | ----- | -------------- | ------- |
| 1 | ... | ... | file.md:line | ... |
### High Priority Violations
| # | Category | Issue | Files Affected | Details |
| --- | -------- | ----- | -------------- | ------- |
### Medium Priority Violations
...
### Consistent Items (No Issues)
| Category | Status |
| -------- | ---------- |
| ... | Consistent |If no "fix" argument provided:
If "fix" argument provided:
For each category with violations, launch a dedicated fix subagent:
Task tool with subagent_type=general-purpose for each fix task:
- Fix agent system references (CrewAI → LangGraph)
- Fix domain model definitions (add missing fields/entities)
- Fix package manager references (npm → pnpm)
- Fix architecture descriptions
- Fix path referencesEach fix subagent should:
## Documentation Cross-Validation Results
### Critical Violations (4 issues)
| # | Category | Issue | Files | Details |
| --- | ------------- | ------------------- | ------------------ | --------------------------------------------------- |
| 1 | agent-system | CrewAI vs LangGraph | CLAUDE.md:59,106 | Uses "CrewAI-style" but implementation is LangGraph |
| 2 | cli-commands | npm vs pnpm | building.md:20-358 | Uses `npm run` instead of `pnpm` |
| 3 | domain-models | Missing entity | CLAUDE.md | Requirement entity not documented |
| 4 | agent-system | Wrong naming | CLAUDE.md:110-113 | Uses class names instead of node functions |
### Consistent Items
| Category | Status |
| ----------------- | ---------- |
| Database (SQLite) | Consistent |
| Build tool (Vite) | Consistent |
| Data paths | Consistent |
---
Would you like me to fix these violations?e86d11c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.