rail-setup
Installation
SKILL.md
Rail Setup
Scaffold per-repo configuration that rail engineering skills assume:
- Everything under
docs/monorail/— work tracker, glossary, ADRs, and convention files (no remote tracker; no scatter to repo root /docs/agents//docs/adr/) - Domain docs —
docs/monorail/CONTEXT.md+docs/monorail/adr/
This is prompt-driven, not a deterministic script. Explore, present, then write — never pause to ask the user to confirm the plan.
Process
1. Explore
Read what exists; do not assume:
AGENTS.md/CLAUDE.md— either present? Already has## Agent skills?docs/monorail/— already in use? Check with the shell (ls -R docs/monorail, orls/test -fper file):work-tracker.md/domain.md/CONTEXT.md/adr/. Search tools skip gitignored paths — an empty Glob/Grep result is not evidence the directory is unused- Legacy scatter (migrate hint only, do not auto-move): repo-root
CONTEXT.md/CONTEXT-MAP.md,docs/adr/,docs/agents/ - Monorepo signals (
pnpm-workspace.yaml, packageworkspaces, populatedpackages/*)