aiskillstore/marketplace / skills/89jobrien/tdd-pytest
tdd-pytest
VerifiedPython/pytest TDD specialist for test-driven development workflows. Use when writing tests, auditing test quality, running pytest, or generating test reports. Integrates with uv and pyproject.toml configuration.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.7 KB |
| skill-report.json | config | 35.3 KB |
skill-report.json
View on GitHub{
"schema_version": "2.0",
"meta": {
"generated_at": "2026-07-05T13:54:55.573Z",
"slug": "89jobrien-tdd-pytest",
"source_url": "https://github.com/89jobrien/steve/tree/main/steve/skills/tdd-pytest",
"source_ref": "main",
"model": "codex",
"analysis_version": "3.0.0",
"source_type": "community",
"content_hash": "e7fc9d147e3111004bb59f7c9b68f456e6a934100f913ff76760e55f4bc38f5a",
"tree_hash": "755430fc9fe77334cc945cc7c838eb4e21d48777ead29d429922bc3264df508c",
"provenance": {
"model_effective": "codex",
"fallback_chain": [
{
"agent": "codex",
"outcome": "success"
}
],
"analysis_version": "3.0.0"
}
},
"skill": {
"name": "tdd-pytest",
"description": "Python and pytest TDD guidance for writing tests, auditing test quality, running pytest, and maintaining pytest configuration.",
"summary": "Guides Python teams through pytest-focused TDD, test quality review, coverage runs, and reporting.",
"icon": "📦",
"version": "1.0.2",
"author": "Joseph OBrien",
"license": "MIT",
"tags": [
"python",
"pytest",
"tdd",
"testing",
"coverage"
],
"supported_tools": [
"claude",
"codex",
"claude-code"
],
"risk_factors": [
"external_commands"
],
"category": "coding"
},
"security_audit": {
"risk_level": "safe",
"is_blocked": false,
"safe_to_publish": true,
"analysis_status": "ok",
"summary": "All static findings were markdown formatting or pytest documentation false positives, not executable Ruby or shell backtick execution. I found no prompt injection, data exfiltration intent, or malicious behavior in SKILL.md.",
"remediation": [],
"risk_factor_evidence": [
{
"factor": "external_commands",
"evidence": [
{
"file": "SKILL.md",
"line_start": 21,
"line_end": 21
},
{
"file": "SKILL.md",
"line_start": 22,
"line_end": 22
},
{
"file": "SKILL.md",
"line_start": 48,
"line_end": 56
},
{
"file": "SKILL.md",
"line_start": 56,
"line_end": 60
},
{
"file": "SKILL.md",
"line_start": 60,
"line_end": 60
},
{
"file": "SKILL.md",
"line_start": 61,
"line_end": 62
},
{
"file": "SKILL.md",
"line_start": 62,
"line_end": 63
},
{
"file": "SKILL.md",
"line_start": 63,
"line_end": 63
},
{
"file": "SKILL.md",
"line_start": 69,
"line_end": 79
},
{
"file": "SKILL.md",
"line_start": 79,
"line_end": 83
},
{
"file": "SKILL.md",
"line_start": 83,
"line_end": 91
},
{
"file": "SKILL.md",
"line_start": 91,
"line_end": 95
},
{
"file": "SKILL.md",
"line_start": 95,
"line_end": 102
},
{
"file": "SKILL.md",
"line_start": 102,
"line_end": 106
},
{
"file": "SKILL.md",
"line_start": 106,
"line_end": 110
},
{
"file": "SKILL.md",
"line_start": 110,
"line_end": 116
},
{
"file": "SKILL.md",
"line_start": 116,
"line_end": 122
},
{
"file": "SKILL.md",
"line_start": 122,
"line_end": 126
},
{
"file": "SKILL.md",
"line_start": 126,
"line_end": 126
},
{
"file": "SKILL.md",
"line_start": 127,
"line_end": 127
},
{
"file": "SKILL.md",
"line_start": 128,
"line_end": 129
},
{
"file": "SKILL.md",
"line_start": 129,
"line_end": 130
},
{
"file": "SKILL.md",
"line_start": 130,
"line_end": 131
},
{
"file": "SKILL.md",
"line_start": 131,
"line_end": 132
},
{
"file": "SKILL.md",
"line_start": 132,
"line_end": 133
},
{
"file": "SKILL.md",
"line_start": 133,
"line_end": 139
},
{
"file": "SKILL.md",
"line_start": 139,
"line_end": 143
},
{
"file": "SKILL.md",
"line_start": 143,
"line_end": 147
},
{
"file": "SKILL.md",
"line_start": 147,
"line_end": 177
},
{
"file": "SKILL.md",
"line_start": 177,
"line_end": 181
},
{
"file": "SKILL.md",
"line_start": 181,
"line_end": 203
},
{
"file": "SKILL.md",
"line_start": 203,
"line_end": 204
},
{
"file": "SKILL.md",
"line_start": 204,
"line_end": 205
},
{
"file": "SKILL.md",
"line_start": 205,
"line_end": 206
}
]
}
],
"static_findings": [
{
"id": "external_commands:SKILL.md:21:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 21,
"line_end": 21,
"snippet": "- Generating test reports to `TESTING_REPORT.local.md`"
},
{
"id": "external_commands:SKILL.md:22:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 22,
"line_end": 22,
"snippet": "- Setting up pytest configuration in `pyproject.toml`"
},
{
"id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 48,
"line_end": 56,
"snippet": "```text"
},
{
"id": "external_commands:SKILL.md:56:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 56,
"line_end": 60,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:60:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 60,
"line_end": 60,
"snippet": "- Test files: `test_*.py` or `*_test.py`"
},
{
"id": "external_commands:SKILL.md:61:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 61,
"line_end": 62,
"snippet": "- Test functions: `test_*`"
},
{
"id": "external_commands:SKILL.md:62:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 62,
"line_end": 63,
"snippet": "- Test classes: `Test*`"
},
{
"id": "external_commands:SKILL.md:63:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 63,
"line_end": 63,
"snippet": "- Fixtures: Descriptive names (`mock_database`, `sample_user`)"
},
{
"id": "external_commands:SKILL.md:69:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 69,
"line_end": 79,
"snippet": "```python"
},
{
"id": "external_commands:SKILL.md:79:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 79,
"line_end": 83,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:83:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 83,
"line_end": 91,
"snippet": "```python"
},
{
"id": "external_commands:SKILL.md:91:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 91,
"line_end": 95,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:95:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 95,
"line_end": 102,
"snippet": "```python"
},
{
"id": "external_commands:SKILL.md:102:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 102,
"line_end": 106,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:106:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 106,
"line_end": 110,
"snippet": "```python"
},
{
"id": "external_commands:SKILL.md:110:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 110,
"line_end": 116,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:116:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 116,
"line_end": 122,
"snippet": "```bash"
},
{
"id": "external_commands:SKILL.md:122:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 122,
"line_end": 126,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:126:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 126,
"line_end": 126,
"snippet": "- `-v` / `--verbose` - Detailed output"
},
{
"id": "external_commands:SKILL.md:127:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 127,
"line_end": 127,
"snippet": "- `-x` / `--exitfirst` - Stop on first failure"
},
{
"id": "external_commands:SKILL.md:128:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 128,
"line_end": 129,
"snippet": "- `--tb=short` - Short tracebacks"
},
{
"id": "external_commands:SKILL.md:129:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 129,
"line_end": 130,
"snippet": "- `--tb=no` - No tracebacks"
},
{
"id": "external_commands:SKILL.md:130:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 130,
"line_end": 131,
"snippet": "- `-k EXPR` - Run tests matching expression"
},
{
"id": "external_commands:SKILL.md:131:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 131,
"line_end": 132,
"snippet": "- `-m MARKER` - Run tests with marker"
},
{
"id": "external_commands:SKILL.md:132:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 132,
"line_end": 133,
"snippet": "- `--cov=PATH` - Coverage for path"
},
{
"id": "external_commands:SKILL.md:133:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 133,
"line_end": 139,
"snippet": "- `--cov-report=term-missing` - Show missing lines"
},
{
"id": "external_commands:SKILL.md:139:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 139,
"line_end": 143,
"snippet": "```toml"
},
{
"id": "external_commands:SKILL.md:143:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 143,
"line_end": 147,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:147:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 147,
"line_end": 177,
"snippet": "```toml"
},
{
"id": "external_commands:SKILL.md:177:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 177,
"line_end": 181,
"snippet": "```"
},
{
"id": "external_commands:SKILL.md:181:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 181,
"line_end": 203,
"snippet": "The `TESTING_REPORT.local.md` file should contain:"
},
{
"id": "external_commands:SKILL.md:203:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 203,
"line_end": 204,
"snippet": "- `/tdd-pytest:init` - Initialize pytest configuration"
},
{
"id": "external_commands:SKILL.md:204:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 204,
"line_end": 205,
"snippet": "- `/tdd-pytest:test [path]` - Write tests using TDD (context-aware)"
},
{
"id": "external_commands:SKILL.md:205:ruby-shell-backtick-execution",
"category": "external_commands",
"severity": "medium",
"pattern": "Ruby/shell backtick execution",
"file": "SKILL.md",
"line_start": 205,
"line_end": 206,
"snippet": "- `/tdd-pytest:test-all` - Run all tests"
},
{
"id": "blocker:SKILL.md:108:system-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "System reconnaissance",
"file": "SKILL.md",
"line_start": 108,
"line_end": 108,
"snippet": "with pytest.raises(ValueError, match=\"invalid input\"):"
},
{
"id": "blocker:SKILL.md:33:network-reconnaissance",
"category": "blocker",
"severity": "low",
"pattern": "Network reconnaissance",
"file": "SKILL.md",
"line_start": 33,
"line_end": 34,
"snippet": "2. **GREEN** - Write minimal code to pass"
}
],
"finding_verdicts": [
{
"id": "external_commands:SKILL.md:21:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:22:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:48:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:56:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:60:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:61:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:62:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:63:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:69:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:79:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:83:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:91:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:95:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:102:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:106:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:110:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:116:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.9,
"reason": "This is a markdown bash example for running pytest with uv during user-requested testing. It is not executable code in the skill and does not include obfuscation, downloads, or exfiltration."
},
{
"id": "external_commands:SKILL.md:122:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.9,
"reason": "This is a markdown bash example for running pytest with uv during user-requested testing. It is not executable code in the skill and does not include obfuscation, downloads, or exfiltration."
},
{
"id": "external_commands:SKILL.md:126:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:127:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:128:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:129:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:130:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:131:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:132:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:133:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:139:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:143:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:147:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:177:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.96,
"reason": "The detected token is a markdown code fence delimiter in SKILL.md. It does not execute Ruby, shell, or any runtime command."
},
{
"id": "external_commands:SKILL.md:181:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.95,
"reason": "The detected backticks mark inline code formatting in documentation. The text names files, flags, or examples and does not execute a command."
},
{
"id": "external_commands:SKILL.md:203:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.93,
"reason": "This line documents slash-style skill commands for pytest workflows. It is descriptive marketplace content, not shell execution or a command injection sink."
},
{
"id": "external_commands:SKILL.md:204:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.93,
"reason": "This line documents slash-style skill commands for pytest workflows. It is descriptive marketplace content, not shell execution or a command injection sink."
},
{
"id": "external_commands:SKILL.md:205:ruby-shell-backtick-execution",
"verdict": "false_positive",
"confidence": 0.93,
"reason": "This line documents slash-style skill commands for pytest workflows. It is descriptive marketplace content, not shell execution or a command injection sink."
},
{
"id": "blocker:SKILL.md:108:system-reconnaissance",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "Line 108 is a pytest exception assertion using pytest.raises. It does not inspect the system or gather host information."
},
{
"id": "blocker:SKILL.md:33:network-reconnaissance",
"verdict": "false_positive",
"confidence": 0.97,
"reason": "Lines 33-34 describe the GREEN step of TDD and minimal implementation. There is no network probing, host discovery, or remote access instruction."
}
],
"semantic_findings": [],
"critical_findings": [],
"high_findings": [],
"medium_findings": [],
"low_findings": [],
"dangerous_patterns": [],
"files_scanned": 1,
"total_lines": 207,
"audit_model": "codex",
"audited_at": "2026-07-05T13:54:55.573Z",
"agent_auto_install_policy": "allowed",
"manual_install_policy": "allowed"
},
"content": {
"user_title": "Build Python Tests with pytest TDD",
"value_statement": "Python teams often need consistent tests, coverage, and reports without losing TDD discipline. This skill provides pytest-focused workflows, examples, and reporting guidance for Claude, Codex, and Claude Code.",
"seo_keywords": [
"Claude",
"Codex",
"Claude Code",
"pytest TDD",
"Python testing",
"test-driven development",
"pytest coverage",
"uv pytest",
"pyproject.toml",
"test reports"
],
"actual_capabilities": [
"Guides Red-Green-Refactor workflows for Python features.",
"Suggests pytest file, function, class, and fixture naming conventions.",
"Provides examples for fixtures, parametrization, async tests, and exception assertions.",
"Documents uv-based pytest commands for files, filters, verbosity, traceback style, and coverage.",
"Outlines pytest and coverage settings for pyproject.toml.",
"Defines a local testing report format with results, coverage, findings, and evidence."
],
"limitations": [
"It does not replace project-specific test design decisions.",
"Command examples assume uv, pytest, and related plugins are installed.",
"Coverage thresholds and markers must be adapted to each repository.",
"It cannot verify test behavior without access to the target code and dependencies."
],
"use_cases": [
{
"title": "Add tests before implementation",
"description": "Plan failing pytest cases first, then implement only enough behavior to pass them.",
"target_user": "Python developer"
},
{
"title": "Audit an existing test suite",
"description": "Review pytest files for naming, fixture quality, coverage evidence, and missing edge cases.",
"target_user": "Engineering lead"
},
{
"title": "Standardize pytest configuration",
"description": "Create practical pyproject.toml settings for discovery, markers, warnings, and coverage reporting.",
"target_user": "Maintainer"
}
],
"prompt_templates": [
{
"title": "Start a TDD cycle",
"scenario": "Beginner request for a new feature.",
"prompt": "Use the tdd-pytest workflow for this Python feature. First propose the smallest failing pytest case, then describe the minimal implementation needed to pass it."
},
{
"title": "Write targeted tests",
"scenario": "Intermediate request for focused coverage.",
"prompt": "Write pytest tests for this behavior. Include normal cases, edge cases, and one failure case. Keep the tests focused and explain why each test exists."
},
{
"title": "Audit test quality",
"scenario": "Intermediate review of an existing suite.",
"prompt": "Audit these pytest tests for clarity, fixture design, parametrization, missing assertions, and coverage gaps. Return prioritized recommendations with file and line references."
},
{
"title": "Prepare a test report",
"scenario": "Advanced request after running a suite.",
"prompt": "Summarize the pytest run, coverage results, failures, skipped tests, and recommended fixes in TESTING_REPORT.local.md format. Include command evidence and priority levels."
}
],
"output_examples": [
{
"input": "A developer asks for tests before adding password validation.",
"output": "The skill proposes failing pytest cases for valid passwords, short passwords, missing characters, and empty input before implementation steps."
},
{
"input": "A maintainer asks whether current tests are useful.",
"output": "The skill returns a quality review covering fixture reuse, assertion strength, parametrization opportunities, and missing edge cases."
},
{
"input": "A team asks for a local testing report after a pytest run.",
"output": "The skill outlines a report with pass and fail counts, coverage by module, audit findings, recommendations, and command evidence."
}
],
"best_practices": [
"Write the smallest failing test before changing production code.",
"Run focused tests first, then run the broader suite with coverage.",
"Keep reports local and include clear evidence for each recommendation."
],
"anti_patterns": [
"Writing broad tests that do not verify specific behavior.",
"Changing implementation before confirming the test fails for the right reason.",
"Using shared fixtures that hide setup details or make failures unclear."
],
"faq": [
{
"question": "Does this skill run tests automatically?",
"answer": "It documents pytest commands and workflows. Execution depends on the host agent, user permissions, and repository environment."
},
{
"question": "Does it require uv?",
"answer": "The examples use uv, but the pytest guidance can be adapted to other Python environment tools."
},
{
"question": "Can it help with async pytest tests?",
"answer": "Yes. The skill includes async test patterns and pytest configuration guidance for event loop behavior."
},
{
"question": "Can it generate coverage reports?",
"answer": "It guides coverage command selection and report structure. The actual coverage run requires project dependencies to be installed."
},
{
"question": "Can it review existing tests?",
"answer": "Yes. It can audit naming, fixtures, assertions, parametrization, coverage evidence, and missing cases."
},
{
"question": "Is it only for unit tests?",
"answer": "No. It can guide unit and integration tests when the expected behavior and test boundaries are clear."
}
]
},
"file_structure": [
{
"name": "SKILL.md",
"type": "file",
"path": "SKILL.md",
"lines": 207
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |