Thank you for your interest in contributing to Dev Session Buddy! This document provides guidelines and workflows for contributing to the project.
- Code of Conduct
- GitFlow Workflow
- Getting Started
- Development Process
- Pull Request Guidelines
- Commit Message Guidelines
- Code Style Guidelines
By participating in this project, you agree to maintain a respectful and inclusive environment for all contributors.
We follow the GitFlow branching strategy:
main: Production-ready codedevelop: Integration branch for features
feature/*: New featuresfix/*: Bug fixesrefactor/*: Code refactoringdocs/*: Documentation changesrelease/*: Release preparationhotfix/*: Urgent production fixes
- Features:
feature/descriptive-name - Bug fixes:
fix/descriptive-name - Refactoring:
refactor/descriptive-name - Documentation:
docs/descriptive-name
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/dev-session-buddy.git
- Add upstream remote:
git remote add upstream https://github.com/codevalve/dev-session-buddy.git
- Create a feature branch from
develop:git checkout develop git pull upstream develop git checkout -b feature/your-feature-name
-
Start from Develop
git checkout develop git pull upstream develop
-
Create Feature Branch
git checkout -b feature/your-feature-name
-
Make Changes
- Write code
- Add tests if applicable
- Update documentation
-
Commit Changes
git add . git commit -m "type(scope): description"
-
Push Changes
git push origin feature/your-feature-name
-
Create Pull Request
- Target the
developbranch - Fill out PR template
- Link related issues
- Target the
-
Title Format
- Use the format:
type: description - Example:
feat: add new template for React projects
- Use the format:
-
Description
- Explain the changes made
- List any breaking changes
- Reference related issues
-
Checklist
- Tests added/updated (if applicable)
- Documentation updated
- Follows code style guidelines
- Commit messages follow guidelines
-
Review Process
- At least one approval required
- All discussions resolved
- CI checks passing
Follow the Conventional Commits specification:
type(scope): description
[optional body]
[optional footer]
feat: New featurefix: Bug fixdocs: Documentation changesstyle: Code style changes (formatting, etc.)refactor: Code refactoringtest: Adding or updating testschore: Maintenance tasks
core: Core functionalitytemplates: Template-related changesdocs: Documentationdeps: Dependenciesci: CI/CD changes
Example:
feat(templates): add React project template
- Add basic React template
- Include React-specific configuration
- Update documentation
Closes #123
-
Shell Scripts
- Use shellcheck for linting
- Add comments for complex logic
- Use meaningful variable names
-
JavaScript/Node.js
- Follow ESLint configuration
- Use meaningful variable names
- Add JSDoc comments for functions
-
YAML Configuration
- Use consistent indentation (2 spaces)
- Add comments for clarity
- Keep files organized by section
-
Documentation
- Use clear, concise language
- Include code examples
- Keep formatting consistent
Feel free to:
- Open an issue for questions
- Join discussions in existing issues
- Reach out to maintainers
Thank you for contributing to Dev Session Buddy! 🎉