From gardener
Resync gardener support-file checklists (best-practices, security, etc.) against their upstream reference URLs, or add a new reference URL to a checklist. Parameterized by target file.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gardener:update-checklistThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Keep `gardener`'s support-file checklists fresh against their upstream reference URLs. One workflow, two modes, generalized over any target checklist file.
Keep gardener's support-file checklists fresh against their upstream reference URLs. One workflow, two modes, generalized over any target checklist file.
Design rationale and open questions live in self-update.md (plugin root). This skill is the executable counterpart.
Checklist support files live at the plugin root. When resolving a target file:
best-practices-checklist.md, security-checklist.md.plugins/gardener/), accept it and use as-is.security-checklist.md), resolve it against the plugin root.Parse $ARGUMENTS:
best-practices-checklist.md at plugin root, Mode A (resync)./ or ends in .md) → that is the target file, Mode A.http) → default target, Mode B (add URL + resync).If the target file doesn't exist or is missing a sources: frontmatter block, stop and tell the user — don't guess.
Read the target file.
Parse frontmatter: extract sources: entries (each has url, label, last_fetched) and the top-level last_synced.
Fetch each source via WebFetch with this extraction prompt template:
"Extract all actionable best-practice / checklist items from this page as a flat bullet list. For each item, give a one-line description. Group by the topic headings used on the page. Do not include prose, examples, or commentary."
If a fetch returns an auth wall, 404, or empty content, do not silently drop the source — surface it and ask the user whether to remove it from sources: or keep it for later.
Build a section-level diff by comparing the fetched items against the current checklist:
Present the diff to the user as a structured report:
## Proposed changes to <target-file>
### Section: <name> (status: unchanged | updated | new | stale)
- Add: ...
- Remove (stale): ...
- Rephrase: ... → ...
### New section candidate: <suggested name>
Rationale: <why this doesn't fit existing sections>
Items:
- ...
Wait for user approval before writing.
On approval, apply changes with Edit (section by section — not a wholesale Write), so any unrelated hand-edits in the file are preserved.
Update frontmatter:
last_fetched per source → today's date.last_synced at top → today's date.version: → bump only if structural changes occurred (section added / removed / renamed). Item-level churn does not bump version.Report the result with a short summary and a pointer to git diff <target-file> for the full view.
http, must be fetchable). Reject if it points to an authenticated service — the fetch won't work.sources::
- url: <new-url>
label: <short label — ask the user if not obvious from the URL>
last_fetched: <today>
WebFetch the new URL with the same extraction prompt as Mode A.(source: <label>) appended to the recommendation line, so readers can trace origin.(community) items to un-tagged ones.git log <target-file> is authoritative.After applying changes (or after a dry-run preview), emit:
version: was bumped, and last_synced delta/gardener:gardener again to audit against the refreshed checklist"Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub hayamiz/hayamiz-agentkit --plugin gardener