Welcome Contributors
We welcome all kinds of contributions to the AI Hackathon Guide! Whether you want to contribute code, suggest new tools, report bugs, or improve documentation, your help makes this guide better for everyone.Code Contributions
1. Create a Branch
Create a new branch for your development work:feature/- New features or enhancementsfix/- Bug fixesdocs/- Documentation updatesrefactor/- Code refactoring
2. Make Your Changes
When contributing code:Follow existing patterns
Look at existing code for style and structure guidance. The project uses:
- TypeScript for type safety
- React 19 with functional components and hooks
- Tailwind v4 for styling
Write tests
Write or extend tests for every new or changed behavior:
- Unit tests for shared/server logic
- Component tests for UI
Document your code
Ensure your code is well-documented:
- Add JSDoc comments for complex functions
- Update relevant documentation files
- Add inline comments for non-obvious logic
3. Open a Pull Request
When you’re ready:-
Push your branch to GitHub:
- Open a Pull Request (PR) on GitHub
-
Fill out the PR template with:
- Description of changes
- Motivation and context
- Testing performed
- Screenshots (if UI changes)
- Request review from core contributors
PR Review Process
Your PR will be reviewed by core contributors who will:- Check code quality and style
- Verify tests pass and coverage meets thresholds
- Test functionality locally
- Suggest improvements or request changes
Types of Contributions
- Adding Tools
- Improving UI
- Enhancing Chat
- Documentation
To add a new tool to the guide:
- Edit
src/content/sections.ts - Add your tool to the appropriate section:
- Test that the tool appears correctly in the UI and chat
Ideas & Bug Reports
Don’t want to contribute code but have ideas or found bugs?Submitting Issues
Search existing issues
Check if your issue already exists in the GitHub Issues
Create a new issue
If not found, create a new issue with:
- Clear, descriptive title
- Detailed description
- Steps to reproduce (for bugs)
- Expected vs actual behavior
- Screenshots or videos if applicable
Issue Templates
- Bug Report
- Feature Request
- New Tool Suggestion
Development Setup
Prerequisites
- Node.js 20.x or later
- npm or yarn
- Git
- OpenAI API key (for chat features)
Initial Setup
http://localhost:5173
Available Commands
Code Style
TypeScript
- Use TypeScript for all new code
- Define proper types and interfaces
- Avoid
any- useunknownif type is truly unknown - Use type inference where obvious
React Components
- Use functional components with hooks
- Keep components focused and single-purpose
- Extract reusable logic to custom hooks
- Use proper prop typing
Styling
- Use Tailwind utility classes
- Use CSS custom properties for theme values
- Keep inline styles minimal
- Use arbitrary values for theme variables:
text-[var(--text-primary)]
Community Guidelines
- Be respectful and constructive in discussions
- Help others who have questions
- Give credit where it’s due
- Follow the GitHub Community Guidelines
Recognition
Contributors are recognized in:- The Contributors section of relevant pages
- GitHub’s contributor graph
- Release notes for significant contributions