본문으로 건너뛰기
cccskills
무료GitHub에 공개

ml-pipeline-creation

Design, implement, and validate reproducible machine-learning pipelines spanning data preparation, training, evaluation, registry, and deployment gates. Use when the user requests an ML pipeline, needs to turn model scripts into an orchestrated workflow, or provides pipeline components that must be connected safely.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

ML Pipeline Creation

Build reproducible ML workflows whose inputs, outputs, lineage, and promotion criteria are explicit. Prefer the project's existing orchestrator and conventions; do not introduce a platform merely to demonstrate one.

Required Inputs

  • Business objective and measurable model acceptance criteria
  • Data sources, ownership, sensitivity, and expected refresh cadence
  • Existing preprocessing, training, evaluation, and serving code
  • Target environments and available orchestration or CI system
  • Compute, cost, latency, reproducibility, and compliance constraints

If critical details are missing, state assumptions and design a platform-neutral pipeline before selecting an implementation.

Output Contract

Produce:

  1. A dependency graph of pipeline stages and artifacts
  2. A versioned pipeline definition or implementation
  3. Explicit schemas for every stage input and output
  4. Data, model, and environment versioning rules
  5. Evaluation and promotion gates with failure behavior
  6. Observability, retry, backfill, and rollback procedures
  7. A verification record showing how the pipeline was tested

Workflow

  1. Inspect the environment. Identify the repository language, dependency manager, existing orchestration system, model framework, artifact store, and deployment path. Reuse established tools where possible.
  2. Define the contract. Record the objective, data snapshot rules, target metric, baseline, acceptance threshold, resource budget, and deployment constraints. Separate offline evaluation from production health metrics.
  3. Model the DAG. Represent ingestion, validation, splitting, transformation, training, evaluation, registration, and deployment as idempotent stages. Declare every artifact rather than relying on undeclared files or mutable global state.
  4. Implement reproducibility. Pin dependencies, seed stochastic operations where appropriate, version code and data, capture parameters, and store immutable artifacts with provenance. Prevent train/validation leakage by fitting transformations only on training data.
  5. Add quality gates. Validate schemas before training, compare metrics with a baseline, fail closed on missing or invalid artifacts, and require explicit approval before production promotion when consequences are material.
  6. Design operations. Define retries only for transient failures, make reruns idempotent, specify backfill boundaries, emit structured logs and metrics, and document rollback to the last known-good model.
  7. Test incrementally. Run unit tests for components, a small deterministic end-to-end fixture, and a staging or dry-run execution. Confirm that a failed stage cannot silently publish a model.

Example

For a batch classifier, define the artifact flow explicitly:

pipeline: customer-churn-training
inputs:
  raw_snapshot: data/raw/churn-2026-08-01.parquet
stages:
  - name: prepare-data
    inputs: [raw_snapshot]
    outputs: [train_set, validation_set, test_set, feature_schema]
  - name: train-model
    inputs: [train_set, feature_schema, training_config]
    outputs: [model, training_metrics]
  - name: evaluate-model
    inputs: [model, validation_set, test_set, baseline_metrics]
    outputs: [evaluation_report, promotion_decision]
  - name: register-model
    condition: promotion_decision == "pass"
    inputs: [model, evaluation_report]
    outputs: [registered_model_version]

Require prepare-data to emit every declared split. Reject the run if test_set is absent rather than letting evaluation consume an undeclared path.

Safety Boundaries

  • Treat datasets, credentials, model artifacts, and logs as potentially sensitive.
  • Never copy production data into development without authorization and required de-identification.
  • Do not deploy, replace a registered model, or alter production infrastructure without explicit approval.
  • Present destructive migration or cleanup plans before execution and preserve a rollback path.
  • Flag fairness, privacy, security, or regulatory review requirements instead of claiming compliance from pipeline execution alone.

Verification

  • Re-run the fixture twice and confirm identical stage contracts and expected deterministic outputs.
  • Force one stage to fail and verify downstream stages do not execute.
  • Verify artifact hashes, code revision, parameters, data version, and evaluation results are traceable from the registered model.
  • Test retry and backfill behavior without duplicating records or overwriting immutable artifacts.
  • Confirm the deployment gate rejects a model below threshold and accepts a known-good fixture.

Best Practices

  • Keep components small, idempotent, and independently testable.
  • Separate pipeline orchestration from model business logic.
  • Store configuration as versioned data; do not bury thresholds in code.
  • Prefer immutable artifacts and explicit lineage over mutable “latest” paths.
  • Monitor data quality and model behavior after deployment, not only during training.

Edge Cases

  • Streaming data: Use event-time semantics, checkpointing, and replay-safe sinks.
  • Non-deterministic training: Record seeds and environment details, then validate within an agreed tolerance.
  • Large backfills: Bound the date range, estimate cost, and test one partition before scaling.
  • Schema drift: Quarantine incompatible data and require a reviewed schema migration.
  • Partial promotion: Keep registry, serving configuration, and monitoring changes transactional or explicitly reversible.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Audit web interfaces against WCAG 2.1 AA/AAA standards, identify violations, and produce actionable remediation reports with code fixes. Use when the user requests accessibility testing or provides relevant inputs for this workflow.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

seb1n/awesome-ai-agent-skills2272026년 8월 10일 업데이트

Design reproducible evaluations for AI agents with representative task sets, explicit rubrics, appropriate graders, baselines, regression gates, and failure analysis. Use when defining agent quality, comparing prompts or models, validating a release, measuring tool-use reliability, investigating regressions, or deciding whether an agent is ready for production.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

seb1n/awesome-ai-agent-skills2272026년 8월 10일 업데이트

Design privacy-aware observability for AI agents using traces, spans, structured events, metrics, cost attribution, dashboards, alerts, and investigation workflows. Use when instrumenting an agent, debugging intermittent tool or model failures, defining service-level objectives, analyzing latency or spend, auditing agent decisions, or preparing production monitoring.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

seb1n/awesome-ai-agent-skills2272026년 8월 10일 업데이트

Plan, execute, document, and retest authorized security assessments of AI agents and multi-agent workflows using safe adversarial cases, synthetic identities, canaries, and evidence-based findings. Use when defining red-team rules of engagement, assessing prompt injection or excessive agency, testing tool and identity boundaries, evaluating memory or cross-agent attacks, scoring a campaign, or verifying remediation in an approved environment.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

seb1n/awesome-ai-agent-skills2272026년 8월 10일 업데이트

Generate comprehensive marketing analytics reports by collecting KPIs, analyzing trends, and delivering actionable insights with attribution modeling and funnel analysis. Use when the user requests analytics reporting or provides relevant inputs for this workflow.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

seb1n/awesome-ai-agent-skills2272026년 8월 10일 업데이트

Design RESTful APIs with proper resource modeling, HTTP method semantics, status codes, pagination, versioning, and documentation. Use when the user requests api design or provides relevant inputs for this workflow.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

seb1n/awesome-ai-agent-skills2272026년 8월 10일 업데이트

seb1n의 스킬 모두 보기

이 스킬의 문제 신고