Install
$ agentstack add skill-evolvehq-docflow-new-adr ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
new-adr
Author one new ADR, consistent with this repo's conventions.
Step 0 — Preconditions and context
- Confirm the repo is bootstrapped:
AGENTS.md,CONVENTIONS.md, and
an adr/ directory with at least adr/0000-template.md must exist. If not, stop and offer to run the bootstrap skill first.
- Read
CONVENTIONS.mdto learn this repo's choices: ADR shape
(single vs. capability/technology split and the cutoff number), status lifecycle, language mandate (if any), whether domains/ groupings exist (and, if so, which domain this ADR belongs to — ask if it isn't obvious), the multi-agent mode, and the artefact root (default: repository root) — resolve adr/ and INDEX.md against it (AGENTS.md/CLAUDE.md stay at the repo root).
- Read
INDEX.mdandls adr/to learn existing numbers and titles. - If a
federation.mdexists, this repo is part of a multi-repo
product. Note the identity scheme and the home it records — they govern numbering and cross-repo references below.
Step 0.5 — Assessment (run first)
Run the shared assessment protocol before authoring:
- Opt-out gate first. Ask whether to run the assessment or skip
straight to authoring. Recommend running it when the request arrived with little or no context; recommend skipping when the decision is already fully specified.
- Ask the questions below one at a time, each with a **recommended
option** and a one-line reason; wait for each answer.
- Use structured selection (single- or multiple-choice). If the host
exposes a structured single-/multi-select question tool, use it and mark the recommended option; otherwise list options A/B/C in plain text and name the recommended one. Use free text only where an enumerable set is impossible (e.g. the title).
- The operator decides. Never proceed past a question without an
answer, and never guess scope when invoked with no context.
Questions (skip any the request already answers):
- Shape — capability or technology (only if the repo splits shapes;
single-shape repos skip this). Recommended: per the request's intent.
- Supersede? — none, or select the ADR(s) this replaces.
Recommended: none.
- Initial status — Proposed or Accepted. Recommended: Proposed.
Reconstructing already-shipped work (a development built ahead of the process) is the exception: author at Implemented, Revision History citing the implementing commits and noting it was recorded after the fact, and write a matching plan/done entry.
- Create a plan item now? — yes / no. Recommended: yes when Accepted.
- Title — free text (the one unavoidable open answer).
Step 1 — Determine shape and number
- Shape. If the repo uses a single ADR shape, use
adr/0000-template.md. If it uses the split, decide capability vs. technology from the user's intent (what the system must do → capability; how it is built → technology); confirm with the user if ambiguous. Use adr/0000-template.md (capability) or the technology template (adr/NNNN-template.md).
- Number. Next contiguous integer after the highest existing ADR,
zero-padded to 4 digits. No gaps, no reuse. For a split repo, keep capability ADRs below the cutoff and technology ADRs at/above it. In a federation (a federation.md exists), number contiguously within this repo — numbers are not unique across the federation. The ADR's federation identity is the recorded scheme applied to this number (default repo-prefixed slug /NNNN-slug).
Step 2 — Gather content
Ask for the pieces the chosen template needs, one prompt at a time:
- Title (sentence case), Context.
- Capability ADR: capability statement, user stories, **numbered,
testable** acceptance criteria.
- Technology ADR: decision, rationale (**name alternatives considered
and give specific rejection reasons** — reject "simpler"/"idiomatic" as insufficient), consequences, acceptance criteria.
Honour the language mandate if one is set.
Step 3 — Supersede / deprecate (only if replacing an ADR)
If this ADR replaces an existing one:
- Set
supersedes:on the new ADR andsuperseded-by:on the old. - Advance the old ADR's
status:toSuperseded, append a Revision
History row noting the successor.
- Same-repo links use relative paths (
adr/NNNN-*.md). **In a
federation**, a link to an ADR in another repo uses the logical identity (/NNNN-slug), resolved via the member index along repo-id → Pointer → adr/NNNN-*.md — not a relative path.
- A pure deprecation (no successor) sets the target to
Deprecated
with a Revision History row — and is usually done directly, not via this skill.
Step 4 — Write
- Copy the chosen template, fill all placeholders. Status
Proposed,
today's date, owner = current agent/human.
- Seed the Revision History with an
r1 — Initial draftrow. Leave the
Approvals table empty (it populates on Accepted).
- Do not invent acceptance criteria or rationale to fill space. If
the user hasn't supplied enough to make a section meaningful, ask.
Step 5 — Wire up
- Regenerate
INDEX.mdfrom ADR metadata. - If
domains/exists, add the ADR to the owning domain'sREADME.md
ADR list. If you assign the ADR to a domain that doesn't exist yet, offer to create domains//README.md (at the recorded artefact root) and add the ADR to it — this enables the domains layer.
- Multi-agent mode 2: claim the file in
_agent/LOCKS.mdbefore
editing, remove on commit. Mode 3: you are on a branch/worktree.
Step 6 — Commit
Conventional Commit, Rationale: footer (this touches an ADR). No Co-Authored-By trailer unless the repo's Git contract requires one.
Step 7 — Offer the next step
A new ADR is Proposed, not actionable yet. Offer to:
- Walk it to
Accepted(populate Approvals, change status, regen INDEX)
when the user is ready; and
- Create a
plan/todo/item for it (hand off to the new-plan skill).
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: EvolveHQ
- Source: EvolveHQ/docflow
- License: MIT
- Homepage: https://evolvehq.github.io/docflow/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.