Logo Forge

Forge

Tổ chức
Webba-Creative-Technologies
forge

Forge design system for React. Use when writing any React UI in this project, when picking which component to use, when theming, when creating block templates, or when reviewing UI code for accessibility and anti-patterns. Covers components, tokens, theming, motion, patterns, a11y, and anti-patterns.

Tổng quan

Nhà phát hànhWebba-Creative-Technologies
Kho mãforge
Tên kỹ năngforge
Sao
19
Bản fork
0
Tệp đi kèm
11
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 11 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Webba-Creative-Technologies công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Forge trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/Webba-Creative-Technologies/forge/tree/main/skills/forge
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Webba-Creative-Technologies/forge.git /tmp/forge
mkdir -p .claude/skills
cp -r /tmp/forge/skills/forge .claude/skills/forge
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Forge trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Forge ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Forge không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Forge Design System

Forge is a React component library that ships as wss3-forge. Every UI concern (layout, forms, overlays, data display, charts, motion) is covered by a component. All colors, spacing, radius, shadows, and motion live in CSS variables injected by ForgeProvider.

Decision rule: if the task changes what the user sees, touches, or waits for, load this skill.

Find by task

Lookup table for the most common requests. Jump straight to the relevant anchor.

If you're trying toReadSkip ahead
Build a login screenpatterns.md#auth
Build signup or forgot-passwordpatterns.md#auth-forgot
Show a toast on user actioncomponents.md#feedback-toast
Inline alert (success, error, info)components.md#feedback-decision
Errored input with screen-reader feedbacka11y.md#inputs
Icon-only buttona11y.md#buttons
Pricing strip with monthly/yearly togglepatterns.md#pricing
Pick Modal vs Sheet vs Drawer vs Popovercomponents.md#overlay-decision
Pick Card vs StatCard vs KpiCardcomponents.md#cards-decision
Pick VStack vs HStack vs Grid vs Boxcomponents.md#layout-decision
Pick Input vs Select vs Comboboxcomponents.md#forms-decision
Pick Checkbox vs Switch vs Radio vs Tabscomponents.md#selection-decision
Animate items into view, one by onemotion.md#stagger
Sticky scroll-jacked phasemotion.md#sticky-section
Brand color customizationtheming.md#brand-customization-in-30-seconds
Theme color won't applyfaq.mdfaq.md
Empty statepatterns.md#empty-state
Loading or error or empty triadpatterns.md#triad
Settings page (profile, billing, team)patterns.md#settings
Marketing page (hero, pricing, testimonials)patterns.md#marketing
Data screen (table, master-detail, kanban)patterns.md#data
Dashboard with sidebarpatterns.md#dashboard-sidebar--content
Build a docs sitepatterns.md#docs
Pick Navbar vs AppSidebar (horizontal vs vertical menu)components.md#navigation

Review priority (check in this order)

  1. Accessibility. Focus visible, correct roles, aria-label on icon-only buttons, aria-invalid/aria-describedby on errored inputs, keyboard navigation works, reduced motion respected. See a11y.md.
  2. Semantics. Using the right Forge primitive: Heading not styled <h1>, Button not styled <button>, VStack/HStack not flex <div>, Card not styled container. See anti-patterns.md.
  3. Motion. Durations 150 to 300ms for interactions, reduced-motion respected by ForgeProvider, no animations over 500ms for UI feedback. See motion.md.
  4. Theme parity. Code works in both darkTheme and lightTheme. No hardcoded rgba(255, 255, 255, ...) or #xxx. Use CSS vars or color-mix(in srgb, currentColor N%, transparent).
  5. Performance. VirtualList when rendering more than 100 rows, lazy routes, <Motion whileInView> over animate for offscreen content.

Hard rules

  1. Import only from 'wss3-forge'. No deep imports.
  2. Wrap the app in <ForgeProvider>. Without it every component renders unstyled.
  3. Icons only from @fluentui/react-icons. Convention: {Name}{Size}{Style} (e.g. ArrowRight20Regular).
  4. Colors via var(--...). No hardcoded hex, RGB, or color names.
  5. Spacing via gap/padding props on Forge primitives. No raw px/rem when a semantic key exists.
  6. Layout via VStack, HStack, Stack, Grid, Flex, Box, Center, Spacer, AspectRatio. No flex divs.
  7. Responsive via useIsMobile, useBreakpoint, or responsive object props. No @media queries in app code.
  8. Typography via Heading, Text, Label. Never style <h1>, <span>, or <p> manually.
  9. No em-dashes anywhere. Period, comma, colon, or line break.
  10. No emojis in UI. Use Fluent icons.
  11. No decorative colored backgrounds behind icons. Color the glyph itself via style={{ color: '...' }}. Only StatusBadge, Avatar status, and colored Badge variants keep a tinted surface.
  12. No custom components when Forge provides one. Check components.md first.
  13. No custom CSS classes for design-system concerns (spacing, color, radius, shadow, typography). Use props or CSS vars.

