بنقرة واحدة
add-component
Scaffold a new React component following frontend conventions — shadcn/ui, Tailwind, functional style.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new React component following frontend conventions — shadcn/ui, Tailwind, functional style.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scaffold a new Next.js App Router page following existing frontend conventions.
Debug frontend auth state — inspect localStorage, decode JWTs, check token expiry, show current auth type and DID.
Start the frontend dev server with dependency install and venue connectivity check.
Run frontend lint, type-check, and Jest tests. Reports a summary of all results.
| name | add-component |
| description | Scaffold a new React component following frontend conventions — shadcn/ui, Tailwind, functional style. |
| argument-hint | <ComponentName> |
Create a new React component following the project's existing patterns.
Create the component file at src/components/<ComponentName>.tsx
Follow this pattern:
"use client";
import { Button } from "@/components/ui/button";
interface ComponentNameProps {
// props
}
export const ComponentName = ({ ...props }: ComponentNameProps) => {
return (
<div>
{/* Component content */}
</div>
);
};
import { useAuthenticatedVenue } from "@/hooks/use-authenticated-venue";
__tests__/<ComponentName>.test.tsx if the component has non-trivial logic."use client" directive on all components@/components/ui/ (Button, Dialog, Card, etc.)lucide-react (primary) or react-iconssrc/components/ui/ — do not modify those directlysrc/components/sign-in-button.tsxsrc/components/AssetList.tsxsrc/components/AddNewVenueModal.tsx