uv-init-project

Initialize a Python project with uv and verify generated files.

Updated Jun 18, 2025
One-click install
npx skills add https://github.com/ekozmdev/my-codex-cli-settings --skill uv-init-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uv-init-project
Source: https://github.com/ekozmdev/my-codex-cli-settings/tree/main/.agents/skills/uv-init-project
Command: npx skills add https://github.com/ekozmdev/my-codex-cli-settings --skill uv-init-project

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

uv init を使って Python プロジェクトを手早く初期化し、標準的なディレクトリ構成と初期ファイルを用意します。

Core Features & Use Cases

  • 初期ディレクトリと基本ファイルの自動生成
  • pyproject.toml の初期設定と add-bounds の適用
  • uv と依存管理スキル間の連携準備を他のワークフローへつなぐ

Quick Start

uv init コマンドを実行してプロジェクトを作成します。生成物を確認し、pyproject.toml の初期設定を適用します。

Frequently Asked Questions about uv-init-project

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

FAQPage Schema
How do I initialize a Python project with uv and generate pyproject.toml?

To initialize a Python project with uv, run the uv init command to generate the project directory, pyproject.toml, and .python-version file, then validate these artifacts and apply add-bounds in pyproject.toml. The uv tool must be installed beforehand.

What files are generated when bootstrapping a project using uv init?

Running uv init bootstraps a standard Python project directory structure and generates initial files including pyproject.toml for dependency management, a .python-version file for environment pinning, and default project scaffolding. The workflow validates these generated artifacts for consistency.

Do I need to install uv before setting up a Python project?

Yes, you need the uv tool installed before setting up a Python project. The project bootstrapping workflow requires uv to execute the init command, generate the directory structure, and prepare the pyproject.toml configuration for subsequent dependency management steps.

What is the best way to apply add-bounds in pyproject.toml after uv init?

The best way to apply add-bounds in pyproject.toml is during the uv init workflow, which initializes the project and then explicitly applies add-bounds settings within the generated pyproject.toml file to ensure consistency with downstream dependency management steps.

Can I use uv init to prepare my project for automated dependency management?

Yes, you can use uv init to prepare your project for automated dependency management. The workflow generates pyproject.toml with initial settings and applies add-bounds, creating a consistent baseline that connects directly to other uv dependency management workflows.