شعار Project Init

Project Init

المجتمع
LuckyOneTwoThree
project-init

Use when initializing a UI frontend project. Integrated project initialization and visual definition, deriving visual direction from brand specifications, selecting and customizing component library themes, simultaneously generating project scaffold and design context files. Keywords: project initialization, design system, visual direction, theme customization, project scaffold, create project, design specification, configure theme colors.

نظرة عامة

الناشرLuckyOneTwoThree
المستودعvibe-skill
اسم المهارةproject-init
النجوم
34
التفريعات
8
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها LuckyOneTwoThree على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Project Init في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/project-init
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LuckyOneTwoThree/vibe-skill.git /tmp/vibe-skill
mkdir -p .claude/skills
cp -r /tmp/vibe-skill/.codex/skills/project-init .claude/skills/project-init
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Project Init في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Project Init تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Project Init بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Project Initialization and Visual Definition

Engineering Delivery Boundary

Follow Engineering Boundary Protocol.

  1. Project first: inspect existing framework, router, state management, component library, styling, API client, and test stack before writing code; inherit by default.
  2. Design-system first: existing design system, component library, and brand rules override visual_policy unless the user explicitly asks to change them.
  3. Write scope: declare target directories and files before implementation; do not overwrite unrelated user code.
  4. Responsive acceptance: check desktop/mobile layout, text overflow, cramped controls, nested cards, accessibility basics, and design-token consistency.
  5. Verification record: report created/modified files, checks run, checks that could not run, and residual risks.

Code Write Boundary

Follow Engineering Boundary Protocol.

  1. Scan first: identify existing project structure, framework, component library, and design system before writing code; inherit by default.
  2. Target scope: declare target directories and files before implementation; generated code must stay inside {project_dir}/ unless context files are explicitly required.
  3. No overwrite: preserve existing project files, configurations, and customizations unless the user explicitly asks for replacement.
  4. Design-system first: existing design system, component library, and brand rules override visual_policy unless the user explicitly asks to change them.
  5. Token consistency: generated design tokens must be consistent with visual direction and brand specifications.
  6. Implementation report: list created/modified files, skipped files, checks run, failed checks, and residual risks.

Core Principles

  1. Visual Direction First -- Define "what it looks like" first, then generate tokens and code
  2. Component Library First -- Prefer mature component libraries (shadcn/Ant Design/MUI etc.), building from scratch only as fallback
  3. Brand-Driven -- All visual decisions derived from brand DNA, not arbitrarily defined
  4. Context as Code -- PRODUCT.md/DESIGN.md generated alongside code, for subsequent Skill and ext-impeccable consumption

Step Checkpoints

After each Step completes, write current progress to internal checkpoint file, supporting orchestrator resume by skipping completed steps:

Checkpoint File: output/checkpoints/project-init.json

json
{
  "type": "object",
  "required": ["completed_steps", "pending_steps", "step_outputs", "last_updated"],
  "properties": {
    "completed_steps": {"type": "array", "items": {"type": "string"}, "description": "List of completed step IDs (e.g. ['step1', 'step2'])"},
    "pending_steps": {"type": "array", "items": {"type": "string"}, "description": "List of pending step IDs (e.g. ['step3', 'step4', 'step5'])"},
    "step_outputs": {"type": "object", "description": "Output file paths or key conclusion summaries for each completed step"},
    "last_updated": {"type": "string", "description": "Last update time (ISO 8601)"}
  }
}

Resume Execution Rules:

  1. On project-init startup, check output/checkpoints/project-init.json
  2. If it exists and has pending_steps, continue from the first pending step, skip completed steps
  3. Update checkpoint immediately after each step completes (write file before proceeding)
  4. After all steps complete, checkpoint file is retained as execution record

Interaction Mode

AI->Human AI suggests, human approves

Input

PM Input Freedom Principle: PM layer outputs (brand specifications, product positioning, PRD) define "what is needed" (intent), this Skill decides "how to implement" (implementation). PM input serves as intent reference only, not limiting design decisions. When PM input conflicts with this Skill's design judgment, design judgment prevails, but deviation reasons must be noted in output.

