Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD across contents and paths, upstream package/repo coordinates -> @golem15/msd-core and golem15com/msd-core. Deep links into upstream history, sibling upstream packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is. Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line, package/plugin identity, regenerated lockfile, install-tree fixtures, derived registries and benchmark baseline; migration checksum baseline re-locked (MSD keeps its own install state, so no install had applied the old sums); sort-order and regex-escaped expectations in tests adjusted.
47 lines
1.8 KiB
Markdown
47 lines
1.8 KiB
Markdown
---
|
|
name: msd:onboard
|
|
description: Guide existing codebase onboarding through mapping, doc ingest, and planning setup
|
|
argument-hint: "[--fast] [--text]"
|
|
allowed-tools:
|
|
- Read
|
|
- Bash
|
|
- Write
|
|
- Glob
|
|
- Grep
|
|
- Agent
|
|
- AskUserQuestion
|
|
requires: [config, new-project, map-codebase, ingest-docs, manager]
|
|
---
|
|
<runtime_note>
|
|
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
|
|
</runtime_note>
|
|
|
|
<objective>
|
|
Guide brownfield onboarding for an existing codebase by routing through the existing MSD primitives in the safe order: codebase map → docs ingest → project initialization → onboarding summary.
|
|
|
|
**Creates or confirms:**
|
|
- `.planning/codebase/` — evidence-backed codebase map from `/msd:map-codebase`
|
|
- `.planning/PROJECT.md`, `REQUIREMENTS.md`, `ROADMAP.md`, `STATE.md` — project setup from `/msd:new-project` or `/msd:ingest-docs`
|
|
- `.planning/onboarding/SUMMARY.md` — lightweight index of what was learned and the next command
|
|
|
|
**Non-goals:** This command does not execute phases, ship work, or overwrite existing planning artifacts without an explicit gate.
|
|
</objective>
|
|
|
|
<execution_context>
|
|
@~/.claude/msd-core/workflows/onboard.md
|
|
@~/.claude/msd-core/references/ui-brand.md
|
|
@~/.claude/msd-core/references/gate-prompts.md
|
|
</execution_context>
|
|
|
|
<context>
|
|
Arguments: $ARGUMENTS
|
|
|
|
Flags:
|
|
- `--fast` — prefer `/msd:map-codebase --fast` for the mapping handoff; the complete map is still required before `/msd:new-project`.
|
|
- `--text` — use plain-text numbered lists instead of TUI menus.
|
|
</context>
|
|
|
|
<process>
|
|
Execute the onboard workflow end-to-end. Preserve all safety gates, text-mode fallbacks, idempotency checks, and top-level handoff rules for nested interactive commands.
|
|
</process>
|