skills/devel/init-pixi-project/SKILL.md
Initialize and scaffold a new Pixi-managed Python project, or upgrade an existing one. Use when the user explicitly mentions "init", "initialize", or "setup" in conjunction with "pixi". Handles existing projects by prompting for confirmation before merging.
npx skillsauth add igamenovoer/magic-context init-pixi-projectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
pixi search, add, and run.pixi.lock, pixi.toml, or a pyproject.toml containing [tool.pixi]."Existing Pixi configuration detected. Proceeding will scaffold the directory structure and attempt to merge standard dependencies (scipy, ruff, etc.) into the current environment. This might affect existing functionality. Do you want to proceed?"
pyproject unless user specifies otherwise.Attempt to initialize Pixi.
pixi init [PATH] --format [pyproject|pixi] -c conda-forge[tool.pixi] exists in the manifest.pyproject.toml exists but lacks Pixi config, the agent should try to append the default Pixi configuration or ask the user if pixi init didn't do it automatically.If the user specified a project name different from the current directory name:
mv src/<dir_name> src/<project_name>pyproject.toml to replace the old name with the new one in:
[project] name = "..."[tool.pixi.pypi-dependencies] section (rename the key).Run the scaffolding script. Pass the project name if custom.
python <path_to_skill>/scripts/scaffold_structure.py [PATH] --package-name <project_name>
Check .gitignore. Append the following if not present:
.pixi/
tmp/
.git/
python is already a dependency.
pixi add python=<version>pixi add --pypi scipy mdutils ruff mkdocs-material mypy attrs omegaconf imageio
pixi add fails due to conflicts with existing packages, try to resolve by:
pixi install.pixi shell works).data-ai
Create readable Mermaid diagrams inside Markdown files. Use for flowcharts and sequence diagrams that must render cleanly in common Markdown renderers (e.g., GitHub) without horizontal scrolling. Covers fenced mermaid blocks, init/theme styling, label wrapping with <br/>, and sequenceDiagram layout rules (short IDs, wrapped labels, don’t break identifiers).
development
Manual invocation only; use only when the user explicitly requests `make-program-tutorial` by exact name, OR when the user asks to use a skill to create an SDK/API/library tutorial. Create a clear, reproducible, step-by-step tutorial for a specific API/SDK/library (or a set of functions/classes), with runnable examples, expected outputs, and basic troubleshooting.
testing
Use when the user wants to create a self-hosted, offline-installable Conda channel (mirror) containing a specific subset of packages using Pixi.
tools
Guides the agent to setup a new or existing Pixi environment for compiling C++ and CUDA code. It ensures the correct compilers, toolkits, and CMake configurations are in place for a robust user-space build.