1.1 KiB
1.1 KiB
name, description, applyTo
| name | description | applyTo |
|---|---|---|
| Pytest Scaffolding Guidance | Use when working under tests/. Route test edits to pytesting guidance and never create or expand tests unless the user explicitly asks. | tests/** |
When editing files under tests/, use skill://pytesting/SKILL.md as the primary guidance source for test scaffolding and pytest authoring decisions.
Hard rule:
- Do not create new test files, test cases, or test scaffolding unless the user explicitly asks for tests in the current request.
- If tests could help but were not requested, mention them as an optional next step instead of adding them.
Execution pattern:
- Load
skill://pytesting/SKILL.mdfirst. - Inspect
skill://pytesting/_manifestonly when a supporting reference is needed. - Apply only the portions relevant to the file being edited.
- Keep tests focused, deterministic, and aligned with repository conventions.
- Include source-document links for any feature-level recommendation.
If task intent is ambiguous, ask one clarifying question before editing.
Be sure to also refer to the testing page for design detail.