MCPInstall

create-yaml-tests

Create, update, and repair local Shiplight YAML E2E tests. Use for Shiplight test projects, including project setup, specs, auth setup, YAML implementation, validation, and test maintenance.

Installs
120
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/shiplightai/agent-skills --skill create-yaml-tests
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads create-yaml-tests automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Create Shiplight Tests

This is the single entry point for Shiplight E2E test work.

Use this skill when the user wants to:

  • Create a new local Shiplight test project
  • Add YAML tests for a web application
  • Update or fix existing Shiplight YAML tests
  • Set up or repair target URLs, accounts, or auth setup
  • Plan what product behavior should be tested

Daily Skill Update Check

Before starting this skill's work, opportunistically refresh Shiplight skills at most once per day:

  1. Check the timestamp file at .shiplight-agent-skills-last-update in the current project.
  2. If the timestamp file is missing, create it with the current timestamp and continue without running npx -y skills@latest update -y. Treat .shiplight-agent-skills-last-update as local cache and do not commit it.
  3. If the timestamp file exists and is older than 24 hours, run npx -y skills@latest update -y, then create/update the timestamp file even if the command fails.
  4. If the update command fails, continue with the currently installed skill and mention the failure briefly.

Test Project Root

Before reading or writing project files, identify the Shiplight test project root. All paths in this skill are relative to that root.

If the root is not clear, ask the user to confirm it before creating or moving files.

Canonical Project Layout

Shiplight test projects use this layout:

specs/context.md       project-level app, risk, data, and target-deployment context
specs/tests/           Markdown specs, each covering a feature or journey group
tests/                 executable Shiplight YAML tests
playwright.config.ts   project-level Playwright config, shared auth, and runtime defaults
auth.setup.ts          shared-account Playwright auth setup, if needed
auth/                  optional auth helpers or per-test login scripts
templates/             reusable YAML statement groups, if any
helpers/               TypeScript helper functions, if any
fixtures/              fixture files, if any
knowledge/             durable notes discovered by agents
test-results/          generated runtime artifacts; do not edit
shiplight-report/      generated reports; do not edit
.shiplight/            local Shiplight state; do not edit

Read references/project-layout.md before making file changes.

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 in this skill
  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.

Required Startup

On every invocation:

  1. Identify the Shiplight test project root.
  2. Read references/project-layout.md.
  3. Read references/knowledge.md.
  4. Check knowledge/ under the test project root for notes relevant to the task.
  5. Load the task-specific guides below.
  6. Tell the user which guides you loaded, then proceed.

Task-Specific Guides

TaskGuides
New project or broad planningreferences/workflow.md, references/project-layout.md, references/test-design-guide.md
Writing new testsreferences/new-tests.md, references/test-design-guide.md, references/test-implementation-guide.md
Updating or fixing testsreferences/updating-tests.md, references/test-design-guide.md, references/test-implementation-guide.md
Auth setup and loginreferences/auth.md
Running tests in CI / GitHub Actions, incl. auto-triage of failuresreferences/ci.md
YAML syntax or actionsreferences/test-implementation-guide.md; also read shiplight://yaml-test-spec and shiplight://schemas/action-entity before writing YAML

Core Rules

  • Always produce durable artifacts unless the user explicitly asks to skip them.
  • Specs describe feature or journey-group confidence. A spec may map to many smaller YAML tests.
  • Keep YAML tests focused. One YAML test should verify one logical journey or variant.
  • Do not write YAML from imagination. Walk the app in a browser first and capture real locators.
  • Validate YAML with validate_yaml_test after writing it.
  • Reflect before finishing. Capture durable knowledge learned from the user or the work, and update stale knowledge instead of leaving contradictions.
  • Keep context current. Durable project knowledge belongs in specs/context.md or knowledge/, not in chat history.
  • Never store raw secrets. Commit only variable names, roles, access patterns, and setup instructions.

User Checkpoints

For broad test creation, confirm the planned outcomes before implementation:

Do these outcomes match the confidence you need from this test project? Any business-critical outcome missing or incorrectly out of scope?

For narrow requests such as "fix this failing test" or "add this one test", proceed without a broad checkpoint unless the spec is ambiguous or conflicts with app behavior.

Final Report

After changes, report:

  • Files created or changed
  • Behavior covered or repaired
  • Commands run and pass/fail result
  • Knowledge or context updated, including stale notes corrected
  • Any product/spec mismatch or unresolved blocker

FAQ

What does the create-yaml-tests skill do?

Create, update, and repair local Shiplight YAML E2E tests. Use for Shiplight test projects, including project setup, specs, auth setup, YAML implementation, validation, and test maintenance.

How do I install create-yaml-tests?

Run npx skills add https://github.com/shiplightai/agent-skills --skill create-yaml-tests in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/create-yaml-tests/ (personal) or .claude/skills/create-yaml-tests/ (project).

Which AI agents can use create-yaml-tests?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is create-yaml-tests safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains create-yaml-tests?

It is published by shiplightai in shiplightai/agent-skills. It has 120 recorded installs.

More from shiplightai/agent-skills

View all →

verify

shiplightai/agent-skills

Verify UI changes in the browser using Shiplight MCP tools.

AI & Agents636 installs

review

shiplightai/agent-skills

Review orchestrator and single entry point for all application reviews. Triage what needs reviewing, then run the right domains: security (OWASP, auth, headers, supply chain), privacy (PII, tracking, consent, GDPR/CCPA), compliance (HIPAA, SOC 2, PCI-DSS, GDPR), design (responsive, accessibility, typography, i18n), resilience (error handling, degradation, API contracts), performance (Core Web Vitals, bundles, runtime), SEO (meta, structured data, crawlability), and GEO (AI citation readiness, llms.txt, entity clarity). Use for pre-launch readiness, post-incident planning, or any 'review my app for X' request.

cloud

shiplightai/agent-skills

Sync local tests with Shiplight cloud — push and pull YAML test cases, templates, and functions between your repo and the cloud. Requires a Shiplight cloud subscription.

Testing & QA593 installs

triage

shiplightai/agent-skills

Triage failing Shiplight YAML tests: reproduce failures, inspect evidence, apply minimal correct fixes, report app/spec mismatches, and update project memory.

AI & Agents584 installs

create-tests

shiplightai/agent-skills

Deprecated alias for create-yaml-tests. Renamed to create-yaml-tests; this entry only redirects for backward compatibility. Use create-yaml-tests to create, update, and repair local Shiplight YAML E2E tests.

Testing & QA495 installs

design-review

shiplightai/agent-skills

Open the skill to read its SKILL.md instructions.

Popular testing & qa skills

View category →

tdd

mattpocock/skills

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

Testing & QA1.2M installs

grilling

mattpocock/skills

Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

Testing & QA996.2K installs

migrate-to-shoehorn

mattpocock/skills

Migrate test files from as type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace as in tests, or needs partial test data.

Testing & QA484.1K installs

run-train

lllllllama/rigorpilot-skills

Rigor Train skill for deep learning research repositories. Use when a documented or selected training command should be run conservatively for startup verification, short-run verification, full kickoff, or resume, with command, config, seed, log, checkpoint, status, and metric evidence written to standardized trainoutputs/. Do not use for environment setup, exploratory sweeps, speculative idea implementation, or end-to-end orchestration.

Testing & QA337.8K installs

test-driven-development

obra/superpowers

Use when implementing any feature or bugfix, before writing implementation code

Testing & QA261.8K installs

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work

Testing & QA216.8K installs