From curry-train
Bootstrap a new curryTrain project by copying the framework Python template into the user's working directory. Use when the user runs /curry-train:init, asks to "start a new training project with curryTrain", "initialize curryTrain", "scaffold a curryTrain project", or wants the framework code copied locally for editing.
npx claudepluginhub curryfromuestc/curry-train --plugin curry-trainThis skill is limited to using the following tools:
Copy the curryTrain Python template from `${CLAUDE_PLUGIN_ROOT}/template/curry_train/` into the user's working directory so they can edit, install, and extend it as part of their own project.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Processes PDFs: extracts text/tables/images, merges/splits/rotates pages, adds watermarks, creates/fills forms, encrypts/decrypts, OCRs scans. Activates on PDF mentions or output requests.
Share bugs, ideas, or general feedback.
Copy the curryTrain Python template from ${CLAUDE_PLUGIN_ROOT}/template/curry_train/ into the user's working directory so they can edit, install, and extend it as part of their own project.
/curry-train:init with an optional target directory.$1 (optional): target directory. Defaults to ./curry_train relative to the current working directory.--force flag: overwrite an existing target directory. Do not assume --force if the user did not pass it.Resolve the target path. If the user supplied an argument, use it. Otherwise default to ${PWD}/curry_train.
Refuse silent overwrite. If the target directory already exists and --force was not supplied, stop and tell the user the directory exists; offer to either remove it or pass --force. Never merge into an existing directory automatically.
Reject self-destructive paths. If the resolved target is inside ${CLAUDE_PLUGIN_ROOT}, abort — this would corrupt the plugin source.
Copy the template.
cp -r "${CLAUDE_PLUGIN_ROOT}/template/curry_train" "<target>"
find "<target>" -name "__pycache__" -type d -exec rm -rf {} +
find "<target>" -name "*.pyc" -delete
Show what was created. Run find <target> -maxdepth 3 -type f | sort and present the file tree so the user immediately sees the layout (Runtime / Primitive / Model / infra / prevalidate / validation / examples).
Print next-step guidance. Tell the user, in this order:
cd into it and pip install -e . if a pyproject.toml exists.new-experiment skill is the natural next step (Stage 1: Skeleton) — they can ask in plain English to "scaffold a new experiment" or "add a model called X".README.md and the stage1-scaffolder skill.pip install, does not git init, does not modify the user's environment, does not download model weights./curry-train:upgrade command may automate it.${CLAUDE_PLUGIN_ROOT} not set or template missing: print the resolved value and abort with a clear message.Keep the post-copy report under 30 lines. Long file trees should be truncated to the top three levels. End with the recommended next command.