agentleFS
buildpad-aibuildpad-ai/skills/add-buildpad/SKILL.md

add-buildpad

Skill1 starsChanged 4 months agoMITView on GitHub

Add Buildpad UI components to a DaaS project via CLI. Installs Copy & Own components from the registry including input, selection, boolean, datetime, media, rich-text, relations, layout, collection, and workflow components. Use when the user says add-buildpad, install components, or needs Buildpad UI.

  • Installs packages

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before running any CLI commands, verify required tools:

    line 13
  2. Very specific:

    If pnpm install doesn't resolve everything after CLI add:

    line 104

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Add Buildpad Components

Install Buildpad UI components using the CLI. Components are copied as source code to your project (Copy & Own model).

Prerequisites Check (MANDATORY)

Before running any CLI commands, verify required tools:

node --version && pnpm --version && npx --version
ToolMin VersionInstall Guide
Node.jsv24 LTShttps://nodejs.org/en/download — macOS: brew install node@24; Linux: fnm install 24; Windows: installer or winget install OpenJS.NodeJS.LTS
pnpmv10+https://pnpm.io/installation — corepack enable && corepack prepare pnpm@latest --activate
npx(bundled)Comes with Node.js — reinstall Node if missing

If any tool is missing, install it before proceeding. See create-project prerequisites for detailed OS-specific instructions.

CRITICAL: Never Create Components Manually

❌ NEVER CREATE MANUALLY:
├── components/ui/*.tsx          # ALL UI components — from CLI only
├── lib/buildpad/              # ENTIRE folder — from CLI only
│   ├── services/                # api-request, items, fields, collections
│   ├── hooks/                   # useRelationM2M, useFiles, etc.
│   ├── types/                   # Field, Collection, File types
│   ├── utils/                   # utilities
│   └── ui-form/                 # VForm, FormField components
└── buildpad.json              # Created by CLI init

Installation Commands

# Via npx (no local clone needed)
npx @buildpad/cli@latest add --all --with-api --cwd /path/to/project

# Individual components
npx @buildpad/cli@latest add input select-dropdown datetime toggle --cwd /path/to/project

Component Categories

CategoryComponents
Inputinput, textarea, input-code, input-block-editor, tags, map, map-with-real-map
Selectionselect-dropdown, select-radio, select-multiple-checkbox, select-multiple-checkbox-tree, select-multiple-dropdown, autocomplete-api, collection-item-dropdown, select-icon
Booleanboolean, toggle
DateTimedatetime
Mediafile, file-image, files, upload, color
Rich-textrich-text-html, rich-text-markdown
Relationslist-m2m, list-m2o, list-o2m, list-m2a
Layoutdivider, notice, group-detail, slider
Collectionsvform, collection-form, vtable, collection-list, filter-panel, content-navigation, content-layout, save-options
Workflowworkflow-button
Modulesfiles-routes (+ file-manager), form-builder forms-routes — full multi-screen experiences, scaffolded whole (see below)

Opt-in Modules (whole experiences)

Beyond individual components, two ready-made modules install their own page shells, components, and hooks in one command. Use the dedicated skills — do not compose these by hand:

# Files library — /files (FileManager) + /files/[id] (FileDetail)
npx @buildpad/cli@latest add files-routes --cwd /path/to/project        # → /add-files

# Dynamic Form Builder — /forms author + fill (FormBuilder + DynamicForm)
npx @buildpad/cli@latest add form-builder forms-routes --cwd /path/to/project  # → /create-form-builder

Both also need the DaaS proxy routes: npx @buildpad/cli@latest add api-routes --cwd /path/to/project. See add-files and create-form-builder.

The ui.buildpad.ai docs use the shorthand buildpad add <targets> (global install); npx @buildpad/cli@latest add <targets> is the equivalent no-install form.

Post-Install Validation

# 1. Check installation status
npx @buildpad/cli@latest status --cwd /path/to/project

# 2. Fix any untransformed @buildpad/* imports
grep -r "from '@buildpad/" components/ lib/ 2>/dev/null

# 3. Run validation
npx @buildpad/cli@latest validate --cwd /path/to/project

# 4. Auto-fix common issues
npx @buildpad/cli@latest fix --cwd /path/to/project

# 5. Build to verify
cd /path/to/project && pnpm build

Key Dependencies

If pnpm install doesn't resolve everything after CLI add:

pnpm add clsx tailwind-merge @mantine/core @mantine/hooks @mantine/dates @mantine/dropzone @mantine/tiptap @tabler/icons-react dayjs @supabase/ssr @supabase/supabase-js

References

  • Buildpad component guide

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.