Thank you for your interest in contributing to Mintify! This document provides guidelines and information for contributors.
- Fork the repository
- Clone your fork locally
- Set up the development environment (see DEVELOPMENT.md)
- Create a feature branch
- Use GitHub Issues
- Include macOS version and Xcode version
- Describe steps to reproduce
- Include screenshots if applicable
- Open a GitHub Issue with the
enhancementlabel - Describe the use case
- Explain why this would be useful
-
Create a branch from
main:git checkout -b feature/your-feature-name
-
Make your changes:
- Follow existing code style
- Add comments for complex logic
- Keep commits focused
-
Test your changes:
xcodebuild -scheme Mintify -destination 'platform=macOS' build -
Submit PR:
- Write a clear description
- Reference any related issues
- Wait for review
- Use Swift naming conventions (camelCase for properties/functions, PascalCase for types)
- Prefer
letovervarwhen possible - Use trailing closure syntax
- Add documentation comments for public APIs
- Keep views focused and small
- Extract reusable components
- Use
@EnvironmentObjectfor shared state - Avoid complex logic in view bodies
Views/
├── FeatureName/ # Feature-specific views
│ └── FeatureView.swift
├── Shared/ # Reusable components
│ └── ComponentView.swift
Format: type: short description
Types:
feat: New featurefix: Bug fixdocs: Documentationstyle: Code style (formatting, etc.)refactor: Code restructuringtest: Adding tests
Examples:
feat: add dark mode toggle to settings
fix: resolve memory leak in scanner
docs: update installation instructions
Open an issue with the question label and we'll be happy to help!