gezhi
Skill41 starsChanged 4 months agoMITView on GitHub
Repository-specific Python, testing, migration, and packaging conventions for GEZHI contributors.
In this repository5 other files it gives its agents.
- .codex/AGENTS.mdAGENTS.md
- llms.txtllms.txt
- gezhiSkill
- gezhi-project-setupSkill
- gezhi-template-authorSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Use relative imports between modules inside src/gezhi/.
- Very specific: line 16
Keep public exports deliberate.
- Very specific: line 23
Put tests in tests/ and name files test_*.py.
- Distinctive: line 24
Add regression coverage for behavior changes, especially state durability, scheduler installation, repository locking, and fail-closed …
- Distinctive: line 26
Run the repository checks before committing:
- Distinctive: line 44
Keep changes scoped and preserve unrelated user files in a dirty worktree.
- Very specific: line 45
Use an appropriate Conventional Commit type such as feat:, fix:, docs:, or test: with a concise description.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GEZHI Development Patterns
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