Input ItemTypeRequiredSourceDescription
Brand SpecificationJSON/markdownYesUser provided / output/pm-strategy/positioning-strategy/positioning-strategy.jsonBrand colors, fonts, style guidelines
Product PositioningJSONOoutput/pm-strategy/positioning-strategy/positioning-strategy.jsonProduct positioning statement
Target PlatformstringYesUser providedWeb / Mobile / Cross-platform
Target LanguagestringYesPassed from upstream orchestrator / User provided (default zh-CN)Target interface language
project_namestringYesUser providedProject name
project_dirstringYesUser providedProject root directory absolute path
frameworkstringYesUser providedReact/Vue/Svelte/Next.js/Nuxt.js
package_managerstringOUser providednpm/pnpm/yarn (default pnpm)
Component Library PreferencestringOUser providedshadcn/Ant Design/MUI/Element Plus/Custom (default recommended based on framework)
PRDmarkdownOoutput/pm-design/design-prd/prd.mdProduct requirements document (including functional areas and component requirements)
PRD Structured DataJSONOoutput/pm-design/design-prd/prd.jsonMachine-consumable PRD version, containing pages[]/user_flows[], for programmatic project initialization consumption
visual_policystringOUser provided / Orchestrator defaultVisual strategy: existing-design-system-first / balanced / differentiation-strict, default existing-design-system-first

Execution Steps

Step 1: Brand DNA Extraction and Color System Generation

Extract core design DNA from brand specifications:

  • Primary color: Brand primary color (1) + secondary colors (2-3)
  • Color mood: Professional/Warm/Energetic/Tech/Steady
  • Font personality: Modern/Classic/Geometric/Humanist
  • Visual style: Flat/Skeuomorphic/Glassmorphism/Neumorphism

Generate complete color system based on primary color (using OKLCH color space for perceptual uniformity):

Token CategoryGeneration RulesCount
Brand ColorsPrimary + secondary, each generating 50-950 with 10 shades30-40
Functional ColorsSuccess/Warning/Error/Info, each with 10 shades40
Neutral ColorsGrayscale 50-95010
Semantic ColorsBackground/Foreground/Border/Link/Disabled15-20

Contrast verification: Body text >=4.5:1 (WCAG AA), large text >=3:1, auto-adjust if not meeting standard.

Dark mode derivation (built-in capability): Primary hue unchanged with reduced lightness and increased saturation, background inverted, text contrast >=4.5:1.

ext enhancement results are output through visual_direction/tokens for downstream consumption, this step focuses on core logic

Step 2: Visual Style Definition

This is the most critical step -- defining "what this product should look like", not just outputting token values.

Based on brand DNA extraction results, define complete visual style direction:

DimensionDefinition ContentOutput Field
Visual StrategyExisting design system first / balanced / strict differentiationvisual_policy
Aesthetic DirectionSpecific style description (e.g. "warm organic + generous whitespace + soft rounded corners")aesthetic_direction
Color StrategyRestrained/Committed/Full palette/Drenchedcolor_strategy
Theme DecisionLight/Dark + physical scenario sentence (e.g. "SRE looking at monitoring in a dimly lit room at 2am")theme_decision
Typography StrategyHeading font style + body font style + hierarchy contrasttypography_strategy
Spatial StrategyWhitespace ratio + density tendencyspatial_strategy
Visual BansPatterns absolutely not to usevisual_bans
Mood Keywords3-5 core mood wordsmood_keywords
Reference Style1-2 referenceable products/design stylesreference_style
Design TensionBold vs restrained degree (conservative/balanced/bold/extreme), determining whether design is "safe but boring" or "memorable"tension_level
Visual NarrativeHow pages guide user eye flow (e.g. "Z-pattern reading -> focus CTA -> progressively reveal details"), defining narrative rhythm of information presentationvisual_narrative

visual_policy Execution Rules:

