Fireact Builder logo

Fireact Builder

Organization
fireact-dev
fireact-builder

Helps customize and extend Fireact SaaS apps after installation. Auto-detects Fireact projects by checking for @fireact.dev/app in package.json. Invoke when the user wants to add features, pages, custom components, navigation, branding, Cloud Functions, or i18n.

Overview

Publisherfireact-dev
Repositorymain
Skill namefireact-builder
Stars
558
Forks
180
Bundled files
5
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by fireact-dev on GitHub. Read the source before you install it.

Installation

Install the Fireact Builder AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/fireact-dev/main/tree/main/create-fireact-app/templates/.claude/skills/fireact-builder
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fireact-dev/main.git /tmp/main
mkdir -p .claude/skills
cp -r /tmp/main/create-fireact-app/templates/.claude/skills/fireact-builder .claude/skills/fireact-builder
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fireact Builder in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fireact Builder on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fireact Builder is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Fireact Builder — Post-Installation Customization Skill

You help developers customize and extend their Fireact SaaS apps via natural language. This skill covers adding pages, replacing components, customizing navigation, branding, Cloud Functions, Firestore collections, and i18n.


1. Project Detection

Before doing anything, confirm this is a Fireact project:

  1. Check package.json for @fireact.dev/app in dependencies
  2. Check src/config/app.config.json exists
  3. Check src/App.tsx imports from @fireact.dev/app

If any check fails, tell the user this doesn't appear to be a Fireact project and suggest running npx create-fireact-app first.


2. State Reading Protocol

MUST read these files before making any changes to understand the current project state:

FileWhat to learn
src/App.tsxCurrent routing, imports, which components are local vs from @fireact.dev/app
src/config/app.config.jsonRoute paths, permissions, settings
src/config/stripe.config.jsonSubscription plans
src/i18n/en.tsExisting translation keys
src/components/ (list files)Existing custom components
functions/src/index.tsExisting Cloud Functions
firestore.rulesExisting security rules

3. Customization Playbooks

A. Add New Subscription Page

Use when the user wants a page scoped to a subscription (e.g., "add a reports page", "add an analytics page").

Steps:

  1. Create component at src/components/<PageName>.tsx:

    • Import useSubscription, useConfig, useTranslation from @fireact.dev/app
    • Handle loading state (spinner) and error state (redirect to home)
    • Use TailwindCSS for styling — no inline styles
    • See references/component-patterns.md for template
  2. Add route key to src/config/app.config.json under pages:

    json
    "<pageName>": "/subscription/:id/<slug>"
  3. Add route in src/App.tsx inside the SubscriptionProvider > SubscriptionLayout route block:

    tsx
    <Route path={appConfig.pages.<pageName>} element={
      <ProtectedSubscriptionRoute requiredPermissions={['access']}>
        <PageName />
      </ProtectedSubscriptionRoute>
    } />
  4. Add import at top of src/App.tsx:

    tsx
    import PageName from './components/PageName';
  5. Add i18n keys to src/i18n/en.ts (and other language files)

  6. Optionally add to navigation menu (see Playbook E)

B. Add New Authenticated Page

Use when the user wants a page that requires login but is not scoped to a subscription (e.g., "add an API keys page", "add a settings page").

Steps:

  1. Create component at src/components/<PageName>.tsx:

    • Import useAuth, useConfig from @fireact.dev/app
    • See references/component-patterns.md for template
  2. Add route key to src/config/app.config.json under pages:

    json
    "<pageName>": "/<slug>"
  3. Add route inside AuthenticatedLayout block in src/App.tsx:

    tsx
    <Route path={appConfig.pages.<pageName>} element={<PageName />} />
  4. Add import and translations

C. Add New Public Page

Use when the user wants a page that doesn't require login (e.g., "add a landing page", "add a pricing page").

Steps:

  1. Create component at src/components/<PageName>.tsx

  2. Add route inside PublicLayout block in src/App.tsx:

    tsx
    <Route path="/<slug>" element={<PageName />} />
  3. Add translations

D. Replace/Customize Existing Component

Use when the user wants to change an existing component from @fireact.dev/app (e.g., "customize the sign-in page", "change the dashboard").

Steps:

  1. Identify which @fireact.dev/app component to replace (see references/component-patterns.md for the full export list)

  2. Create local version at src/components/<ComponentName>.tsx maintaining the same hook/context contract as the original

  3. Change import in src/App.tsx:

    • Remove the component from the @fireact.dev/app destructured import
    • Add a local import:
      tsx
      import ComponentName from './components/ComponentName';
  4. Reference references/component-patterns.md for the expected patterns of each component type

E. Customize Navigation

Use when the user wants to add, remove, or reorder navigation items.

