init-pixi-project

Initialize or upgrade Pixi-managed Python projects with standard scaffolding and dependency installation.

7|1|Updated Jul 10, 2025
One-click install
npx skills add https://github.com/igamenovoer/magic-context --skill init-pixi-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: init-pixi-project
Source: https://github.com/igamenovoer/magic-context/tree/main/skills/devel/init-pixi-project
Command: npx skills add https://github.com/igamenovoer/magic-context --skill init-pixi-project

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

Initialize and upgrade a Pixi-managed Python project by scaffolding a standard structure or merging updates into an existing setup, ensuring a consistent development environment.

Core Features & Use Cases

  • Scaffolds a Pixi-enabled Python project with a clean directory layout (src/, pyproject.toml or pixi config) and ready-to-use tooling.
  • Safely upgrades existing Pixi configurations by detecting artifacts (pixi.lock, pixi.toml, or pyproject.toml with [tool.pixi]) and prompting before merging changes.
  • Applies post-initialization steps such as renaming the project in metadata, running the scaffolding script, and installing the standard dependency stack.

Quick Start

Example: init-pixi-project /path/to/new-project If an existing Pixi configuration is detected, answer the merge prompt to proceed; otherwise the project is scaffolded and dependencies are installed automatically.

Frequently Asked Questions about init-pixi-project

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

FAQPage Schema
How do I scaffold a Python project using Pixi?

To scaffold a Python project using Pixi, you initialize the project directory to generate a standard structure including src/, pyproject.toml, and configuration files. The process automatically installs a standard dependency stack via Pixi to ensure a consistent development environment.

Can I merge Pixi configuration updates into an existing Python project?

Yes, you can merge Pixi configuration updates into an existing Python project. The process detects existing artifacts like pixi.lock, pixi.toml, or pyproject.toml with [tool.pixi] and explicitly prompts you before merging any changes to ensure safe upgrades.

What is included in the standard directory structure for a Pixi-managed Python project?

The standard directory structure for a Pixi-managed Python project includes a clean src/ layout, pyproject.toml or pixi config, and ready-to-use tooling. This scaffolding ensures a consistent development environment with a standard dependency stack installed via Pixi.

Does Pixi project initialization support renaming the project metadata?

Yes, Pixi project initialization supports renaming the project metadata. As part of the post-initialization steps, the process applies optional renaming in the project metadata before running the scaffolding script and installing the standard dependency stack.

What happens if existing Pixi artifacts are detected during project initialization?

If existing Pixi artifacts such as pixi.lock, pixi.toml, or pyproject.toml with [tool.pixi] are detected during initialization, the process pauses and issues explicit user prompts. This ensures you can safely review and approve merging updates into your existing setup before proceeding.