add-test-stand
Add or update a logical hardware test stand in inventory/stands.yaml. Use when asked to create a stand, assign existing physical devices to logical roles, add stand capabilities, or change a stand top
SKILL.mdskills/add-test-stand/SKILL.md
GitHubAdd Test Stand
Add a validated stand definition that maps stable logical roles to existing physical device IDs.
Inspect
- Read
AGENTS.mdcompletely and follow its approval and verification rules. - Read
inventory/stands.yamland every source in itsdevice_fileslist. - Read the inventory Pydantic models and loader when the requested shape is not already supported.
- List the requested stand name, description, capabilities, logical roles, and referenced device IDs. Ask only for information that cannot be inferred safely.
Design and review
- Verify that the stand name is unique unless the user explicitly requests an update.
- Verify every referenced device ID exists across the combined physical-device inventory.
- Keep stand entries limited to description, capabilities, and
role: device_idmappings. - Keep hosts, ports, models, transports, and credential references in device inventory files.
- Keep secrets in runtime settings; never place usernames or passwords in inventory.
- Prefer descriptive logical roles that remain stable when physical equipment changes.
- Show the complete proposed stand YAML and identify every file to change.
- Request explicit approval before modifying files.
Example:
stands:
stand-03:
description: Example validation stand
capabilities: [smoke, measurement]
devices:
dut: dut_03
analyzer_primary: analyzer_01
analyzer_secondary: analyzer_02
Implement and verify
- Modify only the approved stand definitions and any approved documentation.
- Preserve unrelated inventory entries and formatting.
- Load
inventory/stands.yamlthroughhardware_test.inventory.load_inventoryto validate all sources and references. - Add or update tests only after production changes are approved, as required by
AGENTS.md. - Do not connect to physical equipment or run hardware tests unless explicitly requested.
- Stage the intended changes and run
./scripts/ci.sh. - Report the logical-role mapping and verification results.