Skip to content

docs: move the release skill to ai/skills and add AGENTS.md - #73

Merged
biobo-bot[bot] merged 1 commit into
mainfrom
chore/agent-skills
Oct 30, 2026
Merged

biobo-bot[bot] merged 1 commit into
mainfrom
chore/agent-skills

Conversation

@sentomk

@sentomk sentomk commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Make the release skill available to every agent, not only Claude Code. The skill moves to ai/skills/, and a new AGENTS.md tells agents where skills live and what the repository's change rules are.

Changes

  • ai/skills/release/SKILL.md: moved from .claude/skills/release/SKILL.md, content unchanged.
  • .claude/skills/release/SKILL.md: a plain-file stub with the same name/description front matter that tells the agent to read and follow ai/skills/release/SKILL.md, so Claude Code still discovers the skill. A regular file rather than a symlink, so it also works on Windows clones with core.symlinks=false.
  • AGENTS.md: build and test commands, branch and pull request rules (pointing at CONTRIBUTING.md for the full text), a skills index, and how to add a skill with a stub.
  • CONTRIBUTING.md: add the release/X.Y.Z branch prefix and the rule against attribution trailers (Co-authored-by:, "Generated with" lines), so AGENTS.md only restates rules that live there.

Testing

  • Docs only. The stub's link to ../../../ai/skills/release/SKILL.md resolves to the moved file.
  • Commit message checked with scripts/check_commit_msg.py.

@biobo-bot biobo-bot Bot 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.

Nice cleanup: moving the skill to a tool-neutral ai/skills/ and keeping a symlink for Claude Code is a sensible layout. The move is a pure rename (100% similarity), and I spot-checked AGENTS.md against main: the build commands (PTN_BUILD_TESTS, the ptn_tests target, ctest), the header-only C++17 layout under include/ptn/, the clang-format pin in tools/requirements.txt, the Conventional Commits check in scripts/check_commit_msg.py, the one-commit rule, the 72-column body wrap, and the **Summary** / **Changes** / **Testing** sections all match CONTRIBUTING.md and the workflows. No library code changes, so nothing here can affect the build.

Approving. I left two small non-blocking notes: one about two rules that live in the release skill but not in CONTRIBUTING.md, and one about how the symlink behaves on Windows checkouts.

Comment thread AGENTS.md Resolved
Comment thread .claude/skills/release Resolved
@codecov

codecov Bot commented Oct 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown
Contributor

Benchmark comparison (informational)

Base 03ed8dc vs PR 341227f, run one after the other on the same GitHub-hosted runner. This does not block merging.

Noise estimate: the 20 control rows below do not run Patternia code, so they should not change between base and PR. As a group they moved by a median of +0.4% (run order and machine drift); that offset is divided out of the Patternia deltas (Adjusted). The controls then scatter by a median of 0.9%. Adjusted differences under 5.0% are treated as noise.

Patternia: 8 benchmarks, 0 slower, 0 faster, 8 within noise.