StrategyRules
existing-design-system-firstDefault strategy. Existing projects prioritize inheriting current design system; differentiation rules must not override brand specifications and component library constraints
balancedIntroduce moderate differentiation while respecting brand and component library constraints, suitable for most new projects
differentiation-strictUse for brand new projects or brand upgrades, forcibly avoiding homogenization patterns, allowing bolder visual anchors

Visual Anchor Definition (preventing AI understanding ambiguity from text descriptions):

Pure text visual directions (like "warm organic") have 100 visual interpretations for AI models; concrete visual anchors must be supplemented to transform vague intent into executable visual parameters.

Anchor DimensionDefinition ContentOutput FieldExample
Border Radius StrategyGlobal border radius levelborder_radius_levelsharp(0-2px)/subtle(4-8px)/medium(12-16px)/round(20-24px)/pill(999px)
Shadow StrategyShadow hierarchy and styleshadow_stylenone/flat(offset only)/subtle(slight spread)/elevated(multi-layer spread)/dramatic(large projection)
Spacing RhythmSpacing base and rhythm patternspacing_rhythmtight(4px base)/standard(8px base)/relaxed(16px base) + regular(even)/jazz(jumping)/symphonic(multi-level)
Type ScaleHeading vs body font size contrasttype_scalemodest(1.2x)/standard(1.333x)/strong(1.5x)/dramatic(2x+)
Brand Color UsageBrand color distribution pattern in pagesbrand_color_usageaccent(buttons/links only)/spotlight(key area backgrounds)/flood(large area backgrounds+gradients)
Image TreatmentVisual treatment of images/illustrationsimage_treatmentnone/photography/illustration/3d/abstract/minimal-icon
Motion StyleInteraction motion intensity and rhythmmotion_stylenone/subtle(micro-feedback)/moderate(smooth transitions)/expressive(spring+choreography)/theatrical(dramatic choreography)
Grid DensityContent area information densitygrid_densitysparse(generous+large whitespace)/balanced(standard spacing)/dense(compact+information-dense)

Semantic Consistency Validation (logical constraints between visual_direction dimensions):

Dimensions in visual_direction have semantic constraint relationships; self-contradictory definitions cause downstream consumption confusion. The following combinations must pass validation:

Validation RuleContradictory ExampleFix Suggestion
aesthetic_direction and tension_level semantically consistent"Minimalist restrained style" + tension_level=extremeAdjust tension_level to conservative/balanced, or adjust aesthetic_direction
grid_density and brand_color_usage complementarygrid_density=sparse + brand_color_usage=floodSparse layout + large area brand color usually contradicts, suggest grid_density->balanced or brand_color_usage->spotlight
spacing_rhythm and tension_level matchedspacing_rhythm=tight(4px) + tension_level=boldBold tension needs large jumping spacing, suggest spacing_rhythm->relaxed+symphonic
type_scale and tension_level matchedtype_scale=modest(1.2x) + tension_level=boldBold tension needs strong font size jumps, suggest type_scale->strong(1.5x) or dramatic(2x+)
motion_style and tension_level matchedmotion_style=none + tension_level=extremeExtreme tension needs rich motion, suggest motion_style->expressive or theatrical
shadow_style and aesthetic_direction matched"Minimalist flat style" + shadow_style=dramaticMinimalist style doesn't need large projections, suggest shadow_style->none or subtle

Validation Execution Timing: Execute immediately after Step 2 outputs visual_direction; contradictory items are marked as P0 issues, must be corrected before continuing.

Page-level Override Semantic Validation: Anchor combinations after anchor_overrides must still pass the above validation rules.

Page-level Anchor Overrides (anchor_overrides):

Global anchors define the overall visual baseline, but specific pages may need to break global rhythm for visual focus or differentiation. anchor_overrides allow page-level overrides of global anchor values while maintaining overall visual consistency.

Override Rules:

  • Each override must provide reason (override rationale) and visual_impact (visual impact description)
  • Overridden anchor values must still be within enum range (e.g. border_radius_level still sharp/subtle/medium/round/pill)
  • Single page max 3 anchor dimension overrides; exceeding 3 suggests the page may need its own visual direction
  • Overrides don't change global anchor definitions, only affect specified page consumption behavior

