# Puzzle UI Expert

> The hands-on Puzzle specialist: detects installed packages and versions, verifies APIs and documentation, then implements idiomatic Puzzle code for React projects.

Puzzle UI Expert is a free AI agent skill on Agensi by Sjoerd van den Berg, in Frontend & Web Apps. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Sjoerd van den Berg](https://www.agensi.io/creators/sjoerd-van-den-berg)
- Category: [Frontend & Web Apps](https://www.agensi.io/skills/frontend-web-apps)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/puzzle-ui-expert
- Tags: react, typescript, ui-components, design-system, frontend, puzzle-ui

## About this skill

Frontend development moves too fast for static documentation to stay accurate. This skill eliminates the guesswork of working with the Puzzle UI ecosystem by verifying your specific installed versions and local project configuration before writing a single line of code.

### What it does
- **Project detection** identifies your framework, package manager, and installed Puzzle package versions from local manifests and lockfiles.
- **API verification** inspects actual type declarations and package exports to ensure imports and props are valid for your specific version.
- **Idiomatic implementation** generates React code following Puzzle UI patterns, from low-level primitives to high-level responsive pieces.
- **Layer selection** determines the correct abstraction level, choosing between theme tokens, UI components, or layout pieces based on the task.
- **Validation** runs targeted scripts, typechecks, and tests to verify that the implementation works within your environment.

### How it works
1. Provide a UI requirement or an issue you are facing with a Puzzle package.
2. The agent inspects your `package.json` and `node_modules` to establish the current project reality.
3. It cross-references your local setup with official Puzzle documentation and source code.
4. It implements the code using verified public entrypoints and semantic theme tokens.
5. It performs local validation and reports the outcome of typechecks or tests.

### Frameworks & tools
Built for React and TypeScript environments. Supports package managers like npm, pnpm, Yarn, and Bun. Specifically designed for the `@puzzle-ui` ecosystem including theme, ui, pieces, and fullstack packages.

### Why this beats prompting it yourself
Standard LLMs often hallucinate component props or import paths for fast-moving libraries like Puzzle UI. This skill forces the agent to read your actual `node_modules` and type definitions, ensuring the code matches your installed version rather than a generic training set.

### Use cases
- Scaffold a responsive landing page using `@puzzle-ui/pieces`.
- Resolve TypeScript errors related to theme tokens or component props.
- Migrate from raw CSS to semantic variables using `@puzzle-ui/theme`.
- Integrate complex components like data tables or forms while maintaining accessibility.

### Known limitations
Does not support deep-imports into internal source directories. Cannot perform visual regression testing without existing project scripts. Requires a local `package.json` for full contextual accuracy.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Puzzle UI Expert skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill handle version discrepancies compared to a standard LLM?

Traditional AI models often hallucinate props for fast-moving libraries; this skill eliminates that by actively inspecting your local `node_modules` and `package.json` to ensure code matches your exact installed version.

### Which frameworks and package managers are supported?

It is optimized for React and TypeScript environments using npm, pnpm, Yarn, or Bun, specifically targeting the `@puzzle-ui` ecosystem including theme, ui, pieces, and fullstack packages.

### Can this skill help debug existing TypeScript errors in my Puzzle UI implementation?

Yes, the agent can perform local typechecks and run your existing test suites to verify that the generated Puzzle UI components function correctly within your specific project architecture.

### Do I need to manually provide my Puzzle UI version numbers every time I use the skill?

No manual configuration is required; once activated, the skill automatically detects your project framework and package versions by reading your local manifests and lockfiles.

### Does the agent support deep-imports into internal Puzzle UI source folders?

The skill follows a 'safe-import' policy, focusing on verified public entrypoints and semantic theme tokens rather than deep-linking into internal source directories which could break on update.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
