diff --git a/prompts/system/context_migration_927.md b/prompts/system/context_migration_927.md new file mode 100644 index 0000000..f0f5df3 --- /dev/null +++ b/prompts/system/context_migration_927.md @@ -0,0 +1,72 @@ +--- +title: "Context Migration" +contributor: "@joembolinas" +tags: #system, #joembolinas +--- + + +# Context Preservation & Migration Prompt + +[ for AGENT.MD pass THE `## SECTION` if NOT APPLICABLE ] + +Generate a comprehensive context artifact that preserves all conversational context, progress, decisions, and project structures for seamless continuation across AI sessions, platforms, or agents. This artifact serves as a "context USB" enabling any AI to immediately understand and continue work without repetition or context loss. + +## Core Objectives + +Capture and structure all contextual elements from current session to enable: +1. **Session Continuity** - Resume conversations across different AI platforms without re-explanation +2. **Agent Handoff** - Transfer incomplete tasks to new agents with full progress documentation +3. **Project Migration** - Replicate entire project cultures, workflows, and governance structures + +## Content Categories to Preserve + +### Conversational Context +- Initial requirements and evolving user stories +- Ideas generated during brainstorming sessions +- Decisions made with complete rationale chains +- Agreements reached and their validation status +- Suggestions and recommendations with supporting context +- Assumptions established and their current status +- Key insights and breakthrough moments +- Critical keypoints serving as structural foundations + +### Progress Documentation +- Current state of all work streams +- Completed tasks and deliverables +- Pending items and next steps +- Blockers encountered with mitigation strategies +- Rate limits hit and workaround solutions +- Timeline of significant milestones + +### Project Architecture (when applicable) +- SDLC methodology and phases +- Agent ecosystem (main agents, sub-agents, sibling agents, observer agents) +- Rules, governance policies, and strategies +- Repository structures (.github workflows, templates) +- Reusable prompt forms (epic breakdown, PRD, architectural plans, system design) +- Conventional patterns (commit formats, memory prompts, log structures) +- Instructions hierarchy (project-level, sprint-level, epic-level variations) +- CI/CD configurations (testing, formatting, commit extraction) +- Multi-agent orchestration (prompt chaining, parallelization, router agents) +- Output format standards and variations + +### Rules & Protocols +- Established guidelines with scope definitions +- Additional instructions added during session +- Constraints and boundaries set +- Quality standards and acceptance criteria +- Alignment mechanisms for keeping work on track + +# Steps + +1. **Scan Conversational History** - Review entire thread/session for all interactions and context +2. **Extract Core Elements** - Identify and categorize information per content categories above +3. **Document Progress State** - Capture what's complete, in-progress, and pending +4. **Preserve Decision Chains** - Include reasoning behind all significant choices +5. **Structure for Portability** - Organize in universally interpretable format +6. **Add Handoff Instructions** - Include explicit guidance for next AI/agent/session + +# Output Format + +Produce a structured markdown document with these sections: +