claude-memory/graph/configurations/z-image-restructured-as-proper-python-package-with-uv-tool-i-002fc4.md
2026-02-28 23:48:51 -06:00

1.7 KiB

id type title tags importance confidence created updated relations
002fc433-6969-4f1d-b400-50b8324bb82d configuration z-image restructured as proper Python package with uv tool install
z-image
python
uv
cli-tools
configuration
claude-code-config
skills
0.65 0.8 2026-03-01T05:48:22.211904+00:00 2026-03-01T05:48:51.898741+00:00
target type direction strength edge_id
e0a851a7-1dc5-4191-b220-aa90112a1171 CAUSES incoming 0.9 f8920f75-7809-4b4a-ae30-77bd85c28ef1
target type direction strength edge_id
a41644f1-2dd1-4706-8fc8-e2242c1702cb FOLLOWS outgoing 0.85 bd5850a8-2974-47b8-987e-bc8966b08c5f

z-image Restructured as Proper Python Package

Before

  • Location: ~/.claude/skills/z-image/ (embedded in skills directory)
  • Had embedded venv and generate.py directly in the skills folder
  • Bash wrapper at ~/bin/z-image

After

  • App location: /mnt/NV2/Development/z-image/
  • Structure: proper Python package with pyproject.toml and src/ layout
    • src/z_image/cli.py — main CLI entry point
  • Installation: uv tool install -e . (editable install)
  • Binary location: ~/.local/bin/z-image (from console_scripts entry point)
  • Skills location: only SKILL.md remains in ~/.claude/skills/z-image/

Changes Made

  • Removed old bash wrapper at ~/bin/z-image
  • Removed embedded venv from skills directory
  • Created pyproject.toml with console_scripts entry point
  • Moved source into src/z_image/ layout

Pattern Applied

Skills should only contain SKILL.md instructions. Application code lives in proper development location and is referenced by CLI command name, not path.