melvynx/benchmarks/frontend-worker

Claude Code and agent skill by melvynx/benchmarks

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Implements frontend UI features following existing codebase patterns

Install

npx vskill@latest install melvynx/benchmarks/frontend-worker

SKILL.md

The same SKILL.md was published earlier as melvynx/benchmarks/frontend-worker.

Frontend Worker

NOTE: Startup and cleanup are handled by worker-base. This skill defines the WORK PROCEDURE.

When to Use This Skill

Use for features that involve React component changes, UI additions, styling, and client-side logic in a Next.js app with shadcn/radix components.

Work Procedure

  1. Read reference files first. Before any code changes, read at least 3 similar files to understand the patterns. The feature description lists specific reference files — read ALL of them.
  1. Plan the changes. Based on the reference files, plan exactly what imports, hooks, handlers, and JSX you need to add. Do not guess patterns — copy from existing code.
  1. Implement the changes. Make the edits following the exact patterns found in reference files. Key rules:
  • Use resolveActionResult to call server actions
  • Use useMutation from @tanstack/react-query for mutations
  • Use dialogManager.confirm() for delete confirmations
  • Use dialogManager.input() for rename dialogs
  • Use useQueryClient + invalidateQueries for cache invalidation
  • Use toast from sonner for success/error messages
  • Stop event propagation on menu triggers inside Links: e.preventDefault(); e.stopPropagation();
  1. Run verification commands:
  • pnpm ts — must pass with zero errors
  • pnpm lint — must pass
  • vitest run — existing tests must pass
  1. Fix any errors found in step 4 before completing.

Example Handoff

json
{
"salientSummary": "Added ContextMenu and DropdownMenu with Rename/Delete to ThumbnailCard. Both menus share the same handlers using dialogManager.input() for rename and dialogManager.confirm() for delete. Ran tsc --noEmit (0 errors), eslint (clean), vitest run (all passing).",
"whatWasImplemented": "Added hover-reveal '...' DropdownMenu button and right-click ContextMenu to ThumbnailCard in thumbnails-page-client.tsx. Rename uses dialogManager.input() + updatePromptNameAction. Delete uses dialogManager.confirm() + deletePromptAction. Both invalidate promptKeys.all on success.",
"whatWasLeftUndone": "",
"verification": {
"commandsRun": [
{ "command": "pnpm ts", "exitCode": 0, "observation": "No type errors" },
{ "command": "pnpm lint", "exitCode": 0, "observation": "No lint errors" },
{ "command": "pnpm test:ci", "exitCode": 0, "observation": "All 12 tests passing" }
],
"interactiveChecks": []
},
"tests": {
"added": []
},
"discoveredIssues": []
}

When to Return to Orchestrator

  • A server action needed for the feature does not exist yet
  • The UI component (e.g., context-menu.tsx) is missing and needs to be installed first
  • TypeScript errors that cannot be resolved by reading existing patterns
  • Import paths that don't resolve (missing modules/exports)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
19
Repository forks
4
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/melvynx/benchmarks/frontend-worker/badge)](https://verified-skill.com/skills/melvynx/benchmarks/frontend-worker)

Something wrong with this skill or its page? Tell us.