本文へ移動
cccskills
無料GitHub で公開

add-design-tool

Add a new interactive design tool under /tools (like the color converter or contrast checker) — component, page, navigation, route lists, SEO, and tests. Use when building a new utility tool.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Add a design tool: $ARGUMENTS

  1. Logic first: put pure logic (color math, parsing, generation) in app/utils/ (e.g. extend colorConversion.ts / colorPalettes.ts) and unit test it in tests/unit/utils/. Components stay thin.
  2. Component: app/components/tools/<PascalName>.vue → auto-imported as <Tools<PascalName>>. Follow ContrastChecker.vue / ColorConverter.vue: Nuxt UI inputs, useColorCopy() for copy-to-clipboard toasts, usePickerHex() for UColorPicker bindings, semantic tokens for styling, labelled controls.
  3. Page: app/pages/tools/<slug>.vue follows contrast-checker.vue. It reads its label and description from TOOL_CATEGORIES, registers useSchemaOrg([defineSoftwareApp(...)]), and renders UPageHeader plus the component. Title and meta tags come from the default layout via seoDescriptions.ts.
  4. Navigation: add an item to TOOL_CATEGORIES in app/utils/navigation/tools.ts.
  5. Routes: add the path to TOOL_ROUTES in shared/constants/routes.ts (prerendered, and ISR in production).
  6. SEO: add PAGE_DESCRIPTIONS["/tools/<slug>"] in app/utils/seoDescriptions.ts.
  7. Theme integration (optional): tools that produce a theme can apply it through the parent editor by posting MSG.APPLY_AI_THEME with a validated config (see PaletteGenerator.vue).
  8. Tests: component tests in tests/unit/components/tools/ (mount with mountWithUApp if the tool uses tooltips).
  9. Verify with /run-app (keyboard-only pass: every control reachable and labelled), then /dev-workflow.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Add, update, or retire an AI provider model option for the BYOK theme generator (OpenAI, Anthropic, Google) and verify the provider requests native structured output for it. Use when model lists go stale or a new provider/model is requested.

日本語の概要は準備中です。原文の説明を表示しています。

mattycraig/nuxt-theme-builder92026年9月29日 更新

Write and register a new Learning Hub article (Nuxt Content markdown under content/learn) with valid frontmatter, navigation entry, route list entry, and accurate product details. Use when adding or substantially rewriting a learn guide, reference, or tip.

日本語の概要は準備中です。原文の説明を表示しています。

mattycraig/nuxt-theme-builder92026年9月29日 更新

Add a new component showcase, block, or template preview page and register it everywhere it must appear (navigation, command palette, route lists, SEO, source view). Use when adding anything under /components, /blocks, or /templates.

日本語の概要は準備中です。原文の説明を表示しています。

mattycraig/nuxt-theme-builder92026年9月29日 更新

Checklist for adding or changing a field on ThemeConfig (a new design token, per-mode setting, or export option) end to end — schema, defaults, store + history, CSS apply, export, editor UI, AI, and tests. Use whenever ThemeConfig's shape changes.

日本語の概要は準備中です。原文の説明を表示しています。

mattycraig/nuxt-theme-builder92026年9月29日 更新

Audit websites for SEO, performance, security, technical, content, and 15 other issue cateories with 230+ rules using the squirrelscan CLI. Returns LLM-optimized reports with health scores, broken links, meta tag analysis, and actionable recommendations. Use to discover and asses website or webapp issues and health.

日本語の概要は準備中です。原文の説明を表示しています。

mattycraig/nuxt-theme-builder92026年9月29日 更新

Run the project's validation pipeline (lint → format → typecheck → unit tests) with auto-fixes, then optionally stage and write a Conventional Commit. Use before committing, when asked to "check", "validate", "run the workflow", or "get this commit-ready".

日本語の概要は準備中です。原文の説明を表示しています。

mattycraig/nuxt-theme-builder92026年9月29日 更新

mattycraig のスキルをすべて見る

このスキルの問題を報告する