Agent Skill
2/7/2026skill-name
Description of what the skill does and when to use it
R
robertogallego
0GitHub Stars
1Views
npx skills add RobertoGallego/agents
SKILL.md
| Name | skill-name |
| Description | Description of what the skill does and when to use it |
name: skill-name description: Description of what the skill does and when to use it
<!-- # Skill Instructions --> <!-- Your detailed instructions, guidelines, and examples go here... Body The skill body contains the instructions, guidelines, and examples that Copilot should follow when using this skill. Write clear, specific instructions that describe: What the skill helps accomplish When to use the skill Step-by-step procedures to follow Examples of the expected input and output References to any included scripts or resources You can reference files within the skill directory using relative paths. For example, to reference a script in your skill directory, use [test script](./test-template.js). Example skills -->Web Application Testing with Playwright
This skill helps you create and run browser-based tests for web applications using Playwright.
When to use this skill
Use this skill when you need to:
- Create new Playwright tests for web applications
- Debug failing browser tests
- Set up test infrastructure for a new project
Creating tests
- Review the test template for the standard test structure
- Identify the user flow to test
- Create a new test file in the
tests/directory - Use Playwright's locators to find elements (prefer role-based selectors)
- Add assertions to verify expected behavior
Running tests
To run tests locally:
npx playwright test
To debug tests:
npx playwright test --debug
Best practices
- Use data-testid attributes for dynamic content
- Keep tests independent and atomic
- Use Page Object Model for complex pages
- Take screenshots on failure
Skills Info
Original Name:skill-nameAuthor:robertogallego
Download