Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

test-plan

БесплатноБез исполняемых скриптовНе проверен

Create comprehensive E2E test plans with deep application analysis, navigation coverage audit, and browser-testable scenarios

mwguerraот mwguerra★ 35 звёзд на GitHub

Об этом скилле

E2E Test Plan Skill

Overview

This skill creates exhaustive, browser-testable E2E test plans by deeply analyzing Laravel Filament applications. It documents all pages, user roles, critical flows, navigation coverage, and detailed test scenarios that can be executed step-by-step by a QA tester who has never seen the codebase.

Standard Plan Location

Default output: docs/detailed-test-list.md

This skill ALWAYS saves the test plan to docs/detailed-test-list.md unless a custom path is specified via the --output flag.

Important:

  • Create the docs/ directory if it doesn't exist
  • Use the Write tool to save the plan to the standard location
  • In update mode: Merge new discoveries with existing plan content
  • Use --force flag to completely overwrite existing plan
  • Use --quick flag for basic plan without deep discovery

Purpose

Generate structured test plans that ensure:

  • All pages are identified and will be tested
  • All user roles are mapped with their permissions
  • Critical user flows are documented
  • Test scenarios cover positive and negative cases
  • 100% NAVIGATION COVERAGE: Every menu item and internal link is tested
  • Cross-user interactions are documented
  • Every test can be executed by someone who never saw the codebase
  • Priority levels guide test execution order

Review and Update Mode

When docs/detailed-test-list.md exists (and no --force flag), operate in review and update mode:

Step 0a: Read Existing Plan

  1. Parse Existing Plan Content
    • Read docs/detailed-test-list.md
    • Extract existing pages from navigation registry
    • Extract existing roles from test user accounts
    • Extract existing flows from test sections
    • Extract test credentials
    • Note the previous "Generated" date

Step 0b: Validate Existing Content

  1. Validate Pages For each page in the existing plan:

    • Check if the route still exists in the codebase
    • For Laravel: Check routes/web.php, Filament resources
    • Mark pages as "deprecated" if route no longer exists
  2. Validate Roles

    • Check if role definitions still exist
    • Check permission assignments
    • Mark roles that no longer exist
  3. Validate Flows

    • Check if flow entry points still exist
    • Verify flow steps are still valid

Step 0c: Discover New Content

Compare current codebase against documented content:

  • Find new routes not in existing plan
  • Find new Filament resources
  • Find new roles/permissions
  • Find new navigation items

Step 0d: Merge and Update

  • Keep valid existing content
  • Add newly discovered content
  • Mark deprecated items
  • Generate update report showing changes

Workflow

Phase 1: Deep Discovery (Execute All Commands)

You MUST execute these discovery commands to understand the complete application:

1.1 Database Architecture Analysis

ls -la database/migrations/
cat database/migrations/*.php

For each table, document:

  • Table name and purpose
  • Key columns and types
  • Foreign key relationships
  • Pivot tables

1.2 Model & Relationship Mapping

ls -la app/Models/
cat app/Models/*.php

For each model, extract:

  • Relationships (hasMany, belongsTo, belongsToMany, morphTo)
  • Scopes (local and global)
  • Casts and attributes
  • Traits used (HasRoles, SoftDeletes)

1.3 Authentication & Authorization System

cat config/auth.php
cat config/permission.php 2>/dev/null
ls -la app/Policies/ 2>/dev/null
cat app/Policies/*.php 2>/dev/null
cat app/Providers/AuthServiceProvider.php 2>/dev/null
ls -la app/Http/Middleware/
cat database/seeders/*.php
grep -A 50 "Role\|Permission" database/seeders/*.php 2>/dev/null

Document:

  • All roles in the system
  • All permissions per role
  • Policy rules per resource
  • Guard configurations

1.4 Filament Panel Configuration

cat app/Providers/Filament/*.php 2>/dev/null
ls -la app/Filament/
find app -name "*PanelProvider*" -exec cat {} \; 2>/dev/null

Document:

  • Number of panels
  • Panel URLs and access rules
  • Navigation structure
  • Multi-tenant configuration

1.5 Filament Resources Deep Dive

find app/Filament -name "*Resource.php" | head -50
find app/Filament -name "*Resource.php" -exec cat {} \;

For each resource, extract:

  • Associated model
  • Form fields and validation rules
  • Table columns and filters
  • Actions (table, bulk, header)
  • Relation managers
  • Authorization methods

1.6 Filament Pages & Widgets

find app/Filament -name "*Page*.php" -exec cat {} \; 2>/dev/null
find app/Filament -name "*Widget*.php" -exec cat {} \; 2>/dev/null
ls -la app/Livewire/ 2>/dev/null

1.7 Business Logic Layer

ls -la app/Actions/ 2>/dev/null
cat app/Actions/**/*.php 2>/dev/null
ls -la app/Services/ 2>/dev/null
ls -la app/Jobs/ 2>/dev/null
cat app/Jobs/*.php 2>/dev/null
ls -la app/Notifications/ 2>/dev/null
cat app/Notifications/*.php 2>/dev/null
ls -la app/Mail/ 2>/dev/null

1.8 Routes & API

cat r
Полный SKILL.md на GitHub

Установить test-plan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл test-plan?

Create comprehensive E2E test plans with deep application analysis, navigation coverage audit, and browser-testable scenarios

Как установить скилл test-plan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл test-plan запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить test-plan с