garden

Scan a codebase for maintenance issues and fix one per run.

27|2|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/maragudk/fabrik --skill garden-maragudk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: garden
Source: https://github.com/maragudk/fabrik/tree/main/skills/garden
Command: npx skills add https://github.com/maragudk/fabrik --skill garden-maragudk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates project maintenance by scanning for issues, selecting one, applying a fix in a worktree, self-reviewing with competing agents, and opening a PR to tidy up a codebase. Use when you want to tidy up the project, fix stale docs, or generally tend the codebase.

Core Features & Use Cases

  • Scans the project for maintenance issues starting with documentation and README drift
  • Fixes a single, well-scoped issue in a garden/ branch and commits it
  • Self-reviews the fix with competing agents and ships a PR
  • Use cases: cleaning up docs, removing broken references, and maintaining healthy codebases

Quick Start

Invoke garden to scan the project, fix one issue in a worktree, then self-review and open a PR.

Frequently Asked Questions about garden

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate codebase maintenance for documentation drift and stale references?

Automating codebase maintenance is done by scanning the project for a single well-scoped issue, applying a fix in a git worktree, self-reviewing with competing agents, and opening a pull request to tidy the codebase.

What is the best way to fix documentation issues and improve project hygiene automatically?

The best way to fix documentation issues automatically is to use an autonomous agent that identifies one maintenance task per run, commits the fix on a garden/ branch, and ships a pull request after a self-review.

Do I need a git worktree to run automated codebase cleanup and pull request generation?

Yes, a git worktree is required for automated codebase cleanup. The workflow depends on a worktree alongside a garden/ branch naming convention to isolate the single-issue fix before opening a pull request.

Can I scan for multiple maintenance issues and fix them all in a single run?

No, you cannot fix multiple issues in a single run. The autonomous gardener selects and fixes exactly one well-scoped maintenance issue per run to ensure quality and focused pull requests.

How does self-review with competing agents work for codebase maintenance fixes?

Self-review with competing agents works by evaluating the single applied fix within the git worktree before shipping a pull request, ensuring the maintenance change meets quality standards for documentation and code health.

When should I use an autonomous agent for project maintenance instead of manual fixes?

You should use an autonomous agent for project maintenance when you need to tidy up docs, fix stale references, or improve code health without manual intervention, relying on automated scanning and self-reviewed pull requests.