Typical Override Scenarios:

ScenarioOverride DimensionsExample
Landing page needs visual impactgrid_density: balanced->dense, brand_color_usage: accent->spotlightHomepage dense display + brand color prominence
Detail page needs breathing roomgrid_density: dense->sparse, spacing_rhythm: tight->standardContent page generous whitespace
Form page needs sense of securityborder_radius_level: sharp->subtle, shadow_style: subtle->elevatedRounded corners + shadows increase approachability
Data dashboard needs immersiongrid_density: balanced->dense, motion_style: moderate->expressiveDense data + rich motion

Visual Reference Image Generation:

Based on visual direction and anchor definitions, generate 2 Moodboard reference images, providing visual anchors for subsequent page construction:

Action: Generate visual reference images
Input:
  aesthetic_direction: Aesthetic direction defined in Step 2
  mood_keywords: Mood keywords
  reference_style: Reference style
  border_radius_level/shadow_style/spacing_rhythm/type_scale/brand_color_usage/image_treatment/motion_style/grid_density: 8 anchor dimensions
Output:
  moodboard_light: Reference image URL (light mode Moodboard, showing overall visual atmosphere + layout rhythm + color distribution)
  moodboard_dark: Reference image URL (dark mode Moodboard, if dark mode needed)
Prompt construction rules:
  - Include aesthetic_direction keywords
  - Include mood_keywords
  - Include reference_style references
  - Include specific anchor dimension parameters (e.g. "round border radius", "dramatic type scale")
  - Include "web UI dashboard/landing page" ensuring output is interface not pure art
  - Include "no AI generic style, no blue-purple gradient, no Inter font" excluding homogenization
  - image_size: landscape_16_9

ext enhancement results are output through visual_direction/tokens for downstream consumption, this step focuses on core logic

Step 3: Component Library Selection and Theme Customization

PRD Consumption Rules (intent constraints):

  • PRD defines "what functionality the product needs" (functional requirements), project-init defines "what the technical implementation is" (code implementation)
  • If PRD input exists: Its functional requirements serve as component requirements checklist (must include all functional areas listed in PRD with corresponding components, or provide reasonable alternatives with alternative rationale noted in output), but component implementation method is decided by project-init

Branch Decision:

if User specified component library (shadcn/Ant Design/MUI/Element Plus etc.): -> Lightweight path: Customize theme based on component library else: -> Full path: Plan component library from scratch

Lightweight Path (component library theme customization):

StepContent
Theme Token MappingMap brand colors to component library theme variables (e.g. shadcn CSS variables)
Theme OverrideOverride component library default border radius/shadows/spacing/font sizes
Extended ComponentsIdentify component needs not covered by component library, plan custom components

Full Path (building component library from scratch):

Plan component library using atomic design:

CategoryTypical ComponentsSpecification Elements
Atomic ComponentsButton/Input/Text/Icon/Divider/BoxVariants/sizes/states
Molecular ComponentsFormField/SearchBar/ListItemAtomic combinations
Organism ComponentsForm/DataTable/DialogMolecular + atomic combinations

Component reuse decision: Reuse >=3 pages -> high priority, 1-2 pages -> medium priority, single page -> page-private.

ext-impeccable extract enhancement is called by orchestrator in subsequent stages, this step focuses on core logic. Only when project contains existing code will orchestrator call extract (brand new projects have no content to extract, skip)

Step 4: Project Scaffold Initialization

Create project skeleton based on framework:

FrameworkInit CommandDirectory Structure
ReactVite + React + TypeScriptsrc/components, src/pages, src/styles, src/api, src/stores
VueVite + Vue + TypeScriptsrc/components, src/views, src/styles, src/api, src/stores
Next.jscreate-next-app --tsapp/, components/, styles/, lib/
Nuxt.jsnuxi initcomponents/, pages/, assets/, server/
SvelteVite + Svelte + TypeScriptsrc/lib/components, src/routes, src/styles

Install core dependencies:

  • Routing: react-router/vue-router/sveltekit built-in
  • State management: zustand/pinia/svelte stores
  • Styling solution: Based on component library selection (Tailwind/CSS Modules/Styled Components)
  • HTTP client: axios/fetch wrapper

