Implement self-teaching Resume Issue Workflow#60
Open
VirtueMe wants to merge 1 commit into
Open
Conversation
40 tasks
Add self-teaching workflow that guides Claude Code through resuming work on issues automatically via MCP server prompts and resources. Changes: - Enhanced startup() prompt with workflow overview and trigger phrases - Enhanced session://context resource with workflow steps and best practices - Enhanced sign_off_prompt() with handoff state checklist - Created prompts.py module with STARTUP_PROMPT and SIGNOFF_PROMPT - Updated README.md with Self-Teaching Workflows section - Created .claude/workflow-resume-issue.md (human reference, gitignored) - Formatted code with Black Key insight: Embed workflow in MCP prompts instead of static documentation that Claude might skip. When user says "continue on issue #X", Claude automatically retrieves state, presents findings, and resumes from last point. Credit: Enhanced by Cipher (DS-02) Closes #58 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
77326da to
233a493
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
MCP Server Enhancements
server.py - startup()- Enhanced with Resume Issue Workflow overview, trigger phrases, and standardized state keysserver.py - get_session_context()- Added workflow object, best practices, and quick start guidance to session://context resourceserver.py - sign_off_prompt()- Enhanced with handoff state checklist for proper session transitionsprompts.py- New module with STARTUP_PROMPT and SIGNOFF_PROMPT for future extensibilityDocumentation Updates
README.md- Added "Self-Teaching Workflows" section with Resume Issue Workflow explanation and example.claude/workflow-resume-issue.md- Human-readable reference (gitignored) explaining self-teaching concept, standardized state keys, and best practicesHow It Works
Self-Teaching Concept:
Workflow Trigger:
When user says "continue on issue #X", Claude automatically:
No manual explanation needed - the MCP server teaches Claude automatically.
Standardized State Keys
Defined standard keys for consistency across all sessions:
Test Plan
Phase 2 testing (next step):
Edge cases to test:
What Was Accomplished
Phase 1 (Complete):
Phase 2 (Next):
Credit
Enhanced implementation by Cipher (DS-02) - transformed original static documentation approach into self-teaching MCP integration.
Success Criteria
✅ Workflow embedded in MCP server prompts
✅ Claude sees workflow guidance every time
✅ Standardized state storage keys defined
✅ Documentation for both humans and AI
✅ No manual explanation required
Next step: Test with real scenario to verify automatic workflow execution.
Closes #58
🤖 Generated with Claude Code