Introduction¶
Once test code is ready, you often need to maintain a separate pipeline: GitHub Actions workflows, Jenkins’ Jenkinsfile, GitLab’s .gitlab-ci.yml, and so on. Each platform has its own syntax and secrets location, so changing a test strategy frequently requires consulting multiple documentation pages to tweak YAML. Below we introduce cicd-pipeline-skill provided by TestMu AI (formerly LambdaTest) in the agent-skills repository: it turns “generating CI/CD configurations for test automation” into an Agent Skill, letting coding assistants follow a standardized pattern to output production-ready configurations whenever users mention CI/CD, pipelines, or specific platforms, with optional integration with TestMu AI cloud testing.
What Is This¶
cicd-pipeline-skill is an Agent Skill aimed at DevOps / QA teams. Its metadata version is 1.0, authored by TestMu AI and licensed under MIT. The primary output languages are YAML (and Jenkins’ Groovy), and it falls under the devops category.
Official description: Generate CI/CD pipeline configurations for test automation, supporting GitHub Actions, Jenkins, GitLab CI, and Azure DevOps, and including TestMu AI cloud integration. Typical trigger words include: CI/CD, pipeline, GitHub Actions, Jenkins, GitLab CI, Azure DevOps, and automated testing pipeline.
Source code and documentation for the Skill are located at https://github.com/LambdaTest/agent-skills/tree/main/cicd-pipeline-skill. For advanced patterns, troubleshooting, and best practices, refer to reference/playbook.md within that directory (mentioned here only as a reference; not elaborated in this article).
Core Features¶
Multi-Platform Pipeline Templates (Core Patterns)¶
The Skill embeds the core idioms of each platform, allowing the assistant to align generated configurations with these patterns.
GitHub Actions (example path: .github/workflows/test.yml): On push / pull_request triggers, it installs Node 20, runs npm ci, and installs Playwright dependencies; first it runs the local Chromium project, then a Playwright project on the TestMu AI cloud (using the LT_USERNAME and LT_ACCESS_KEY secrets), and under the always condition uploads the test-results/ artifacts.
Jenkins (Jenkinsfile): It reads lt-username and lt-access-key from the Credentials store, installs dependencies in separate stages; the test stage runs Unit (jest), E2E (playwright), and Cloud (Playwright projects tagged with @lambdatest) in parallel; the post block collects JUnit reports and sends an email on failure (the example recipient is a placeholder address).
GitLab CI (.gitlab-ci.yml): In the install stage it runs npm ci and caches node_modules/; in the test stage it uses a matrix to parallelize chromium, firefox, and webkit, producing JUnit reports and test-results/.
The Quick Reference in the materials also lists the Azure DevOps file azure-pipelines.yml, with secrets stored in Library → Variable Groups; support is equivalent to the other three platforms, but the captured snippets do not include a complete Azure YAML example—rely on the Skill description and Quick Reference when using it.
Secrets and Configuration File Mapping¶
| CI System | Configuration File | Secrets Location |
|---|---|---|
| GitHub Actions | .github/workflows/test.yml |
Settings → Secrets |
| Jenkins | Jenkinsfile |
Credentials store |
| GitLab CI | .gitlab-ci.yml |
Settings → CI/CD → Variables |
| Azure DevOps | azure-pipelines.yml |
Library → Variable Groups |
Cloud-testing related environment variables in the examples are LT_USERNAME and LT_ACCESS_KEY (GitHub Actions uses secrets; Jenkins binds credentials to the same-named environment variables).
Installation and Activation¶
The Skill is distributed with the LambdaTest/agent-skills repository. The official setup prerequisites include Node.js and npm (latest stable), an AI coding assistant (the documentation lists Claude Code, GitHub Copilot, Cursor, Gemini CLI, etc.), and a TestMu AI account username and access key.
1. Install the agent-skills Toolchain¶
Inside the cloned agent-skills repository directory, or via npx as documented, add the entire skill set:
git clone https://github.com/LambdaTest/agent-skills && cd agent-skills
npx agentskillsforall add https://github.com/LambdaTest/agent-skills.git
To install only this Skill, use the --skill parameter (the skill directory name is cicd-pipeline-skill), just like with other skills in the same repository:
npx agentskillsforall add https://github.com/LambdaTest/agent-skills.git --skill cicd-pipeline-skill
List all skills in the repository:
npx agentskillsforall list https://github.com/LambdaTest/agent-skills.git
For fuller integration steps with Cursor and other assistants, see the TestMu AI Agent Skills documentation. When the materials do not separately list installation differences for Cursor and Claude Code, defer to that documentation and the agentskillsforall command.
2. Configure TestMu AI Credentials (Required for Cloud Testing)¶
macOS / Linux:
export LT_USERNAME="YOUR_USERNAME"
export LT_ACCESS_KEY="YOUR_ACCESS_KEY"
Windows:
set LT_USERNAME="YOUR_USERNAME"
set LT_ACCESS_KEY="YOUR_ACCESS_KEY"
If the local application under test requires tunnel access, set tunnel: true in capabilities and configure the TestMu AI Tunnel according to the platform documentation (support documents are linked separately for Windows / macOS / Linux).
Typical Usage¶
After installing and configuring credentials, simply describe the target platform and test stack to the assistant in natural language. Example phrasings provided by the parent repository (can be adapted to CI/CD scenarios):
Write Playwright tests for the login page and run them on TestMu AI cloud (Chrome + Firefox)
Create JUnit 5 tests for the payments service with Mockito and GitHub Actions CI
Using the Skill’s trigger words, a closer phrasing might be: generate a GitHub Actions workflow for a Playwright project that includes local Chromium and TestMu AI cloud Windows 11 Chrome; or generate a GitLab CI matrix to run multiple browsers.
The assistant’s output should align with the Core Patterns in the Skill. Example GitHub Actions cloud-test step (secret names and project strings per the official snippet):
- run: npx playwright test --project="chrome:latest:Windows 11@lambdatest"
env:
LT_USERNAME: ${{ secrets.LT_USERNAME }}
LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}
After generation, place the file at the path indicated in the Quick Reference, and configure LT_USERNAME and LT_ACCESS_KEY in the Secrets / Variables / Credentials of the respective platform (or Jenkins credentials IDs lt-username and lt-access-key).
Use Cases and Notes¶
Who it’s for: Teams already using Playwright, Jest, etc., for test automation who need to implement pipelines on one or more of GitHub Actions / Jenkins / GitLab CI / Azure DevOps; QA / platform engineers who want to add TestMu AI cloud parallelism and multi-browser matrices in their pipelines.
Usage notes:
- The Skill focuses on “generating configurations” and built-in patterns; it does not replace your repository’s existing branch strategies, approval rules, or self-hosted runner policies. You still need to review YAML according to team standards after generation.
- Update the Jenkins example’s failure-notification email recipient and
parallelstage naming to match real project information. - Azure DevOps is documented in the Quick Reference regarding file paths and secrets locations. For a complete pipeline structure, consult the Skill’s
reference/playbook.mdor explicitly specify Azure task types to the assistant (the captured material does not provide a full sample). - TestMu AI evolved from the LambdaTest brand on January 12, 2026; existing
LT_*variables and integrations such as@lambdatestPlaywright projects remain available as described in the official documentation.
Summary¶
cicd-pipeline-skill converges cross-platform testing pipelines from “consult docs and piece together YAML” into a reusable Skill pattern: there is a mapping table of configuration paths and secret locations for the four CI systems, and ready-made snippets for running Playwright locally and on the TestMu AI cloud within the same workflow. If you use assistants like Cursor to maintain testing and DevOps, you can install the Skill from the official repository, configure credentials per the documentation, and then describe your pipeline requirements in natural language.
Official location: https://github.com/LambdaTest/agent-skills/tree/main/cicd-pipeline-skill