AgentSkillsCN

robotframework-resource-architect

为可维护的套件设计 Robot Framework 资源与变量布局。当您需要创建资源文件、变量文件,或提出包含共享关键字与环境特有数据的项目结构时,可使用此技能。

SKILL.md
--- frontmatter
name: robotframework-resource-architect
description: Design Robot Framework resource and variables layout for maintainable suites. Use when asked to create resource files, variable files, or propose project structure with shared keywords and environment-specific data.

Robot Framework Resource Architect

Create resource file templates and directory layout proposals. Output JSON only.

Input (JSON)

Provide input via --input or stdin. Example:

json
{
  "project_root": ".",
  "domains": ["auth", "orders"],
  "libraries": ["BuiltIn", "OperatingSystem"],
  "environments": ["dev", "qa"],
  "resource_naming": "by-domain",
  "variables_format": "resource"
}

Command

bash
python scripts/resource_architect.py --input plan.json

Write files (optional):

bash
python scripts/resource_architect.py --input plan.json --write

Output (JSON)

  • directories: planned directory list
  • files: list of file paths + contents
  • warnings and suggestions