Thank you for your interest in contributing to JidoCode! This document provides guidelines for contributing.
-
Clone the repository:
git clone https://github.com/agentjido/jido_code.git cd jido_code -
Install dependencies:
mix setup
-
Start the development server:
mix phx.server
Before submitting a PR, ensure all quality checks pass:
mix qualityThis runs:
mix compile --warnings-as-errors- Compilation with strict warningsmix format --check-formatted- Code formatting checkmix credo --strict- Static code analysismix doctor --raise- Documentation coverage check
For running tests with coverage:
mix coveralls.htmlWe follow Conventional Commits:
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
| Type | Description |
|---|---|
feat |
New feature |
fix |
Bug fix |
docs |
Documentation changes |
style |
Formatting, no code change |
refactor |
Code change, no fix or feature |
perf |
Performance improvement |
test |
Adding/fixing tests |
chore |
Maintenance, deps, tooling |
ci |
CI/CD changes |
git commit -m "feat(accounts): add API key management"
git commit -m "fix: resolve timeout in async operations"
git commit -m "docs: update installation instructions"- Fork the repository
- Create a feature branch:
git checkout -b feat/my-feature - Make your changes
- Run quality checks:
mix quality - Run tests:
mix test - Commit using conventional commits
- Push and open a Pull Request
When reporting issues, please include:
- Elixir/OTP version (
elixir --version) - Steps to reproduce
- Expected vs actual behavior
- Relevant logs or error messages
Be respectful and inclusive. We're all here to build something great together.