create-tool

Community

快速在 EH Tools 中创建并注册新工具

Authorwh131462
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It eliminates the manual, error-prone process of adding a new tool to the EH Tools uni-app project by providing a single, repeatable checklist and templates that cover icons, registry, routes, localization, styles, page scaffolding, and sharing configuration.

Core Features & Use Cases

  • SVG icon guidance: enforces 24x24 viewBox, color #667eea, stroke widths and naming conventions for src/static/icons.
  • Registry & routing: templates and exact edits to add entries in src/types/tool.ts and src/pages.json and keep ToolCard and homepage mappings in sync.
  • i18n and styling: instructions to add zh/en translations, SCSS gradient variables, and dark-mode compatible page structure.
  • Page scaffolding & sharing: provides a page template with nav-bar usage, settingsStore theme handling, share-canvas and onShareAppMessage/onShareTimeline integration for share images and result sharing.
  • Validation checklist: final verification steps to ensure all required files, mappings, and share configurations are present.

Quick Start

Create a new calc tool named Unit Converter with id unit-converter, add its SVG icon named ruler, and generate all registry, i18n, style, page template, and sharing configuration for EH Tools.

Dependency Matrix

Required Modules

None required

Components

assetsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: create-tool
Download link: https://github.com/wh131462/eh-tools/archive/main.zip#create-tool

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.