First off, thank you for considering contributing to the Snowdream Tech AI IDE Template! It's people like you that make this template such a great foundational tool.
We welcome contributions of all kinds, including bug fixes, new AI agent rules, documentation improvements, and CI/CD enhancements.
Before submitting any changes, you must set up your local development environment to ensure your code matches our strict project standards:
-
Install
pre-commit: We rely heavily onpre-committo catch linting, formatting, and security issues before they are committed.pip install pre-commit pre-commit install --hook-type pre-commit --hook-type pre-merge-commit --hook-type commit-msg
-
Verify Setup: Run
make setupandmake installto ensure all system and project dependencies are available, then runmake lintto verify.
- Fork the repository on GitHub.
- Clone your fork locally.
- Branch from
mainto a descriptively named branch (e.g.,feat/add-new-ai-rule,fix/ci-memory-leak). - Develop your feature or fix.
- Commit your changes following our Conventional Commits standards. We highly recommend using our interactive Commitizen CLI to automatically assemble your commit message format.
Simply run
make commit(ornpm run commit) to launch the interactive prompt. - Push to your fork.
- Submit a Pull Request (PR) against our
mainbranch.
To legally protect the repository, all commits must be signed off. This signifies that you have the right to submit the code you are contributing.
You can easily sign off your commits by using the -s or --signoff flag:
git commit -s -m "fix(script): resolve posix portability issue"Tip: If you use
make commit, you can add the signoff flag by configuring your system git globally:git config --global commit.gpgsign trueorgit config --global format.signOff true.
Before submitting rules or code, you MUST read our internal architecture guides:
- 01-general.md: Core principles and language rules.
- 02-coding-style.md: CI/CD and script fallback requirements.
- shell.md: Strict POSIX shell portability rules.
Any Pull Request that fails the mandatory CI workflow checks or violates the architectural standards will not be merged.
Thank you for helping us build the ultimate SSOT AI IDE Template!