This guide will walk you through every step of contributing your enhancements back to the original repository.
- GitHub account (you have this ✓)
- Git installed locally (you have this ✓)
- Your enhanced fork ready (you have this ✓)
- Go to: https://github.com/tanker327/prompts-mcp-server
- Click: The "Fork" button (top right)
- Select: Your account (jezweb)
- Wait: For the fork to complete
This creates your own copy of their repository under your account.
We need to set up git remotes to track both repositories:
# Navigate to your project
cd /home/jez/claude/prompts/smart-prompts-mcp
# Add the original repository as 'upstream'
git remote add upstream https://github.com/tanker327/prompts-mcp-server.git
# Verify remotes
git remote -v
# Should show:
# origin https://github.com/jezweb/smart-prompts-mcp.git (fetch/push)
# upstream https://github.com/tanker327/prompts-mcp-server.git (fetch/push)
# Fetch the upstream branches
git fetch upstreamWe'll create separate branches for each feature to make PRs manageable:
# Create branch for enhanced tool descriptions
git checkout -b feature/enhanced-tool-descriptions
# Create branch for GitHub integration
git checkout -b feature/github-integration
# Create branch for advanced search
git checkout -b feature/advanced-search
# Create branch for prompt composition
git checkout -b feature/prompt-composition
# Return to main branch
git checkout mainLet's start with the smallest, most valuable change:
This PR will include:
- Better tool descriptions with workflow guidance
- Help system implementation
- Enhanced error messages
- Examples in tool schemas
Files to include:
- Modified
src/tools.ts(selected improvements) - New help functionality
- Updated tests
- Documentation updates
- Go to: https://github.com/tanker327/prompts-mcp-server/issues
- Click: "New Issue"
- Copy: The content from
ISSUE_DRAFT.md - Submit: The issue
After posting the issue, the maintainer might:
- ✅ Show interest → Proceed with PRs
- 🤔 Ask questions → Provide clarification
- 🔄 Suggest changes → Adapt approach
- ❌ Decline → Maintain separate fork
Changes to include:
- Improved tool descriptions
- Workflow guidance
- Better error messages
- Basic help system
Files involved:
src/tools.ts- Enhanced descriptions only- Tests for new functionality
- README updates
Changes to include:
- GitHub fetcher module
- Configuration for GitHub
- Backwards compatibility layer
- Basic GitHub operations
Files involved:
src/github.ts(new)src/config.ts(enhanced)- Integration with existing cache
- Tests and documentation
Changes to include:
- Category filtering
- Tag filtering
- Similar prompt suggestions
- Search improvements
Files involved:
- Search enhancements
- Cache improvements
- New search tests
Changes to include:
- Compose tool
- Template handling
- Separator support
Files involved:
- Composition logic
- New tool handler
- Tests and examples
- Fork the original repo on GitHub
- Run the git remote commands above
- Create the feature branches
- Post the issue to start discussion
- Prepare first PR based on feedback
- Submit PR with clear description
- Respond to reviews promptly
- Iterate based on feedback
- Start Small: First PR should be easy to review
- Clear Communication: Explain the why, not just the what
- Be Patient: Maintainers are volunteers
- Stay Positive: Accept feedback gracefully
- Test Everything: Include comprehensive tests
- Document Well: Update README and add examples
When creating each PR, use this template:
## Description
Brief description of what this PR adds/changes
## Motivation
Why this change is valuable
## Changes
- Bullet list of specific changes
- File modifications
- New features added
## Testing
- How to test the changes
- What tests were added
## Screenshots (if applicable)
Before/after comparisons
## Backwards Compatibility
Confirmation that existing functionality is preserved
## Related Issue
Fixes #[issue number]If the maintainer prefers to keep projects separate:
- Update your README to clearly attribute the original
- Add comparison doc showing differences
- Cross-reference in both projects
- Collaborate on shared improvements
- Maintain compatibility for easy switching
You'll know you're successful when:
- Issue gets positive response
- PRs are reviewed and merged
- Community benefits from improvements
- Both projects thrive
- Don't make huge PRs - Keep them focused
- Don't break compatibility - Test thoroughly
- Don't be pushy - Respect maintainer's time
- Don't forget tests - Match their standards
- Don't assume - Ask when unsure
Ready to start? Let's begin with forking the repository!