AgentSkillsCN

Scaffold New Tool

新工具脚手架

SKILL.md

Scaffold New Tool Skill

Description: Generates a new tool page following the OpenToolBox architecture (Next.js 15). Instructions:

  1. Create a new directory in src/app/tools/[tool-name].
  2. Generate page.tsx using the BaseToolLayout component.
  3. Use lucide-react for the icon.
  4. Add the tool entry to src/config/tools.ts. Constraints: - Only use client-side libraries (no 'use server').
  • Ensure Tailwind classes match the existing dark/light theme.