/robot-automation:review-robot-best-practicesfrom robot-automation
Use when reviewing Robot Framework and Python test automation code for best practices, maintainability, reliability, style, architecture, anti-patterns, or caveats. Trigger for `.robot`, `.resource`, Python custom libraries, Robot variable files, Browser/Selenium/API test suites, "Robot Framework best practices", "review automation quality", "what should be avoided", "common Robot issues", and "Python Robot library review". Review-only; does not rewrite tests or diagnose a specific flaky failure.
Ships in robot-automation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Review Robot Framework test automation as a quality gate for long-term maintainability, accurate behavior coverage, deterministic execution, and idiomatic Robot/Python design. Prefer project conventions when they are explicit; otherwise use the checklist below and the source notes in references/robot-review-sources.md.
.robot suites, .resource keyword files, variable files, Python libraries, CI config, and dependency files.robot.toml, pyproject.toml, requirements*.txt, robocop.toml, ruff.toml, pytest.ini, docs/qa/conventions.yaml, and 2-3 nearby suites/resources.Check these areas first:
| Area | Best Practice | Avoid / Flag |
|---|---|---|
| Test intent | Test names, [Documentation], and tags describe user-visible behavior or API contract. | Action-only tests, vague names, duplicated coverage, tests that verify implementation details only. |
| Assertions | Every test has meaningful outcome assertions after the action. | Run Keyword And Ignore Error around assertions, "visible" as the only oracle for functional behavior, swallowed failures. |
| Setup/teardown | Shared setup/teardown is explicit and local to the required scope. Persistent data is cleaned up. | Order-dependent tests, shared mutable state, UI setup for data that should be seeded by API/fixture. |
| Keywords | User keywords express domain actions and remain small, composable, and readable. | Large procedural keywords, deep nesting, keywords that mix setup, action, assertion, and cleanup. |
| Resources | Shared keywords live in .resource files and suite files remain focused on tests. | Duplicated helper keywords across suites, resource names that conflict, ambiguous keyword imports. |
| Variables | Scope and casing make ownership clear; environment-specific values come from variables/env/config. | Hardcoded domains, credentials, generated IDs, or case/space variants of the same variable name. |
| Waiting | Use library-specific waits, retrying assertions, and event-driven waits. | Sleep, blanket network-idle waits, arbitrary retries, force-clicks hiding readiness problems. |
| Data | Use unique, deterministic test data and assert on the entity created by the test. | Global counts, list positions, shared usernames, tests that only pass in a pre-seeded environment. |
| Parallelism | Tests are safe under randomized order and pabot unless explicitly marked otherwise. | Global state mutation, shared browser/session state across independent tests, cleanup racing with other tests. |
| Style | Follow project formatter/linter settings; otherwise use 4-space cell separation, section order, concise lines, and consistent naming. | Inconsistent spacing, overlong lines, mixed old/new Robot syntax, redundant comments. |
For custom Python libraries imported by Robot:
@library and @keyword, or ROBOT_AUTO_KEYWORDS = False plus decorated functions. Flag accidental helper exposure.TEST/SUITE scope for stateful libraries unless global state is proven safe.print except where Robot logging semantics are intended.except Exception, sleeps, hidden retries, module-level mutable state, hardcoded paths, network calls without timeouts, and leaking secrets into logs.ruff/flake8, type checks where configured, unit tests for library logic, and deterministic filesystem/network behavior.# Robot Best Practices Review: <scope>
## Verdict: PASS | PASS WITH WARNINGS | NEEDS REVISION
## Blockers
- `<file>:<line>`: <issue, impact, and concrete recommendation>
## Warnings
- `<file>:<line>`: <issue, impact, and concrete recommendation>
## Suggestions
- `<file>:<line>`: <improvement>
## Conventions Checked
- <configs and examples read>
## Residual Risk
- <what was not reviewed or could not be verified statically>
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub lespaceman/athena-workflow-marketplace --plugin robot-automationOther plugins' skills for the same job
6 skills in this plugin
/add-robot-testsTHE DEFAULT ENTRY POINT for the Robot Framework execution layer in the split testing suite. Use to add, create, or set up Robot Framework end-to-end tests for a feature, page, or application. It orchestrates the Robot-specific workflow after shared exploration and planning: analyze the `.robot` codebase, consume `docs/qa/feature-map.md`, `docs/qa/exploration-report.md`, `docs/qa/coverage-plan.md`, and `docs/qa/test-cases/*.md`, write production-grade `.robot` suites, review them, and verify them with real execution. Delegates to `analyze-test-codebase`, `write-robot-code`, `review-test-code`, and `fix-flaky-tests`, while relying on shared `map-feature-scope`, `capture-feature-evidence`, `plan-test-coverage`, `generate-test-cases`, and `review-test-cases`.
/analyze-test-codebaseUse to inspect an existing Robot Framework + Browser library codebase before writing, reviewing, or fixing tests. Covers robot.toml or pyproject config, resource files, keyword libraries, listeners, auth keywords, suite init (`__init__.robot`), tag conventions, directory structure, and emits the typed `docs/qa/conventions.yaml` contract used by downstream skills. Triggers: "understand", "check", "show me", "inspect", or "analyze" the current Robot Framework test setup, config, infrastructure, patterns, or conventions. Does NOT write or fix tests, install Robot Framework, or explore live websites.