Contributing to CrossGen
July 30, 2026 ยท View on GitHub
Thanks for helping improve CrossGen. Contributions that make the desktop, CLI, or MCP image workflow more reliable and easier to use are welcome.
Before You Start
- Search existing issues and pull requests before opening a new one.
- Use GitHub Discussions for workflow ideas, usage questions, and early proposals.
- Use an issue for reproducible bugs or a scoped feature request.
- Never include API keys, private images, local state files, or provider responses that may contain credentials.
- For security vulnerabilities, follow SECURITY.md instead of opening a public issue.
Development Setup
Requirements:
- Node.js compatible with the version used by CI
- pnpm 10
- macOS, Windows, or Linux
pnpm install
pnpm dev:electron
Run the standard validation before submitting a pull request:
pnpm typecheck
pnpm test
pnpm build
Focused checks are also available:
pnpm verify:cli-mcp-smoke
pnpm verify:agent-integration-smoke
pnpm verify:mock-api
pnpm verify:mock-gemini-api
pnpm verify:mock-model-discovery
Mock checks do not spend provider credits. Do not run real-provider gates without explicit cost approval and local credentials.
Pull Requests
- Keep each pull request focused on one problem.
- Add or update tests for behavior changes.
- Update English and Chinese documentation together when user-facing behavior changes.
- Describe the user impact and list the checks you actually ran.
- Add screenshots for renderer changes and JSON examples for CLI or MCP contract changes.
- Do not commit build output, release artifacts, local state, logs, or secrets.
By submitting a contribution, you agree that it is licensed under the repository's MIT License.