fake-driven-testing
Fake-Driven Testing Architecture for Python
Use this skill when: Writing tests, fixing bugs, adding features, or modifying gateway layers in Python projects.
No prerequisites. This skill is self-contained. It focuses on testing architecture, not language-specific style.
Overview
This skill provides a defense-in-depth testing strategy with five layers for Python applications:
┌─────────────────────────────────────────────────┐
│ Layer 5 "smoke": Business Logic Integration Tests (5%) │ ← Smoke tests over real system
├─────────────────────────────────────────────────┤
│ Layer 4 "logic": Business Logic Tests (70%) │ ← Tests over fakes (MOST TESTS)
├─────────────────────────────────────────────────┤
│ Layer 3 "pure": Pure Unit Tests (10%) │ ← Zero dependencies, isolated testing
├─────────────────────────────────────────────────┤
│ Layer 2 "real-sanity": Integration Sanity Tests (10%) │ ← Fast validation with mocking
More from dagster-io/erk
dignified-code-simplifier
Simplifies and refines Python code for clarity, consistency, and maintainability while preserving all functionality. Applies dignified-python standards. Focuses on recently modified code unless instructed otherwise.
96dignified-python
Production Python coding standards with automatic version detection (3.10-3.13). Use when writing,
77cli-skill-creator
This skill should be used when creating a skill for a CLI tool. Use when users ask to document a command-line tool, create CLI guidance, or build a skill for terminal commands. Essential for systematically introspecting CLI tools through help text, man pages, GitHub repos, and online research, then organizing findings into effective skill documentation.
72command-creator
This skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.
72learned-docs
This skill should be used when writing, modifying, or reorganizing
71session-inspector
>
71