원클릭으로
rai-project-onboard
Discover conventions and set up governance. Use after rai init --detect on existing code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Discover conventions and set up governance. Use after rai init --detect on existing code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Interactive adapter setup for Jira and Confluence. Detects available backends, discovers projects/spaces, generates validated YAML config. 3-4 questions max.
Evaluate design proportionality using Beck's four rules. Use after implementation.
Root cause analysis using the method best suited to the bug. Phase 3 of bugfix pipeline.
Push branch, create MR, verify artifacts complete. Phase 7 of bugfix pipeline.
Execute fix tasks with TDD and all validation gates. Phase 5 of bugfix pipeline.
Decompose fix into atomic TDD tasks. Phase 4 of bugfix pipeline.
| name | rai-project-onboard |
| description | Discover conventions and set up governance. Use after rai init --detect on existing code. |
| allowed-tools | ["Read","Edit","Write","Grep","Glob","Bash(rai:*)"] |
| license | MIT |
| metadata | {"raise.work_cycle":"utility","raise.frequency":"on-demand","raise.fase":"","raise.prerequisites":"rai init --detect","raise.next":"session-start","raise.gate":"4-dimensional coverage gate","raise.adaptable":"true","raise.version":"3.0.0","raise.inputs":"- project_root: path, required, argument\n","raise.outputs":"- governance_docs: file_path[] (governance/*.md)\n- knowledge_graph: file_path (.raise/rai/memory/index.json)\n","raise.visibility":"public"} |
Guide brownfield project onboarding by combining codebase discovery with conversation. Analyze what exists, ask what code can't tell us, fill 6 governance templates. Gate: 4-dimensional coverage check.
When to use: After rai init --detect on an existing project with source code.
When to skip: Greenfield project → /rai-project-create. Not initialized → rai init --detect first. Governance already filled.
Key difference from /rai-project-create: Starts from WHAT EXISTS (discovery), then asks WHY. Create starts from WHAT YOU WANT.
Inputs: Project with rai init --detect completed, existing codebase.
ls .raise/manifest.yaml 2>/dev/null || echo "MISSING"
ls governance/prd.md governance/vision.md governance/guardrails.md 2>/dev/null | wc -l
grep -ciE "must-|should-" governance/guardrails.md 2>/dev/null || echo "0"
| Result | Action |
|---|---|
| Manifest + 6 files + conventions detected | Continue |
| No manifest | Stop: "Run rai init --detect first." |
| No conventions in guardrails | Suggest re-running with --detect flag |
| No source code | Suggest /rai-project-create instead |
If /rai-discover has not been run yet (no work/discovery/components-validated.json), run it now. It handles the full pipeline: detect → extract → describe → document → build graph.
If already run, skip to Step 3 — discovery data is available.
Also auto-read existing project documentation (README, ARCHITECTURE, CONTRIBUTING, etc.) to pre-populate governance fields. No need to ask — always read what's available.
Discovery complete. Existing docs read.Present what discovery + docs already covered. Ask ONLY for unfilled fields:
Same parser contracts as /rai-project-create:
vision.md: | **{Bold Name}** | {description} |prd.md: ### RF-XX: Titleguardrails.md: MERGE detected conventions (don't overwrite), YAML frontmatter type: guardrailsbacklog.md: # Backlog: {name}, | E{N} | ... |system-context.md: external interfaces tablesystem-design.md: components from DISCOVERED modules (enriched by discovery)Update .raise/manifest.yaml with branch configuration.
rai graph build
| Gate | Check | Pass criteria |
|---|---|---|
| G1: Governance structure | Parser-extractable content per doc | ≥2 outcomes, ≥3 RF-XX, ≥3 guardrails, ≥1 epic |
| G2: Module coverage | Discovered modules in governance | ≥80% modules referenced |
| G3: Doc coverage | Docs read → governance elements | 100% of docs read contributed |
| G4: Traceability | Guardrails→RF-XX, RF-XX→body text | ≥80% linked |
Present gate results. If PARTIAL (1-2 items): fix specific items. If FAIL: fix docs, rebuild.
All 4 gate dimensions pass (or user accepts documented exceptions).## Project Onboarded: {project_name}
Discovery: {N} modules, {N} components, {N} conventions
Governance: {N} outcomes, {N} requirements, {N} guardrails, {N} epics
Graph: {total} governance nodes
Next: /rai-session-start
| Item | Destination |
|---|---|
| Governance docs | governance/ (6 files) |
| Knowledge graph | .raise/rai/memory/index.json |
| Next | /rai-session-start |
/rai-project-create)guardrails.md conventions from --detectrai init --detect/rai-project-create (greenfield)/rai-discover (unified pipeline)src/raise_cli/governance/parsers/*.py/rai-session-start