Thank you for your interest in contributing to the TurboDocx Next.js LLM plugin! We welcome contributions from the community.
- Fork the repository on GitHub
- Clone your fork locally:
git clone https://github.com/YOUR_USERNAME/next-plugin-llms.git cd next-plugin-llms - Install dependencies:
npm install
- Build the project:
npm run build
# Run tests once
npm test
# Run tests in watch mode
npm run test:watch
# Run tests with coverage
npm run test:coverage
# Run tests with UI
npm run test:ui# Build TypeScript
npm run build
# Build in watch mode
npm run watchYou can test your changes in a local Next.js project:
# In the plugin directory
npm link
# In your Next.js project
npm link @turbodocx/next-plugin-llms- TypeScript: All code should be written in TypeScript with proper type annotations
- Testing: Add tests for new features and bug fixes
- Formatting: Code is formatted with Prettier (configured in the project)
- Linting: Follow ESLint rules (if configured)
We use conventional commit messages with Claude Code attribution:
feat: add new feature
Description of the change
🤖 Generated with Claude Code (https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Commit types:
feat: New featurefix: Bug fixdocs: Documentation changestest: Adding or updating testsrefactor: Code refactoringchore: Maintenance tasks
-
Create a branch for your feature or fix:
git checkout -b feat/my-new-feature
-
Make your changes and commit them with clear messages
-
Push to your fork:
git push origin feat/my-new-feature
-
Open a Pull Request on GitHub with:
- Clear description of the changes
- Reference to any related issues
- Screenshots/examples if applicable
-
Wait for review - maintainers will review your PR and may request changes
When reporting issues, please include:
- Description: Clear description of the problem
- Reproduction: Steps to reproduce the issue
- Expected behavior: What you expected to happen
- Actual behavior: What actually happened
- Environment: Next.js version, Node.js version, OS
- Code samples: Minimal reproducible example if possible
We welcome feature requests! Please:
- Check existing issues first to avoid duplicates
- Describe the use case and why the feature would be useful
- Provide examples of how the feature would be used
- Be respectful and inclusive
- Welcome newcomers and help them get started
- Focus on what's best for the project and community
- Accept constructive criticism gracefully
- Open an issue for general questions
- Join our Discord for real-time discussions
- Follow us on X/Twitter for updates
By contributing, you agree that your contributions will be licensed under the MIT License.
Thank you for contributing to TurboDocx! 🚀