For the reasoning behind each rule, see design.md. For concrete wrong/right pairs, see anti-patterns.md.

What Forge is NOT

Forge is a restrained design system. These are baseline anti-aesthetics:

  • No aurora-gradient backgrounds. The page reads as flat surfaces with brand-tinted accents, not as a colored sky.
  • No glass-on-everything. Backdrop-filter is a tool for the navbar and the modal scrim, not for every card.
  • No icon glow / icon-tint backgrounds. Color the glyph itself; let surfaces stay calm.
  • No cyan-magenta-violet gradients. They read as AI-template defaults; we build for Linear / Stripe / Vercel restraint.
  • No streaming-text fakery, no ASCII art in production UI, no AI-marketing clichés.

When in doubt, restrain. Forge ships polished defaults; consumers reach for them, not around them.

Pre-delivery checklist

Before claiming done, verify:

  • tsc --noEmit clean.
  • Works in both dark and light mode (no hardcoded dark-only colors).
  • Focus ring visible on every interactive element.
  • Icon-only buttons have aria-label or tooltip.
  • Touch targets at least size="sm" (32px) on mobile flows.
  • Motion durations within 150 to 300ms for interactions, reduced-motion respected.
  • No em-dash, no emoji in UI strings.
  • No hardcoded hex/rgba in styles. All colors via CSS var.
  • No fallback or try/catch for scenarios that cannot happen.
  • No trivial comments that restate the code.

Files in this skill

Load the file that matches your task. Do not load them all at once.

  • getting-started.md five-minute install and first screen. Read this first if Forge is not already wired up.
  • components.md every export grouped by category, with props table. Read this when picking a component or looking up props.
  • tokens.md CSS variables, spacing scale, radius, shadows, z-index, motion tokens, breakpoints, color constants. Read this when styling edges Forge does not cover with a prop.
  • theming.md ForgeProvider props, ForgeTheme fields, default darkTheme and lightTheme, createTheme, useForge. Read this when configuring the provider or building a custom theme.
  • motion.md the Motion library (Motion, AnimatePresence, Stagger, gesture, scroll, text/visual effects, canvas backgrounds, motion hooks). Read this when adding animations.
  • patterns.md full compositions for dashboards, forms, responsive sidebars, list-with-actions, plus quality gates per pattern and block creation rules. Read this when building a page, not a single component.
  • a11y.md accessibility playbook: what Forge adds automatically per component and what the dev must still add. Read this when working on any interactive surface.
  • anti-patterns.md wrong/right pairs for the most common mistakes. Skim this when you are about to write a styled native element, a flex div, a @media query, or a hardcoded color.
  • design.md design rules and the reasoning behind them. Read this when choosing between multiple valid approaches or when the user asks "why".
  • migration.md upgrade notes from previous versions. Read this when bumping wss3-forge.
  • faq.md common gotchas and their fixes (unstyled components, 404s, wrong sizes). Read this when something does not behave as expected.

Typical flow

  1. Read the user's request.
  2. Open components.md and find the primitive that matches. If the request is a composition, open patterns.md first.
  3. If the primitive needs a color, radius, or spacing you cannot express with a prop, open tokens.md.
  4. If the request involves animation, open motion.md.
  5. If the request touches theming or provider configuration, open theming.md.
  6. If the request is interactive (form, menu, dialog, table), skim a11y.md.
  7. Write the code. Run through the Review priority and Pre-delivery checklist. Run tsc --noEmit before claiming done.

Blocks

Block templates live under src/pages/blocks/blocks/{category}/{slug}/. Categories: marketing | dashboard | auth | commerce | settings | content | utility. Block creation rules are documented in patterns.md.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Forge làm được gì?

Forge design system for React. Use when writing any React UI in this project, when picking which component to use, when theming, when creating block templates, or when reviewing UI code for accessibility and anti-patterns. Covers components, tokens, theming, motion, patterns, a11y, and anti-patterns.

Vì sao nên dùng Forge trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Forge là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Forge trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Webba-Creative-Technologies/forge/tree/main/skills/forge. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Forge?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Forge với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Forge với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Forge có miễn phí không?

Có. Kỹ năng này được Webba-Creative-Technologies phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