Move the BLOCKER/WARNING/INFO conflict report format, severity semantics, and safety-gate behavior from workflows/import.md into a new shared reference file. /gsd-import consumes the reference; behavior is unchanged (all 13 import-command tests + full 4091-test suite pass). Prepares for /gsd-ingest-docs (#2387) which will consume the same contract with its own domain-specific check list. Prevents drift between the two implementations. Refs #2387 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
38 lines
934 B
Markdown
38 lines
934 B
Markdown
---
|
|
name: gsd:import
|
|
description: Ingest external plans with conflict detection against project decisions before writing anything.
|
|
argument-hint: "--from <filepath>"
|
|
allowed-tools:
|
|
- Read
|
|
- Write
|
|
- Edit
|
|
- Bash
|
|
- Glob
|
|
- Grep
|
|
- AskUserQuestion
|
|
- Task
|
|
---
|
|
|
|
<objective>
|
|
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.
|
|
</objective>
|
|
|
|
<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
|
|
@~/.claude/get-shit-done/references/doc-conflict-engine.md
|
|
</execution_context>
|
|
|
|
<context>
|
|
$ARGUMENTS
|
|
</context>
|
|
|
|
<process>
|
|
Execute the import workflow end-to-end.
|
|
</process>
|