Claude Cursor Skill

momentic-maintain

Imported from momentic-ai/skills/skills/momentic-maintain.

LLM Mart · 0 points · 11 views 0 listing impressions 0 install-command copies
Download momentic-ai-skills-skills_momentic-maintain-b2a6b42.zip · 8 KB

Install

skills CLI npx skills add https://github.com/momentic-ai/skills/tree/main/skills/momentic-maintain
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install momentic-ai-skills@llmmart
Git git clone https://github.com/momentic-ai/skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole momentic-ai/skills collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Maintain Momentic tests

  1. Read momentic-test for product selection, the selected CLI and local MCP server, and product-specific and linked shared references. Identify the run, branch, run group, commit, or local results directory. Read the web guide when maintaining browser tests, or the mobile guide for Android/iOS.
  2. Read Run evidence when investigating a failure. Check saved classifications and heal results before assigning a new verdict.
  3. Resolve a /run-groups/<id> URL with authenticated GET /v1/run-groups/<id>/runs or a run ZIP filename in test-results/runs/. Call momentic_get_run with the individual run ID and failing attempt, then momentic_get_step_result for the failing step.
  4. Work backward through screenshots to the first divergence from the expected behavior.
  5. Read Classification when assigning a category. Save a classification only when asked. For hosted MCP submission, upload any local run first. For browser runs, ai classify --save can save directly to the local ZIP without uploading it.
  6. Verify the app and fixtures, make the smallest repair that preserves intent, review the diff, and rerun the affected test.
  7. Report the diagnosis, evidence, verdict, repair, rerun result, and remaining blockers. Add --upload-results when a local rerun needs a shareable link; otherwise say the results are local. For local reruns, return only URLs printed by the CLI. For historical runs discovered through hosted MCP, link the returned run IDs using the URL format in Classification.

Inspect the failure

Use the failing step's parentStepIdChain for nested steps. If its before-image is wrong, walk back to the step that produced it. Compare repeated module invocations before older runs; inspect failed or recovered children even when their container passed.

Prove each causal claim with before/after screenshots, URLs, or DOM or screen-hierarchy evidence. Check whether a passing assertion was scoped enough to prove the intended state.

Check the final screenshot against the next step's expected state. Use momentic_get_test_steps_for_run when intent is unclear, and request includeTrace=true when screenshots and step results don't explain the failure. Read Manual artifacts when MCP output is missing.

Preserve the intended assertion when the failure is an app bug, missing fixture, invalid credentials, outage, or Momentic defect. Reject deleted assertions, broadened checks, sleeps, or longer timeouts that only hide the cause. Use hosted MCP for run discovery and the selected product's local MCP for artifacts. Read MCP setup when disconnected.

Files (skills)
  • references
    • products
      • mobile
        • guide.md 1.2 KB
          Loading…
      • web
        • guide.md 650 B
          Loading…
        • quarantine.md 1.3 KB
          Loading…
        • repair.md 2.6 KB
          Loading…
    • artifacts.md 1.4 KB
      Loading…
    • classification.md 2 KB
      Loading…
    • run-evidence.md 3.7 KB
      Loading…
  • SKILL.md 3 KB
    ---
    name: momentic-maintain
    description: Diagnose and classify failing Momentic browser, Android, and iOS tests, compare run history, and repair quarantined tests.
    ---
    
    # Maintain Momentic tests
    
    1. Read [momentic-test](../momentic-test/SKILL.md) for product selection, the selected
       CLI and local MCP server, and product-specific and linked shared references.
       Identify the run, branch, run group, commit, or local results directory.
       Read the [web guide](references/products/web/guide.md) when maintaining browser
       tests, or the [mobile guide](references/products/mobile/guide.md) for Android/iOS.
    2. Read [Run evidence](references/run-evidence.md) when investigating a failure.
       Check saved classifications and heal results before assigning a new verdict.
    3. Resolve a `/run-groups/<id>` URL with authenticated
       `GET /v1/run-groups/<id>/runs` or a run ZIP filename in `test-results/runs/`.
       Call `momentic_get_run` with the individual run ID and failing attempt, then
       `momentic_get_step_result` for the failing step.
    4. Work backward through screenshots to the first divergence from the expected behavior.
    5. Read [Classification](references/classification.md) when assigning a category.
       Save a classification only when asked. For hosted MCP submission, upload
       any local run first. For browser runs, `ai classify --save` can save directly
       to the local ZIP without uploading it.
    6. Verify the app and fixtures, make the smallest repair that preserves intent,
       review the diff, and rerun the affected test.
    7. Report the diagnosis, evidence, verdict, repair, rerun result, and remaining
       blockers. Add `--upload-results` when a local rerun needs a shareable link;
       otherwise say the results are local. For local reruns, return only URLs printed by the CLI.
       For historical runs discovered through hosted MCP, link the returned run IDs
       using the URL format in [Classification](references/classification.md).
    
    ## Inspect the failure
    
    Use the failing step's `parentStepIdChain` for nested steps. If its before-image
    is wrong, walk back to the step that produced it. Compare repeated module
    invocations before older runs; inspect failed or recovered children even when
    their container passed.
    
    Prove each causal claim with before/after screenshots, URLs, or DOM or
    screen-hierarchy evidence.
    Check whether a passing assertion was scoped enough to prove the intended state.
    
    Check the final screenshot against the next step's expected state.
    Use `momentic_get_test_steps_for_run` when intent is unclear, and request
    `includeTrace=true` when screenshots and step results don't explain the failure.
    Read [Manual artifacts](references/artifacts.md) when MCP output is missing.
    
    Preserve the intended assertion when the failure is an app bug, missing fixture,
    invalid credentials, outage, or Momentic defect.
    Reject deleted assertions, broadened checks, sleeps, or longer timeouts that
    only hide the cause.
    Use hosted MCP for run discovery and the selected product's local MCP for artifacts.
    Read [MCP setup](https://momentic.ai/docs/coding-agents/mcp-server) when disconnected.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.