Steps:

  1. Create custom menu components (e.g., src/components/CustomSubscriptionDesktopMenu.tsx and CustomSubscriptionMobileMenu.tsx)

  2. Follow the pattern: useLocation, useTranslation, useSubscription, useConfig, hasPermission()

  3. Path replacement: use .replace(':id', subscription?.id || '') for subscription paths

  4. Sidebar width classes:

    • [.w-20_&]:hidden — hide text when sidebar collapsed
    • [.w-64_&]:mr-4 — add margin for icon when sidebar expanded
    • [.w-20_&]:mx-auto — center icon when sidebar collapsed
  5. Swap imports in src/App.tsx layout props:

    • Remove SubscriptionDesktopMenu / SubscriptionMobileMenu from @fireact.dev/app import
    • Import custom versions
    • Pass to SubscriptionLayout desktopMenu and mobileMenu props

See references/navigation-customization.md for full reference.

F. Customize Branding & Theme

Use when the user wants to change colors, fonts, or logo.

Steps:

  1. Modify tailwind.config.js for custom colors/fonts:

    js
    theme: {
      extend: {
        colors: {
          primary: { /* custom palette */ }
        }
      }
    }
  2. Modify src/index.css for global styles

  3. Create custom Logo component at src/components/Logo.tsx and import locally in App.tsx

  4. SubscriptionLayout supports these props for nav theming:

    • navBackgroundColor — CSS class for nav background (e.g., "bg-blue-900")
    • navTextColor — CSS class for nav text (e.g., "text-blue-100")

G. Add Custom Cloud Functions

Use when the user wants to add backend logic.

Steps:

  1. Create functions/src/<functionName>.ts:

    typescript
    import { onCall } from 'firebase-functions/v2/https';
    
    export const myFunction = onCall(async (request) => {
      // Access global config
      const config = global.saasConfig;
      // Your logic here
      return { success: true };
    });
  2. Access global.saasConfig for permissions, plans, Stripe keys

  3. Export from functions/src/index.ts:

    typescript
    export { myFunction } from './<functionName>';
  4. Call from frontend:

    typescript
    import { httpsCallable } from 'firebase/functions';
    
    const config = useConfig();
    const myFunction = httpsCallable(config.functions, 'myFunction');
    const result = await myFunction({ /* data */ });
  5. Build: cd functions && npm run build

See references/cloud-functions-patterns.md for detailed patterns.

H. Add Firestore Collections & Custom Data

Use when the user wants to store and retrieve custom data.

Steps:

  1. Use Firestore SDK with config.db from useConfig():

    typescript
    import { collection, doc, getDocs, addDoc } from 'firebase/firestore';
    
    const config = useConfig();
    
    // Read
    const snapshot = await getDocs(collection(config.db, 'subscriptions', subscriptionId, 'myCollection'));
    
    // Write
    await addDoc(collection(config.db, 'subscriptions', subscriptionId, 'myCollection'), { ... });
  2. Add security rules to firestore.rules following existing patterns:

    match /subscriptions/{docId}/myCollection/{docId2} {
      allow read: if request.auth != null
        && get(/databases/$(database)/documents/subscriptions/$(docId)).data.permissions.access.hasAny([request.auth.uid]);
      allow write: if request.auth != null
        && get(/databases/$(database)/documents/subscriptions/$(docId)).data.permissions.admin.hasAny([request.auth.uid]);
    }
  3. Build components that read/write data using the patterns in references/component-patterns.md


4. Key Conventions (Always Follow)

  • i18n: Use useTranslation() with t('key') for ALL user-facing strings. Never hardcode display text.
  • Loading/error states: Always handle in subscription components — show spinner while loading, redirect on error.
  • TailwindCSS only: No inline styles. Use Tailwind utility classes.
  • Route config: Always add route key to src/config/app.config.json when adding a page.
  • Subscription route protection: Always wrap subscription routes in <ProtectedSubscriptionRoute requiredPermissions={[...]}>.
  • Subscription URL pattern: Paths follow /subscription/:id/<slug>.
  • Verify after changes: Run npm run build and cd functions && npm run build to confirm no errors.

5. References

For detailed API documentation and code templates, see:

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Fireact Builder AI skill do?

Helps customize and extend Fireact SaaS apps after installation. Auto-detects Fireact projects by checking for @fireact.dev/app in package.json. Invoke when the user wants to add features, pages, custom components, navigation, branding, Cloud Functions, or i18n.

Why use Fireact Builder on TypingMind?

Because you install it once and use it with any model. Fireact Builder is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fireact Builder in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/fireact-dev/main/tree/main/create-fireact-app/templates/.claude/skills/fireact-builder. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Fireact Builder?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fireact Builder?

As many as you like. As long as a model supports skills, you can use Fireact Builder with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fireact Builder AI skill free?

Yes. It is published on GitHub by fireact-dev under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