ENGINEERING

PR gate for removed Figma components via GitLab and Slack

On each merge request, checks whether new code references Figma components that have been deprecated or removed from the library.

CategoryEngineering
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerGitLab merge request openedGitLabGitLab
  • ActionFetch deprecated/removed components from FigmaFigmaFigma
  • LogicScan MR diff for stale references; pass/fail gate
  • ActionPost blocking GitLab review commentGitLabGitLab
  • OutputPing MR author in SlackSlack

What it does

Stops drift before it merges. When a GitLab merge request opens, the workflow scans its diff for references to component names that Figma has deprecated or deleted, and if it finds any it posts a blocking review comment listing them and pings the author in Slack.

When to use it

Use this as a guardrail on active repos where the design system is still moving. Rather than cleaning up stale component usage in a later sweep, you catch it at the point of introduction, when the author still has context.

How it works

  1. 1A GitLab merge-request-opened event triggers the workflow.
  2. 2Pull the current deprecated and removed component list from Figma.
  3. 3Scan the MR diff for references to any of those names.
  4. 4A logic gate decides pass or fail based on whether stale references were found.
  5. 5On failure, post a blocking GitLab comment enumerating the offending lines.
  6. 6Ping the MR author in Slack with a link; on pass, exit quietly.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect FigmaFiles, frames, comments, assets.
  2. 2
    Connect GitLabRepos, MRs, pipelines, registry.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.