diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 3332253..d3c6246 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -15,8 +15,8 @@ "name": "kRicha", "url": "https://github.com/kricha" }, - "homepage": "https://github.com/kricha/knowledge-capture", - "repository": "https://github.com/kricha/knowledge-capture", + "homepage": "https://github.com/0k-lab/knowledge-capture", + "repository": "https://github.com/0k-lab/knowledge-capture", "license": "MIT", "keywords": [ "agent-skill", diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index acc7f8d..7bd7e5a 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -7,8 +7,8 @@ "name": "kRicha", "url": "https://github.com/kricha" }, - "homepage": "https://github.com/kricha/knowledge-capture", - "repository": "https://github.com/kricha/knowledge-capture", + "homepage": "https://github.com/0k-lab/knowledge-capture", + "repository": "https://github.com/0k-lab/knowledge-capture", "license": "MIT", "keywords": [ "agent-skill", diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 2846f76..7af9aae 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -6,8 +6,8 @@ "name": "kRicha", "url": "https://github.com/kricha" }, - "homepage": "https://github.com/kricha/knowledge-capture", - "repository": "https://github.com/kricha/knowledge-capture", + "homepage": "https://github.com/0k-lab/knowledge-capture", + "repository": "https://github.com/0k-lab/knowledge-capture", "license": "MIT", "keywords": [ "agent-skill", @@ -26,7 +26,7 @@ "capabilities": [ "Write" ], - "websiteURL": "https://github.com/kricha/knowledge-capture", + "websiteURL": "https://github.com/0k-lab/knowledge-capture", "defaultPrompt": [ "Capture the current coding session.", "Save decisions and next steps.", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5f590a7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + +permissions: + contents: read + +concurrency: + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || 'main' }} + cancel-in-progress: true + +jobs: + test: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - run: node --test tests/*.test.js diff --git a/INSTALLATION.md b/INSTALLATION.md index 6bee719..7f1a4da 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -7,7 +7,7 @@ Install `knowledge-capture` as a plugin when your agent supports plugins. Use th Clone this repository and install the local plugin marketplace: ```bash -git clone https://github.com/kricha/knowledge-capture.git +git clone https://github.com/0k-lab/knowledge-capture.git cd knowledge-capture codex plugin marketplace add "$PWD" codex plugin add knowledge-capture@knowledge-capture @@ -20,7 +20,7 @@ Start a new Codex thread after installing so the skill is loaded into the sessio Add this repository as a plugin marketplace and install the plugin: ```text -/plugin marketplace add kricha/knowledge-capture +/plugin marketplace add 0k-lab/knowledge-capture /plugin install knowledge-capture@knowledge-capture ``` @@ -38,19 +38,19 @@ Run `/reload-plugins` or start a new Claude Code session after installing. For OpenCode, Hermes, and other agents that load `SKILL.md` packages directly, install from the skill directory URL, not the repository root: ```text -https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture +https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture ``` Ask your agent: ```text -Install the knowledge-capture Agent Skill from https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture into this repo as .agents/skills/knowledge-capture. +Install the knowledge-capture Agent Skill from https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture into this repo as .agents/skills/knowledge-capture. ``` For Codex direct skill installation: ```text -$skill-installer install https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture +$skill-installer install https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture ``` Then add a repo instruction such as: @@ -75,21 +75,21 @@ Expected install paths: Some agents and skill collections use the community `skills` CLI as a one-line installer. For this single-skill repo, these are the equivalent forms to try: ```bash -npx skills add kricha/knowledge-capture -s knowledge-capture -npx skills add kricha/knowledge-capture -s knowledge-capture --global -npx skills add kricha/knowledge-capture -s knowledge-capture -a claude-code +npx skills add 0k-lab/knowledge-capture -s knowledge-capture +npx skills add 0k-lab/knowledge-capture -s knowledge-capture --global +npx skills add 0k-lab/knowledge-capture -s knowledge-capture -a claude-code ``` If your installer accepts a full skill directory URL, use: ```text -https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture +https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture ``` Manual clone/link installs must point at the skill folder, not the repository root: ```bash -git clone https://github.com/kricha/knowledge-capture.git +git clone https://github.com/0k-lab/knowledge-capture.git cd knowledge-capture mkdir -p ~/.cursor/skills ln -s "$(pwd)/skills/knowledge-capture" ~/.cursor/skills/knowledge-capture @@ -98,7 +98,7 @@ ln -s "$(pwd)/skills/knowledge-capture" ~/.cursor/skills/knowledge-capture For a Claude Code plugin checkout, link the repository root because the plugin manifests live at the root: ```bash -git clone https://github.com/kricha/knowledge-capture.git +git clone https://github.com/0k-lab/knowledge-capture.git cd knowledge-capture mkdir -p ~/.claude/plugins ln -s "$(pwd)" ~/.claude/plugins/knowledge-capture diff --git a/README.md b/README.md index ea5e1e7..040fa96 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ This project is deliberately small. It does not sync, index, publish, promote du Fastest path: ```bash -npx skills add kricha/knowledge-capture -s knowledge-capture +npx skills add 0k-lab/knowledge-capture -s knowledge-capture ``` This uses the community Skills CLI for a one-command install. diff --git a/tests/skill-contract.test.js b/tests/skill-contract.test.js index 5c0a7c7..b880242 100644 --- a/tests/skill-contract.test.js +++ b/tests/skill-contract.test.js @@ -45,8 +45,8 @@ const CANONICAL_AUTHOR = { name: "kRicha", url: "https://github.com/kricha", }; -const CANONICAL_HOMEPAGE = "https://github.com/kricha/knowledge-capture"; -const CANONICAL_REPOSITORY = "https://github.com/kricha/knowledge-capture"; +const CANONICAL_HOMEPAGE = "https://github.com/0k-lab/knowledge-capture"; +const CANONICAL_REPOSITORY = "https://github.com/0k-lab/knowledge-capture"; const CANONICAL_LICENSE = "MIT"; const CANONICAL_SKILLS_PATH = "./skills/"; const CANONICAL_MARKETPLACE_SOURCE = "./"; @@ -312,7 +312,7 @@ test("README is human-facing and makes installation attractive", () => { assert.ok(readme.includes("## Install")); assert.ok(readme.includes("Fastest path:")); assert.ok( - readme.includes("npx skills add kricha/knowledge-capture -s knowledge-capture"), + readme.includes("npx skills add 0k-lab/knowledge-capture -s knowledge-capture"), ); assert.ok( readme.includes("This uses the community Skills CLI for a one-command install."), @@ -322,7 +322,7 @@ test("README is human-facing and makes installation attractive", () => { "For Codex plugin, Claude Code, OpenCode, direct skill installs, and checkout-based installs into another repo, see [INSTALLATION.md](INSTALLATION.md).", ), ); - assert.ok(!readme.includes("git clone https://github.com/kricha/knowledge-capture.git")); + assert.ok(!readme.includes("git clone https://github.com/0k-lab/knowledge-capture.git")); assert.ok(!readme.includes("codex plugin marketplace add")); assert.ok(!readme.includes("codex plugin add knowledge-capture@knowledge-capture")); assert.ok(!readme.includes("### Claude Code Plugin")); @@ -402,7 +402,7 @@ test("installation guide documents all supported install paths", () => { assert.ok(installation.startsWith("# Installation")); assert.ok(installation.includes("## Codex Plugin From A Clone")); assert.ok( - installation.includes("git clone https://github.com/kricha/knowledge-capture.git"), + installation.includes("git clone https://github.com/0k-lab/knowledge-capture.git"), ); assert.ok(installation.includes("codex plugin marketplace add \"$PWD\"")); assert.ok( @@ -410,7 +410,7 @@ test("installation guide documents all supported install paths", () => { ); assert.ok(installation.includes("## Claude Code Plugin")); assert.ok( - installation.includes("/plugin marketplace add kricha/knowledge-capture"), + installation.includes("/plugin marketplace add 0k-lab/knowledge-capture"), ); assert.ok( installation.includes("/plugin install knowledge-capture@knowledge-capture"), @@ -423,7 +423,7 @@ test("installation guide documents all supported install paths", () => { assert.ok(installation.includes("For OpenCode, Hermes, and other agents")); assert.ok( installation.includes( - "https://github.com/kricha/knowledge-capture/tree/main/skills/knowledge-capture", + "https://github.com/0k-lab/knowledge-capture/tree/main/skills/knowledge-capture", ), ); assert.ok(installation.includes("Install the knowledge-capture Agent Skill from")); @@ -444,17 +444,17 @@ test("installation guide documents all supported install paths", () => { assert.ok(installation.includes("## Skills CLI And Manual Links")); assert.ok( installation.includes( - "npx skills add kricha/knowledge-capture -s knowledge-capture", + "npx skills add 0k-lab/knowledge-capture -s knowledge-capture", ), ); assert.ok( installation.includes( - "npx skills add kricha/knowledge-capture -s knowledge-capture --global", + "npx skills add 0k-lab/knowledge-capture -s knowledge-capture --global", ), ); assert.ok( installation.includes( - "npx skills add kricha/knowledge-capture -s knowledge-capture -a claude-code", + "npx skills add 0k-lab/knowledge-capture -s knowledge-capture -a claude-code", ), ); assert.ok(