Skip to content
Back to skills

Ui Test

ASecurity

From code changes in the user's Danmo Work project, auto-author Markdown UI specs under ui-tests/, then execute them with browser_* (preferred) and computer (headed Linux desktop) and report PASS/FAIL. Not for testing Danmo Work itself; not Playwright codegen.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 9, 2026
ai-agentsgoshelltestinggit

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add danmo-ai/danmo-work --skill ui-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ui Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ui Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/danmo-ai-ui-test/badge)](https://www.skillsdirectory.com/skills/danmo-ai-ui-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ui-test
source: builtin
description: >-
  From code changes in the user's Danmo Work project, auto-author Markdown UI
  specs under ui-tests/, then execute them with browser_* (preferred) and
  computer (headed Linux desktop) and report PASS/FAIL. Not for testing Danmo
  Work itself; not Playwright codegen.
license: MIT
compatibility: >-
  Requires browser_* tools; computer optional when runtime.computer.enabled.
  Linux desktop sandbox with Chromium/Chrome/Edge. Vision model needed for
  computer screenshots and browser_screenshot evidence. exec_shell only for
  read-only git / reachability — never for GUI driving.
metadata:
  author: danmo
  version: "0.2.0"
  category: research
---

# UI Test (Web, change-driven + agent-executed)

For **the user's project** opened in Danmo Work: inspect **code changes**,
**auto-write** Markdown UI specs, then **automate** those scenarios with
`browser_*` and (when needed) `computer` on the Linux desktop sandbox. Produce
PASS/FAIL evidence under `ui-tests/`.

This is **not** Playwright/Cypress codegen, **not** a suite for the Danmo Work
app itself, and **not** general browsing (use the `browser` expert for ad-hoc
ops without a report).

## When to use vs other experts

| Need | Expert / skill |
|------|----------------|
| Diff/PR → UI specs → PASS/FAIL run | **This skill** (`ui-test`) |
| One-off multi-step web ops (no suite) | `browser` expert |
| Arbitrary desktop app GUI (not a Web UI test deliverable) | `computer` expert |
| Unit/integration code tests | `implementer` + TDD |

## Layout in the project

| Path | Purpose |
|------|---------|
| `ui-tests/specs/*.md` | Specs (source of truth, next to product code) |
| `ui-tests/runs/<YYYYMMDD-HHMMSS>/report.md` | Run report |
| `ui-tests/runs/<…>/*.png` (optional) | Evidence screenshots |

If the project already has a test folder convention, follow it; otherwise use the
paths above. Seed new specs from `assets/templates/spec.md`.

## Workflow (default)

1. **Change-driven authoring** — follow `references/from-changes.md`:
   discover git/working-tree (or goal-named) diffs → map UI impact → write/update
   Markdown specs under `ui-tests/specs/`.
2. **Clarify target** — base URL for the **user's app** (`/proxy/…` or
   `/raw/…`). Ask if the app is not reachable.
3. **Plan** — list scenarios; use `todowrite` when ≥3 scenarios.
4. **Execute** — follow `references/execution.md`:
   - Default engine: **`browser_*`** (read_skill `browser` for ref/act details).
   - Escalate to **`computer`** for headed/visual/canvas or when browser is
     unavailable (read_skill `computer-use` for see→act→verify).
5. **Oracle** — each `verify` / `verify not` must cite snapshot text, URL, or
   screenshot evidence. Search `kb-ui-test` for landscape/oracle notes if unsure.
6. **Report** — write `ui-tests/runs/<stamp>/report.md` with per-scenario
   PASS/FAIL, then return the expert output format.
7. **Cleanup** — `browser_close` unless the goal asks to keep the session.

If the goal already supplies complete specs and only asks to run them, skip to
step 2–7. If it only asks to author specs, stop after specs are on disk (note
that in SUMMARY).

## Hard rules

- Web only. Refuse Windows/native desktop product testing as out of scope.
- Specs and runs belong in the **user project**, not the Danmo Work source tree
  (unless that tree *is* the user's opened project).
- No `file://`. Convert to `/raw/` or `/proxy/` URLs (see `browser` skill).
- No `exec_shell` for GUI driving when `browser_*` or `computer` is available.
  `exec_shell` is limited to read-only git, reachability probes, or starting a
  project dev script the goal already relies on.
- Do not invent snapshot refs; only use refs from the latest navigate/act/snapshot.
- Do not loop the same failing action unchanged more than once.
- Sensitive actions need `ask_user` unless the goal authorizes them.

## Stop condition

Change-derived specs (when authoring was in scope) and the run report (when
execution was in scope) are on disk; every executed scenario has PASS or FAIL
with evidence; the structured expert report is ready.

Files in this skill

  • SKILL.md4.1 KB
  • assets/templates/spec.md658 B
  • references/case-design.md2.2 KB
  • references/execution.md3.1 KB
  • references/from-changes.md3.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.