feat: skills system end-to-end — ClawHub fetch + error feedback#39
Merged
Conversation
…ilt-in import - Add batch agent-skills endpoint: GET/POST /api/skills/[id]/agents - Add PATCH to agent skill route for enable/disable toggle - Skills detail panel shows all agents with assign/unassign toggles - Assigned agents get separate enable/disable control - Built-in skills auto-import to DB before agent assignment - Replace N+1 agent-skill queries with single batch fetch Closes TSK-391
Replace hardcoded marketplace data with live fetch from https://clawhub.com/api/skills. Adds 5s timeout, 5-minute in-memory cache, and falls back to the hardcoded list if the API is unreachable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace all silent catch blocks with user-facing toast notifications for install, create, edit, delete, and agent assignment failures. Adds success toasts for installs and edits. Auto-dismisses after 3s. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Changes
ClawHub Marketplace Fetch (
browse/route.ts)https://clawhub.com/api/skillsinstead of hardcoded mocksError Feedback (
skills/page.tsx)Already Working (verified)
installedSlugscross-referenceCloses TSK-391