Skip to content

πŸ‘¨β€πŸ’» Instructions, prompts, and chat modes to help You with test automation for GitHub Copilot πŸ€–

License

Notifications You must be signed in to change notification settings

jaktestowac/awesome-copilot-for-testers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Awesome GitHub Copilot for Testers

This repository is a collection of resources (prompts, instructions, and chat modes) for using GitHub Copilot to enhance test automation and quality engineering workflows.

It is designed to help testers, developers, and quality engineers leverage AI to improve their testing practices, automate repetitive tasks, and enhance the overall quality of software products.

Tip

πŸ’‘ Choose your language:

Tip

This project is heavily inspired by Awesome GitHub Copilot - a curated list of resources for using GitHub Copilot effectively. We have adapted the structure and content to focus specifically on testing and quality engineering, providing tailored resources for this domain.

Table of Contents

Important

Check out our free YouTube video to learn more about GitHub Copilot Chat Modes:

GitHub Copilot - Chat Modes

🎯 GitHub Copilot Customization Features

GitHub Copilot provides three main ways to customize AI responses and tailor assistance to your specific workflows, team guidelines, and project requirements:

  • Custom Instructions: Define how Copilot should behave, what to prioritize, and how to communicate.
  • Chat Modes: Create specialized chat modes for different roles or tasks, each with its own set of tools and instructions. With version 1.106 of VS Code, Chat Modes were renamed to Custom Agents.
  • Custom Agents: Advanced chat modes that can utilize multiple instructions and tools to perform complex tasks.
  • Prompt Templates: Predefined templates for common tasks or questions, allowing for quick and consistent responses.

Tip

More You can learn about these features in the official documentation and:

Tip

Do you want to learn more about effective use of AI and GitHub Copilot for Testers?

Check our AI_Testers Program - a comprehensive Program for mastering AI in test automation!

AI Testers Logo

πŸ“‹ Resources

Custom Instructions

Tip

Usage:

  • copy these instructions to your .github/copilot-instructions.md file or
  • create task-specific .github/.instructions.md files in your workspace's .github/instructions folder
  • use Chat: Attach Instructions command from the command palette to apply them in the current chat
Title Description Install
Playwright TypeScript Test Generation Instructions Playwright test generation instructions with best practices and patterns. Install in VS Code Install in VS Code

Custom Prompt Templates

Tip

Usage:

  • copy these prompts to your .github/copilot-prompts/ folder
  • use /prompt-name in VS Code chat,
  • run Chat: Run Prompt command from the command palette
Title Description Install
A11Y Webpage Audit (Single URL) Analyze one webpage for accessibility with WCAG 2.1/2.2 mapping and actionable fixes. Install in VS Code Install in VS Code
API Test Plan & Test Generator Create a risk-based API test plan and generate example automated tests from API definitions (OpenAPI/Postman/custom docs). Install in VS Code Install in VS Code
Analyze and explain code Analysis of the code you provide, select, or open Install in VS Code Install in VS Code
Fix failing tests Fix failing tests in the codebase Install in VS Code Install in VS Code
Performance & Reliability Test Planner Design a performance and reliability test strategy and propose concrete load/soak tests for critical user flows. Install in VS Code Install in VS Code
Explore a website and gather network requests using Playwright MCP Website exploration and network request gathering using Playwright MCP Install in VS Code Install in VS Code
Explore a website and propose test cases Website exploration using Playwright MCP Install in VS Code Install in VS Code
Generate tests based on a scenario using Playwright MCP Generate a Playwright test based on a scenario using Playwright MCP Install in VS Code Install in VS Code
Generate tests based on test plan Generate tests based on test plan for a website Install in VS Code Install in VS Code
Generate a Basic Test Plan Generate a basic Test Plan Install in VS Code Install in VS Code
Generate a comprehensive Test Plan Collects environment details and produces a prioritized test plan with web and API scenarios using the Test Planner Chat Mode. Install in VS Code Install in VS Code

Custom Chat Modes

Tip

Usage (in VS Code prior to version 1.106):

  • create new chat modes:
    • using the command Chat: Configure Chat Modes... or
    • from set mode menu Agent -> Configure Modes,
  • then switch your chat mode in the Chat input from set mode menu Agent -> Configure Modes

Warning

With version 1.106 of VS Code, Chat Modes were renamed to Custom Agents. They contain .agent.md suffix and should be stored in the .github/agents/

