.codegen
directory contains your project’s Graph-sitter configuration, codemods, and supporting files. It’s automatically created when you run gs init
.
gs init
command:
.codegen/.venv/
to ensure consistent package versions and isolation from your project’s dependencies. This environment is:
uv
for fast, reliable package managementgs init
and used by commands like gs run
and gs notebook
.
.codegen/.venv
.env
file stores your project settings:
.gitignore
:
.codegen/codemods/
and config.toml
are tracked in Gitcodemods/
directory is where your transformation functions live. You can create new codemods using:
.codegen/codemods/
.codegen/prompts/
(if using --description
)gs list
to see all codemods in your project.jupyter/
directory contains notebooks for interactive development:
.codegen
directory: