pyproject-toml-1-version-constraints

Sub-skill of pyproject-toml: 1. Version Constraints (+3).

5 stars

Best use case

pyproject-toml-1-version-constraints is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Sub-skill of pyproject-toml: 1. Version Constraints (+3).

Teams using pyproject-toml-1-version-constraints should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/1-version-constraints/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/_archive/development/devtools/pyproject-toml/1-version-constraints/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/1-version-constraints/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How pyproject-toml-1-version-constraints Compares

Feature / Agentpyproject-toml-1-version-constraintsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Sub-skill of pyproject-toml: 1. Version Constraints (+3).

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 1. Version Constraints (+3)

## 1. Version Constraints


```toml
# Recommended patterns
dependencies = [
    "pandas>=2.0.0",           # Minimum version (most common)
    "numpy>=1.24,<2.0",        # Range for major version compatibility
    "requests~=2.28",          # Compatible release (~=2.28 means >=2.28,<3.0)
]

# Avoid
dependencies = [
    "pandas==2.1.3",           # Too strict, causes conflicts
    "numpy",                   # Too loose, may break with updates
]
```


## 2. Organize Optional Dependencies


```toml
[project.optional-dependencies]
# Group by purpose
dev = ["pytest", "ruff", "mypy"]
docs = ["mkdocs", "mkdocs-material"]
viz = ["plotly", "matplotlib"]

# Convenience groups
test = ["pytest", "pytest-cov"]
lint = ["ruff", "mypy"]
all = ["my-project[dev,docs,viz]"]
```


## 3. Use src Layout


```
my-project/
├── pyproject.toml
├── src/
│   └── my_project/
│       ├── __init__.py
│       └── core.py
└── tests/
    └── test_core.py
```


## 4. Keep Tools Consistent


```toml
# Use same line-length everywhere
[tool.ruff]
line-length = 88

[tool.black]
line-length = 88

[tool.isort]
line_length = 88
```

Related Skills

toml-section-scoping-debug

5
from vamseeachanta/workspace-hub

Identify and fix TOML configuration errors caused by misplaced keys inside section headers

toml-section-scoping-config-debug

5
from vamseeachanta/workspace-hub

Diagnose TOML config errors caused by misplaced keys in table sections

debug-toml-section-scoping-errors

5
from vamseeachanta/workspace-hub

Diagnose and fix TOML configuration errors caused by misplaced key-value pairs in named sections

overnight-verify-close-and-blocker-conversion

5
from vamseeachanta/workspace-hub

Use overnight Codex lanes to clear stale-open GitHub issues by verification-first closure, and convert blocked PR-repair attempts into dedicated blocker issues instead of speculative edits.

orcaflex-file-conversion

5
from vamseeachanta/workspace-hub

Convert OrcaFlex files between formats (.dat, .yml, .sim) for digital analysis and automation. Supports bidirectional conversion, batch processing, and format standardization.

skill-creator-versioning

5
from vamseeachanta/workspace-hub

Sub-skill of skill-creator: Versioning.

orcaflex-file-conversion-yaml-structure-validation

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-file-conversion: YAML Structure Validation (+1).

orcaflex-file-conversion-pattern-based-conversion

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-file-conversion: Pattern-Based Conversion (+1).

orcaflex-file-conversion-orcaflex-file-types

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-file-conversion: OrcaFlex File Types (+1).

orcaflex-file-conversion-example-orcaflex-yaml-output

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-file-conversion: Example OrcaFlex YAML Output.

orcaflex-file-conversion-conversion-report-markdown

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-file-conversion: Conversion Report (Markdown).

orcaflex-file-conversion-conversion-report-json

5
from vamseeachanta/workspace-hub

Sub-skill of orcaflex-file-conversion: Conversion Report (JSON).