Files
msd-core/commands/gsd/import.md
Rezolv 02d2533eac feat(commands): add external plan import command /gsd-import (#1801)
* feat(commands): add external plan import command /gsd-import

Adds a new /gsd-import command for importing external plan files into
the GSD planning system with conflict detection against PROJECT.md
decisions and CONTEXT.md locked decisions.

Scoped to --from mode only (plan file import). Uses validatePath()
from security.cjs for file path validation. Surfaces all conflicts
before writing and never auto-resolves. Handles missing PROJECT.md
gracefully by skipping constraint checks.

--prd mode (PRD extraction) is noted as future work.

Closes #1731

* fix(commands): address review feedback for /gsd-import

- Add structural tests for command/workflow files (13 assertions)
- Add REQUIREMENTS.md to conflict detection context loading
- Replace security.cjs CLI invocation with inline path validation
- Move PBR naming check from blocker list to conversion step
- Add Edit to allowed-tools for ROADMAP.md/STATE.md patching
- Remove emoji from completion banner and validation message
2026-04-05 18:33:24 -04:00

875 B

name, description, argument-hint, allowed-tools
name description argument-hint allowed-tools
gsd:import Ingest external plans with conflict detection against project decisions before writing anything. --from <filepath>
Read
Write
Edit
Bash
Glob
Grep
AskUserQuestion
Task
Import external plan files into the GSD planning system with conflict detection against PROJECT.md decisions.
  • --from: Import an external plan file, detect conflicts, write as GSD PLAN.md, validate via gsd-plan-checker.

Future: --prd mode for PRD extraction is planned for a follow-up PR.

<execution_context> @/.claude/get-shit-done/workflows/import.md @/.claude/get-shit-done/references/ui-brand.md @~/.claude/get-shit-done/references/gate-prompts.md </execution_context>

$ARGUMENTS Execute the import workflow end-to-end.