argent-create-flow
Create, record, edit, replay, or repair reusable Argent flow YAML files. Use when the user asks to record or replay a repeatable device path, set up profiling or an A/B comparison, or invoke the authoring engine behind argent-qa-flows. Also use before repeating three or more interactions. For one-off UI checks, acceptance-driven regression tests, or screen video, use argent-test-ui-flow, argent-qa-flows, or argent-screen-recording respectively.
Resumen
Create an Argent flow
An Argent flow is a replayable sequence in .argent/flows/<name>.yaml.
For a saved QA test case, ticket, or acceptance criterion, load argent-qa-flows first. It adds deterministic setup, acceptance evidence, and two-pass proof.
Read the relevant reference
- Before creating or changing a flow, read Live authoring completely.
- When polishing, composing, or manually reviewing YAML, read Flow YAML. For Vega, read its platform limits before recording remote or keyboard tools.
- Flows run on physical iPhones (an iOS
list-devicesentry with kind"device"), but replay never auto-binds one, even when no simulator is booted: pass the phone's udid asdevice(CLI--device), and only aconnectedphone can run.pinch/rotatesteps fail there like the live tools. On hardware the flow tree is thedescribetree: same ids and roles, no UIView hierarchy. Seeargent-ios-device-interactfor the hardware contract. - On capture warnings, raw coordinates, unavailable trees, mistimed transitions, overlays, or replay failures, read Reliability and recovery.
Non-negotiable rules
- Record the first walkthrough. Start the recorder before the first launch or in-app action. Do not reconstruct a rehearsed path.
- Record checks when their states appear. Record
await-ui-elementlive, then convert it during polish. An echo records intent or diagnostic context, not app behavior or a verdict. A screenshot is human evidence, not an executable verdict. For absence, record the same selector asvisible, perform the removing action, then record it ashidden. - Use semantic targets. Prefer a strict id, then stable text or an accessibility label. Use
scroll-tofor off-screen elements. Resolve every raw-point warning immediately through the coordinate fallback gate. - Prove every screen change. Record a destination-only identity check. During polish, follow it with
await: { idle: true }. Stillness does not prove identity, andidlecan pass with a warning. - Polish only executed behavior. Convert recorded steps without changing their meaning. Record any missing action or structural check live. The only unrecorded insertions are a planned
snapshot:, a navigationawait: { idle: true }, and the documented Chromium packaginglaunch:. - Use scripts only when the user requests them. Read Flow YAML: Local scripts, then record each script with
flow-add-script. - Replay the final YAML end to end. A normal flow needs one uninterrupted full pass.
argent-qa-flowsrequires two consecutive passes.
Stable selectors
A stable selector is fixed by app code and survives account, data, time, count, order, and every locale and environment the flow supports. Prefer ids such as settings-screen. Do not gate on values such as Today, Item 4, usernames, counters, or timestamps.
Flow-only selector scopes
During polish, use within, after, and next to disambiguate repeated elements. Read Flow YAML: Relational scopes for their frame-based semantics and failure cases.
Workflow
- Choose the flow type:
- e2e: the first step that is not
echo:orscript:islaunch:. The flow controls process start. - fragment: there is no leading launch. Declare a precise
executionPrerequisite.
- e2e: the first step that is not
- Follow Live authoring: start, record one verified step at a time, finish, polish, audit, and replay.
- Report the file, replay command, result, prerequisite or side effects, and every coordinate or raw-gesture exception.
Proactive recording
Before repeating three or more interactions, tell the user and start a recording. Record that run and replay it afterward. A completed path cannot be recorded retroactively.
Repair
When replay fails, follow Reliability and recovery. Inspect the first divergence, correct the smallest justified unit, audit, and replay the full flow. Stop after two unsuccessful correction cycles. Never weaken a requested check to obtain a pass.
Archivos 4 archivos
Instálala a mano
Deska ejecuta esto por ti, para cada agente que elijas. Para ejecutarlo tú en una terminal:
npx skills add software-mansion/argent --skill argent-create-flowMás de software-mansion
- argent-android-emulator-setupsoftware-mansionSet up and connect to an Android emulator using argent MCP tools. Use when starting a new session on Android, booting an emulator, getting a device serial, or before any UI interaction task.22.3 k instalaciones en skills.sh0
- argent-react-native-optimizationsoftware-mansionOptimizes a React Native app by profiling first to find real bottlenecks, then sweeping for mechanical issues. Entry-point for all performance work. Use when the app feels slow, user asks to optimize, fix re-renders, reduce jank, or improve startup. Delegates to argent-react-native-profiler for measurement.22.2 k instalaciones en skills.sh0
- argent-ios-simulator-setupsoftware-mansionSet up and connect to an iOS simulator using argent MCP tools. Use when starting a new session, booting an iOS simulator, getting an iOS UDID, or before any iOS simulator interaction task.22.1 k instalaciones en skills.sh0
- argent-react-native-app-workflowsoftware-mansionStep-by-step workflows for developing or debugging React Native apps on iOS simulator or Android emulator. Use when starting the app, debugging Metro, fixing builds, diagnosing runtime errors, or running tests.22.1 k instalaciones en skills.sh0
- argent-device-interactsoftware-mansionInteract with an iOS simulator, Android emulator, or Chromium (CDP) app using argent MCP tools. Use when tapping UI elements, performing gestures, scrolling/swiping, typing text, pressing hardware buttons, launching apps, opening URLs, taking screenshots, waiting for an element to appear or disappear, or checking visible app state after interactions. Not for TV targets.22 k instalaciones en skills.sh0