askill
toolchain-health

toolchain-healthSafety 92Repository

Validate Python toolchain alignment between mise, Poetry, and pyproject. Use when changing Python versions, editing pyproject.toml, or seeing Poetry/mise version solver errors. Invokes /toolchain-health to check: - .mise.toml python tool version - pyproject.toml python constraint - Poetry env python interpreter Keywords: python version, mise, poetry, toolchain, env use, lock, install

0 stars
1.2k downloads
Updated 2/22/2026

Package Files

Loading files...
SKILL.md

Toolchain Health (Python + mise + Poetry)

Navigate and validate the Python toolchain configuration for this repo.

Canonical Policy

  • Exact version source of truth: .mise.toml
    • Example:
      [tools]
      python = "3.11.8"
      
  • Compatible range in pyproject.toml:
    • Use a range that includes the mise version and allows patch bumps, e.g.:
      [tool.poetry.dependencies]
      python = ">=3.11,<4.0"
      
  • Poetry env uses the mise-managed interpreter:
    • When (re)creating the env:
      poetry env use "$(mise which python)"
      poetry lock
      poetry install --only main
      
  • Upgrades:
    1. Update .mise.toml first and run mise install python.
    2. Run poetry env use "$(mise which python)".
    3. Only then tighten the python range in pyproject.toml if necessary.

Agents should avoid changing one layer (mise or pyproject) without considering the others.

Command: /toolchain-health

Use the /toolchain-health command (see .claude/commands/toolchain-health.md) to:

  1. Print Python from mise (mise which python + version).
  2. Show the python = ... constraint in pyproject.toml.
  3. Show the Python used by the Poetry env (if any).

When to Use This Skill

  • Editing .mise.toml to change Python versions.
  • Editing pyproject.toml to change the python constraint.
  • Seeing Poetry errors like:
    • "Current Python version is not allowed by the project"
    • Version solver failures related to python markers.
  • Before running poetry lock or poetry install as part of dependency or LLM infra work.

Agent Guidance

When this skill is relevant:

  1. Run /toolchain-health to gather the current state.
  2. Identify mismatches:
    • If .mise.toml and pyproject.toml disagree, recommend updating one to match the other, following the policy above.
    • If Poetry env uses a different interpreter than mise, recommend:
      poetry env use "$(mise which python)"
      
  3. Explain the root cause and suggest a minimal, coherent fix rather than ad-hoc changes.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

82/100Analyzed 2/24/2026

Well-structured technical reference skill for Python toolchain validation. Provides clear policy documentation, specific commands, and actionable guidance for managing mise/Poetry/pyproject alignment. Has a 'when to use' section, structured steps, and tags for discoverability. Slightly nested path but content is generalizable. References an external command file which is reasonable for reference skills.

92
90
85
80
78

Metadata

Licenseunknown
Version-
Updated2/22/2026
Publisherstars-end

Tags

llm