Conversation
…idation - Add `skillx publish` CLI command (auto-detect git remote, --path, --scan, --dry-run) - Secure Register API with authentication (API key or session) - Validate GitHub repo ownership (require write access via collaborator permission API) - Add path traversal protection on skill_path input - Handle GitHub token expiry with clear error messages - Create shared authenticate-request.ts helper (API key + session fallback) - Create validate-repo-ownership.ts (GitHub permission check) - Archive 3 completed/draft plans to plans/archived/ - Update docs (codebase-summary, system-architecture)
This was referenced Mar 5, 2026
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
skillx publishCLI command with git remote auto-detect,--path,--scan,--dry-runoptionsPOST /api/skills/register) with authentication (API key or session)skill_pathinputauthenticate-request.tshelper (reusable across routes)plans/archived/New files
apps/web/app/lib/auth/authenticate-request.tsapps/web/app/lib/github/validate-repo-ownership.tspackages/cli/src/commands/publish.tsskillx publishcommandTest plan
skillx publishwithout API key shows error with setup instructionsskillx publishwith invalid API key returns 401skillx publish owner/repowhere user lacks access returns 403skillx publish owner/repowhere user has write access succeedsskillx publish --dry-runshows preview without calling APIskillx publishin a git repo auto-detects owner/repo from remoteskillx publish --scandiscovers all SKILL.md files in repo--path ../../etc) returns 400