feat: consolidate all skills into single-source references#6
Merged
Conversation
… point
Move all 17 CLI skill files (AuthKit frameworks, backend SDKs, management)
into references/ as the single source of truth. Delete 6 AuthKit skill
directories — CLI canonical versions replace them entirely.
- Add 17 new reference files from CLI (authkit-*, node, python, dotnet,
go, ruby, php, php-laravel, kotlin, elixir, sveltekit, management)
- Delete workos-authkit-{base,nextjs,react,react-router,tanstack-start,
vanilla-js} skill directories
- Update router (workos/SKILL.md) with progressive disclosure for all
references: AuthKit frameworks, backend SDKs, language detection,
management
- Add ESM package entry point (plugins/workos/index.ts) exporting
getReferencePath, getSkillsDir, getSkillPath helpers
- Add exports field to package.json
- Simplify eval runner — all skills now load from references/
- Remove dead HAND_CRAFTED_SKILLS constant
Only 2 registered skills remain: workos (router) and workos-widgets.
Everything else is a reference file dispatched by the router.
Configure release-please to bump versions in package.json, plugin.json, and marketplace.json together. Uses extra-files with jsonpath to keep all three in sync on each release. Also syncs plugin.json and marketplace.json to 0.1.0 to match the current package.json version.
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.
Summary
references/as the single source of truthworkos(router) andworkos-widgetsplugins/workos/index.ts) exporting path and content helpers for CLI consumptionreferences/Context
The
workosCLI and this marketplace plugin both maintained AuthKit skill files independently. They diverged over time (different README URLs, different gotchas, CLI had SvelteKit while this repo didn't). This PR makes@workos/skillsthe single source of truth. The CLI will consume this package and inject reference content directly into the agent prompt.npm Package Usage
After publishing, the CLI (or any consumer) can import content helpers:
Path helpers are also available for consumers that need file paths (e.g., skill discovery):
Exports
getReference(name)Promise<string>— reference file contentgetSkill(skillName)Promise<string>— skill SKILL.md contentgetReferencePath(name)references/{name}.mdgetSkillsDir()skills/directorygetSkillPath(skillName)skills/{skillName}/SKILL.mdArchitecture
workos/andworkos-widgets/plugins/workos/index.tsTest plan
pnpm test— 182 tests passpnpm lint— 0 warnings, 0 errorspnpm eval -- --dry-run— 42 cases loadpnpm eval -- --no-cache --case=authkit-nextjs-setup— +19% deltaworkos skills listshows 2 skills from packageworkos skills install/uninstallworks with package-sourced skills