Skip to content

feat(skills): the open-source rd-* agent skill pack with extension hooks - #2

Merged
acossta merged 3 commits into
mainfrom
acossta/RAD-374-rd-skills-pack
Sep 14, 2026
Merged

acossta merged 3 commits into
mainfrom
acossta/RAD-374-rd-skills-pack

Conversation

@acossta

@acossta acossta commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

The open-source rd-* agent skill pack: eleven skills that teach Claude Code and Codex how to work in Radial, plus the manifest, guards and CI that keep them honest.

Part of RAD‑374. The other half (the radial skills installer and the /docs surface) is a separate PR on the app repo, and this one merges first: the CLI and the docs both fetch skills/manifest.json from main here, so until this lands radial skills install returns a 404 and every hook table on the docs site renders its degraded state.

What is here

  • skills/rd-*/ — seven workflow skills (rd-setup, rd-plan, rd-prototype, rd-issues, rd-build, rd-verify, rd-pr) and four hygiene skills (rd-triage, rd-cleanup, rd-changelog, rd-retro). Prose, not scripts: nothing inside a skill folder executes, which is also what lets the skills.sh security audits pass.
  • skills/_template/ — the fixed body shape every skill follows, and the wrapper shape teams extend them with.
  • Extension hooks. Each body places [HOOK: name] markers at named points. A team adds rules in a .radial/skills/<name>/SKILL.md wrapper with extends: frontmatter and keeps receiving updates to the skill itself. Nearest scope wins whole; a wrapper adds rules and raises bars, and cannot remove a step.
  • skills/manifest.json — generated: files, a sha256 per file, a skill digest, and each skill's hook list in marker order. The installer verifies against it and the docs render their hook tables from it.
  • test/skills.test.mjs — 19 guards, zero dependencies, node --test. Each rule has a synthetic fixture that is wrong in exactly one way plus a passing control, so every guard is proven to bite.
  • .github/workflows/skills.yml — manifest freshness and the guards, on every pull request.
  • README rewritten as the GitHub landing page: a 60-second install for both clients, one row per skill, and an "Extending a skill" chapter.

What the guards enforce

The manifest matches the folders. Every hook marker is alone on its line. Bar names (review-bar, plan-bar, and the rest) are unique across the whole pack, so a rule written for one means the same thing everywhere. No executable file inside a skill folder. No private-tooling strings. No em dashes. The README lists every skill and every hook, and any worked wrapper printed in it would actually install.

Verification

npm run manifest:check   # the committed manifest is what a fresh build produces
npm test                 # 19 passed, 0 failed

Reviewed by an eleven-agent wave (testing, maintainability, security, performance, data migration, api contract, design, red team, two adversarial passes, copy). The finding that mattered most here: radial list has no parent filter, so rd-build and rd-retro were telling agents to run radial list --parent <id>, which is accepted and ignored and returns the whole team. Both now page and filter on the parent field.

Draft until the app-repo PR is reviewed alongside it; see that PR for the merge order.

🤖 Generated with Claude Code

…oks (RAD-374)

Eleven skills that teach Claude Code and Codex the Radial workflow, sourced
here under skills/ so they are readable, forkable and installable by the CLI,
npx skills and Codex's $skill-installer alike.

- skills/_template: the fixed body shape and the wrapper shape
- skills/rd-*: seven workflow skills, four hygiene skills, 40 hook markers
- scripts/build-manifest.mjs: the manifest plus every rule the guard enforces
- test/skills.test.mjs: 17 guards, zero dependencies, node --test
- .github/workflows/skills.yml: manifest freshness + guards on every PR
- README: the GitHub landing, with the Skills and Extending chapters
…em (RAD-374)

House style bans them and they are the most reliable tell of machine-written
prose. 48 across the eleven bodies, the template, the body-schema reference and
the README, all replaced with a comma, a colon, parentheses or a new sentence.

Two new guards so they cannot come back: one over every file inside a skill
folder, one over the README, each with a fixture proving it bites.
`radial list` has no parent filter. `radial list --team RAD --parent RAD-374`
is accepted and ignored, so rd-build and rd-retro were telling an agent to
read the whole team and treat it as one tree: unrelated issues enter the build
input, and paging can drop real children. Both now page `list` and filter on
the `parent` field, and say why not to pass the flag.

Also: the org/team ontology break the copy review found, and the em-dash guard
now covers the README as well as the bodies.
@radial-build

radial-build Bot commented Sep 14, 2026

Copy link
Copy Markdown

🔗 Linked to Radial issue https://app.radial.build/braingrid/issue/RAD-374

@acossta
acossta marked this pull request as ready for review September 14, 2026 20:09
@acossta
acossta merged commit 62fb419 into main Sep 14, 2026
1 check passed
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