coding-python

Write or fix Python implementation code to pass unit and integration tests.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/simonheimlicher/spx-claude --skill coding-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-python
Source: https://github.com/simonheimlicher/spx-claude/tree/main/plugins/python/skills/coding-python
Command: npx skills add https://github.com/simonheimlicher/spx-claude --skill coding-python

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers write or fix Python implementation code to ensure tests pass, reducing debugging time and rework after reviews.

Core Features & Use Cases

  • Code implementation: Create clean, test-driven Python implementations that satisfy unit and integration tests.
  • Bug fixing: Apply reviewer feedback to fix failing code paths and edge cases.
  • Use Case: When a unit test identifies a signature mismatch or logic error, this skill guides implementing or correcting the code to achieve green tests.

Quick Start

Write or fix a Python implementation so the tests pass.

Frequently Asked Questions about coding-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Python code to make failing unit tests pass?

To fix Python code for failing unit tests, you revise the implementation logic to satisfy test assertions and resolve signature mismatches, ensuring all test paths return the expected results.

What is the best way to write Python implementations guided by existing tests?

Writing Python implementations guided by existing tests involves analyzing test assertions to construct clean code, enforcing type annotations and dependency injection standards to ensure structural compliance.

How does dependency injection work when fixing Python test failures?

Dependency injection in fixing Python tests works by decoupling component dependencies, allowing you to mock external services and isolate logic errors so the implementation aligns with test expectations.

Do I need type annotations to fix Python code for integration tests?

Yes, type annotations are required when fixing Python code, as the process enforces coding standards that include type annotations and dependency injection across both unit and integration tests.

Can I use this approach to fix signature mismatches identified by reviewer feedback?

Yes, you can apply reviewer feedback to fix signature mismatches by adjusting the Python function signatures and logic paths, directly targeting the code corrections needed to achieve green tests.

Why are my Python unit tests still failing after logic corrections?

Python unit tests may still fail after logic corrections if type annotations are missing, dependency injection is improperly configured, or edge cases remain unhandled within the revised implementation.