Generate Token Files:

  • {project_dir}/src/styles/tokens.css -- CSS variables
  • {project_dir}/src/styles/tokens.json -- JSON format tokens

Verify project runs: npm run dev starts successfully.

Step 5: Context File Output

Generate Context Files (for ext-impeccable consumption):

Generate {project_dir}/PRODUCT.md:

  • Product name and description
  • Target user personas
  • Brand tone and voice
  • Product goals and core values
  • Anti-references (what not to be like)
  • register field (brand/product)

Generate {project_dir}/DESIGN.md:

  • Visual style direction (from Step 2)
  • Color strategy and theme decision
  • Typography strategy
  • Spatial strategy
  • Visual bans
  • Component library selection and theme customization description

Language Adaptation Rules (adjust font, font size, and line-height baseline based on target language):

Target LanguagePrimary Font RecommendationBody Font SizeLine Height BaselineSpacing Tendency
zh-CNSource Han Sans / LXGW WenKai14-16px1.6-1.8Larger
en-USPer ext-frontend-design recommendation13-14px1.4-1.5Standard
ja-JPNoto Sans JP14-16px1.7-1.8Larger
ko-KRNoto Sans KR14-16px1.6-1.8Larger
ar-SANoto Sans Arabic14-16px1.6-1.8Larger (RTL)

ext enhancement results are output through visual_direction/tokens for downstream consumption, this step focuses on core logic

Output

Code File Output:

  • {project_dir}/ -- Complete project skeleton
  • {project_dir}/PRODUCT.md -- Product context
  • {project_dir}/DESIGN.md -- Design context
  • {project_dir}/src/styles/tokens.css -- Design token CSS variables
  • {project_dir}/src/styles/tokens.json -- Design token JSON

Metadata Output: output/ui-project-init/

Output Files: project-init.json

Output Schema:

