Overview
Connect Devin to Figma through an MCP integration and have it build a WordPress theme for a marketing site page by page, checking its work in its own browser and returning pull requests for review.
Problem or Objective
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Devin · Figma · WordPress
- Prerequisites
- Devin access, a Figma file you can share with the integration, a theme repository, and a staging WordPress site.
How It Works
Prepare a repository for the theme, with a README explaining how to run WordPress locally, for example with Docker. In Devin, connect the Figma integration from the MCP Marketplace so it can read the design file. Split the site into focused sessions instead of one large request: first the header, footer and type styles, then each page template, then forms and responsive layouts. For each session, give Devin the Figma frame links, the success criteria, such as matching spacing at desktop and mobile widths and passing a theme check, and ask it to run the site locally, compare its screenshots with the frames, and open a pull request. Review every pull request yourself, test on a staging site, and only then publish.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Devin.
- Connect the toolsConnect the tools this workflow relies on: Devin, Figma, WordPress.
- Check the prerequisitesDevin access, a Figma file you can share with the integration, a theme repository, and a staging WordPress site.
- Gather your detailsCollect what the prompt asks for: Theme repository, Part of the site for this session, Figma frame links, Screen widths to check, Success criteria.
- Run the starter promptPaste the starter prompt below into Devin and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.devin.ai before you rely on it.
Practical Starter Prompt: Build one section of the WordPress theme
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
In the repository [Theme repository], build the [Part of the site for this session] of our WordPress theme from these Figma frames: [Figma frame links]. Run WordPress locally as described in the README, compare your screenshots at [Screen widths to check] with the frames, and meet these criteria: [Success criteria]. Open a pull request with the screenshots and a list of any differences you could not resolve. Do not merge it and do not deploy anywhere; I will review and approve it.Run one session per section, review each pull request yourself, and test on a staging site before you approve publishing to the live site.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Cognition's guide says Devin can connect to Figma and other tools through the MCP Marketplace and read designs, has a desktop environment with a shell, IDE and browser where it can run an app, take screenshots and check its own changes before opening a PR, and works best on tasks split into smaller sessions. No cited page mentions WordPress, so whether your WordPress setup runs in Devin's environment and how closely the result matches the design are untested here.
Limitations and Considerations
If your company already works with Cognition, you can request access from your administrator or Cognition; otherwise check how to get access, and check your plan and usage costs before running many sessions. Check that your WordPress setup can run in Devin's environment and what access the Figma integration needs. Review each pull request for security issues, such as unescaped output in templates, and check performance and accessibility yourself. Use licensed fonts and images. Never let it deploy to the live site without your approval. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- When to Use Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Connect Devin to Datadog, Sentry, databases, Figma, Notion, Stripe, and hundreds of other tools via the MCP Marketplace. Devin can investigate production issues, query data, read designs, and more, all within a single session.
- Devin has a full desktop environment with a shell, IDE, and browser. It can spin up your app locally, click through the UI, take screenshots, record screen recordings, and QA its own changes before opening a PR.
- As a rule of thumb: if a task would take you three hours or less, Devin can most likely do it. For longer tasks, break them into smaller sessions.
- Introducing Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Devin is designed to be a conversational user interface, and allows you to follow and take over Devin's development process in the embedded IDE.