Skip to content

Move conventional authored documents under src/ (skills, commands, rules) - #325

Merged
ScriptedAlchemy merged 2 commits into
mainfrom
wave/skills-under-src
Sep 2, 2026
Merged

Move conventional authored documents under src/ (skills, commands, rules)#325
ScriptedAlchemy merged 2 commits into
mainfrom
wave/skills-under-src

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • One coherent convention: authored source lives under src/. Conventional discovery moves from top-level skills/*/SKILL.{md,ts,tsx}, commands/*.md, and rules/*.mdc to src/skills/, src/commands/, and src/rules/, matching every other authored surface (src/mcp, src/events, src/providers, src/cli, src/scripts, src/state.ts). assets/ stays top-level: static resources are not authored source (the Next.js public/ analogue). Documented in docs/framework-mode.md.
  • Top-level locations are removed, not silently ignored. New AB4736 (migration family, docs/diagnostics.md) reports every unclaimed legacy-location document as a deterministic error with a move-to-src/ recovery. A top-level skill covered by explicit skills config stays claimed and valid — explicit config paths work anywhere, unchanged. Removal is safe: the commands//rules/ surfaces are still unreleased changesets and the package is pre-1.0; the break is recorded in a minor changeset.
  • Artifact layout is untouched. Packed bundles and installed host trees still emit skills/<name>/SKILL.md, commands/, rules/ — that contract is separate from source discovery.
  • Migrated all examples (audiobook-curator, mcp-app, skills-starter), the create-agent-bundle minimal template, framework/workbench/scaffolder tests and fixtures, and README tours. This aligns with Compile capability-aware host component bundles #100, which already names src/commands, src/agents, src/rules as the conventional roots.

Gates

Coordination

wave/audiobook-react-idiom has no commits or PR yet; this lane's audiobook changes are only the skill move plus README/config comment lines, so the file sets stay disjoint with that lane's component work.

Skills, commands, and rules now discover from src/skills/, src/commands/,
and src/rules/, matching every other authored-source convention (routes,
state). Top-level locations are no longer discovered; AB4736 reports any
legacy document as a deterministic error so nothing vanishes silently.
Explicit skills config paths remain valid anywhere; published artifact
layout (skills/, commands/, rules/ inside bundles) is unchanged.
Move authored skill trees in audiobook-curator, mcp-app, skills-starter,
and the create-agent-bundle minimal template from top-level skills/ to
src/skills/, and update READMEs, config comments, scaffolder tests, and
workbench test fixtures to the blessed layout.
@changeset-bot

changeset-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 51907d6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
create-agent-bundle Patch
agent-bundle Minor

Not sure what this means? Click here to learn what changesets are.

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 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-09-02T22:54:44.603021Z 51907d6 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.

@ScriptedAlchemy
ScriptedAlchemy merged commit dbc3fde into main Sep 2, 2026
7 of 8 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the wave/skills-under-src branch September 3, 2026 05:29
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