json
{
  "type": "object",
  "required": ["visual_direction", "tokens", "component_library", "scaffold", "project_dir"],
  "properties": {
    "visual_direction": {
      "type": "object",
      "description": "Visual style direction definition (10 dimensions all defined = each field non-empty and non-placeholder, see validation standards below)",
      "properties": {
        "visual_policy": {"type": "string", "enum": ["existing-design-system-first", "balanced", "differentiation-strict"], "description": "Visual strategy, default existing-design-system-first"},
        "aesthetic_direction": {"type": "string", "minLength": 10, "description": "Specific style description, e.g. 'warm organic + generous whitespace + soft rounded corners', 'TBD'/'pending' placeholders not allowed"},
        "color_strategy": {"type": "string", "enum": ["restrained", "committed", "full_palette", "drenched"]},
        "theme_decision": {"type": "string", "minLength": 15, "description": "Must include light/dark decision + physical scenario sentence, e.g. 'Light + daytime natural office light'"},
        "typography_strategy": {"type": "string", "minLength": 10, "description": "Must include heading font style + body font style + hierarchy contrast description"},
        "spatial_strategy": {"type": "string", "minLength": 10, "description": "Must include whitespace ratio + density tendency description"},
        "visual_bans": {"type": "array", "items": {"type": "string"}, "minItems": 3, "description": "At least 3 visual bans"},
        "mood_keywords": {"type": "array", "items": {"type": "string"}, "minItems": 3, "maxItems": 5, "description": "3-5 core mood words"},
        "reference_style": {"type": "string", "minLength": 5, "description": "1-2 referenceable products/design styles"},
        "tension_level": {"type": "string", "enum": ["conservative", "balanced", "bold", "extreme"]},
        "visual_narrative": {"type": "string", "minLength": 10, "description": "Page eye flow path description, e.g. 'Z-pattern reading -> focus CTA -> progressively reveal details'"},
        "border_radius_level": {"type": "string", "enum": ["sharp", "subtle", "medium", "round", "pill"], "description": "Global border radius level"},
        "shadow_style": {"type": "string", "enum": ["none", "flat", "subtle", "elevated", "dramatic"], "description": "Shadow hierarchy and style"},
        "spacing_rhythm": {"type": "string", "description": "Spacing base + rhythm pattern, e.g. 'standard+jazz'"},
        "type_scale": {"type": "string", "enum": ["modest", "standard", "strong", "dramatic"], "description": "Heading vs body font size contrast"},
        "brand_color_usage": {"type": "string", "enum": ["accent", "spotlight", "flood"], "description": "Brand color distribution pattern in pages"},
        "image_treatment": {"type": "string", "enum": ["none", "photography", "illustration", "3d", "abstract", "minimal-icon"], "description": "Visual treatment of images/illustrations"},
        "motion_style": {"type": "string", "enum": ["none", "subtle", "moderate", "expressive", "theatrical"], "description": "Interaction motion intensity and rhythm"},
        "grid_density": {"type": "string", "enum": ["sparse", "balanced", "dense"], "description": "Content area information density"},
        "moodboard_light": {"type": "string", "description": "Light mode Moodboard reference image URL"},
        "moodboard_dark": {"type": "string", "description": "Dark mode Moodboard reference image URL (optional)"},
        "anchor_overrides": {
          "type": "array",
          "description": "Page-level anchor overrides, allowing specific pages to break global visual anchors for differentiation",
          "items": {
            "type": "object",
            "required": ["page", "overrides"],
            "properties": {
              "page": {"type": "string", "description": "Page name or route path"},
              "overrides": {
                "type": "array",
                "description": "Anchor override list for this page, max 3 dimensions",
                "items": {
                  "type": "object",
                  "required": ["dimension", "global_value", "override_value", "reason", "visual_impact"],
                  "properties": {
                    "dimension": {"type": "string", "enum": ["border_radius_level", "shadow_style", "spacing_rhythm", "type_scale", "brand_color_usage", "image_treatment", "motion_style", "grid_density"], "description": "Overridden anchor dimension"},
                    "global_value": {"type": "string", "description": "Global anchor value"},
                    "override_value": {"type": "string", "description": "Page-level override value (must be within corresponding enum range)"},
                    "reason": {"type": "string", "description": "Override rationale"},
                    "visual_impact": {"type": "string", "description": "Visual impact description"}
                  }
                },
                "maxItems": 3
              }
            }
          }
        }
      }
    },
    "tokens": {
      "type": "object",
      "properties": {
        "colors": {"type": "object", "description": "Color tokens (brand/functional/neutral/semantic)"},
        "typography": {"type": "object", "description": "Typography tokens (font_families/font_sizes/font_weights/line_heights)"},
        "spacing": {"type": "object", "description": "Spacing tokens (scale array)"},
        "shadows": {"type": "object", "description": "Shadow tokens (sm/md/lg/xl)"},
        "breakpoints": {"type": "object", "description": "Breakpoint tokens (sm/md/lg/xl)"},
        "animation": {"type": "object", "description": "Animation tokens (durations/easings)"}
      }
    },
    "component_library": {
      "type": "object",
      "properties": {
        "name": {"type": "string", "description": "Component library name (shadcn/Ant Design/MUI/Element Plus/custom)"},
        "version": {"type": "string", "description": "Component library version"},
        "theme_overrides": {"type": "object", "description": "Theme override variable mapping"},
        "custom_components": {"type": "array", "items": {"type": "string"}, "description": "Custom component list needed"},
        "available_components": {"type": "array", "items": {"type": "string"}, "description": "Available component inventory"}
      }
    },
    "scaffold": {
      "type": "object",
      "properties": {
        "framework": {"type": "string", "description": "Framework (React/Vue/Svelte/Next.js/Nuxt.js)"},
        "package_manager": {"type": "string", "description": "Package manager (pnpm/npm/yarn)"},
        "dependencies": {"type": "array", "items": {"type": "string"}, "description": "Core dependency list"},
        "directory_structure": {"type": "object", "description": "Directory structure definition"},
        "dev_server_running": {"type": "boolean", "description": "Whether npm run dev starts successfully"}
      }
    },
    "project_dir": {"type": "string", "description": "Project root directory path"}
  }
}

