Thank you for your interest in contributing to DocuGen! This document provides guidelines and instructions for contributing.
- Node.js 18+
- npm 9+
- Git
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/docugen.git cd docugen - Install dependencies:
npm install
- Start the development server:
npm run dev
- Open http://localhost:3000 in your browser
Create a new branch for your feature or bugfix:
git checkout -b feature/your-feature-nameMake your changes following the code style guidelines in AGENTS.md.
Run the test suite to ensure your changes don't break existing functionality:
npm run test:runEnsure your code passes linting and formatting checks:
npm run lint # Check for issues
npm run format # Auto-format codeVerify the project builds successfully:
npm run buildCommit your changes with a clear commit message:
git add .
git commit -m "Add feature: your feature description"Push your branch and create a Pull Request:
git push origin feature/your-feature-nameThen open a Pull Request on GitHub.
Please follow the guidelines in AGENTS.md for:
- TypeScript conventions
- Component structure
- Tailwind CSS usage
- Testing practices
- Git commit messages
When reporting issues, please include:
- A clear description of the problem
- Steps to reproduce the issue
- Expected behavior vs actual behavior
- Screenshots (if applicable)
- Browser/OS information
This project follows our Code of Conduct. By participating, you are expected to uphold this code.
If you have questions, feel free to open an issue for discussion.