Repository navigation
feat(skills): OutLayer-style public skill family — router, task-shaped skills, /skills serving - #310
Merged
Merged
Conversation
…d skills, /skills serving - every-plugin: copy the platform skill family from node_modules into the core UI dist (dist/skills/<package>/), so /skills/<pkg>/<skill>/SKILL.md is served in dev and production and children inherit it from the npm tarballs; exclude skills/_artifacts from the copies - ui: rewrite /skill.md as an entry-point router over the full 20-skill family (verb-keyed task table with URLs, load-ONE rule, shared facts, pairings, rules to work by); list the family in llms.txt and add a family grid to the /skill page - everything-dev: new talk-to-the-app (MCP/REST/RPC surfaces, API-key auth, discovery) and add-a-route (complete contract → Effect handler → UI client → route → publish slice) skills - all three packages: every skill gains "the tasks you will actually be given" walkthroughs and grounded refusal-word → action tables; better-near-auth's client skill extracts its 50-line action tables to references/client-actions.md - regression: serve and assert the skill family (skill_family_served, router wording) alongside the existing skill.md pins
… one-shot evaluate The single-shot page.evaluate raced the SSR stream on reload in start:ssr (#root renders in the shell before the bootstrap script that sets window.__RUNTIME_CONFIG__ runs) — the same test flaked on main in run 37386685017. waitForFunction polls, removing the race for every spec.
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.
What
Restructures the agent-facing skill surface around the OutLayer skills model (https://skills.outlayer.ai): a routing entry point that points at one self-contained skill per task, with worked flows, grounded error tables, and URL-addressable skill files.
Changes
Serving (every-plugin)
packages/every-plugin/src/build/ui/factory.tscopiesnode_modules/{everything-dev,every-plugin,better-near-auth}/skillsinto every core-UI build'sdist/skills/<package>/— reachable at/skills/<package>/<skill>/SKILL.mdin dev (rsbuildoutput.copy) and production (host static proxy already passes.md). Children resolve the same copies from the published npm tarballs since they install all three packages._artifactsis excluded viaglobOptions.ignore;copyoption typing widened to carry it.Router (ui)
ui/public/skill.mdis now an entry-point router: verb-keyed task → skill table (each row links its URL and its intent id), "load ONE skill" rule, shared facts table (origins, API base, MCP, auth header, runtime config), composability pairings, and rules to work by (*.gen.*, build train, Effect handler convention, semantic Tailwind). Regression-pinned strings (/api/mcp,x-api-key,/settings/api-keys) preserved.llms.txtlists the family; the/skillpage renders a family grid (skill.family-*testids).Content
everything-dev#talk-to-the-app: MCP/REST/oRPC-RPC surfaces with real route paths, API-key auth, discovery endpoints, "tasks you will actually be given", refusal status table.everything-dev#add-a-route: one complete copy-pasteable vertical slice — contract → Effect.effect()handler →useApiClientUI call → route file → typecheck → publish — with the failure modes the slice actually hits.clientskill moved its 50-line action tables intoreferences/client-actions.md.Regression
skill_family_servedasserts the four package skill URLs return 200 with frontmatter;skill_md_mentions_router_loads_one_skillpins the router wording. Fullgo test ./suite green.Validation
intent validate: 57 / 65 / 37 errors — identical to main baseline (all pre-existing); zero new errors from this change;intent stalereportsneedsReview: falseeverywhere.pnpm run typecheck✓ ·pnpm run lintclean (2 pre-existing warnings) ·pnpm run build ui✓ (13/3/6 skills in dist).every-plugin(minor),everything-dev(minor),better-near-auth(minor).