Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Tutorial In 60 Mins.Propagate Docker Changes

БесплатноБез исполняемых скриптовНе проверен

Sync tutorial and class-project Docker files to match project_template

gpsaggeseот gpsaggese★ 158 звёзд на GitHub

Об этом скилле

Overview

  • <SRC_DIR> = class_project/project_template
  • The user can pass the mode: full (Mode A, default) or last_commit (Mode B)

This skill supports two modes:

  • Full sync: Make all Docker files across projects match project_template
  • Last-commit sync: Propagate only the changes from the most recent commit in project_template

Plan Only (--only_plan)

  • With --only_plan, follow .claude/skills/skill.rules.md section "Create Only a Plan with --only_plan"
  • Write the plan to tutorial_in_60_mins.propagate_docker_changes.<INPUT_REF>.md, then stop without executing the skill

Mode A: Full sync

  • Find each target directory <DST_DIR>: every directory under class_project/ (other than <SRC_DIR> itself) that already has a Dockerfile
    > find class_project -mindepth 2 -maxdepth 2 -name Dockerfile \
        -not -path "class_project/project_template/*"
    
  • For each <DST_DIR> found this way, make the Docker files <DST_DIR>/docker_*.sh, <DST_DIR>/Dockerfile, <DST_DIR>/run_jupyter.sh as similar as possible to the corresponding ones in <SRC_DIR>
    • The goal is to reuse functions and factored out code (e.g., from class_project/project_template/utils.sh)
  • If you are not sure about what the changes are
    • Summarize the changes for the user in bullet points
    • Ask the user to confirm

Mode B: Last-commit sync

  • Use this mode when you only need to propagate the most recent changes

Check the Last Commit

  • Look at the changes from the last git commit in <SRC_DIR>
  • Summarize the changes for the user in bullet points
  • If you are not sure about what the changes are, stop and ask the user to confirm

Propagate the Changes

  • Propagate the changes in the Docker system from <SRC_DIR> to every <DST_DIR> found via the find command in Mode A

Preserve Behavior

  • Make sure not to change the behavior unless needed

Update the Docker Docs

  • Update class_project/project_template/docker_scripts.README.md explaining how this project uses Docker to build and execute containers given the new changes

Verification (both modes)

  • --only_plan (check only this item): the plan is in tutorial_in_60_mins.propagate_docker_changes.<INPUT_REF>.md in the current dir, has the Generated by line, and nothing was executed
  • All the docker_*.sh scripts work, run either directly or through the relevant pytest unit tests
Полный SKILL.md на GitHub

Установить Tutorial In 60 Mins.Propagate Docker Changes в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Tutorial In 60 Mins.Propagate Docker Changes?

Sync tutorial and class-project Docker files to match project_template

Как установить скилл Tutorial In 60 Mins.Propagate Docker Changes?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Tutorial In 60 Mins.Propagate Docker Changes запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Tutorial In 60 Mins.Propagate Docker Changes с