Skip to content

feat: skill marketplace UI#15

Merged
proofmancer merged 1 commit into
mainfrom
feat/skill-marketplace
May 24, 2026
Merged

feat: skill marketplace UI#15
proofmancer merged 1 commit into
mainfrom
feat/skill-marketplace

Conversation

@proofmancer
Copy link
Copy Markdown
Owner

Closes #7.

Summary

  • New src/lib/skills.ts scans ~/.claude/skills/ (user) and <workspace.cwd>/.claude/skills/ (project), one level deep. Each SKILL.md's frontmatter is parsed by a tiny inline regex parser (no new dep). Malformed or missing frontmatter falls back to the directory name + empty description so a single bad skill doesn't break the page.
  • New GET /api/workspaces/[id]/skills returns the union, with the same workspace cwd validation as the memory endpoint.
  • SkillsGrid client component renders the list as a responsive card grid (mono name, truncated description, user / project badge) with a rescan button.
  • CreateAgentForm rewritten: the comma-separated text input is gone, replaced with a checkbox list populated from the scanned skills. Previously-pinned skills that no longer exist on disk render below the list tagged missing so the user knows why they aren't loading.
  • Wired into the workspace page as a new "Skills" section above Agents. No schema change, agents.skills already stores names.

Build fix bundled

Same SQLITE_BUSY in next build's parallel page-data workers as #13 / #14. This branch needed a stronger fix: journal_mode = WAL requires an exclusive lock that does not honor busy_timeout, so the build phase now opens an in-memory DB (per-process, race-free) and the runtime opens the file as before. Gated on NEXT_PHASE === 'phase-production-build'.

Test plan

  • Open a workspace, see skills from both ~/.claude/skills/ and the workspace's .claude/skills/, badged user / project.
  • Create an agent, pick skills via checkboxes, run it. Confirm the chosen skill names are written into the workspace's .claude/settings.local.json under argus.pinnedSkills.
  • Workspace with no ~/.claude/skills/ still renders project-level skills without erroring.
  • Pin a skill, delete its SKILL.md, open the agent form again. The skill appears below the list tagged missing but stays selectable.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 24, 2026

Warning

Review limit reached

@proofmancer, we couldn't start this review because you've used your available PR reviews for now.

Your plan includes 1 review of capacity. Refill in 9 minutes and 28 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 329ff2ee-3bed-4b57-9ace-2319c82e8e53

📥 Commits

Reviewing files that changed from the base of the PR and between fd682c9 and 21c3bde.

📒 Files selected for processing (6)
  • src/app/api/workspaces/[id]/skills/route.ts
  • src/app/workspace/[id]/page.tsx
  • src/components/CreateAgentForm.tsx
  • src/components/SkillsGrid.tsx
  • src/lib/db.ts
  • src/lib/skills.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/skill-marketplace

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@proofmancer proofmancer merged commit 88cb8a7 into main May 24, 2026
2 checks passed
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.

v0.4: skill marketplace UI

1 participant