robotframework-keyword-builder

Generate Robot Framework user keywords from structured intent. Use when asked to create keywords, add arguments, documentation, tags, setup/teardown, or to apply embedded-argument style based on existing project conventions.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "robotframework-keyword-builder" with this command: npx skills add manykarim/robotframework-agentskills/manykarim-robotframework-agentskills-robotframework-keyword-builder

Robot Framework Keyword Builder

Create user keywords in Robot Framework syntax from structured input. Output JSON only.

Input (JSON)

Provide input via --input or stdin. Example:

{
  "keyword_name": "Create User",
  "description": "Creates a new user via the UI.",
  "arguments": [
    {"name": "username", "type": "str"},
    {"name": "role", "default": "viewer"}
  ],
  "tags": ["ui", "smoke"],
  "setup": {"keyword": "Open Browser", "args": ["${URL}", "chromium"]},
  "teardown": {"keyword": "Close Browser"},
  "style": "simple",
  "steps": [
    {"keyword": "Click", "args": ["Add User"]},
    {"keyword": "Input Text", "args": ["Username", "${username}"]},
    {"keyword": "Click", "args": ["Save"]}
  ]
}

Command

python scripts/keyword_builder.py --input keyword.json

Detect embedded-argument style from an existing project:

python scripts/keyword_builder.py --input keyword.json --project-root . --detect-embedded

Return values

Use "return_value" to add a RETURN statement at the end of the keyword:

{
  "keyword_name": "Get Full Name",
  "arguments": [{"name": "first"}, {"name": "last"}],
  "steps": [{"assign": ["${result}"], "keyword": "Catenate", "args": ["${first}", "${last}"]}],
  "return_value": "${result}"
}

Multiple return values:

"return_value": ["${var1}", "${var2}"]

Notes

  • RF 7+ type annotations: Robot Framework 7 and later support type annotations in [Arguments] using ${name}: type syntax (e.g. ${count}: int). This builder does not yet generate that syntax; type information is recorded in [Documentation] only.

Output (JSON)

  • artifact: keyword block
  • warnings and suggestions
  • meta: any detected project conventions

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

robotframework-appium-skill

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

robotframework-selenium-skill

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

robotframework-browser-skill

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

robotframework-testcase-builder

No summary provided by upstream source.

Repository SourceNeeds Review