Title Description Install
Accessibility Expert mode A specialized chat mode focused on ensuring all code adheres to WCAG 2.1 accessibility standards. Install in VS Code Install in VS Code
Playwright Automation Engineer (TypeScript) mode (detailed) Provide expert guidance, code, and troubleshooting help for end-to-end and component-level test automation using Playwright with TypeScript. Prioritize maintainability, speed, reliability, and business value of the test suite. Very detailed operating manual. Install in VS Code Install in VS Code
Playwright Automation Engineer (TypeScript) mode Provide expert guidance, code, and troubleshooting help for end-to-end and component-level test automation using Playwright with TypeScript. Prioritize maintainability, speed, reliability, and business value of the test suite. Install in VS Code Install in VS Code
Test Automation Architect Help engineers craft robust, fast, and maintainable automated tests that deliver actionable feedback and integrate seamlessly into modern SDLC pipelines. Install in VS Code Install in VS Code
Test plan from expert Senior Quality Assurance Engineer This chat mode is designed to assist in creating comprehensive test plans tailored for web applications. Install in VS Code Install in VS Code

Custom Agents

Tip

Usage:

  • create new agents:
    • using the command Chat: Configure Custom Agents... or
    • from set mode menu Agent -> Configure Custom Agents,
  • then switch your agent in the Chat input from set mode menu Agent -> <Custom Agent Name>
Title Description Install
Accessibility Expert mode A specialized chat mode focused on ensuring all code adheres to WCAG 2.1 accessibility standards. Install in VS Code Install in VS Code
Agent mission Generates and maintains automated tests from an OpenAPI schema and supports testers as a test automation expert (best practices, patterns, project tooling). Install in VS Code Install in VS Code
Playwright Automation Engineer (TypeScript) mode (detailed) Provide expert guidance, code, and troubleshooting help for end-to-end and component-level test automation using Playwright with TypeScript. Prioritize maintainability, speed, reliability, and business value of the test suite. Very detailed operating manual. Install in VS Code Install in VS Code
Playwright Automation Engineer (TypeScript) mode Provide expert guidance, code, and troubleshooting help for end-to-end and component-level test automation using Playwright with TypeScript. Prioritize maintainability, speed, reliability, and business value of the test suite. Install in VS Code Install in VS Code
Tech Debt Auditor Audits the repo for technical debt, quantifies impact/risk, and produces a prioritized remediation plan with small, safe PR-sized recommendations. Install in VS Code Install in VS Code
Test Automation Architect Help engineers craft robust, fast, and maintainable automated tests that deliver actionable feedback and integrate seamlessly into modern SDLC pipelines. Install in VS Code Install in VS Code
Test plan from expert Senior Quality Assurance Engineer This chat mode is designed to assist in creating comprehensive test plans tailored for web applications. Install in VS Code Install in VS Code

Custom Sets

Custom sets are combinations of custom instructions, prompt templates, and chat modes (or custom agents) designed for specific use cases.

Tip

Set elements work together to provide a tailored experience for specific testing scenarios. But you can also use them separately as needed.

Warning

Concept of Sets is not natively supported in VS Code Copilot.

Contains 1 prompt, 1 agent

Title Type Description Install
Edge Case Scenario Generator (BDD) Prompt Generates a complete, risk-based set of BDD test scenarios, focusing on edge cases, state validation, and boundary conditions. Install in VS Code Install in VS Code
AI Test Architect: Beyond Codegen 2.0 Strategy Agent Designs and oversees the implementation of the strategic, two-stage Beyond Codegen 2.0 test generation architecture. Install in VS Code Install in VS Code

Agent Skills

Tip

Usage:

  • copy these skills to your .github/skills/ or .claude/skills/ folder

Agents will automatically detect and load these skills if the agent finds them relevant to the current chat context (based on the skill's name and description).

Warning

Agent Skills are currently in preview and may require enabling experimental features in VS Code settings.

Title Description Install
Tech Debt Analysis Skill Analyze and address technical debt in codebases. not supported

πŸ“š Additional Resources

🌱 Contributing

Are you interested in contributing to this project?

We welcome your contributions! Whether it's adding new instructions, prompts, or chat modes, your input is valuable.

Just follow the Contributing Guidelines to get started!

πŸ“ž Contact & Support

Feel free to reach out to us:


πŸ“š Learning Resources

We have gathered a collection of resources to help you learn and master Playwright, both in Polish and English. Whether you're a beginner or an advanced user, these resources will help you enhance your skills and knowledge.

πŸ‡΅πŸ‡± Polish Resources

AI_Testers

Gain an edge by combining AI knowledge with the most popular tools in the IT market.
We'll show you how to accelerate with AI and build a professional test automation framework. πŸ˜‰

πŸ‡¬πŸ‡§ English Resources

PS. For more resources and updates, follow us on our website and GitHub.


Happy testing and automation! πŸš€

jaktestowac.pl Team β€οΈπŸ’š

Built with β€οΈπŸ’š for the Playwright and test automation community

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •