Skip to content

Add repository identity parsing for versioned skills - #20

Closed
git-hulk wants to merge 1 commit into
masterfrom
skills-repo-identity
Closed

Add repository identity parsing for versioned skills#20
git-hulk wants to merge 1 commit into
masterfrom
skills-repo-identity

Conversation

@git-hulk

@git-hulk git-hulk commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Introduce RepoID as the credential-free identity of a skill source
repository, the first layer of repository-versioned skill management
(docs/2026-08-30-versioned-skill-management.md).

  • ParseRepo normalizes owner/repo shorthand, host/owner/repo,
    HTTPS/SSH URLs, and scp-like git@host:path inputs to one canonical
    host/owner/repo identity, discarding URL userinfo. HTTPS and SSH
    spellings of one repository normalize to the same identity.

  • SplitRepoVersion parses the repo@version argument form without
    treating the SSH user's @ (git@host:...) as a version separator.

  • Local directory paths are rejected with ErrLocalPathUnsupported
    because mutable local content has no immutable version identity.

  • SanitizeCredentials strips URL userinfo so errors and output never
    disclose credentials.

🤖 Generated with Claude Code

Introduce RepoID as the credential-free identity of a skill source
repository, the first layer of repository-versioned skill management
(docs/2026-08-30-versioned-skill-management.md).

  - ParseRepo normalizes owner/repo shorthand, host/owner/repo,
    HTTPS/SSH URLs, and scp-like git@host:path inputs to one canonical
    host/owner/repo identity, discarding URL userinfo. HTTPS and SSH
    spellings of one repository normalize to the same identity.

  - SplitRepoVersion parses the repo@version argument form without
    treating the SSH user's @ (git@host:...) as a version separator.

  - Local directory paths are rejected with ErrLocalPathUnsupported
    because mutable local content has no immutable version identity.

  - SanitizeCredentials strips URL userinfo so errors and output never
    disclose credentials.

Assistant By Fable 5
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@git-hulk
git-hulk force-pushed the skills-repo-identity branch from db3378b to 804554b Compare September 1, 2026 02:18
@git-hulk git-hulk closed this Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant