Skip to content

refactor(examples): drop explicit skills lists in favor of convention discovery - #66

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
chore/skills-convention-cleanup
Aug 31, 2026
Merged

refactor(examples): drop explicit skills lists in favor of convention discovery#66
ScriptedAlchemy merged 1 commit into
mainfrom
chore/skills-convention-cleanup

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

Wave A2 of the examples refresh audit: the explicit skills: lists in examples/skills-starter/agent-bundle.config.ts and examples/mcp-app/agent-bundle.config.ts named exactly the conventional skills/*/SKILL.md directories that convention discovery (config/discover.ts) finds when the config is silent. Dropping them is behavior-identical and nudge-free (AB4734 only fires for uncovered directories). The skills-starter README now teaches the convention instead of narrating the list.

  • examples/skills-starter/agent-bundle.config.ts: drop the three-entry skills: list.
  • examples/mcp-app/agent-bundle.config.ts: drop skills: ['skills/service-readiness'].
  • examples/skills-starter/README.md: "declares the plugin, its three Skills…" → skills are discovered automatically from skills/.

Verification

  • agent-bundle inspect --json before/after in both examples: the model is identical except skills[*].provenance.kind flipping explicitconventional (3 skills in skills-starter, 1 in mcp-app). The only other changed values are the sha256 digests of the edited config/README files themselves and the model/revision digests derived from the provenance-bearing model. No target, script, MCP, or artifact model content changed.
  • pnpm examples:check: pass (validate + build for all five examples; every validate reports zero diagnostics).
  • examples-contract.test.ts through the integration config: 3/3 pass with zero test edits — it asserts artifact bytes, inspect metadata, and diagnostics: [], none of which changed.
  • examples-real.e2e.test.ts (real Chrome, 1440×900, prebuilt workbench): 4/4 pass, including the populated Skills Starter route and the stale-diagnostic/repair flow.
  • Root pnpm typecheck and pnpm lint: pass.

User-visible provenance surface

The flip surfaces in exactly one place: the Skills page "Document details" expander now reads Provenance: conventional (was explicit) for source documents. The heading badge ("Authored") and everything else on the page are unchanged. This is the designed rendering of the model's accurate discovery mode, not a regression; a 1440×900 populated-state capture is attached to the review thread context.

… discovery (skills-starter, mcp-app)

Convention discovery (config/discover.ts) already finds every
skills/*/SKILL.md directory when the config is silent, so the explicit
lists in skills-starter and mcp-app named exactly what discovery finds.
Dropping them is behavior-identical — inspect output differs only in
skills[*].provenance.kind flipping explicit → conventional (plus the
digests over the edited files) — and teaches the convention instead of
duplicating it. The skills-starter README now says skills are discovered
from skills/ automatically.
@changeset-bot

changeset-bot Bot commented Aug 31, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 32dc8df

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T06:45:38.828380Z 32dc8df PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Aug 31, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle@66
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/create-agent-bundle@66
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/@agent-bundle/rsc-runtime@66

commit: 32dc8df

@ScriptedAlchemy
ScriptedAlchemy merged commit e505ba6 into main Aug 31, 2026
9 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the chore/skills-convention-cleanup branch August 31, 2026 06:56
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