feat(skills): add registry discovery list/show commands

This commit is contained in:
William Valentin
2026-02-16 00:17:50 -08:00
parent 4391c6e5b3
commit f2b03b8836
4 changed files with 496 additions and 12 deletions
@@ -50,12 +50,12 @@ Tests:
Checklist:
- [ ] Add `flynn skills registry list` command (table/text + `--json`).
- [ ] Add `flynn skills registry show <id>` command (entry detail + source fields).
- [ ] Add filtering options:
- [ ] `--search <term>`
- [ ] `--publisher <name>`
- [ ] Ensure output clearly marks trust metadata as declared/unverified.
- [x] Add `flynn skills registry list` command (table/text + `--json`).
- [x] Add `flynn skills registry show <id>` command (entry detail + source fields).
- [x] Add filtering options:
- [x] `--search <term>`
- [x] `--publisher <name>`
- [x] Ensure output clearly marks trust metadata as declared/unverified.
Acceptance:
@@ -63,7 +63,7 @@ Acceptance:
Tests:
- [ ] Command tests for text + JSON output paths.
- [x] Command tests for text + JSON output paths.
---
+6 -3
View File
@@ -216,7 +216,7 @@
"status": "in_progress",
"date": "2026-02-16",
"updated": "2026-02-16",
"summary": "Started ClawHub registry milestone with Phase 1 complete: added validated registry catalog loader/parser with local file + HTTPS source support and tests. Next step is CLI registry discovery UX.",
"summary": "Completed Phase 2 CLI discovery UX for ClawHub registry: added `flynn skills registry list/show` with JSON/text output, search and publisher filtering, source resolution via flag/env, and explicit declared/unverified trust metadata labeling.",
"files_created": [
"docs/plans/2026-02-16-clawhub-registry-checklist.md",
"src/skills/registrySource.ts",
@@ -224,9 +224,12 @@
],
"files_modified": [
"src/skills/index.ts",
"src/cli/skills.ts",
"src/cli/skills.test.ts",
"docs/plans/2026-02-16-clawhub-registry-checklist.md",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/skills/registrySource.test.ts + pnpm typecheck passing"
"test_status": "pnpm test:run src/skills/registrySource.test.ts src/cli/skills.test.ts + pnpm typecheck passing"
},
"credential-system-v2-api-and-oauth": {
"file": "2026-02-15-credential-system-v2-api-and-oauth-checklist.md",
@@ -2767,7 +2770,7 @@
"gmail_auth_cli": "flynn gmail-auth command implemented with OAuth2 flow, doctor check, config routed to Telegram",
"native_audio_support": "completed — smart routing for native audio (Gemini/OpenAI/GitHub) vs Whisper transcription fallback",
"remaining_phases_completion": "Phase 1: 3/3 (100%) — context levels, command registry, memory structure. Phase 2: 3/3 (100%) — component registry, confidence routing, history index. Phase 3: 2/2 (100%) — adaptive memory/compaction, truthfulness/autonomy hardening",
"next_up": "ClawHub registry Phase 2: add CLI discovery commands (registry list/show with JSON + filtering)"
"next_up": "ClawHub registry Phase 3: add install-by-registry-id flow with source resolution and confirmation gates"
},
"soul_md_and_cron_create": {
"date": "2026-02-11",