en un clic
grove-config
// Use when configuring Grove for a repository that does not yet have a `.grove/config.json`, or when a user asks to configure Grove in their project
// Use when configuring Grove for a repository that does not yet have a `.grove/config.json`, or when a user asks to configure Grove in their project
Use when something in the Grove setup is not working as expected, or when a user asks to diagnose or troubleshoot their Grove installation
Use when multiple independent tasks need to be executed in parallel, each in an isolated workspace with warm build state
Use when starting feature work that needs isolation from the current workspace, or before executing implementation plans in a Grove-enabled repository
Use when implementation is complete, all tests pass, and the agent is operating inside a Grove workspace that needs to be resolved or cleaned up
| name | grove-config |
| description | Use when configuring Grove for a repository that does not yet have a `.grove/config.json`, or when a user asks to configure Grove in their project |
I'm using the grove-config skill to set up Grove for this project.
git rev-parse --show-toplevel
If the command fails, stop. Grove requires a git repository.
test -f .grove/config.json
If .grove/config.json exists, report that Grove is already initialized and ask the user whether they want to re-initialize. Stop unless they confirm.
Scan for marker files in the following priority order. Use the first match. If multiple top-level markers exist, ask the user which is the primary build system.
| Build System | Marker File(s) | Warmup Command | Post-Clone Hook |
|---|---|---|---|
| Gradle | build.gradle.kts or build.gradle | ./gradlew assemble | Clean lock files, configuration-cache |
| Node.js | package.json | npm run build | Clean node_modules/.cache |
| Rust | Cargo.toml | cargo build | Clean target/debug/incremental |
| Go | go.mod | go build ./... | Minimal — Go handles relocatable caches well |
| Python | pyproject.toml or requirements.txt | poetry install or pip install -e . | Clean __pycache__ dirs |
| C/C++ | Makefile or CMakeLists.txt | make or cmake --build build | Project-specific |
If no marker is found, ask the user to provide a warmup command.
Show the user:
Ask for confirmation before proceeding.
grove config --warmup-command "<cmd>"
Write the post-clone hook script to .grove/hooks/post-clone and make it executable:
chmod +x .grove/hooks/post-clone
Tell the user to commit the Grove configuration:
git add .grove/config.json .grove/hooks/
git commit -m "chore: add Grove configuration"
| Command | Purpose |
|---|---|
grove config --warmup-command "<cmd>" | Initialize Grove |
grove update | Refresh golden copy build state |
grove config outside a git repo — Grove requires git; always verify first..grove/ — commit so collaborators and CI get the same warmup behavior.grove config fails with a permissions error — check grove is installed and the user has write access.grove config — fix unresolved dependencies before initializing.package.json and build.gradle at the root — polyglot monorepo; ask which is primary.grove:using-grove when .grove/config.json is not found/grove-config slash command