contentrain-servelisted
Install: claude install-skill Contentrain/ai
# Skill: Review the Project with `contentrain serve`
> Start the local review UI as a bridge between agent and developer.
---
## When to Use
Use this when:
- a normalize plan, branch, or validation result needs developer review
- the developer wants to browse models, content, or history visually
- another skill needs to hand off to the UI for approval (normalize, review)
---
## Steps
### 1. Check if Serve is Already Running
Before starting a new instance, check if port 3333 is already in use:
```bash
lsof -ti:3333
```
If a process is running, serve is already up — skip to Step 3.
### 2. Start Serve
Run from the project root (where `.contentrain/` lives):
```bash
contentrain serve
```
Optional flags:
- `--port` (default: 3333)
- `--host` (default: localhost)
- `--open=false` (prevent auto-opening browser)
- `--stdio` (MCP stdio transport for IDE integration — no web UI)
Wait for the "Contentrain Serve" banner confirming the server is ready.
### 3. Direct the Developer to the Right Page
Based on the current context, tell the developer exactly where to go:
| Context | URL | What to do |
|---|---|---|
| Normalize plan ready | `http://localhost:3333/normalize` | Review extractions, approve or reject |
| Pending branches | `http://localhost:3333/branches` | Review and merge branches |
| Validation issues | `http://localhost:3333/validate` | Inspect errors and warnings |
| Content browsing | `http://localhost:3333/content` | Browse entries and models |
| General