agentleFS
SiyaoZhengSiyaoZheng/GEZHI/.agents/skills/gezhi/SKILL.md

gezhi

Skill40 starsChanged 4 months agoMITView on GitHub

Repository-specific Python, testing, migration, and packaging conventions for GEZHI contributors.

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
  1. Very specific:

    Use relative imports between modules inside src/gezhi/.

    line 15
  2. Very specific:

    Keep public exports deliberate.

    line 16
  3. Very specific:

    Put tests in tests/ and name files test_*.py.

    line 23
  4. Distinctive:

    Add regression coverage for behavior changes, especially state durability, scheduler installation, repository locking, and fail-closed …

    line 24
  5. Distinctive:

    Run the repository checks before committing:

    line 26
  6. Distinctive:

    Keep changes scoped and preserve unrelated user files in a dirty worktree.

    line 44
  7. Very specific:

    Use an appropriate Conventional Commit type such as feat:, fix:, docs:, or test: with a concise description.

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GEZHI Development Patterns

Repository-specific guidance for the GEZHI Python project.

Python Conventions

  • Name modules and functions with snake_case, classes with PascalCase, and constants with UPPER_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 goal in domain and upstream names such as GoalConfig, codex_goal, and Codex /goal; GEZHI is the product identity.

Tests

  • Put tests in tests/ and name files test_*.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 the GEZHI_ 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:, or test: with a concise description.
  • Build and smoke-test the wheel when changing packaging, imports, or the CLI.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.