Back to list
Async-IO

component-scaffold

by Async-IO

MCP/A2A/Rest Fitness Intelligence platform.

16🍴 2📅 Jan 24, 2026

SKILL.md


name: component-scaffold description: Scaffold a new UI component following Pierre design system patterns argument-hint: [ComponentName] user-invocable: true

Component Scaffold

Create a new React component following the Pierre design system conventions.

Component: $ARGUMENTS

Generate a component with:

  1. File Location: frontend/src/components/[ComponentName].tsx

  2. Standard Structure:

// ABOUTME: [Brief description of what this component does]
// ABOUTME: Part of the Pierre admin dashboard

import React from 'react';
import clsx from 'clsx';
import { Button, Card, CardHeader, Badge } from './ui';

interface [ComponentName]Props {
  // Define props with TypeScript
  className?: string;
}

export const [ComponentName]: React.FC<[ComponentName]Props> = ({
  className,
  ...props
}) => {
  return (
    <Card className={clsx('', className)}>
      {/* Component content */}
    </Card>
  );
};
  1. Requirements:

    • Use design system components (Button, Card, Badge, etc.)
    • Use pierre-* color classes only
    • Follow Tailwind spacing scale
    • Include loading and error states if applicable
    • Add TypeScript interfaces for all props
  2. If this is a form component:

    • Use input-field class for inputs
    • Use label class for labels
    • Include validation error display
    • Use Button variant="primary" for submit
  3. If this is a list component:

    • Use Card for each item
    • Include empty state
    • Include loading skeleton state
    • Use Badge for status indicators

After scaffolding, run /design-review to validate compliance.

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

+5

Reviews

💬

Reviews coming soon