Thank you for your interest in contributing to OSS_dev! This document provides guidelines for contributing to the project. NOTES To maintain OSS_dev as a production-grade project, we strictly reject PRs that follow these patterns: No "Patch-work" Fixes: Do not submit shallow fixes that address symptoms. If a core logic path is broken, fix the core implementation. We value architectural integrity over quick patches.
No Irrelevant Comments: Avoid adding comments like // this adds two numbers or personal notes. Code should be self-documenting. Only use comments to explain the "Why" of a complex decision, never the "What".
No "Film Script" Commits: Keep commit messages minimal and meaningful. Fixed the bug where some things were happening and then I changed this file to make it work better after looking at logs fix(engineer): resolve sandbox clone permission error
No Placeholders: Never submit code with // TODO or // FIXME. PRs should be complete, stable, and ready for deployment. No any Types: We are a strict TypeScript project. Use the definitions in src/types/index.ts . If a type is missing, create it properly. No Unnecessary Dependencies: Every added package increases the attack surface and bundle size. If it can be done with 10 lines of vanilla TS, don't add a library.
- Fork the repository and clone your fork
- Install dependencies:
npm install - Set up environment variables:
cp .env.example .env # Add your API keys: # - GEMINI_API_KEY # - GITHUB_TOKEN # - E2B_API_KEY
- Run tests:
npm test - Build the project:
npm run build
- Create a new branch for your feature/fix:
git checkout -b feature/your-feature-name - Make your changes
- Run tests to ensure nothing breaks:
npm test - Commit your changes with clear, concise messages
- Push to your fork and submit a pull request
- Use TypeScript for all new code
- Follow existing code formatting (we use Prettier)
- Write meaningful variable and function names
- Add comments for complex logic
- Keep functions small and focused
- Use present tense: "add feature" not "added feature"
- Keep the first line under 50 characters
- Be descriptive but concise
- No emojis in commit messages
Examples:
add langchain integration to analyzer
fix sandbox provisioning for go projects
update documentation for stack detector
- Write unit tests for new features
- Ensure all tests pass before submitting PR
- Test with real GitHub issues when possible
- Document any manual testing steps in PR description
- Update README.md or documentation if needed
- Ensure your PR description clearly describes the problem and solution
- Link any related issues
- Wait for review from maintainers
- Address any requested changes
- Agent Improvements: Enhance prompts, add new agent capabilities
- Stack Detection: Add support for more languages/frameworks
- Testing: Improve test coverage
- Documentation: Improve guides, add examples
- Bug Fixes: Fix reported issues
- Performance: Optimize token usage, reduce API calls
- Check the CONTRIBUTOR-GUIDE.md for architecture details
- Open an issue for questions or discussions
- Review existing issues and PRs for context
- Be respectful and inclusive
- Provide constructive feedback
- Focus on the code, not the person
- Help others learn and grow
Thank you for contributing to OSS_dev!