meridianresearch-phaselisted
Install: claude install-skill mattjaikaran/meridian
# /meridian:research-phase — Research Phase Type
Spawns 3 parallel researcher subagents (domain, technical, competitive) for an upcoming
phase. Produces `RESEARCH.md` in the phase artifact directory. The plan phase soft-gates
on this artifact being present.
## Arguments
- (no args) — research the current pending/planned phase
- `--phase <id>` — research a specific phase by ID
- `--skip-competitive` — skip competitive research (faster, 2 subagents only)
- `--skip-research` — bypass gate warning in /meridian:plan (emergency only)
## Keywords
research, investigate, analyze, domain, technical, competitive, findings, pre-plan, context
## Procedure
### Step 1: Find Target Phase
```bash
PYTHONPATH=$MERIDIAN_HOME uv run --project $MERIDIAN_HOME -- python -c "
import json
from scripts.db import connect, get_db_path
from scripts.research_phase import get_research_context
conn = connect(get_db_path('.'))
ctx = get_research_context(conn, phase_id=<phase_id_or_None>)
print(json.dumps(ctx, indent=2, default=str))
conn.close()
"
```
Pass the `--phase <id>` value as `phase_id`, or `None` if not specified.
If result contains `"error"`, display it and stop — tell the user to run `/meridian:plan` first.
Store: `phase_id`, `phase_name`, `description`, `acceptance_criteria`, `tech_stack`, `phase_dir`, `slug`.
### Step 2: Check for Existing RESEARCH.md
```bash
PYTHONPATH=$MERIDIAN_HOME uv run --project $MERIDIAN_HOME -- python -c "
from pathlib import Path
from scripts.research_phase im