Open
Conversation
…stry client) Lays groundwork for the skilld.dev curated registry pivot: - Prefix-based `add` syntax: `npm:vue`, `gh:owner/repo`, `@curator`, `@curator/collection` - Bare names deprecated with warning, resolve as npm: - Registry-first install flow: check skilld.dev before doc generation - Author commands nested under `skilld author` (package, publish, eject, validate, assemble) - Old top-level commands (eject, validate, assemble, publish, upload) forward with deprecation warnings - Lockfile normalizes legacy `source: npm` to `source: registry` - Registry client stubbed (returns null until API is live, graceful fallback)
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.
🔗 Linked issue
Part of the skilld.dev registry pivot (no single issue, strategic change).
❓ Type of change
📚 Description
Lays the CLI foundations for pivoting skilld from "generate skills from docs" to "curated registry at skilld.dev." No breaking changes; bare names still work with a deprecation warning.
Prefix parser (
src/core/prefix.ts): classifiesskilld addinputs into typed sources:npm:vue→ package skill from registrygh:owner/repoorgithub:owner/repo→ git skill@handle→ curator (stubbed, coming soon)@handle/collection→ collection (stubbed, coming soon)vue→ deprecated, warns and resolves asnpm:vueRegistry client (
src/registry/client.ts): stubbed API client for skilld.dev. Returns null until the API is live, so allnpm:adds gracefully fall through to the existing doc generation pipeline.Registry install flow (
src/commands/sync-registry.ts): simplified install path for registry skills: fetch SKILL.md → write to disk → lockfile withsource: 'registry'→ link to agents. No LLM, no doc crawling.Author command nesting: authoring commands moved under
skilld author:skilld author package(wasskilld author)skilld author publish(wasskilld upload)skilld author eject(wasskilld eject)skilld author validate(wasskilld validate)skilld author assemble(wasskilld assemble)Old top-level commands forward with deprecation warnings.
Lockfile compat:
readLock()normalizes legacysource: 'npm'tosource: 'registry'.16 new unit tests for the prefix parser.