Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
6
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Sign in to like and favorite skills
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is "mindBridge-admin", a Next.js 13 based admin panel application built with TypeScript, Ant Design, and Tailwind CSS. It's a Korean admin interface for managing various game/social platform features including users, assets, products, games, and analytics.
# Development server (runs on port 4000) npm run dev # Build application npm run build # Production server npm run start # Lint code npm run lint # Static export npm run export
ignoreBuildErrors: true in next.config.jspreflight: false to avoid conflicts with Ant Design/s3-proxy/* routes to https://mindqna.s3.amazonaws.com/*/api/auth/[...nextauth].ts)/login/loginsrc/ ├── client/ # API client functions (one file per domain) │ ├── @base.ts # Axios instance with auth interceptors │ ├── assets.ts # Asset management APIs │ ├── user.ts # User management APIs │ └── ... ├── components/ │ ├── layout/ # Layout components (sidebar, header, navigation) │ ├── page/ # Page-specific components organized by route │ │ ├── assets/ # Components for /product/assets page │ │ ├── user/ # Components for /user/list page │ │ └── ... │ ├── shared/ # Reusable components │ └── ui/ # Base UI components (shadcn/ui style) ├── hooks/ # Custom React hooks (one per domain) ├── lib/ # Utilities and providers ├── pages/ # Next.js pages (file-based routing) ├── styles/ # Global CSS and Ant Design customizations └── types/ # TypeScript type definitions
components/page/[route]src/client/, using TanStack Query hooks in src/hooks/DefaultTable component wrapping Ant Design TableDefaultModal component for consistent stylingAPI Client Pattern:
// src/client/example.ts export const getExamples = () => client.get('/examples'); export const createExample = (data) => client.post('/examples', data); // src/hooks/useExamples.ts export const useExamples = () => useQuery(['examples'], getExamples);
Page Component Pattern:
// src/pages/example/list.tsx const ExampleListPage = () => <ExampleList />; ExampleListPage.getLayout = getDefaultLayout; export default ExampleListPage; // src/components/page/example/ExampleList.tsx export default function ExampleList() { /* implementation */ }
Form Pattern:
// Uses Ant Design Form with custom FormSection/FormGroup wrappers <DefaultForm form={form} onFinish={onFinish}> <FormSection title="기본 정보"> <FormGroup title="제목" required> <Form.Item name="title" rules={[{ required: true }]}> <Input /> </Form.Item> </FormGroup> </FormSection> </DefaultForm>
DefaultTable: Enhanced Ant Design Table with consistent stylingDefaultModal: Modal wrapper with consistent styling and behaviorFormSection/FormGroup: Form layout helpers for consistent form structureDefaultForm: Form wrapper with standard configurationCodeMirrorEditor/QuillEditor: Rich text editing components/loginkoKR locale for Ant Design