pyproject-toml-1-version-constraints
Sub-skill of pyproject-toml: 1. Version Constraints (+3).
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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/1-version-constraints/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How pyproject-toml-1-version-constraints Compares
| Feature / Agent | pyproject-toml-1-version-constraints | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/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
Identify and fix TOML configuration errors caused by misplaced keys inside section headers
toml-section-scoping-config-debug
Diagnose TOML config errors caused by misplaced keys in table sections
debug-toml-section-scoping-errors
Diagnose and fix TOML configuration errors caused by misplaced key-value pairs in named sections
overnight-verify-close-and-blocker-conversion
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
Convert OrcaFlex files between formats (.dat, .yml, .sim) for digital analysis and automation. Supports bidirectional conversion, batch processing, and format standardization.
skill-creator-versioning
Sub-skill of skill-creator: Versioning.
orcaflex-file-conversion-yaml-structure-validation
Sub-skill of orcaflex-file-conversion: YAML Structure Validation (+1).
orcaflex-file-conversion-pattern-based-conversion
Sub-skill of orcaflex-file-conversion: Pattern-Based Conversion (+1).
orcaflex-file-conversion-orcaflex-file-types
Sub-skill of orcaflex-file-conversion: OrcaFlex File Types (+1).
orcaflex-file-conversion-example-orcaflex-yaml-output
Sub-skill of orcaflex-file-conversion: Example OrcaFlex YAML Output.
orcaflex-file-conversion-conversion-report-markdown
Sub-skill of orcaflex-file-conversion: Conversion Report (Markdown).
orcaflex-file-conversion-conversion-report-json
Sub-skill of orcaflex-file-conversion: Conversion Report (JSON).