Thank you for your interest in contributing to ModelSpec - a declarative specification for AI model deployment.
ModelSpec is part of the ParallelIQ ecosystem:
- modelspec: Core specification and schema for AI model deployment
- piqc-knowledge-base: Documentation, examples, and knowledge resources that provide context for ModelSpec
# Fork the repo on GitHub, then clone YOUR fork:
git clone https://github.com/YourUsername/modelspec.git
cd modelspec
# Add upstream remote
git remote add upstream https://github.com/paralleliq/modelspec.git
# Verify remotes
git remote -v# Sync with latest changes
git checkout main
git pull upstream main
git push origin main
# Create feature branch from main
git checkout -b feature/your-feature-nameBranch Naming:
feature/- New features or schema additionsfix/- Bug fixes or spec correctionsdocs/- Documentation improvements
Guidelines:
- Keep ModelSpec declarative - avoid deployment logic
- Remain platform-agnostic - no vendor lock-in
- Update examples in piqc-knowledge-base if relevant
- Follow existing schema patterns
# Stage changes
git add .
# Commit with descriptive message
git commit -m "feat: add GPU resource specification schema"
# Push to YOUR fork
git push origin feature/your-feature-nameCommit Format: type: description
feat:- New feature or schema additionfix:- Bug fix or correctiondocs:- Documentation updatechore:- Maintenance tasks
- Go to your fork on GitHub:
https://github.com/YourUsername/modelspec - Click "Compare & pull request"
- Ensure:
- Base:
paralleliq/modelspecmain - Head:
YourUsername/modelspecfeature/your-feature-name
- Base:
- Fill in PR description:
## Description
Brief summary of what this PR does
## Changes Made
- Added X schema field
- Updated Y documentation
- Fixed Z validation issue
## Related Issues
Closes #123
## Testing
How you verified these changes work
## Checklist
- [ ] Schema changes are backward compatible
- [ ] Documentation updated
- [ ] Examples added/updated in piqc-knowledge-base (if applicable)
- [ ] Follows declarative principles- Submit PR
# Make requested changes
# Edit files...
# Commit and push updates
git add .
git commit -m "fix: address review feedback on schema validation"
git push origin feature/your-feature-nameThe PR automatically updates with new commits.
# Update your main branch
git checkout main
git pull upstream main
git push origin main
# Delete feature branch
git branch -d feature/your-feature-name
git push origin --delete feature/your-feature-name- Add new model configuration fields
- Enhance validation rules
- Improve schema documentation
- Clarify existing specifications
- Add usage examples
- Improve README and guides
- Provide real-world ModelSpec files
- Add deployment scenario examples
- Contribute to piqc-knowledge-base
- Report ambiguities or issues
- Suggest corrections
- Identify edge cases
- Schema enhancements for model deployment
- Platform-agnostic configuration options
- Clear documentation and examples
- Validation improvements
- Real-world use cases
- Deployment orchestration logic
- Vendor-specific implementations
- Runtime enforcement mechanisms
- Breaking changes without discussion
- Declarative - Describe "what", not "how"
- Platform-agnostic - Works across any infrastructure
- Composable - Modules can be combined
- Versioned - Schema changes are tracked
- Documented - Every field has clear purpose
- Questions: Open a GitHub Discussion
- Bugs: Create an Issue with details
- Ideas: Open an Issue for discussion first
- Docs: Check piqc-knowledge-base repo
# Setup (once)
git clone https://github.com/YourUsername/modelspec.git
cd modelspec
git remote add upstream https://github.com/paralleliq/modelspec.git
# Start work
git checkout main && git pull upstream main && git push origin main
git checkout -b feature/name
# During work
git add .
git commit -m "type: description"
git push origin feature/name
# After merge
git checkout main && git pull upstream main && git push origin main
git branch -d feature/name
git push origin --delete feature/nameBy contributing, you agree that your contributions will be licensed under the same Business Source License 1.1 that covers this project. See LICENSE for details.
All contributors must follow our Code of Conduct. Be respectful, constructive, and collaborative.
Thank you for helping make ModelSpec better! 🚀