/extract-learnings
Extract decisions, lessons, patterns, and surprises from completed phase artifacts
> /plugin marketplace add open-gsd/gsd-core > /plugin install gsd-core@gsd-core
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/extract-learnings
Context preview
What this command does when you run it.
Extract decisions, lessons, patterns, and surprises from completed phase artifacts
Command definition
extract-learnings.mdname: gsd:extract-learnings description: Extract decisions, lessons, patterns, and surprises from completed phase artifacts argument-hint: <phase-number> allowed-tools: - Read - Write - Bash - Grep - Glob - Agent type: prompt requires: [phase]
<objective> Extract structured learnings from completed phase artifacts (PLAN.md, SUMMARY.md, VERIFICATION.md, UAT.md, STATE.md) into a LEARNINGS.md file that captures decisions, lessons learned, patterns discovered, and surprises encountered. </objective>
<execution_context> @~/.claude/gsd-core/workflows/extract-learnings.md </execution_context>
Execute the extract-learnings workflow from @~/.claude/gsd-core/workflows/extract-learnings.md end-to-end.
Git. Ship. Done. A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.
Repo: open-gsd/gsd-core
Other commands on gsd-core.
- /add-tests
Generate tests for a completed phase based on UAT criteria and implementation
Open command - /ai-integration-phase
Generate an AI-SPEC.md design contract for phases that involve building AI systems.
Open command - /audit-fix
Autonomous audit-to-fix pipeline β find issues, classify, fix, test, commit
Open command - /audit-milestone
Audit milestone completion against original intent before archiving
Open command - /audit-uat
Cross-phase audit of all outstanding UAT and verification items
Open command - /autonomous
Run all remaining phases autonomously β discussβplanβexecute per phase
Open command

