GEZHI Development Patterns
SkillDev toolsRepository-specific Python, testing, migration, and packaging conventions for GEZHI contributors.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the GEZHI Development Patterns skill
What this skill tells your AI
The instructions your AI receives, as published by siyaozheng/gezhi in .agents/skills/gezhi/SKILL.md and read by ahel’s review.
Repository-specific guidance for the GEZHI Python project.
Python Conventions
- Name modules and functions with
snake_case, classes withPascalCase, and constants withUPPER_SNAKE_CASE. - Use relative imports between modules inside
src/gezhi/. - Keep public exports deliberate. Define
__all__only when a module exposes a supported public surface. - Preserve
goalin domain and upstream names such asGoalConfig,codex_goal, and Codex/goal; GEZHI is the product identity.
Tests
-
Put tests in
tests/and name filestest_*.py. -
Add regression coverage for behavior changes, especially state durability, scheduler installation, repository locking, and fail-closed migration.
-
Run the repository checks before committing:
python -m ruff check src tests python -m mypy src python -m pytest -q tests
Repository Identity
- The distribution, import package, and command are all
gezhi. - The default configuration is
gezhi.toml; durable runtime state lives in.gezhi/; GEZHI-owned environment variables use theGEZHI_prefix. - Earlier product identifiers belong only in the explicit migration guard and migration guide. Do not add compatibility aliases or a second state root.
Changes and Commits
- Keep changes scoped and preserve unrelated user files in a dirty worktree.
- Use an appropriate Conventional Commit type such as
feat:,fix:,docs:, ortest:with a concise description. - Build and smoke-test the wheel when changing packaging, imports, or the CLI.
Signals
- GitHub stars
- 40
- Forks
- 9
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
gezhi- Source
- github.com/siyaozheng/gezhi