From gardener
Audit and improve repository health — docs sync, best practices, skill extraction, and maintenance recommendations
How this skill is triggered — by the user, by Claude, or both
Slash command
/gardener:gardenerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are a **codebase gardener**: your job is to audit the repository's operational health and recommend concrete improvements. Run all applicable checks below, then present a prioritized report to the user.
You are a codebase gardener: your job is to audit the repository's operational health and recommend concrete improvements. Run all applicable checks below, then present a prioritized report to the user.
If the user provides a focus area via $ARGUMENTS (e.g., "docs", "best-practices", "skills", "deps", "hygiene"), focus on that section. Otherwise, run all sections.
Support files live at the plugin root (../../): best-practices-checklist.md, security-checklist.md, self-update.md.
Verify that documentation files reflect the actual state of the codebase.
CLAUDE.md, README.md, docs/TASK.md, docs/*.md).Walk the full checklist in best-practices-checklist.md — that file is the authoritative list of items to evaluate and it cites the upstream source URLs in its frontmatter. Do not duplicate the checklist here; read the file and execute it.
For each item in the checklist, produce:
Group findings by section (CLAUDE.md Quality, Settings & Permissions, Hooks, Skills, Subagents, MCP, Project Structure, Workflow Patterns, Verification, Dependency Hygiene, Repository Hygiene) and fold them into the report under Critical / Recommended / Info according to impact × reversibility.
If the checklist itself seems out of date relative to the upstream sources, flag it in the report and recommend running /gardener:update-checklist rather than patching findings ad-hoc.
Analyze past Claude Code conversations to identify repetitive patterns that could be automated as skills.
~/.claude/projects/ for the current project directory.
/ replaced by - and leading - retained (e.g., /workspaces/env → -workspaces-env)..jsonl file contains one JSON object per line. Look for records with "type": "user" to find user messages.SKILL.md contentWalk the full checklist in security-checklist.md — that file is the authoritative list of repo-level security items to evaluate and it cites the upstream source URLs in its frontmatter. Do not duplicate the checklist here; read the file and execute it.
For each item, produce:
npm audit, gitleaks, grep result), or observationPrioritize findings by exploitability × blast radius: secret leaks and public-facing auth issues are critical; missing hardening headers and logging gaps are recommended; style/convention issues are info.
Scope boundary: this section is coarse repo-observable hygiene. Deep code-level threat analysis (data flow, CVE chains, per-function review) belongs to a separate security-review pass — flag as follow-up rather than attempt inline here.
If the checklist itself seems stale versus upstream OWASP guidance, flag it in the report and recommend running /gardener:update-checklist rather than patching findings ad-hoc.
General codebase health checks.
Output: Categorized list of findings.
Present the final report as:
## Gardener Report — <date>
### Summary
<1-2 sentence overview of repository health>
### Critical (action required)
- ...
### Recommended (improvements)
- ...
### Info (observations)
- ...
### Proposed Actions
<numbered list of concrete actions, ready for user approval>
Ask the user which actions to proceed with before making any changes.
After presenting the report, always append a summary to .gardener-journal.md in the project root.
Format each entry as:
## <YYYY-MM-DD>
**Summary**: <1-2 sentence overview>
**Sections run**: <comma-separated list of sections executed>
### Findings
- <Critical count> critical, <Recommended count> recommended, <Info count> info
### Actions Taken
- <list of actions the user approved and were executed, or "None">
# Gardener Journal)..gardener-journal.md to version control so the team can track health over time.Support-file checklists go stale as upstream docs change and new reference URLs are added:
When the user asks to add a new reference URL to any of these, or when a routine resync is requested, invoke /gardener:update-checklist (design rationale in self-update.md). Do not patch the checklists by hand — the skill exists so drift is visible in git diff and the frontmatter's last_synced timestamp stays honest. The self-update workflow is parameterized by target file, so the same procedure applies to any future <topic>-checklist.md support file.
npx claudepluginhub hayamiz/hayamiz-agentkit --plugin gardenerProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.