skills/vcsdd-language-python/SKILL.md
Use this skill when applying VCSDD to Python projects. Provides hypothesis property testing patterns, mutmut mutation testing, and pytest integration for the VCSDD pipeline.
npx skillsauth add sc30gsw/vcsdd-claude-code vcsdd-language-pythonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Tier | Tool | Install | Use Case |
|------|------|---------|---------|
| 1 | hypothesis | pip install hypothesis | Property-based testing |
| 1 | mutmut | pip install mutmut | Mutation testing |
| 1 | pytest-cov | pip install pytest-cov | Coverage reporting |
from hypothesis import given, settings, strategies as st
from hypothesis import HealthCheck
@given(st.text(min_size=0, max_size=1000))
@settings(max_examples=500, suppress_health_check=[HealthCheck.too_slow])
def test_parse_never_raises_on_arbitrary_input(s: str):
"""Parse should never panic - it should return a Result."""
try:
result = parse(s)
# If successful, roundtrip should hold
if result is not None:
assert serialize(result) == s
except ParseError:
pass # Expected error types are ok
@given(st.from_regex(r'[a-z]{1,20}'))
def test_parse_valid_input(s: str):
result = parse(s)
assert result is not None
assert serialize(result) == s
# Run mutation testing
mutmut run --paths-to-mutate src/
# Check results
mutmut results
mutmut show <mutation_id> # See specific mutations
# Generate HTML report
mutmut html
# Run tests and capture output
pytest tests/ -v 2>&1 | tee .vcsdd/features/<name>/evidence/sprint-1-red-phase.log
# Verify failure
grep -q "FAILED" .vcsdd/features/<name>/evidence/sprint-1-red-phase.log
documentation
Use this skill when writing Phase 1b verification architecture documents. Provides purity boundary mapping, proof obligation design, and tier assignment guidance.
data-ai
Use this skill when creating or querying VCSDD Chainlink bead traceability. Provides bead creation patterns, chain traversal, and completeness validation.
data-ai
Display the full traceability chain for a VCSDD bead. Traverses the Chainlink graph from the given bead ID and shows all connected artifacts with status.
development
Run Phase 2a (test generation, Red phase) for the active VCSDD feature. Invokes vcsdd-builder to generate failing tests for all spec requirements. Records red phase evidence.