/cicd-integration
Generate CI/CD pipeline configurations that automate design system quality checks — token validation, component linting, visual regression, accessibility scanning, and release gating. Produces ready-to-use pipeline files for GitHub Actions, GitLab CI, CircleCI, or Bitbucket
$ npx -y skills add murphytrueman/design-system-ops --skill cicd-integration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/cicd-integration
Context preview
The summary Claude sees to decide when to auto-load this skill.
Generate CI/CD pipeline configurations that automate design system quality checks — token validation, component linting, visual regression, accessibility scanning, and release gating. Produces ready-to-use pipeline files for GitHub Actions, GitLab CI, CircleCI, or Bitbucket
SKILL.md
cicd-integration.SKILL.mdname: cicd-integration
description: "Generate CI/CD pipeline configurations that automate design system quality checks — token validation, component linting, visual regression, accessibility scanning, and release gating. Produces ready-to-use pipeline files for GitHub Actions, GitLab CI, CircleCI, or Bitbucket Pipelines, configured to enforce the standards that audit skills check manually. Trigger when someone says: set up CI for the design system, automate these checks, add pipeline for tokens, create GitHub Action for design system, CI/CD for components, automate the release process, continuous integration for design system, how do I automate what the audit found, quality gates in CI, or anything about automating design system quality checks in a pipeline. Do NOT trigger for running a manual audit — use the specific audit skill for that. Do NOT trigger for generating a release checklist — use change-communication for that."
references:
- ../../knowledge-notes/component-governance.md
- ../../knowledge-notes/token-architecture.md
- ../../knowledge-notes/design-to-code-contract.md
CI/CD Integration
A skill for generating pipeline configurations that automate the quality checks Design System Ops skills perform manually. This bridges the gap between "here are the problems the audit found" and "these problems can never recur because the pipeline catches them."
**Output type:** File creation. This skill produces pipeline configuration files (YAML), scripts, and documentation. It does not execute pipelines — it generates the configuration that teams add to their repository.
---
Why this exists
Every audit skill in Design System Ops finds problems. Some of those problems should never have reached a human reviewer because they are mechanically detectable: a hardcoded hex value in a component file, a token alias that references a non-existent token, a component export missing from the barrel file, an accessibility violation that an automated scanner would catch.
CI/CD Integration converts audit findings into automated pipeline checks. The goal is not to replace the audit skills — those handle nuance, context, and cross-skill synthesis that pipelines cannot. The goal is to automate the mechanical subset so that audits focus on the problems only humans can evaluate.
---
Configuration
Check for `.ds-ops-config.yml` in the project root:
cicd:
platform: "github-actions" # github-actions, gitlab-ci, circleci, bitbucket
package_manager: "npm" # npm, yarn, pnpm
node_version: "20" # Node.js version
test_framework: "jest" # jest, vitest, playwright
component_library_path: "packages/components"
token_path: "packages/tokens"
monorepo: true # Whether the project uses a monorepo structure
triggers:
- "push to main"
- "pull request to main"If no configuration exists, ask for: 1. CI/CD platform (default: GitHub Actions) 2. Package manager (default: npm) 3. Whether the project is a monorepo 4. Paths to token files and component files
---
Step 0: Assess what to automate
Before generating any pipeline configuration, determine which checks are worth automating. Not everything should be in CI.
Automation decision matrix
| Check type | Automate in CI? | Why | |---|---|---| | Token naming violations | Yes | Mechanical — regex patterns, no judgment needed | | Token circular references | Yes | Graph traversal — computers are better at this | | Hardcoded colour values | Yes | grep/AST — exact match detection | | Component prop type checking | Yes | TypeScript/Flow already does this | | Accessibility (automated subset) | Yes | axe-core catches 30–40% of WCAG violations | | Visual regression | Yes | Pixel comparison catches unintended changes | | Component export completeness | Yes | AST/barrel file check | | Bundle size tracking | Yes | Byte comparison — pure measurement | | Token coverage gaps | Partial | Can check primitive→semantic mapping exists, cannot judge if mappings are correct | | Component API consistency | Partial | Can lint prop naming patterns, cannot judge API design quality | | Documentation completeness | Partial | Can check if docs exist, cannot judge if they are good | | Cross-component pattern compliance | No | Requires too much context and judgment | | Naming convention quality | No | Conventions need human validation first, then automation | | Usage guideline adherence | No | Requires consuming-app context that CI rarely has |
Rule of thumb
If the skill's finding includes a specific, unambiguous rule (e.g., "tokens must use kebab-case", "no hex values outside token files"), it can be automated. If the finding requires judgment (e.g., "this token naming could be clearer"), it cannot.
---
Step 1: Map audit findings to pipeline checks
For each audit finding category, determine the automated check:
Token checks
| Finding category | Pipeline check | Tool | |---|---|---| | Naming violations | Lint token names against convention regex | Custom script or Style Dictionary validator | | Circular references | Build-time alias resolution check | Style Dictionary build (fails on circular refs) | | Orphaned tokens | Cross-reference token definitions with usage in component files | Custom script: grep token names across component source | | Missing semantic tier | Check that every component token reference resolves through a semantic alias | Custom script or Style Dictionary referencing | | DTCG format compliance | Validate token files against DTCG schema | JSON Schema validation |
Component checks
| Finding category | Pipeline check | Tool | |---|---|---| | Export completeness | Verify barrel file exports match component directories | Custom script: compare fs listing with exports | | Prop type safety | TypeScript strict mode compilation | `tsc --noEmit` | | Accessibility | Run axe-core on rendered components | `@axe-core/cli`, `jest-axe`,
Read more
name: cicd-integration description: "Generate CI/CD pipeline configurations that automate design system quality checks — token validation, component linting, visual regression, accessibility scanning, and release gating. Produces ready-to-use pipeline files for GitHub Actions, GitLab CI, CircleCI, or Bitbucket Pipelines, configured to enforce the standards that audit skills check manually. Trigger when someone says: set up CI for the design system, automate these checks, add pipeline for tokens, create GitHub Action for design system, CI/CD for components, automate the release process, continuous integration for design system, how do I automate what the audit found, quality gates in CI, or anything about automating design system quality checks in a pipeline. Do NOT trigger for running a manual audit — use the specific audit skill for that. Do NOT trigger for generating a release checklist — use change-communication for that." references: - ../../knowledge-notes/component-governance.md - ../../knowledge-notes/token-architecture.md - ../../knowledge-notes/design-to-code-contract.md
CI/CD Integration
A skill for generating pipeline configurations that automate the quality checks Design System Ops skills perform manually. This bridges the gap between "here are the problems the audit found" and "these problems can never recur because the pipeline catches them."
**Output type:** File creation. This skill produces pipeline configuration files (YAML), scripts, and documentation. It does not execute pipelines — it generates the configuration that teams add to their repository.
---
Why this exists
Every audit skill in Design System Ops finds problems. Some of those problems should never have reached a human reviewer because they are mechanically detectable: a hardcoded hex value in a component file, a token alias that references a non-existent token, a component export missing from the barrel file, an accessibility violation that an automated scanner would catch.
CI/CD Integration converts audit findings into automated pipeline checks. The goal is not to replace the audit skills — those handle nuance, context, and cross-skill synthesis that pipelines cannot. The goal is to automate the mechanical subset so that audits focus on the problems only humans can evaluate.
---
Configuration
Check for `.ds-ops-config.yml` in the project root:
cicd:
platform: "github-actions" # github-actions, gitlab-ci, circleci, bitbucket
package_manager: "npm" # npm, yarn, pnpm
node_version: "20" # Node.js version
test_framework: "jest" # jest, vitest, playwright
component_library_path: "packages/components"
token_path: "packages/tokens"
monorepo: true # Whether the project uses a monorepo structure
triggers:
- "push to main"
- "pull request to main"If no configuration exists, ask for: 1. CI/CD platform (default: GitHub Actions) 2. Package manager (default: npm) 3. Whether the project is a monorepo 4. Paths to token files and component files
---
Step 0: Assess what to automate
Before generating any pipeline configuration, determine which checks are worth automating. Not everything should be in CI.
Automation decision matrix
| Check type | Automate in CI? | Why | |---|---|---| | Token naming violations | Yes | Mechanical — regex patterns, no judgment needed | | Token circular references | Yes | Graph traversal — computers are better at this | | Hardcoded colour values | Yes | grep/AST — exact match detection | | Component prop type checking | Yes | TypeScript/Flow already does this | | Accessibility (automated subset) | Yes | axe-core catches 30–40% of WCAG violations | | Visual regression | Yes | Pixel comparison catches unintended changes | | Component export completeness | Yes | AST/barrel file check | | Bundle size tracking | Yes | Byte comparison — pure measurement | | Token coverage gaps | Partial | Can check primitive→semantic mapping exists, cannot judge if mappings are correct | | Component API consistency | Partial | Can lint prop naming patterns, cannot judge API design quality | | Documentation completeness | Partial | Can check if docs exist, cannot judge if they are good | | Cross-component pattern compliance | No | Requires too much context and judgment | | Naming convention quality | No | Conventions need human validation first, then automation | | Usage guideline adherence | No | Requires consuming-app context that CI rarely has |
Rule of thumb
If the skill's finding includes a specific, unambiguous rule (e.g., "tokens must use kebab-case", "no hex values outside token files"), it can be automated. If the finding requires judgment (e.g., "this token naming could be clearer"), it cannot.
---
Step 1: Map audit findings to pipeline checks
For each audit finding category, determine the automated check:
Token checks
| Finding category | Pipeline check | Tool | |---|---|---| | Naming violations | Lint token names against convention regex | Custom script or Style Dictionary validator | | Circular references | Build-time alias resolution check | Style Dictionary build (fails on circular refs) | | Orphaned tokens | Cross-reference token definitions with usage in component files | Custom script: grep token names across component source | | Missing semantic tier | Check that every component token reference resolves through a semantic alias | Custom script or Style Dictionary referencing | | DTCG format compliance | Validate token files against DTCG schema | JSON Schema validation |
Component checks
| Finding category | Pipeline check | Tool | |---|---|---| | Export completeness | Verify barrel file exports match component directories | Custom script: compare fs listing with exports | | Prop type safety | TypeScript strict mode compilation | `tsc --noEmit` | | Accessibility | Run axe-core on rendered components | `@axe-core/cli`, `jest-axe`,
Showing the first part of this file.
Claude Code skills for the work that keeps a design system alive.
Repo: murphytrueman/design-system-ops
Other skills on design-system-ops.
- /accessibility-per-component
Run an accessibility audit on a specific design system component. Trigger when someone says: accessibility check, a11y audit, WCAG compliance, is this accessible, check accessibility, does this meet WCAG, screen reader support, keyboard navigation check, or anything about
Open skill - /adoption-report
Produce a design system adoption report separating coverage from actual adoption, with trend direction and risk flags. Trigger when someone says: adoption report, how much is the system being used, usage metrics, adoption status, coverage report, which teams are using the
Open skill - /ai-component-description
Generate AI-optimised text descriptions for components, formatted for Figma's MCP server and LLM consumption. This produces prose descriptions in a six-section format (purpose, props, anti-patterns, composition, accessibility, examples), NOT JSON schemas or structured data
Open skill - /backlog-generator
Transform audit findings into sprint-ready work items with effort estimates, acceptance criteria, and stakeholder-friendly rationale. This converts existing findings into tickets, NOT the process for contributing new components to the system. Trigger when someone says: generate
Open skill - /change-communication
Produce a communication package for a design system change — release notes, migration guide, and team announcement. This produces communication artefacts for changes that have already been decided, NOT the deprecation lifecycle itself. Trigger when someone says: communicate this
Open skill - /codebase-index
Generate a pre-computed component index from a design system codebase — YAML infrastructure files containing a component inventory, relationship graph, and summary statistics that AI agents and MCP servers consume. This produces machine-readable index files in .ai/index/, NOT a
Open skill

