Skip to content
FunCoding

revyl-mcp-create

Create and maintain Revyl tests through MCP tools using create/update operations and execution feedback loops.

Star
525
License
MIT
Last commit
Dec 2, 2026

skills/revyl-mcp-create/SKILL.md

View on GitHub

Revyl MCP Create Skill

Use this skill when tests should be authored and managed through MCP tools.

Core MCP Flow

  1. Build YAML from ordered instructions and validations.
  2. Create or update:
    • create_test(name="...", platform="ios", yaml_content="...") (or platform="android", platform="web")
    • update_test(test_name_or_id="...", yaml_content="...", force=true)
  3. Execute and inspect:
    • run_test(test_name="...")
    • get_test_status(task_id="...")

When the project's .revyl/config.yaml sets run_test_definitions_from_git: true, runs use the test's file in .revyl/tests/, not the test saved in Revyl, so update_test only changes the saved fallback copy and says so in its notice. Edit the test's file instead: run_test sends this checkout's test, module and script files, uncommitted changes included, and test_definition_summary in its result names the files the run used.

Authoring Rules

  1. One user goal per instruction step; several taps toward that goal are fine.
  2. Keep validations separate from instructions.
  3. Validate user-visible outcomes.
  4. Use variables for sensitive or dynamic values.

Canonical YAML

Use the backend YAML contract returned by get_schema().

- type: instructions
  step_description: "Tap Log in."

- type: validation
  step_description: "The dashboard is visible."

- type: code_execution
  script: "seed-user"
  variable_name: seeded_user_id

- type: module_import
  module: "login-flow"

- type: if
  condition: "Is a cookie banner visible?"
  then:
    - type: instructions
      step_description: "Tap Accept."
  else:
    - type: instructions
      step_description: "Continue."

- type: while
  condition: "Is there a Load More button visible?"
  body:
    - type: instructions
      step_description: "Tap Load More."

For new authored YAML, use script for code execution and module for module imports. Legacy UUID forms may still parse for compatibility, but do not generate them.

Shared Setup Reuse

If shared steps appear in 3+ tests:

  1. list_modules()
  2. insert_module_block(module_name_or_id="...")
  3. update test YAML to import module.

Similar Skills

ask-matt

MAmattpocock/skills337k4,978 new stars in the last 7 days

chief-of-staff

MAmattpocock/skills337k4,978 new stars in the last 7 days

setup-matt-pocock-skills

MAmattpocock/skills337k4,978 new stars in the last 7 days

subagent-driven-development

OBobra/superpowers331k4,772 new stars in the last 7 days

autonomous-loops

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

autonomous-agent-harness

AFaffaan-m/ECC315k4,381 new stars in the last 7 days