Benchmark Base (ns) PR (ns) Delta Adjusted Verdict
PatterniaPipe CommandParser 1.630 1.576 -3.3% -3.7% within noise
PatterniaPipe PacketMixed 1.410 1.412 +0.2% -0.2% within noise
PatterniaPipe PacketMixedHeavyBind 1.524 1.521 -0.2% -0.6% within noise
PatterniaPipe ProtocolRouter 1.311 1.318 +0.5% +0.1% within noise
PatterniaPipe VariantAltHot 1.365 1.367 +0.2% -0.3% within noise
PatterniaPipe VariantAltHotGuarded 1.502 1.453 -3.3% -3.7% within noise
PatterniaPipe VariantMixed 1.657 1.652 -0.3% -0.7% within noise
PatterniaPipe VariantMixedGuarded 1.526 1.586 +4.0% +3.6% within noise
Control rows (not Patternia code)
Benchmark Base (ns) PR (ns) Delta
IfElse CommandParser 1.447 1.464 +1.2%
IfElse ProtocolRouter 1.751 1.735 -0.9%
Sequential VariantAltHot 1.814 2.326 +28.2%
Sequential VariantAltHotGuarded 2.123 1.914 -9.9%
Sequential VariantMixed 0.908 0.905 -0.4%
Sequential VariantMixedGuarded 0.945 0.952 +0.7%
StdVisit CommandParser 1.103 1.140 +3.4%
StdVisit ProtocolRouter 1.306 1.309 +0.2%
StdVisit VariantAltHot 1.712 2.184 +27.6%
StdVisit VariantAltHotGuarded 1.501 1.476 -1.7%
StdVisit VariantMixed 2.464 1.659 -32.6%
StdVisit VariantMixedGuarded 1.794 1.795 +0.0%
SwitchIndex VariantAltHot 2.321 2.329 +0.4%
SwitchIndex VariantAltHotGuarded 1.638 2.458 +50.1%
SwitchIndex VariantMixed 0.830 0.828 -0.2%
SwitchIndex VariantMixedGuarded 0.897 0.939 +4.6%
Switch CommandParser 1.390 1.401 +0.8%
Switch PacketMixed 1.192 1.209 +1.4%
Switch PacketMixedHeavyBind 1.256 1.262 +0.5%
Switch ProtocolRouter 1.343 1.343 -0.0%

Raw results and the comparison chart are attached to this workflow run as an artifact. Shared runners are noisy, so use this as a trend, not a measurement.

@biobo-bot
biobo-bot Bot force-pushed the chore/agent-skills branch from 341227f to 3cd4145 Compare October 30, 2026 06:43
biobo-bot[bot]
biobo-bot Bot previously approved these changes Oct 30, 2026

@biobo-bot biobo-bot Bot 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.

Rebased onto main at e6b0e62 (#74). The diff is unchanged apart from the base: the same 3 files (AGENTS.md, the .claude/skills/release symlink, and SKILL.md moved to ai/skills/release). LGTM. The two non-blocking threads are left open for you.

Problem
- The release skill lives under .claude/skills, which only Claude
  Code reads, and nothing tells other agents that it exists.

Implementation
- Move the skill to ai/skills/release/SKILL.md.
- Keep a .claude/skills/release/SKILL.md stub with the same front
  matter that points Claude Code at the moved file; a plain file
  rather than a symlink, so it also works on Windows clones.
- Add AGENTS.md with the build and test commands, the pull request
  rules, and an index of the skills with how to add one.
- Add the release/X.Y.Z branch prefix and the no-attribution rule to
  CONTRIBUTING.md so AGENTS.md only restates its rules.

Tests
- Docs only; the stub's link resolves to the moved SKILL.md.

@biobo-bot biobo-bot Bot 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.

Re-checked at b7570e6: both earlier notes are addressed. CONTRIBUTING.md now has the release/X.Y.Z prefix and the no-attribution rule, and .claude/skills/release/SKILL.md is a plain stub (same front matter, links to ai/skills/release/SKILL.md), so Windows clones without symlinks still get the skill. Docs only; no C/C++ files touched, so clang-format isn't involved, and the commit subject passes scripts/check_commit_msg.py. Links in AGENTS.md and the stub resolve. LGTM.

@biobo-bot biobo-bot Bot 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.

Re-reviewed b7570e6. Both earlier notes are addressed: CONTRIBUTING.md now has the release/X.Y.Z prefix and the no-attribution rule, and the .claude/skills/release/SKILL.md stub is a plain file whose relative link (../../../ai/skills/release/SKILL.md) resolves to the moved skill, so it works on Windows clones too. The moved ai/skills/release/SKILL.md is byte-identical to the old file, and AGENTS.md is consistent with CONTRIBUTING.md. LGTM.

@biobo-bot
biobo-bot Bot merged commit b10e0be into main Oct 30, 2026
30 of 45 checks passed

@biobo-bot biobo-bot Bot 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.

Approving b7570e6: both review threads are fixed and resolved, and the PR description now matches the commit.

@biobo-bot
biobo-bot Bot deleted the chore/agent-skills branch October 30, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant