Install
$ agentstack add skill-caraya-agent-skills-python-testing ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Python Testing
Use this SKILL for pytest/unittest setup, fixture design, parameterization, and diagnosing test isolation or coverage issues.
Recommended tools:
- pytest (fixtures, plugins, simple syntax)
- unittest (stdlib-only projects)
- coverage.py / pytest-cov for coverage
Checklist
- Descriptive test names and independent tests
- Appropriate fixture scopes to avoid pollution
- Parameterize repetitive checks
- Mock external dependencies and assert calls precisely
Templates & Examples
Example pytest test:
def test_add():
assert add(1, 2) == 3
Conftest snippet (fixture):
import pytest
@pytest.fixture
def db(tmp_path):
# setup
yield db_conn
# teardown
Coverage/issue CSV header:
File,TestName,IssueType,SuggestedFix app/auth.py,testauthflow,Missing branch coverage,Add tests for invalid tokens and expired sessions
Output requirements
- For each finding provide: file and line, coverage or isolation risk, why it matters, minimal fix with code example.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: caraya
- Source: caraya/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.