Command Palette

Search for a command to run...

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

regression-baseline

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

Create and maintain regression test baselines for comparison and drift detection across versioned snapshots

jmaglyот jmagly★ 233 звезды на GitHub

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

regression-baseline

Create and maintain regression test baselines for comparison and drift detection.

Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

  • "snapshot tests" → baseline creation shorthand
  • "capture current behavior" → baseline establishment

Purpose

This skill manages regression baselines by:

  • Capturing known-good system states as baselines
  • Storing snapshots of expected outputs
  • Maintaining versioned baseline history
  • Comparing current state to baseline
  • Detecting drift from established baselines
  • Managing baseline updates and approvals

Behavior

When triggered, this skill:

  1. Identifies baseline scope:

    • Determine what to baseline (tests, outputs, performance)
    • Select baseline type (functional, visual, performance, API)
    • Identify affected components
    • Check for existing baselines
  2. Captures baseline data:

    • Run tests and capture outputs
    • Take snapshots (visual, data, API responses)
    • Measure performance metrics
    • Record system configuration
    • Generate checksums/hashes
  3. Stores baseline:

    • Version baseline with semantic versioning
    • Tag with git commit/release
    • Store in .aiwg/testing/baselines/
    • Update baseline manifest
    • Link to requirements/features
  4. Validates baseline quality:

    • Ensure baseline is stable (run multiple times)
    • Verify baseline is reproducible
    • Check for known issues in baseline
    • Require approval for critical baselines
  5. Documents baseline:

    • Record what is baselined
    • Note when and why baseline was created
    • Document known deviations
    • Link to issues/requirements
  6. Manages baseline lifecycle:

    • Archive old baselines
    • Update baselines on intentional changes
    • Track baseline drift over time
    • Alert on excessive drift

Baseline Types

Functional Baseline

functional_baseline:
  description: Expected behavior outputs
  scope: Unit and integration tests
  format: JSON snapshots

  capture:
    - test_outputs
    - assertions
    - mock_data
    - expected_errors

  example:
    test: "user registration"
    baseline: "baselines/functional/user-registration-v1.json"
    includes:
      - success_response_format
      - validation_error_messages
      - database_state_after_registration

Visual Baseline

visual_baseline:
  description: UI screenshots for visual regression
  scope: Frontend components
  format: PNG images with metadata

  capture:
    - component_screenshots
    - page_screenshots
    - responsive_breakpoints
    - interaction_states

  example:
    component: "LoginForm"
    baseline: "baselines/visual/login-form-v2.png"
    metadata:
      viewport: 1920x1080
      theme: dark
      state: default

Performance Baseline

performance_baseline:
  description: Performance benchmarks
  scope: API response times, load tests
  format: JSON metrics

  capture:
    - response_times_p50_p95_p99
    - throughput_requests_per_second
    - resource_utilization
    - database_query_times

  example:
    endpoint: "/api/users"
    baseline: "baselines/performance/api-users-v1.json"
    metrics:
      p50_response_time_ms: 45
      p95_response_time_ms: 120
      p99_response_time_ms: 250
      throughput_rps: 1000

API Contract Baseline

api_baseline:
  description: API request/response contracts
  scope: REST/GraphQL APIs
  format: OpenAPI/JSON schemas

  capture:
    - request_schemas
    - response_schemas
    - status_codes
    - headers

  example:
    endpoint: "POST /api/auth/login"
    baseline: "baselines/api/auth-login-v3.yaml"
    contract:
      request_body_schema: LoginRequest
      success_response: 200 with token
      error_responses: [400, 401, 429]

Baseline Manifest

# .aiwg/testing/baselines/manifest.yaml

baselines:
  - id: functional-auth-v1
    type: functional
    created: 2026-01-28T10:00:00Z
    created_by: test-engineer
    git_commit: abc123def
    release: v1.2.0
    scope: Authentication flows
    files:
      - baselines/functional/login-v1.json
      - baselines/functional/logout-v1.json
      - baselines/functional/register-v1.json
    status: active
    approved_by: tech-lead
    notes: Initial baseline for auth module

  - id: visual-dashboard-v2
    type: visual
    created: 2026-01-20T14:30:00Z
    created_by: frontend-engineer
    git_commit: def456ghi
    release: v1.1.0
    scope: Dashboard UI components
    files:
      - baselines/visual/dashboard-desktop-v2.png
      - baselines/visual/dashboard-mobile-v2.png
    status: active
    approved_by: design-lead
    previous_baseline: visual-dashboard-v1
    changes: Updated color scheme per design system v2

  - id: performance-api-v1
    type: performance
    created: 2026-01-15T09:00:00Z
    created_by: devops-engineer
    git_commit: ghi789jkl
    release: v1.0.0
    scope: Core API en
Полный SKILL.md на GitHub

Установить regression-baseline в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл regression-baseline?

Create and maintain regression test baselines for comparison and drift detection across versioned snapshots

Как установить скилл regression-baseline?

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

Скилл regression-baseline запускает скрипты?

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

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

Сравнить regression-baseline с