Koskamo

Generate code from Figma designs

The agent produces specific code (e.g., SwiftUI, Chakra UI, or custom components) based on the selected Figma frame, placing it in the designated project directory.

How it works

Changes data in your accountsSoftware development

The user selects a frame in Figma and provides a prompt specifying the target framework, styling system, and file path. The agent uses the Figma MCP server to read the design data and generates the corresponding code, ensuring it follows the user's codebase conventions and is placed in the correct location (e.g., src/components/ui).

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Generate code from Figma designs
Generate iOS SwiftUI code from the selected Figma frame. Implement the selected frame using Chakra UI components. Generate this using components from src/components/ui. Add this component to src/components/marketing/PricingCard.tsx. Implement this using our Stack layout component.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

The MCP server gives your agent the design data, but what your agent does with it depends on what you ask.
Write effective prompts to guide the AI | Developer Docs

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.