Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
shiplightai avatar

Triage

  • 504 installs
  • 2 repo stars
  • Updated July 8, 2026
  • shiplightai/agent-skills

triage is a Shiplight agent skill that reproduces failing YAML UI tests, inspects evidence, applies minimal fixes to specs or helpers, and reports app-versus-spec mismatches for developers maintaining Shiplight test suit

About

triage is a shiplightai agent skill for repairing failing Shiplight YAML tests without masking real application bugs. The six-step workflow reproduces the narrowest failing target, reads failure output plus matching specs under specs/tests/ and knowledge/ notes, inspects the live app when logs are insufficient, applies the smallest correct fix to YAML templates helpers or auth setup, validates edits with validate_yaml_test, reruns the changed target, and updates specs or knowledge/ when durable lessons emerge. Ground-truth precedence ranks explicit user instructions and feature specs above current app behavior—agents must report mismatches instead of rewriting test intent to match broken UI. Skip triage for net-new test authoring (/create-yaml-tests) or passing-test quality passes. Reach for triage when CI Shiplight runs fail after a deployment, several tests share one broken locator, or a UI change broke existing YAML coverage.

  • triage
  • AI & Agent Building
  • AI-coding skill

Triage by the numbers

  • 504 all-time installs (skills.sh)
  • +11 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #1,757 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 27, 2026 (Skillselion catalog sync)
npx skills add https://github.com/shiplightai/agent-skills --skill triage

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs504
repo stars2
Last updatedJuly 8, 2026
Repositoryshiplightai/agent-skills

How do you fix failing Shiplight YAML tests in CI?

Helps with ai & agent building tasks.

Who is it for?

Developers and QA engineers maintaining Shiplight YAML test suites who need evidence-based minimal repairs after UI or deployment regressions.

Skip if: Teams writing brand-new Shiplight tests from scratch or intentionally redesigning product flows that require planned spec rewrites.

When should I use this skill?

A Shiplight test run fails in CI, a deployment broke existing YAML tests, or multiple failures may share one root cause like a stale locator.

What you get

Triage report, minimally patched YAML tests or helpers, validate_yaml_test pass, and updated specs or knowledge notes.

  • triage report
  • patched YAML test files
  • updated knowledge or spec notes

By the numbers

  • Six-step triage workflow from reproduce through reflect
  • Seven-level ground-truth precedence chain for conflict resolution

Files

SKILL.mdMarkdownGitHub ↗

Triage Failing Tests

Use this skill to reproduce, diagnose, and repair failing Shiplight YAML tests. If the application is broken or current behavior conflicts with the spec, report the mismatch instead of rewriting the test around it.

When To Use

Use /triage when:

  • A Shiplight test run is failing
  • A deployment or UI change broke existing tests
  • Several tests may share the same failure source
  • CI needs a best-effort repair/report pass

Skip /triage when:

  • Creating new tests from scratch; use /create-yaml-tests
  • Verifying UI code changes without failing tests; use /verify
  • Tests pass and the task is only quality improvement
  • The product is being intentionally redesigned and tests need planned rewriting

Required Context

Before editing YAML:

1. Read the create-yaml-tests reference guides project-layout.md, updating-tests.md, test-implementation-guide.md, and knowledge.md. 2. Read relevant knowledge/ notes for the failing area, environment, auth, data, and tooling. 3. Read the matching spec under specs/tests/, if one exists. 4. Read shiplight://yaml-test-spec and shiplight://schemas/action-entity.

Ground Truth

When sources disagree, this precedence applies:

1. Explicit user instruction 2. Feature or journey spec in specs/tests/ 3. Existing YAML test goal, step intent, and VERIFY assertions 4. Current app behavior 5. Project context in specs/context.md and knowledge/ 6. Agent docs 7. Agent inference

If current app behavior conflicts with a spec or test goal, report the mismatch. Do not silently rewrite intent to match current behavior.

Workflow

1. Reproduce — run the specified target, or the narrowest relevant suite if no target was provided. If a failure looks transient, rerun the smallest affected target once before editing. 2. Understand — read the failure output, relevant YAML, matching spec, related tests, and shared templates/functions/hooks before opening a browser or changing files. 3. Inspect when needed — when logs and files are not enough, inspect the live app in a browser. Use the evidence needed for the failure: DOM, actions, locators, console logs, network logs, screenshots, or recordings. 4. Fix minimally — change the smallest correct surface: YAML, template, helper function, auth setup, environment data, or spec. Do not touch passing tests unless they share the same broken source. 5. Validate and rerun — validate edited YAML with validate_yaml_test, then rerun the narrowest changed target. After batch fixes, rerun the original target once. 6. Reflect — update specs, specs/context.md, or knowledge/ when the session produced durable learning or corrected stale assumptions.

Guardrails

  • Do not guess rendered UI when the failure depends on current browser behavior.
  • Do not delete assertions, skip required steps, or reduce coverage only to make a test pass.
  • If intended product behavior changed, update the matching spec before updating YAML.
  • If the app is broken, report the app issue instead of masking it with test changes.
  • Preserve user changes and unrelated work.
  • Prefer focused fixes over broad rewrites.
  • Keep ACTION locators and VERIFY js: caches current when editing affected steps, but do not churn unrelated caches.
  • In CI or non-interactive mode, do not block on user input. Make conservative best-effort decisions and document uncertainty.

Common causes include stale locators, changed user flows, assertion drift, expired auth, timing, shared templates/hooks, invalid parameter data, environment issues, and real app bugs. Use evidence to decide the minimal correct fix.

Reporting

After triage, report:

  • Target command(s) run and pass/fail result
  • Files changed
  • Tests repaired, skipped, still failing, or already passing
  • Behavior covered or restored
  • App/spec mismatches or unresolved blockers
  • Knowledge, context, or specs updated

Related skills

How it compares

Use triage for failing Shiplight YAML repair; use /create-yaml-tests when authoring new coverage and /verify for UI code checks without test failures.

FAQ

When should developers skip the triage skill?

Skip triage when creating new YAML tests from scratch—use /create-yaml-tests instead—or when tests pass and only quality improvements are needed. Also skip during intentional product redesigns requiring planned spec rewrites.

What should triage do when app behavior conflicts with the spec?

triage reports the app-versus-spec mismatch explicitly. Agents must not rewrite test goals or delete assertions just to make failing tests pass when the application is wrong.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.