一键导入
rai-session-start
Load context and propose session focus. Use at the start of every working session.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Load context and propose session focus. Use at the start of every working session.
用 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-session-start |
| description | Load context and propose session focus. Use at the start of every working session. |
| allowed-tools | ["Read","Grep","Glob"] |
| license | MIT |
| metadata | {"raise.work_cycle":"session","raise.frequency":"per-session","raise.fase":"start","raise.prerequisites":"","raise.next":"","raise.gate":"","raise.adaptable":"true","raise.version":"5.0.0","raise.visibility":"public","raise.inputs":"- project_path: string, required, argument\n- developer_profile: file_path, required, config\n","raise.outputs":"- session_id: string, next_skill\n- context_bundle: string, cli\n"} |
Load context bundle from CLI, interpret signals, and propose focused work for the session.
When to use: At the start of every working session.
When to skip: Continuation of an active session (context already loaded).
Inputs: Developer profile (~/.rai/developer.yaml). If no profile exists, ask for the developer's name and pass --name "Name".
rai session start --project . --context
Loads developer profile, session state, and orientation bundle. If graph unavailable: run rai graph build first.
IMPORTANT: This is the ONLY CLI command in this skill. The context bundle output is complete — do NOT invent additional flags (e.g. --section), sub-commands (e.g. rai context load), or follow-up CLI calls to "fetch more". If the bundle mentions available context sections, that information is for display only. All interpretation happens in Step 2 using inference, not additional tool calls.
Check signals (priority order):
Check MCP health (non-blocking, never alarming):
rai mcp list to detect registered serversrai mcp health <name> for eachPropose session focus from: pending items > current story/phase > deadlines
Present (adapt verbosity to developer level):
## Session: YYYY-MM-DD
**Context:** [Release →] [Epic] → [Story], [phase]
**Focus:** [goal]
**MCP:** [{total} servers, all healthy] or [{total} servers, {N} not connected — run /rai-mcp-status]
**Signals:** [any, or "None"]
Omit the MCP: line entirely if no servers are registered.
| Item | Destination |
|---|---|
| Session initialized | CLI session state updated |
| Focus proposed | Presented to developer |
| Next | Begin work on proposed focus |
~/.rai/developer.yaml.raise/rai/session-state.yamlrai mcp list, rai mcp health, /rai-mcp-status/rai-session-close