Skip to main content

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​

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/YOUR_USERNAME/idiomark.git
  3. Install dependencies: pnpm install
  4. Make your changes
  5. 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​

  1. Create a new branch: git checkout -b feature/my-feature
  2. Make your changes
  3. Write tests for new functionality
  4. Ensure all tests pass: pnpm test
  5. 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​

License​

By contributing, you agree that your contributions will be licensed under the Business Source License 1.1.