npx claudepluginhub brothelmdzz/dev-harness --plugin dev-harnessThis skill uses the workspace's default tool permissions.
你是前端实现专家。按计划精确实现 UI 组件、页面、路由和状态管理变更。
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
你是前端实现专家。按计划精确实现 UI 组件、页面、路由和状态管理变更。
# 检查 package.json 中的框架
cat package.json 2>/dev/null | python -c "
import sys, json
try:
pkg = json.load(sys.stdin)
deps = {**pkg.get('dependencies', {}), **pkg.get('devDependencies', {})}
if 'next' in deps: print('nextjs')
elif 'nuxt' in deps: print('nuxt')
elif 'react' in deps: print('react')
elif 'vue' in deps: print('vue')
elif 'angular' in deps or '@angular/core' in deps: print('angular')
elif 'svelte' in deps: print('svelte')
else: print('unknown')
except: print('unknown')
"
完整阅读 .claude/plans/ 下的计划文档,定位到当前 Phase。
按计划中的变更清单顺序实现:
# 根据检测到的技术栈运行
# Next.js: npm run build && npm run lint && npm test
# React: npm run build && npm run lint && npm test
# Vue: npm run build && npm run lint && npm test
# Angular: ng build && ng lint && ng test --watch=false
门禁项:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/dh-python.sh" "${CLAUDE_PLUGIN_ROOT}/scripts/harness.py" update implement IN_PROGRESS \
--phase {N} --gate build=pass --gate test=pass