AGENT SKILL

generated-project-workflows

Guide agents working inside generated Cookiecutter Data Science projects through layout, Makefile workflows, environment-manager commands, scaffold modules, validation, and common failures.

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

01 前言 Front Matter

name
generated-project-workflows
license
MIT
metadata
{ "disco-role": "operating" }
description
Guide agents working inside generated Cookiecutter Data Science projects through layout, Makefile workflows, environment-manager commands, scaffold modules, validation, and common failures.
disable-model-invocation
true

02 资源文件 6

03 SKILL.md 正文

Generated Project Workflows

Use this sub-skill when you are already working inside a project generated by Cookiecutter Data Science (CCDS) and need to understand or modify its runtime workflow. CCDS 2.3.0 generates a data-science project whose exact files and commands depend on selected options for environment manager, dependency file, testing, linting, docs, cloud storage, license, and code scaffold.

Scope

This sub-skill covers generated-project operation after a project exists:

  • Directory layout and the purpose of data/raw, data/external, data/interim, data/processed, docs, models, notebooks, references, reports/figures, the package module, pyproject.toml, setup.cfg, tests, .env, .gitignore, and Makefile.
  • CCDS project opinions: raw data is immutable, analysis is a DAG, most data stays out of source control, notebooks are for exploration/communication, reusable code belongs in package modules, secrets/config go in .env, and Make is the task runner.
  • Generated Makefile commands such as requirements, clean, lint, format, test, sync_data_down, sync_data_up, create_environment, data, and help.
  • Environment-manager-specific commands for conda, virtualenv, pipenv, uv, pixi, poetry, and none.
  • Generated code scaffold modules when include_code_scaffold=Yes, and the empty-package result when include_code_scaffold=No.
  • Option-dependent docs, tests, linting, cloud sync, validation, and troubleshooting.

Route elsewhere

  • If the task is to choose CCDS answers before project generation, route to ../template-options-and-hooks/.
  • If the task is to run the ccds CLI or reason about Cookiecutter CLI flags, route to ../project-generation-cli/.

Bundled references and script

Operating procedure

  1. Confirm you are at the generated project root: it should have Makefile, README.md, pyproject.toml, .env, .gitignore, data subdirectories, and one importable package directory containing __init__.py.
  2. Identify option-dependent features rather than assuming one fixed tree: docs may be mkdocs or none, tests may be pytest, unittest, or none, linting may be ruff or flake8+black+isort, code scaffold may be present or absent, and cloud sync rules only appear when storage was configured.
  3. Use make or make help to list available rules before invoking them. make requirements, make create_environment, make lint, make format, make test, make data, and sync rules are generated conditionally.
  4. Do not mutate raw data in place. Move data through a reproducible DAG from data/raw or data/external to data/interim and finally data/processed, with reports and figures under reports/.
  5. Keep credentials and machine-specific configuration in .env; do not commit .env or bulk data unless the project has explicitly changed the default policy.
  6. Prefer editing package modules for reusable logic and notebooks for exploration/communication. After dependency installation, the package is intended to be used as an editable local package.
  7. Validate changes with the bundled read-only validator and then with the project's own available make rules only when the required manager CLIs, credentials, and network access are intentionally available.

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