Files
worklane/.opencode/skill/testing-skill/SKILL.md
T
2026-05-14 20:41:40 +02:00

22 lines
913 B
Markdown

---
name: testing-skill
description: Proper guidelines for testing the worklane CLI
---
## Purpose
This skill enables the agent to test a CLI application while enforcing strict isolation from the project directory. All commands must be executed in a dedicated temporary workspace (`./tmp`) to prevent accidental modification of source files or repository state.
## Core Rules (Non-Negotiable)
- Never execute CLI commands in the project root or in any source directory
- All command execution MUST occur inside of `./tmp`
- If `./tmp` does not exist, the agent MUST create it before running any command
- The working directory must always be explicitly set to `./tmp` for every execution step
- The agent must never assume the current working directory is safe
## Process
- Check if `./tmp` exists
- If not, create it: `mkdir -p ./tmp`
- Switch execution context to `./tmp`
- Go ahead and test the commands