Skill: route requests by artifact - #95
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The shipped skill’s references had been split, but the entry still made most component tasks begin with broad project discovery. That made the useful artifact choice harder to see and could load construction detail for a self-contained page or repair task. Closes #89.
Solution
The entry now starts with a compact artifact map: page content, authored HTML conversion, static registered source, project-owned custom work, or markup repair. Discovery follows only when the selected route lacks project facts. The activation fixture records representative supported, rejected, and deliberately ambiguous requests.
Diff
+109 −32 · 3 files · no runtime or installer changeASSEMBLE.mdpost_contentAUTHORING.mdGUIDE.mdTesting & verification
Reviewed revision:
cf3449bnpx --no-install vitest run dev/test/skill.test.ts— 3 passed.npx --no-install vitest run dev/test/cli.test.ts -t 'skill'— 3 passed, 34 skipped by the focused filter.git diff --check— passed.Not verified: model activation or quality improvement. The new fixture is a static routing/package contract, not a model evaluation.
Risk / rollout
The full CLI guide reader, package version pinning, installed-copy ownership guards, and detailed references are retained. Revert this commit to restore the former entry ordering.