跳到正文
FunCoding

revyl-mcp-create

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

Star
525
许可证
MIT
最近提交
2026年12月1日

skills/revyl-mcp-create/SKILL.md

在 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.

相似的 Skill

ask-matt

MAmattpocock/skills336k近 7 天新增 4,217 个 star

chief-of-staff

MAmattpocock/skills336k近 7 天新增 4,217 个 star

setup-matt-pocock-skills

MAmattpocock/skills336k近 7 天新增 4,217 个 star

subagent-driven-development

OBobra/superpowers331k近 7 天新增 5,030 个 star

autonomous-loops

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

agent-eval

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star