Contributing Documentation
Help improve the AI Templates documentation. Fork the repo, make changes, and submit pull requests.
Contributing to Documentation
Help improve the AI Templates documentation! This guide shows you how to contribute to this site.
Quick Start
- Fork the repository: aipatterns on GitHub
- Make your changes: Edit markdown files in
content/ - Test locally: Run
./serve.shto preview - Submit a pull request: Include description of changes
Documentation Structure
content/
├── templates/ # Template documentation
│ ├── mcp-server/ # MCP Server guides
│ ├── agent/ # Agent guides
│ └── ui/ # UI guides
├── tools/ # Tool setup guides
├── guides/ # Tutorials (placeholder)
└── reference/ # Technical reference (placeholder)
Writing Guidelines
Style
- Clear and concise: Get to the point quickly
- Code examples: Include working code samples
- Test instructions: Verify all steps work
- No emojis: Keep it professional
Markdown Format
We use Markdown with custom shortcodes:
Info
Info
Important information here
Tip
Tip
Helpful tip here
Warning
Warning
Warning message here
Diagrams
Use Mermaid for diagrams:
graph TD
A[Start] --> B[End]
Testing Changes
Before submitting:
# Run local server
./serve.sh
# Check for broken links
# Verify formatting
# Test on multiple screen sizes
Submitting Changes
- Create a branch:
git checkout -b fix/improve-docs - Make changes: Edit files, test locally
- Commit:
git commit -m "docs: improve MCP server guide" - Push:
git push origin fix/improve-docs - Open PR: Create pull request on GitHub
Need Help?
- Questions: GitHub Discussions
- Issues: File in the aipatterns repository
Thank you for contributing! 🙏