Thank you for your interest in contributing to Agentokratia! This document provides guidelines and instructions for contributing.
By participating in this project, you agree to maintain a respectful and inclusive environment for everyone.
Before submitting a bug report:
- Check existing issues to avoid duplicates
- Use the bug report template when creating a new issue
- Include steps to reproduce, expected behavior, and actual behavior
- Add screenshots if applicable
- Check existing issues and discussions first
- Use the feature request template
- Clearly describe the use case and proposed solution
- Fork the repository
- Create a feature branch from
main:git checkout -b feature/your-feature-name
- Make your changes following our coding standards
- Write or update tests if applicable
- Run linting, formatting, and type checking:
npm run lint npm run format npm run type-check
- Commit with conventional commit messages (pre-commit hooks will lint and format)
- Push and open a pull request
We use Conventional Commits. Commits are validated by commitlint.
Format: type: description
Types:
| Type | Description |
|---|---|
feat |
New feature |
fix |
Bug fix |
docs |
Documentation only |
style |
Formatting, no code change |
refactor |
Code change without fix or feature |
perf |
Performance improvement |
test |
Adding tests |
chore |
Maintenance |
ci |
CI/CD changes |
build |
Build system changes |
revert |
Revert previous commit |
Examples:
feat: add user profile pagefix: resolve wallet connection issue on mobiledocs: update README with new setup instructionsrefactor: simplify authentication flow
- Use TypeScript for all new code
- Follow existing code style and patterns
- Use meaningful variable and function names
- Keep components small and focused
- Add comments for complex logic
- Fork and clone the repository
- Install dependencies:
npm install - Copy
.env.exampleto.env.localand configure - Start development server:
npm run dev
- Test your changes locally before submitting
- Ensure the build passes:
npm run build - Verify type checking:
npm run type-check
Open a discussion or reach out to the maintainers.