Skip to content

ADR managing skill - #3742

Merged
kthoms merged 7 commits into
mainfrom
ai-adr-skill
Sep 25, 2026
Merged

kthoms merged 7 commits into
mainfrom
ai-adr-skill

Conversation

@kthoms

@kthoms kthoms commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Add a skill to manage Architectural Decision Records.

ADR draft created with the skill: https://yopad.eu/p/Operaton-ADR-collection-mutability-3713-365days

kthoms and others added 5 commits September 25, 2026 08:47
The ADR process starts with a draft discussed in a shared editor before a
number is assigned and a PR is opened, but the lifecycle table began at
Proposed. Document Draft so the status a draft carries is defined.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Labels the GitHub issue that tracks an ADR discussion, so ADR proposals can
be found and filtered apart from general documentation work.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Automates the ADR process from docs/decisions/README.md: drafting, promoting
an agreed draft into docs/decisions/, and reviewing.

The discussion pad is created on yopad.eu through etherpad.py. The instance
has no HTTP API, and its deletion token is issued exactly once to the
connection that creates the pad, so creating the pad any other way loses the
token and leaves an undeletable pad behind. The script handles the socket.io
handshake over Engine.IO long-polling (stdlib only) and records each pad URL
and token in ~/.operaton/etherpad-docs.md, which stays local.

Drafts carry a fixed notice in place of a Decision Outcome: the decision is
taken when the draft is proposed, not when it is written.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
.claude/ holds Claude Code skills and project config, not source that
affects the build. Without this exclusion, editing a skill file (e.g. a
.py helper script) triggers a full push/PR/integration build for no reason.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot AI lite review requested due to automatic review settings September 25, 2026 07:03
@github-actions github-actions Bot added documentation Improvements or additions to documentation scope:ci Changes to the CI, e.g. GitHub workflows labels Sep 25, 2026
@kthoms kthoms added this to the 2.2.0 milestone Sep 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unresolved Etherpad workflow and reliability issues must be addressed before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Medium severity

Open (1)
What changed in this PR

Adds an Operaton ADR-management skill with Etherpad support, documentation updates, labeling, and CI path exclusions.

Changes:

  • Adds ADR drafting, promotion, and review guidance.
  • Adds Etherpad pad-management tooling.
  • Adds ADR metadata and namespaces the release skill.
File Description
docs/​decisions/​README.md Adds the Draft lifecycle status.
.github/​workflows/​pr-build.yml Ignores .claude changes.
.github/​workflows/​integration-build.yml Ignores .claude changes.
.github/​workflows/​build.yml Ignores .claude changes.
.github/​labels/​labels.yml Adds the ADR documentation label.
.claude/​skills/​operaton-release/​SKILL.md Namespaces the release skill.
.claude/​skills/​operaton-adr/​SKILL.md Adds ADR workflow guidance.
.claude/​skills/​operaton-adr/​etherpad.py Adds Etherpad and registry management.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .claude/skills/operaton-adr/SKILL.md Resolved
kthoms and others added 2 commits September 25, 2026 11:43
An ADR draft is written as GitHub-flavoured markdown but discussed in a yopad
pad, and no yopad import path preserves a link: markdown `[text](url)` keeps
only the text, HTML import strips the href, and reference-style definitions are
dropped entirely. Inline code is mangled into indented code blocks. Until now
the draft therefore had to choose between reading well on GitHub and being
navigable in the pad.

The pad does support labelled links: the editor stores them as a `url`
attribute on a range of characters. Nothing creates that attribute on import,
so it is now applied in a second step.

md2pad.py converts a canonical draft into the pad variant, emitting plain
labels plus a sidecar of label/URL pairs in document order, stripping inline
backticks, and warning about tables, fenced blocks, reference-style links and
permalinks that point at a branch instead of a commit.

padlinks.py applies one `url` attribute per label with a single changeset.
Note that the trailing keep op must be omitted: a changeset that keeps text
through the document's final newline is rejected with `badChangeset`.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@kthoms
kthoms merged commit 83d70f2 into main Sep 25, 2026
8 checks passed
@kthoms
kthoms deleted the ai-adr-skill branch September 25, 2026 19:39
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation scope:ci Changes to the CI, e.g. GitHub workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants