Runs PEP 723 inline-script Python scripts with uv, manages execution environments, and applies Ruff formatting/linting. Use for ad-hoc data processing or creating single-file CLIs.
Ships in dcjanus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
uv run --script <临时脚本路径> ...。不通过运行时 --with 参数补充依赖,方便之后直接复用脚本。"httpx"),默认不写版本约束、不生成锁文件,也不预先查询最新版本号;只用标准库时写 dependencies = []。无需先运行 uv init 或 uv add。# /// script
# dependencies = ["httpx", "rich"]
# ///
依赖字符串遵循 Python 依赖声明规范;不限制版本时省略版本部分,不写 =* 或 ==*。长期维护的脚本按 SKILL.md 使用包管理工具更新依赖。
修改 Python 后优先使用项目既有检查命令与配置。项目未指定时,对改动文件执行:
uvx ruff format --check <paths>
uvx ruff check <paths>
检查失败时只修正当前任务相关问题;测试范围按全局约定和项目要求选择。
What SKILL.md sets; muted values are Claude Code's defaults
/dcjanus-dcjanus-plugins-dcjanus:python-executionfrom dcjanus
Generated from the plugin's indexed repository (dcjanus/prompts) — no native marketplace selected
npx claudepluginhub p/dcjanus-dcjanus-plugins-dcjanus27 skills in this plugin
/dcjanus-merge-policy将 GitHub 或 GitLab 仓库配置为 DCjanus 偏好的合并策略,包括 squash、组织仓库的 merge queue、提交消息模板和源分支删除设置。适用于明确要求采用 DCjanus 个人合并策略的场景,不用于一般 PR/MR 合并操作。Other plugins' skills for the same job