| name | testing |
| description | Run linting and tests for Weaver SDK. Works in any worktree. |
Weaver SDK Testing Skill (Worktree-Aware)
How to Use
- Read agent instructions at
.claude/agents/testing/AGENT.md
- Invoke Task tool with
subagent_type="testing" (specialized agent)
- Agent will lint and run all tests
Prerequisites
Verify you're in the correct worktree:
git rev-parse --show-toplevel
git branch --show-current
Testing Workflow
make check-format
make lint
make test
make ci
Test Commands
pytest tests/ -v
pytest tests/test_config.py -v
pytest tests/test_config.py::test_config_defaults -v
make test-cov
Lint Commands
black --check weaver/ tests/
isort --check-only weaver/ tests/
make format
pylint weaver/
mypy weaver/
python tests/lint/check_license_header.py
Output Format
## Testing Summary
**Status:** PASS / WARNINGS / FAIL
### Lint Results
[black/isort/pylint/mypy output]
### Test Results
- Total: X | Passed: X | Failed: X | Skipped: X
### Failures
[Failed test details if any]
### Recommendations
[Actions to fix issues]