This handles code generation tasks when you need to create new files or boilerplate from scratch. You'd reach for it when starting a new component, setting up configuration files, or scaffolding out test suites rather than modifying existing code. The distinction matters because generation and editing are different modes of work with different context needs. It's a clean separation of concerns that keeps your workflow organized, though in practice you'll probably bounce between this and an edit skill constantly. Works well when you have a clear spec or pattern to follow and just need the code written out.

skills.sh installs
1.6K
GitHub stars
29.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add alirezarezvani/claude-skills --skill generate --agent claude-code

Installs into .claude/skills of the current project.

Files

Generate Playwright Tests

Generate production-ready Playwright tests from a user story, URL, component name, or feature description.

Input

$ARGUMENTS contains what to test. Examples:

  • "user can log in with email and password"
  • "the checkout flow"
  • "src/components/UserProfile.tsx"
  • "the search page with filters"

Steps

1. Understand the Target

Parse $ARGUMENTS to determine:

  • User story: Extract the behavior to verify
  • Component path: Read the component source code
  • Page/URL: Identify the route and its elements
  • Feature name: Map to relevant app areas

2. Explore the Codebase

Use the Explore subagent to gather context:

  • Read playwright.config.ts for testDir, baseURL, projects
  • Check existing tests in testDir for patterns, fixtures, and conventions
  • If a component path is given, read the component to understand its props, states, and interactions
  • Check for existing page objects in pages/
  • Check for existing fixtures in fixtures/
  • Check for auth setup (auth.setup.ts or storageState config)

3. Select Templates

Check templates/ in this plugin for matching patterns:

Sponsors

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Frontend Development, Testing & QA
First seen
Apr 16, 2026

More from alirezarezvani/claude-skills

All 267
1nvidia avatartao-run-automlnvidia/skillsRun AutoML / hyperparameter optimization (HPO) for NVIDIA TAO networks using AutoMLRunner. Handles algorithm selection (bayesian, hyperband, asha, bohb, llm, hy1.6Kskills.sh installs
2adobe avatarauthoring-analysisadobe/skillsUse this when the page-import pipeline needs to determine the authoring approach (default content vs blocks) for scraped content before generating import HTML f1.6Kskills.sh installs
3getstream avatarstreamgetstream/agent-skillsStream router for Chat, Video, Feeds, and Moderation. Use when the user wants to build a new app with Stream, scaffold a project, add Chat/Video/Feeds/Moderatio1.6Kskills.sh installs
4nvidia avatartao-analyze-gaps-visual-changenetnvidia/skillsPerforms gap analysis on NVIDIA TAO VCN Classify (Visual Component Net) experiments by invoking the data-services container (`tao_toolkit.data_services` from `v1.6Kskills.sh installs
5quodsoler avatarue-cpp-foundationsquodsoler/unreal-engine-skillsUse when writing Unreal Engine C++ code involving UPROPERTY, UFUNCTION, UCLASS, TArray, TMap, delegates, FString, garbage collection, or smart pointers. Also us1.6Kskills.sh installs
6vercel-labs avatarremotion-best-practicesvercel-labs/json-renderBest practices for Remotion - Video creation in React1.6Kskills.sh installs