Skip to content

LambdaTest/agent-skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TestMu AI Skills - Production-Grade Agent Skills for Test Automation

Battle-tested Agent Skills for Claude Code, Copilot, Cursor, Gemini CLI & more - covering every major test automation framework across 15+ languages.

License: MIT Skills Languages Agent Skills Standard LambdaTest


What Is This?

TestMu AI Skills is a curated collection of Agent Skills that teach AI coding assistants how to write production-grade test automation. Each skill is a self-contained package of instructions, code patterns, debugging guides, and CI/CD configurations for a specific testing framework.

Instead of getting generic test code, your AI agent becomes a Senior QA automation architect that knows:

  • The right project structure for each framework
  • Correct dependency versions and configurations
  • Both local and cloud (TestMu AI) execution patterns
  • Common pitfalls and how to debug them
  • CI/CD integration with GitHub Actions
  • Best practices that ship in real-world codebases

Quick Start

Option 1: Install a Single Skill

# Clone the repo and copy the skill you need
git clone https://github.com/LambdaTest/agent-skills.git
cp -r agent-skills/selenium-automation-skill .claude/skills/

# Or for Cursor / Copilot
cp -r agent-skills/playwright-automation-skill .cursor/skills/

Option 2: Install All Skills

# Claude Code
git clone https://github.com/LambdaTest/agent-skills.git .claude/skills/agent-skills

# Gemini CLI
git clone https://github.com/LambdaTest/agent-skills.git .gemini/skills/agent-skills

# Cursor
git clone https://github.com/LambdaTest/agent-skills.git .cursor/skills/agent-skills

# Universal (.agent/ works with most tools)
git clone https://github.com/LambdaTest/agent-skills.git .agent/skills/agent-skills

Then just ask your AI assistant naturally:

"Write Playwright tests for the login page and run them on TestMu AI cloud (Chrome + Firefox)"

"Set up Cypress component tests for the React dashboard and upload screenshots on failure"

"Create JUnit 5 tests for the payments service with Mockito and GitHub Actions CI"

"Run Playwright tests locally against http://localhost:3000 with trace and video enabled"


πŸ”Œ Compatibility

These skills follow the open Agent Skills Standard (SKILL.md format):

Tool Type Support Installation Path
Claude Code CLI βœ… Full .claude/skills/
GitHub Copilot Extension βœ… Full .github/skills/
Cursor IDE βœ… Full .cursor/skills/
Gemini CLI CLI βœ… Full .gemini/skills/
Codex CLI CLI βœ… Full .codex/skills/
OpenCode CLI βœ… Full .opencode/skills/
Claude.ai Web βœ… Upload Settings β†’ Features β†’ Skills

Features & Categories

Category Count Frameworks
🌐 E2E / Browser Testing 15 Selenium, Playwright, Cypress, WebdriverIO, Puppeteer, TestCafe, Nightwatch.js, Capybara, Geb, Selenide, NemoJS, Protractor, Codeception, Laravel Dusk, Robot Framework
πŸ§ͺ Unit Testing 15 Jest, JUnit 5, pytest, TestNG, Vitest, Mocha, Jasmine, Karma, xUnit, NUnit, MSTest, RSpec, PHPUnit, Test::Unit, unittest
πŸ“± Mobile Testing 5 Appium, Espresso, XCUITest, Flutter, Detox
πŸ“‹ BDD Testing 7 Cucumber, SpecFlow, Serenity BDD, Behave, Behat, Gauge, Lettuce
πŸ‘οΈ Visual Testing 1 SmartUI
☁️ Cloud Testing 1 HyperExecute
πŸ”„ Migration 1 Selenium ↔ Playwright, Puppeteer, Cypress
πŸ”„ DevOps / CI/CD 1 GitHub Actions / Jenkins / GitLab CI

Languages Covered

Java Β· Python Β· JavaScript Β· TypeScript Β· C# Β· Ruby Β· PHP Β· Kotlin Β· Swift Β· Objective-C Β· Dart Β· Groovy Β· YAML Β· XML Β· Robot Framework


Full Skill Registry (46/46)

Skill Languages Category Description
Selenium Skill Java, Python, JS, C#, Ruby E2E Selenium WebDriver with cross-browser cloud support
Playwright Skill JS, TS, Python, Java, C# E2E Playwright browser automation with API mocking
Cypress Skill JS, TS E2E Cypress E2E and component testing
Jest Skill JS, TS Unit Jest unit/integration tests with mocking
JUnit 5 Skill Java Unit JUnit 5 with parameterized tests and extensions
pytest Skill Python Unit pytest with fixtures, parametrize, and plugins
TestNG Skill Java Unit TestNG with data providers and parallel execution
WebdriverIO Skill JS, TS E2E WebdriverIO with page objects and cloud integration
Appium Skill Java, Python, JS, Ruby, C# Mobile Appium mobile testing for iOS and Android
Puppeteer Skill JS, TS E2E Puppeteer Chrome automation
Test Framework Migration Skill JS, TS, Java, Python, C# Migration Convert tests between Selenium, Playwright, Puppeteer, Cypress
Mocha Skill JS, TS Unit Mocha with Chai assertions
Vitest Skill JS, TS Unit Vitest for Vite projects
Cucumber Skill Java, JS, Ruby, TS BDD Cucumber Gherkin BDD
Espresso Skill Java, Kotlin Mobile Espresso Android UI testing
Nightwatch.js Skill JS, TS E2E Nightwatch.js browser automation
Flutter Testing Skill Dart Mobile Flutter widget and integration tests
XCUITest Skill Swift, Obj-C Mobile XCUITest iOS UI testing
Detox Skill JS, TS Mobile Detox React Native E2E testing
TestCafe Skill JS, TS E2E TestCafe cross-browser testing
xUnit Skill C# Unit xUnit.net for .NET
RSpec Skill Ruby Unit RSpec with shared examples
NUnit Skill C# Unit NUnit for .NET
Karma Skill JS, TS Unit Karma test runner
MSTest Skill C# Unit MSTest for .NET
Jasmine Skill JS, TS Unit Jasmine BDD-style testing
PHPUnit Skill PHP Unit PHPUnit with data providers
Robot Framework Skill Python, Robot E2E Robot Framework keyword-driven testing
Behat Skill PHP BDD Behat BDD for PHP
Behave Skill Python BDD Behave Python BDD
Capybara Skill Ruby E2E Capybara acceptance testing
Codeception Skill PHP E2E Codeception full-stack PHP testing
Gauge Skill Java, Python, JS, Ruby, C# BDD Gauge specification-based testing
Geb Skill Groovy E2E Geb Groovy browser automation
Laravel Dusk Skill PHP E2E Laravel Dusk browser testing
Lettuce Skill Python BDD Lettuce Python BDD testing
Nemo.js Skill JS E2E Nemo.js PayPal browser automation
Protractor Skill JS, TS E2E Protractor Angular E2E testing
Selenide Skill Java E2E Selenide fluent Selenium wrapper
Serenity BDD Skill Java BDD Serenity BDD with Screenplay pattern
SmartUI Skill JS, TS, Java Visual SmartUI visual regression testing
SpecFlow Skill C# BDD SpecFlow .NET BDD with Gherkin
Test::Unit Skill Ruby Unit Test::Unit Ruby testing
unittest Skill Python Unit Python unittest with mocking
HyperExecute Skill YAML Cloud HyperExecute cloud test orchestration
CI/CD Pipeline Skill YAML DevOps CI/CD pipeline integration

Skill Architecture

Each skill follows the Agent Skills Standard with progressive disclosure:

selenium-automation-skill/
β”œβ”€β”€ SKILL.md                          # Core instructions (<500 lines)
β”‚   └── Workflow + decision trees     # When/how to use the skill
└── reference/
    β”œβ”€β”€ playbook.md                   # Complete implementation guide
    β”‚   β”œβ”€β”€ Project setup & dependencies
    β”‚   β”œβ”€β”€ Code patterns & page objects
    β”‚   β”œβ”€β”€ Cloud integration (LambdaTest)
    β”‚   β”œβ”€β”€ CI/CD configuration
    β”‚   β”œβ”€β”€ Debugging table (12+ common problems)
    β”‚   └── Best practices checklist (14+ items)
    β”œβ”€β”€ advanced-patterns.md          # Advanced topics
    └── cloud-integration.md          # Cloud-specific patterns

How it works:

  1. Metadata (name + description) is always loaded β€” ~100 tokens per skill
  2. SKILL.md body loads when triggered β€” core workflow and patterns
  3. Reference files load on-demand β€” detailed code, debugging, CI/CD

Cloud Testing with TestMu AI

Skills that support browser/device testing include TestMu AI cloud integration out of the box.

Get Your TestMu AI Credentials

Make sure you have your TestMu AI credentials with you to run test automation scripts on TestMu AI Selenium Grid. You can obtain these credentials from the TestMu AI Automation Dashboard or through TestMu AI Profile.

Set TestMu AI USERNAME and ACCESS_KEY in environment variables.

  • Copy .env.example to .env and fill in your credentials.

or add credentials directly from your terminal:

For Linux/macOS:

export LT_USERNAME="YOUR_USERNAME"
export LT_ACCESS_KEY="YOUR_ACCESS_KEY"

For Windows:

set LT_USERNAME="YOUR_USERNAME"
set LT_ACCESS_KEY="YOUR_ACCESS_KEY"

Run Tests on the Cloud

Then ask your AI assistant naturally:

"Run my Selenium tests on Chrome, Firefox, and Safari on TestMu AI with OS versions Windows 11, macOS Sonoma, and Ubuntu 22.04"

"Execute Playwright tests across 5 browsers in parallel on TestMu AI, tag the build as 'release-1.8.2', and capture traces on failure"

"Set up Cypress on TestMu AI with video recording and JUnit reports, and upload artifacts to the dashboard"

"Test my localhost app through the TestMu AI tunnel (http://localhost:3000) using Playwright and validate login + checkout flows"

"Run mobile web tests on real devices via TestMu AI tunnel and verify the responsive layout on iPhone 15 and Pixel 8"

View your test results, logs, and video recordings on the TestMu AI Automation Dashboard.


What Each Skill Includes

Every playbook follows a consistent structure:

Section What It Covers
Project Setup Dependencies, versions, config files, project structure
Core Patterns Essential code patterns with complete, runnable examples
Page Objects / Utilities Reusable abstractions for real-world projects
Cloud Integration TestMu AI RemoteWebDriver/capabilities configuration
CI/CD Integration GitHub Actions workflow with reports and parallel execution
Debugging Table 12+ common problems with cause β†’ fix mappings
Best Practices 14+ actionable items for production code

Repository Structure

agent-skills/
β”œβ”€β”€ README.md                  # This file
β”œβ”€β”€ LICENSE                    # MIT License
β”œβ”€β”€ CONTRIBUTING.md            # How to contribute
β”œβ”€β”€ skills_index.json          # Machine-readable skill registry
β”œβ”€β”€ scripts/
β”‚   └── validate_skills.py     # Validation script
β”œβ”€β”€ shared/
β”‚   β”œβ”€β”€ testmu-cloud-reference.md
β”‚   └── scripts/
β”œβ”€β”€ evals/                     # Evaluation test cases per skill
β”‚   └── *-evals.json
└── <skill-name>/              # 46 skill directories
    β”œβ”€β”€ SKILL.md
    └── reference/
        β”œβ”€β”€ playbook.md
        └── advanced-patterns.md

Validation

python3 scripts/validate_skills.py

Checks: YAML frontmatter, line counts, reference files, cross-references.


How to Contribute

See CONTRIBUTING.md for details.

  1. Fork the repository
  2. Create your skill directory with SKILL.md and reference/playbook.md
  3. Run python3 scripts/validate_skills.py
  4. Submit a Pull Request

Credits


License

MIT License. See LICENSE for details.

About

Agent Skills for Test Automation

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published