/fabrik:gardenfrom fabrik
Autonomous maintenance agent that scans docs, code, and tests for issues, fixes one per run, and opens a PR. Invoke with /garden.
Ships in fabrik. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A single-shot autonomous maintenance agent. You invoke it, it finds one thing worth fixing, fixes it well, and opens a PR. Then it stops. Think of it as a gardener walking through the project, tending one thing per visit: sometimes pulling a weed, sometimes taking the shears to an overgrown bed.
Inspired by the "doc-gardening" and "garbage collection" concepts from agent-first engineering: steady, small-batch tending beats painful cleanup sprints.
garden/-prefixed branchCreate a worktree and branch:
REPO="$(git rev-parse --show-toplevel)"
WORKTREE="$REPO/.claude/worktrees/garden-$(date +%Y%m%d-%H%M%S)"
git worktree add "$WORKTREE" -b garden/<descriptive-slug>
echo "repo: $REPO"
echo "worktree: $WORKTREE"
Record both paths the block echoes -- git worktree add prints neither. Shell state doesn't survive to your next command: the variables are gone, and in a sub-agent thread the working directory resets too. So pass the worktree path explicitly from here on. Prefix later commands with cd <worktree> &&, hand the path to the code-review skill in Step 5, and reuse both paths in Step 7.
Don't re-derive the worktree path with a garden-* glob. Another garden run may have a worktree of its own, and both cd and git worktree remove fail when the glob matches more than one.
The branch name should reflect the issue you end up fixing (you can rename it after the scan). Use the garden/ prefix always.
Survey the project for maintenance issues. The scan is intentionally broad -- you're a gardener walking through the plot, noticing what needs attention. You don't need to find everything. Some things you catch this time, others next time.
Read the project's documentation, code, and tests, cross-reference them against each other, and build a list of findings.
Look for these kinds of issues in documentation:
Look for code that could be less code, or plainer code, while doing the same thing:
Look for tests that cost more to keep than they are worth:
The size of the change follows from the issue, not from a preference for small diffs. Deleting a few hundred lines or reshaping a package is fine when that is what the issue takes. What keeps heavy-handed work safe is not its size but these rules:
Leave generated code, vendored code, and third-party code alone, along with anything the project marks as not to be edited by hand.
Do not modify log-like or append-only documentation. These are historical records, not living docs. Specifically:
docs/decisions.md. These are chronological records of past decisions. Even if they reference things that no longer exist, that's intentional -- they record what was decided at the time.docs/diary/ produced by the diary skill. These are implementation narratives. They capture what happened, including failures and dead ends. Do not "fix" them.If you're unsure whether something is a living doc or a historical record, leave it alone.
These are natural extensions for the future. Don't act on them now, but the scan architecture is designed to accommodate them:
From your findings, pick the single most worthwhile issue to fix. Use your judgment -- consider severity, your confidence in the fix, and how cleanly it can be resolved. There's no rigid prioritization formula, and no preference for the smallest issue: a larger pruning you're confident in beats a typo.
State what you picked and why before proceeding.
Make the change. Keep it focused -- one issue, one PR -- but as large as the issue needs. Cutting a whole bed back is fine; replanting the garden while you're at it is not. If fixing one thing reveals three others, note them mentally but only address the one you selected.
Respect the project's existing conventions. Read CLAUDE.md, check for linters, understand the project's style. Don't impose your own preferences -- tidy according to the standards already in place.
Run the project's tests, linters, and build, and make sure they pass, then commit the change with a clear message.
Invoke the code-review skill on the change, and follow its method. Give it the worktree path from Step 1 as the repository to review -- the change is the garden/ branch against the main branch. Pass as its additional concerns the finding you selected in Step 3, and these checks for the reviewers:
The reviewers' sandboxes may not let them run tests, so running them stays your job: Step 4 did for this commit, and Step 6 does for each fix.
In Claude Code, code-review runs a panel of reviewers from three model families, so each round takes minutes, not seconds.
If the review surfaces problems:
Cap at 3 rounds of review. If concerns remain after the third, proceed to shipping but include the unresolved concerns in the PR description.
Open a PR against the main branch. The PR description should have this structure:
## What was found
<the issue and where it was found>
## What was fixed
<the change and why>
## Review notes
<any unresolved concerns from self-review, or "Clean review -- no concerns raised.">
If the change removes or combines tests, list each one under "What was fixed" and say why it went or where its cases now live. The reader shouldn't have to reconstruct that from the diff.
After opening the PR, remove the worktree and stop.
cd <the-repo-path-from-step-1>
git worktree remove <the-worktree-path-from-step-1>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub maragudk/fabrik --plugin fabrik28 skills in this plugin
/ableton-liveGuide for making music in Ableton Live 12 on macOS. Use this skill whenever the user asks how to do something in Ableton Live or "in Live", wants help with a Live Set, project, or session, asks which stock Live device or instrument to use for a sound (Operator, Wavetable, Drift, Meld, Simpler, Sampler, Roar, Echo, Hybrid Reverb, Auto Filter, Drum Rack, Racks, Macros...), needs warping, Session vs Arrangement, clip launching, Follow Actions, MIDI editing, MIDI Tools, scale awareness, grooves, automation, clip envelopes, routing, sidechain, resampling, comping, stem separation, bouncing, freezing, exporting, Push 1/2, Link, MIDI sync, CPU or latency troubleshooting, or keyboard shortcuts. Trigger even when the user doesn't say "Ableton" -- words like "Live Set", ".als", "clip slot", "scene", "Drum Rack", "Simpler", "warp marker", "Session View", "Arrangement View", "Max for Live", or "Push" are enough. Also use it when the user is producing electronic music and asks for a workflow or sound-design recipe that will be executed in Live./accomplishmentsExtract accomplishments from new implementation diary entries into docs/accomplishments.md, written as one-line reflections that blend self-appraisal with Markus's appreciation. Use only when the user invokes /accomplishments or explicitly asks to extract, update, or refresh accomplishments from the diary. Do not run proactively.Other plugins' skills for the same job