AGENT SKILL

project-generation-cli

Use the Cookiecutter Data Science ccds CLI to create projects, pin template versions, run noninteractive generation, and diagnose generation failures.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
project-generation-cli
license
MIT
metadata
{ "disco-role": "operating" }
description
Use the Cookiecutter Data Science ccds CLI to create projects, pin template versions, run noninteractive generation, and diagnose generation failures.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

Project Generation CLI

Use this sub-skill when the task is to install or run Cookiecutter Data Science (CCDS), generate a new data-science project, choose ccds CLI flags, pin a template version, or debug a generation failure.

Route elsewhere

  • For exact CCDS option semantics, valid option combinations, nested prompt behavior, dependency-file generation, and hook effects, read ../template-options-and-hooks/.
  • For using the generated project after it exists—Makefile rules, data layout, environment managers, scaffold modules, docs, tests, linting, or validation—read ../generated-project-workflows/.

Read or run these bundled files

  • Read references/cli-reference.md for install commands, ccds flags, version pinning, replay/config behavior, and v1 guidance.
  • Read references/workflows.md for interactive, noninteractive, custom-output, and version-pinned generation recipes.
  • Read references/troubleshooting.md when ccds is missing, the wrong template/version is used, output directories collide, hooks are disabled, checkout/network fails, or extra context is malformed.
  • Run scripts/bake_ccds_project.py when you need a safe noninteractive bake through the installed CCDS package. It writes to a temporary parent by default and prints the generated project path.

Minimal package check

A user can normally install CCDS with one of:

pipx install cookiecutter-data-science
# or, when pipx is unavailable:
python -m pip install cookiecutter-data-science

Then verify the command is available:

ccds --help

CCDS v2 requires Python 3.9+. The package exposes the ccds console script and wraps Cookiecutter so that the default template is the public CCDS template and the default checkout is tied to the installed CCDS package version.

Generation decision flow

  1. Pick an output parent, not a precreated project directory. Run ccds from the parent directory where the new project folder should be created, or pass -o/--output-dir <parent>.
  2. Choose the template version. Use the installed package default for stable released behavior. Use -c master, another branch, a tag, or a commit only when the task explicitly needs unreleased or historical template content.
  3. Choose interactive or noninteractive mode. Interactive ccds is safest for humans. Use --no-input only when you have a complete context and understand default-first-choice behavior.
  4. Allow hooks unless intentionally inspecting raw templates. CCDS uses hooks to write dependency files, prune docs/tests/scaffold paths, update Python version metadata, and apply custom configuration. Disabling hooks changes the generated project contract.
  5. Inspect and validate the result. Route to ../generated-project-workflows/ and use its validation script before running dependency installation, cloud sync, or environment-manager commands.

Common trigger phrases

Stay in this sub-skill for requests like:

  • “Create a new CCDS project.”
  • “Use ccds with --no-input.”
  • “Generate from the master branch instead of the released template.”
  • “Why did cookiecutter-data-science use v2.3.0?”
  • “The ccds command is missing / my output directory already exists / replay used old answers.”

Route to sibling sub-skills when the user asks what an option means, why a file was generated or removed, or how to run make requirements inside an already-generated project.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351