Decision Rules

ConditionDecision
User specified component libraryLightweight path: Customize theme
User did not specify component library + framework=ReactDefault recommendation shadcn/ui
User did not specify component library + framework=VueDefault recommendation Element Plus
User did not specify component library + needs full customizationFull path: Build from scratch
Brand color contrast <4.5:1 (white background)Auto-generate darker variant as text color
Color mood = Professional/SteadyNeutral color ratio >=60%, brand color accent <=20%
Color mood = Energetic/WarmBrand color ratio 30%-40%, neutral color <=40%
Target platform = WebOutput CSS Variables + Tailwind Config
Target platform = MobileOutput iOS Swift + Android Kotlin
Target platform = Cross-platformOutput all formats

Quality Checks

P0 (Must pass, blocks output if not):

  • WCAG AA contrast 100% compliant (body text >=4.5:1, large text >=3:1)
  • Visual direction compliant with visual_policy; under existing-design-system-first mode must not break existing design system to avoid homogenization
  • Design system recommendation has been data-driven reviewed (by orchestrator calling ext-ui-ux-pro-max)
  • npm run dev starts successfully

P1 (Recommended, mark as "pending fix" if not):

  • Color system complete (brand + functional + neutral + semantic)
  • Font size hierarchy >=6 levels
  • Spacing tokens >=8 levels
  • visual_direction 10 dimensions all defined
  • Color enhancement applied (by orchestrator calling ext-impeccable colorize)
  • Typography enhancement applied (by orchestrator calling ext-impeccable typeset)
  • Dark mode derivation complete
  • Component library theme customization complete
  • Project skeleton files complete (package.json/tsconfig/routing/layout components)
  • PRODUCT.md and DESIGN.md generated

Degradation Strategy

Missing Upstream InputDegradation PlanOutput Impact
Brand specification missingGenerate default brand colors based on industry benchmarksBrand colors based on industry inference, marked as "pending brand confirmation"
Product positioning missingInfer color mood from brand specificationColor mood may be less precise
Component library preference missingRecommend default component library based on frameworkMay not be user's expected component library
package_manager missingDefault pnpmPackage manager may not match team habits
PRD missingDon't plan custom components, only configure component library themeComponent requirements pending PRD supplement
project_dir missingOutput to output/ directory onlyCode files need manual copying
ext skill not deployedOrchestrator responsible for calling; if orchestrator doesn't call, execute built-in degradationext enhancement effects missing, core functionality unaffected

Upstream Change Response

Upstream Change Impact Table

Upstream ChangeImpact ScopeResponse Strategy
Positioning statement changeBrand colors, visual directionMark affected tokens and visual direction, recommend human confirmation
Brand specification changeColor system, visual direction, token generationMark all affected downstream outputs, recommend regenerating visual direction and tokens
New target platformNew platform adaptation tokensMark platform tokens needing addition
PRD changeComponent requirements checklistMark affected component planning, assess whether custom components need supplementing

Downstream Notification Mechanism Table

This Skill Output ChangeNotify Downstream SkillNotification ContentTrigger Condition
Visual direction changepage-builderAesthetic direction/color strategy/visual bansAny visual_direction field change
Token changepage-builderAffected token categoriesToken value change
Component library changepage-builderComponent reuse relationshipsComponent library selection or theme change
PRODUCT.md/DESIGN.md changeext-impeccableContext file content changePRODUCT.md or DESIGN.md content change

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Project Init؟

Use when initializing a UI frontend project. Integrated project initialization and visual definition, deriving visual direction from brand specifications, selecting and customizing component library themes, simultaneously generating project scaffold and design context files. Keywords: project initialization, design system, visual direction, theme customization, project scaffold, create project, design specification, configure theme colors.

لماذا تستخدم Project Init على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Project Init عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Project Init في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/LuckyOneTwoThree/vibe-skill/tree/main/.codex/skills/project-init. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Project Init؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Project Init؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Project Init معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Project Init مجانية؟

نعم. نشرها LuckyOneTwoThree على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