diff --git a/README.md b/README.md index 4146a78..9eec50d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Prompt your agent: ``` -Add passkey authentication to my app using https://raw.githubusercontent.com/wevm/webauthx/refs/heads/main/SKILL.md, and add it to my skills. +Add passkey authentication to my app using https://raw.githubusercontent.com/wevm/webauthx/refs/heads/main/skills/webauthx/SKILL.md, and add it to my skills. ``` ## Install @@ -34,6 +34,12 @@ pnpm i webauthx bun i webauthx ``` +### Install skill + +```bash +npx skills@latest install wevm/webauthx +``` + ## Usage Walkthrough ### Registration (Sign up) diff --git a/package.json b/package.json index 1231cca..ca8be6a 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "check": "oxlint --fix --ignore-pattern package.json && oxfmt", "check:types": "tsc -b", "dev": "zile dev", + "validate-skill": "uvx --from skills-ref agentskills validate skills/webauthx", "test": "vitest" }, "devDependencies": { diff --git a/SKILL.md b/skills/webauthx/SKILL.md similarity index 100% rename from SKILL.md rename to skills/webauthx/SKILL.md