tech-stack-adapter

Parse pyproject.toml to generate test, build, and coverage commands for Python/uv projects.

Updated Oct 22, 2025
One-click install
npx skills add https://github.com/stharrold/german --skill tech-stack-adapter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tech-stack-adapter
Source: https://github.com/stharrold/german/tree/main/.claude/skills/tech-stack-adapter
Command: npx skills add https://github.com/stharrold/german --skill tech-stack-adapter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tomli, and includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the need for hardcoded project assumptions by automatically detecting your Python project's configuration and generating appropriate commands.

Core Features & Use Cases

  • Automatic Detection: Reads pyproject.toml to identify dependencies, tools, and project structure.
  • Command Generation: Provides standardized commands for testing, building, coverage, and containerization.
  • Use Case: Imagine you're starting work on a new Python project. Use this Skill to automatically discover what testing framework, database, and build tools are configured.

Quick Start

Use the tech-stack-adapter skill to detect the project configuration and get the correct test command for this repository.

Frequently Asked Questions about tech-stack-adapter

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

FAQPage Schema
How do I automatically detect the correct test command for my Python project?

Automatic detection reads your pyproject.toml to identify testing frameworks like pytest and generates the appropriate test command. This eliminates guessing which test runner your project uses and adapts to dependency changes automatically.

Can I automatically generate build and coverage commands from my Python project configuration?

Command generation analyzes pyproject.toml and dependencies to produce standardized commands for testing, building, coverage analysis, and containerization. It detects frameworks and tools already configured in your project and outputs them as ready-to-use commands.

What information does the adapter extract from pyproject.toml?

The adapter parses pyproject.toml to identify test frameworks, coverage tools, databases, ORMs, migration systems, and container settings. It produces a JSON payload with test_cmd, build_cmd, coverage_cmd, coverage_check, migrate_cmd, database, orm, container, and related metadata.

How does this handle changes to project dependencies?

Stack detection applies at workflow session start and automatically adapts when dependencies change. It re-analyzes pyproject.toml to identify updated tools and regenerates appropriate commands without manual reconfiguration.

Does this work with Python projects using uv?

Yes, the adapter supports Python and uv projects by parsing pyproject.toml and detecting project dependencies. It generates commands compatible with uv-based workflows and standard Python project structures.

What happens if pytest and coverage aren't detected in my project?

The adapter detects whether pytest and coverage tools are present and sets the has_pytest_cov field accordingly. If not detected, it provides the configuration metadata for other testing and coverage tools your project uses.