スキル一覧に戻る
fusengine

generating-components

by fusengine

Redefining development through cognitive automation and collaborative agent systems.

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: generating-components description: Generate production-ready React components using shadcn/ui, 21st.dev, and Tailwind CSS. Use when user asks for UI components, buttons, forms, cards, hero sections, or mentions design inspiration. allowed-tools: Read, Write, Edit, Glob, Grep, Task, mcp__magic__21st_magic_component_builder, mcp__magic__21st_magic_component_inspiration, mcp__magic__21st_magic_component_refiner, mcp__shadcn__search_items_in_registries, mcp__shadcn__view_items_in_registries, mcp__shadcn__get_item_examples_from_registries, mcp__shadcn__get_add_command_for_items user-invocable: true

Generating Components

design-expert creates specs → Delegates to technical agent.

APEX WORKFLOW (MANDATORY)

Phase A: ANALYZE

Task: explore-codebase
Prompt: "Analyze UI: components, colors, typography, spacing, animations"

Phase A: SEARCH INSPIRATION

// 21st.dev (MANDATORY FIRST)
mcp__magic__21st_magic_component_inspiration({
  message: "Create a hero section",
  searchQuery: "hero section glassmorphism"
})

// shadcn/ui
mcp__shadcn__search_items_in_registries({
  registries: ["@shadcn"],
  query: "button"
})

Phase P: CREATE SPECS

Create a specs document for the technical agent:

## Design Specs: HeroSection

### Tokens (from app): var(--primary), font-display
### Inspiration: 21st.dev hero-glassmorphism
### Requirements: glassmorphism, stagger animation, WCAG AA
### Files: HeroSection.tsx (~60 lines)

Phase E: DELEGATE

Task: react-expert (or nextjs-expert)
Prompt: "Implement component following these design specs: [specs above]"

ANTI-AI SLOP (MANDATORY)

FORBIDDENUSE INSTEAD
Inter, Roboto, ArialClash Display, Satoshi, Syne
Purple/pink gradientsCSS variables, sharp accents
Border-left indicatorsIcon + bg-*/10 rounded
Flat backgroundsGlassmorphism, gradient orbs
No animationsFramer Motion stagger

See: references/typography.md, references/color-system.md

Component Template

"use client";
import { motion } from "framer-motion";

const variants = {
  hidden: { opacity: 0, y: 20 },
  show: { opacity: 1, y: 0, transition: { staggerChildren: 0.1 } }
};

export function Component({ className }: { className?: string }) {
  return (
    <motion.div variants={variants} initial="hidden" animate="show">
      {/* Background from existing design tokens */}
      <div className="absolute inset-0 -z-10">
        <div className="absolute top-1/4 left-1/4 w-96 h-96 bg-primary/20 rounded-full blur-3xl" />
      </div>
      {/* Content */}
    </motion.div>
  );
}

Validation

[ ] Phase 0 completed (analyze existing)
[ ] Inspiration searched (21st.dev, shadcn)
[ ] Matches existing design tokens
[ ] No AI slop patterns
[ ] Framer Motion animations
[ ] Files < 100 lines

References

  • APEX Design: plugins/ai-pilot/skills/apex/references/design/
  • Typography: references/typography.md
  • Colors: references/color-system.md
  • Motion: references/motion-patterns.md

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です