From 9f3154ea51ccf4f0458630b02b62ac8e6f73aa7f Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sun, 30 Nov 2025 08:27:52 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 11 ++++++ README.md | 3 ++ plugin.lock.json | 45 +++++++++++++++++++++++ skills/managing-packages-with-uv/SKILL.md | 22 +++++++++++ 4 files changed, 81 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 plugin.lock.json create mode 100644 skills/managing-packages-with-uv/SKILL.md diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..447d932 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,11 @@ +{ + "name": "python-dev", + "description": "Python Development Assistant", + "version": "0.1.0", + "author": { + "name": "Jean-Marc Fontaine" + }, + "skills": [ + "./skills" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..6501479 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-dev + +Python Development Assistant diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..399e15f --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:jmfontaine/jmf-claude-code-plugins:python-dev", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "5406ed8b724262bb24c7d7f05829b6b68bff6198", + "treeHash": "178a46b8d065fadd94bb41de49ddc0ae5041c419208d2768b0ceccd528d6ca9d", + "generatedAt": "2025-11-28T10:19:16.798657Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "python-dev", + "description": "Python Development Assistant", + "version": "0.1.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "f43d8b560c7ab628d9ba72f2588803d75726c0083cca280451609eb69abce8e7" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "c625d3dc5b6dd9a1fca3e61a4451c2ed3a5ccf0719421e9aeedd321f54597b49" + }, + { + "path": "skills/managing-packages-with-uv/SKILL.md", + "sha256": "58fd1d583f47ad75755d414643eb18bab5eaadd2a659e16abc737932e9621d50" + } + ], + "dirSha256": "178a46b8d065fadd94bb41de49ddc0ae5041c419208d2768b0ceccd528d6ca9d" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file diff --git a/skills/managing-packages-with-uv/SKILL.md b/skills/managing-packages-with-uv/SKILL.md new file mode 100644 index 0000000..893d581 --- /dev/null +++ b/skills/managing-packages-with-uv/SKILL.md @@ -0,0 +1,22 @@ +--- +description: Manages Python packages with uv. Use when you need to add or remove, or set the version of a Python package. +name: Managing Python packages with uv +--- + +# Managing Python Packages with uv + +Always use the `uv` command to manage Python packages: + +```shell +uv add # Add package to the project and install it +uv remove # Remove package from the project +uv sync --upgrade # Upgrade all packages to their latest acceptable versions +uv sync --upgrade-package # Upgrade specific package to its latest acceptable version +``` + +All the commands above accept the optional `--group ` option to specify a group (e.g., dev, test). + +If `uv` is not available, mention that it is required, share the +[link to the documentation](https://docs.astral.sh/uv/#installation), and stop. + +Do not modify the `pyproject.toml` file directly. Use `uv` instead. \ No newline at end of file