Skip to content

Place the example skill's helper in scripts/ and run the golden in a workflow (ADR C) - #21

Merged
PaulMRamirez merged 1 commit into
mainfrom
claude/whats-new-xpj969
Sep 16, 2026
Merged

PaulMRamirez merged 1 commit into
mainfrom
claude/whats-new-xpj969

Conversation

@PaulMRamirez

Copy link
Copy Markdown
Contributor

Brings the template to the placement rule of ADR C (code placement by plane), so a capability copied from it starts in the shape osp.py placement-check expects: one skill with a scripts/ directory and a golden that reads verification/fixtures/. Roadmap deliverable c5-template-placement; closes #20.

  • skills/example-workflow/scripts/example_helper.py: a standard-library PEP 723 script that summarizes one column of a small CSV series (count, mean, sample standard deviation, range and a seeded bootstrap interval on the mean), with --json and --selftest. SKILL.md invokes it through ${CLAUDE_PLUGIN_ROOT}, explains why a runtime helper lives in the skill's scripts/, and describes the golden in words instead of naming the goldens' tree.
  • verification/fixtures/example_series.csv, written by the committed make_fixtures.py (closed-form, so the bytes are the same on every machine) and recorded in the fixtures README. The golden notebook reads it, computes the same statistic with numpy, imports the helper by path and asserts the two agree on the expected value and its uncertainty range.
  • .github/workflows/goldens.yml runs every notebook at the top of verification/ headless on the committed fixtures, with the action shas the plugin gate pins.
  • .github/workflows/plugin-gate.yml runs osp.py placement-check right after plugin-check.
  • README.md names skills/<name>/scripts/ in the tree and the merge rules and states the placement rule in one sentence citing ADR C.

Checks from the repository root: osp.py validate --standalone, render --check, plugin-check, advertise --check, placement-check --strict (PASSED, 0 errors, 0 warnings; main reported P4 and P5), check_okf_v02.py, check_script_deps.py (3 scripts), check_prose.py (clean), signature_check.py --report, the golden and the helper selftest all pass. osp.py lock --report lists the skills and verification digests as stale beside the evals and knowledge digests that were already stale; a release commit re-runs osp.py lock.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DVKYxSeRJWncZVsmaxC4p4


Generated by Claude Code

…workflow (ADR C)

The template now starts a new capability in the shape the placement
gate expects: one skill with a scripts/ directory and a golden that
reads verification/fixtures/.

- skills/example-workflow/scripts/example_helper.py: a standard
  library PEP 723 script that summarizes one column of a small CSV
  series (count, mean, sample standard deviation, range and a seeded
  bootstrap interval on the mean), with --json and --selftest. The
  SKILL.md invokes it through the plugin root, explains why a runtime
  helper lives in the skill's scripts/, and describes the golden in
  words instead of naming the goldens' tree (gate P4).
- verification/fixtures/example_series.csv, written by the committed
  make_fixtures.py (closed-form, so the bytes are the same on every
  machine) and recorded in the fixtures README. The golden notebook
  reads it, computes the same statistic with numpy, imports the
  helper by path and asserts the two agree on the expected value and
  its uncertainty range.
- .github/workflows/goldens.yml runs every notebook at the top of
  verification/ headless on the committed fixtures, with the action
  shas the plugin gate pins (gate P5).
- .github/workflows/plugin-gate.yml runs osp.py placement-check right
  after plugin-check.
- README.md names skills/<name>/scripts/ in the tree and the merge
  rules, and states the placement rule in one sentence citing ADR C.

osp.py placement-check . --strict: PASSED (0 errors, 0 warnings).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DVKYxSeRJWncZVsmaxC4p4
Signed-off-by: Claude <noreply@anthropic.com>
@PaulMRamirez
PaulMRamirez merged commit 2c2ed8a into main Sep 16, 2026
4 checks 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.

Ship the templates in the shape the placement gate expects (roadmap c5-template-placement)

2 participants