Skip to content
Back to skills

Contentrain Doctor

ASecurity

Diagnose Contentrain project health issues. Use when troubleshooting setup problems, checking configuration, or verifying project integrity.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsgogit

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add Contentrain/ai --skill contentrain-doctor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Contentrain Doctor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Contentrain Doctor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/contentrain-contentrain-doctor/badge)](https://www.skillsdirectory.com/skills/contentrain-contentrain-doctor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: contentrain-doctor
description: "Diagnose Contentrain project health issues. Use when troubleshooting setup problems, checking configuration, or verifying project integrity."
metadata:
  author: Contentrain
  version: "1.0.0"
---

# Skill: Diagnose Project Health with `contentrain doctor`

> Run health checks and turn failures into actionable fixes.

---

## When to Use

Use this when:

- setup seems broken
- generated client may be stale
- Git/content structure may be inconsistent
- the user asks "what is wrong with this project?"

---

## Steps

### 1. Run `contentrain doctor`

Use the CLI health check as the first diagnostic pass.

### 2. Group Findings

Interpret failures by category:

- Git problems
- missing `.contentrain/` structure
- bad config/model parsing
- orphan content
- too many pending branches
- stale SDK client

### 3. Fix in Priority Order

Recommended order:

1. Git / initialization blockers
2. config/model parse failures
3. orphan content or missing paths
4. branch pressure
5. stale generated client

### 4. Apply the Correct Follow-up

- not initialized → `contentrain init`
- stale client → `contentrain generate`
- branch pressure → `contentrain diff`
- invalid content/model state → `contentrain validate`

### 5. Re-run Doctor

After changes, run `contentrain doctor` again to confirm the project is healthy.

## Related Skills

- **contentrain-init** — Re-initialize if project structure is broken
- **contentrain-validate-fix** — Fix content/model validation errors
- **contentrain-generate** — Regenerate SDK if client is stale
- **contentrain** — Core architecture and MCP tool catalog

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.