Skip to content

UX Design Patrol

Detect UI/UX design drift in recent commits and file a consolidation report.

Workflow source: gh-aw-ux-design-patrol.md

How it works

Scans recent commits (7-day lookback by default) for user-facing patterns that duplicate or conflict with patterns already established elsewhere in the codebase. Checks output formatting, prompts, CLI flags, status representations, help text, and other user-visible elements before filing a low-noise, high-signal consolidation report.

Quick Install

mkdir -p .github/workflows && curl -sL \
  https://raw.githubusercontent.com/elastic/ai-github-actions/v0/gh-agent-workflows/ux-design-patrol/example.yml \
  -o .github/workflows/ux-design-patrol.yml

Trigger

Event Schedule
schedule Weekdays
workflow_dispatch Manual

Inputs

Input Description Required Default
additional-instructions Repo-specific instructions appended to the agent prompt No ""
setup-commands Shell commands run before the agent starts No ""
lookback-window Git lookback window for detecting recent commits (e.g. 7 days ago, 14 days ago) No "7 days ago"
allowed-bot-users Allowlisted bot actor usernames (comma-separated) No github-actions[bot]

Safe Outputs

  • create-issue — file a UX design drift report (max 1, auto-closes older reports)

Example Workflow

name: UX Design Patrol
on:
  schedule:
    - cron: "0 13 * * 1-5"
  workflow_dispatch:

permissions:
  contents: read
  issues: write
  pull-requests: read

jobs:
  run:
    uses: elastic/ai-github-actions/.github/workflows/gh-aw-ux-design-patrol.lock.yml@v0
    secrets:
      COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}