Thank you for your interest in contributing to BitSleuth! This document provides guidelines for contributing to the project.
All documentation markdown files must be stored in the docs/ folder.
This includes:
- Product requirements and specifications
- Technical documentation
- Development guides
- Strategy documents (SEO, marketing, etc.)
- TODO lists and roadmaps
- Any other markdown documentation
✅ Correct:
docs/PRD.md- Product Requirements Documentdocs/SEO_STRATEGY.md- SEO Strategydocs/todo.md- Development roadmapdocs/API_GUIDE.md- API documentationdocs/DEPLOYMENT.md- Deployment instructions
❌ Incorrect:
src/app/documentation.md- Should be indocs/src/components/guide.md- Should be indocs/root-level-doc.md- Should be indocs/(unless it's README.md, LICENSE, CONTRIBUTING.md, AGENTS.md)
The following markdown files are allowed at the root level:
README.md- Main project documentationLICENSEorLICENSE.md- License informationCONTRIBUTING.md- This fileAGENTS.md- Agent overview and project structure.github/directory - GitHub-specific configurations and templates
- Use UPPERCASE for important root-level documents (e.g.,
README.md,CONTRIBUTING.md) - Use lowercase with hyphens for general documentation files (e.g.,
api-guide.md,deployment-instructions.md) - Use descriptive names that clearly indicate the content
- Strict typing: All files must be properly typed
- No
anytypes: Use proper TypeScript types instead - Formatting: Follow existing code style
- Use functional components with hooks
- File naming: kebab-case for files, PascalCase for components
- Place reusable UI components in
src/components/ui/
- Use clear, descriptive commit messages
- Follow conventional commit format when possible
- Keep commits focused and atomic
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes with clear commits
- Run
npm run typecheckandnpm run lint - Test thoroughly in development
- Push to your fork
- Open a Pull Request with description of changes
- Node.js 20.x or higher (required)
- npm (or pnpm/yarn)
npm install
npm run dev # Start Next.js web app
npm run genkit:dev # Start AI backend (in separate terminal)npm run dev # Start development server
npm run build # Production build
npm run lint # Run ESLint
npm run typecheck # Run TypeScript type checking
npm run genkit:dev # Start Genkit AI flowsIf you have questions or encounter issues, please open an issue on GitHub or contact the development team.
Built with ❤️ by BitSleuth