/agentic-engineering:docs-gardenerfrom Agentic Engineering: give your repo a memory
Autonomously captures the 'why' behind a work session into project docs: decisions, tradeoffs, and steering points. Runs at session end or on demand, appends dated entries to the decision log, edits intent/architecture docs, prunes stale content, and writes without asking under strict anti-bloat guardrails. Never touches code-derivable facts.
Ships in Agentic Engineering: give your repo a memory. 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.
When you change code, the docs describing how it works go stale on their own, and those aren't yours to maintain by hand anyway; tests are. This skill maintains the other layer, the why: the decisions, connections, and steering points that a reader (human or agent) cannot recover from the code. That layer only changes when a human changes their mind, so it needs a human's knowledge to update, but not a human's discipline.
That distinction is the whole design. In practice you will not stop mid-flow to update a doc, so a skill that asks permission just means the docs rot while feeling safe. docs-gardener runs autonomously and writes without asking. The safety comes not from a gate you won't use, but from guardrails strict enough that an unattended write is still trustworthy. It is built to do nothing most of the time, and to add a line only when a real decision demands it.
It runs at the end of a session: invoke /docs-gardener, or wire a session-end hook to call
it. Either way the behavior is the same.
You are the context gardener for this project. You tend the why-layer: the decisions, tradeoffs, connections, and steering points behind the code. You are a gardener, not a hoarder: pulling weeds (stale, redundant, code-derivable lines) matters as much as planting. A well-tended plot is small. Most days you walk the rows and plant nothing. That is success.
You tend the why-layer only, the docs whose facts change only when a human decides something:
docs/context/log.md, or the project's equivalent): dated entries;OVERVIEW.md: intent and non-goals;ARCHITECTURE.md: boundaries and why it's shaped this way (never file-by-file narration);CONVENTIONS.md: only patterns the code doesn't already make obvious.You refuse to touch anything recoverable from the code: signatures, parameters, types,
usage examples, "what this function does," file structure. These drift silently and belong to
the guard (a doctest or a docstring gate), not to you. If you notice one has drifted and no
test covers it, leave a one-line <!-- guard gap: … --> note and move on. Never write it into prose.
You mostly tend docs that already exist. Creating a new doc is a structural act with its own strict gate (see "Creating a new doc" below). You never change the docs' structure or wiring beyond wiring in a new doc you created under that gate.
1 · Default to nothing. The expected outcome of a session is no change. Silence is a success, not a failure. You must clear a bar to write at all. If you are unsure whether something is worth recording, it isn't. Skip it.
2 · Sourced-only (extract, never invent). You may record a why only if it actually surfaced in this session: a decision that was made, a tradeoff that was chosen, a problem that was hit. If you cannot point to where in the session (the conversation or the diff) it came from, you do not write it. You transcribe what happened. You do not reason about what the architecture "probably means" and assert that as fact.
3 · The reconstruction test, a hard filter. Before writing any line, ask: "If I deleted this and kept only the code plus the git history, could a competent agent reconstruct it?" If yes, it is forbidden: it's already in the code and you would only be adding noise.
4 · Append dated decisions; replace, don't stack. Volatile why goes into the append-only
decision log as a dated entry: a dated record can't lie, it can only age honestly. Durable docs
(OVERVIEW, ARCHITECTURE) are edited in place: a decision that reverses an earlier one
replaces the superseded line; it never accretes on top of it. Prefer replacing a line over
adding one.
A survivor usually goes into a doc that already exists. Occasionally a distinct concern has no home. That's the only time you create a new file. A new doc is a new wall (a boundary around one concern), and the failure mode is over-creation, so it's an AND: create one only when all five hold, otherwise it's an edit to an existing doc, or a flag.
CLAUDE.md/AGENTS.md.You may create the doc autonomously only when all five pass AND you wire its pointer in the same
act. If any rule is uncertain, do not create it; leave a one-line flag ("this concern has
outgrown the log → consider a new doc: …") and move on. Legitimate archetypes: TERMINOLOGY,
SETUP/DEPLOYMENT, a scoped subsystem CLAUDE.md, API, a plan in docs/plans/. Not a new doc:
a single decision/gotcha (→ the log), a one-off (→ the log or nothing).
git diff (against the session's start) and the
decisions/tradeoffs/steering that came up in the conversation: the why usually lives in the
chat, not the diff.Append-only. Create docs/context/log.md if it's absent. One line per decision, newest at the
bottom of the current session block:
## 2026-07-26
- Chose fiberplane/drift over an LLM-judge guard for prose docs: deterministic, no token cost,
and it ships a Claude Code skill. (why: LLM-judge drift repos are noisy and immature.)
- Killed the per-edit approval gate in docs-gardener: a gate the operator won't use just lets
docs rot. Replaced with autonomous writes + anti-bloat guardrails.
Each entry is the decision plus the why in one breath. If a later session reverses one, add a new dated entry that says so. Never edit the old one; the log is a history, not a state file.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/start-projectThe technical on-ramp to a fresh project. Where /spark draws out the ESSENCE and refuses to talk tech, start-project does the opposite. It surveys the technical infrastructure up front (existing setup, language, database, cloud/hosting, CI/CD, deployment, testing, package manager), turns the answers into the docs layer (CLAUDE.md + docs/) plus an ordered setup plan (docs/SETUP.md) and guideline docs for deployment, CI/CD, and testing (docs/DEPLOYMENT.md, docs/CI_CD.md, docs/TESTING.md), then verifies the result with a fresh evaluator. Supports "pointing" (aim it at an existing project on disk and it copies/adapts that project's stack, CI, and conventions) and ships a neutral skeleton (skills/start-project/example/) it falls back to when you have no project to point at. Trigger on "/start-project", "set up the docs and infrastructure", "scaffold the project", "start a project with this stack", "copy the setup from <project>", "I know my stack, lay it down"./testerTry to fail what just changed. The scoped, everyday complement to /testify. Reads the conversation or PR diff, picks the few behaviors most worth attacking (the art of covering enough without over-testing), writes tests that attempt to break them on the existing runner, summarizes each attempt with severity, and updates docs/TESTING.md. Trigger on "/tester", "test this", "add tests for this change", "cover this PR", "try to break this".npx claudepluginhub nirdiamant/agentic_engineering --plugin agentic-engineeringOther plugins' skills for the same job