Contributing to Idiomark
Thanks for your interest in contributing! Idiomark is an open protocol, and we welcome contributions from the community.
Ways to Contribute
We welcome contributions in many forms:
- Documentation - Improve guides and examples
- Bug Reports - Help us find and fix issues
- Feature Requests - Suggest improvements
- Code Review - Review pull requests
- Community - Help other users
Quick Start
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/idiomark.git - Install dependencies:
pnpm install - Make your changes
- Submit a pull request
Development
Prerequisites
- Node.js 18+
- pnpm 9+
Setup
# Install dependencies
pnpm install
# Run in development mode
pnpm dev
# Run tests
pnpm test
# Build all packages
pnpm build
Project Structure
idiomark/
├── packages/
│ ├── cli/ # Command-line interface
│ ├── core/ # Core extraction/validation logic
│ ├── sdk/ # Developer SDK
│ ├── inference/ # Personality application engine
│ ├── mcp/ # MCP server for agents
│ └── projectors/ # Project profiles onto external systems
├── docs/ # Protocol specification
├── examples/ # Example .idiomark files
└── turbo.json # Monorepo config
Contributing Guidelines
Code Style
- Use TypeScript for all new code
- Follow existing code style
- Add JSDoc comments for exports
- Keep functions small and focused
Commit Messages
Use conventional commits:
feat: add new personality dimension validation
fix: resolve validation error for missing fields
docs: update spec with new personality dimensions
test: add tests for IdiomarkExtractor
Submitting Changes
- Create a new branch:
git checkout -b feature/my-feature - Make your changes
- Write tests for new functionality
- Ensure all tests pass:
pnpm test - Submit a pull request
Reporting Issues
When reporting issues, please include:
- Idiomark version
- Node.js version
- Operating system
- Steps to reproduce
- Expected behavior
- Actual behavior
Documentation
- Quick Start Guide - Get started in 5 minutes
- Protocol Specification - Complete protocol spec
- SDK Documentation - Developer SDK guide
- Examples - Usage examples
- FAQ - Frequently asked questions
License
By contributing, you agree that your contributions will be licensed under the Business Source License 1.1.