Agent SkillsTangleML/tangle-ui › Tangle Pipeline Best Practices

Tangle Pipeline Best Practices

GitHub

提供Tangle框架下构建可维护ML管道的最佳实践,涵盖结构组织、组件选择、数据流设计及常见模式,旨在提升流水线清晰度和复用性。

public/agent-skills/tangleBestPractices/SKILL.md TangleML/tangle-ui

Trigger Scenarios

询问Tangle管道设计规范 优化机器学习流水线结构 检查组件复用与连接规范

Install

npx skills add TangleML/tangle-ui --skill Tangle Pipeline Best Practices -g -y
More Options

Non-standard path

npx skills add https://github.com/TangleML/tangle-ui/tree/master/public/agent-skills/tangleBestPractices -g -y

Use without installing

npx skills use TangleML/tangle-ui@Tangle Pipeline Best Practices

指定 Agent (Claude Code)

npx skills add TangleML/tangle-ui --skill Tangle Pipeline Best Practices -a claude-code -g -y

安装 repo 全部 skill

npx skills add TangleML/tangle-ui --all -g -y

预览 repo 内 skill

npx skills add TangleML/tangle-ui --list

SKILL.md

Frontmatter
{
    "name": "Tangle Pipeline Best Practices",
    "description": "Guidelines for building well-structured, maintainable ML pipelines in Tangle"
}

Tangle Pipeline Best Practices

Pipeline Structure

  1. Logical Stages: Organize pipelines into clear stages — data ingestion, preprocessing, training, evaluation, deployment.
  2. Subgraph Grouping: Group related tasks into subgraphs. Each subgraph should represent one logical stage.
  3. Size Limits: Keep subgraphs under 7 nodes. If a subgraph grows larger, split it.
  4. Naming: Use descriptive, human-readable names for tasks. "Preprocess Training Data" not "preprocess_1".

Component Selection

  1. Search First: Always check the component registry before creating new components.
  2. Single Responsibility: Prefer components that do one thing well over monolithic ones.
  3. Type Compatibility: Verify input/output types match when connecting components.
  4. Reuse: If a component exists that's close to what you need, prefer it over creating a new one.

Data Flow

  1. No Cycles: Pipeline graphs must be directed acyclic graphs (DAGs).
  2. Explicit Connections: Always use bindings to connect data flow — avoid implicit dependencies.
  3. Pipeline Inputs: Use pipeline-level inputs for configurable parameters that should be settable at run time.
  4. Pipeline Outputs: Define pipeline-level outputs for results that need to be accessible after the run.

Common Patterns

  • Fan-out: One source feeding multiple processors (e.g., train/test split).
  • Fan-in: Multiple sources feeding into one aggregator.
  • Chain: Linear sequence of transforms (most common).
  • Conditional: Use task-level isEnabled for optional processing steps.

Version History

  • d7768e8 Current 2026-09-02 20:59

Same Skill Collection

.claude/skills/accessibility/SKILL.md
.claude/skills/address-pr-comments/SKILL.md
.claude/skills/analytics-tracking/SKILL.md
.claude/skills/audit-tickets/SKILL.md
.claude/skills/docs-update/SKILL.md
.claude/skills/e2e-testing/SKILL.md
.claude/skills/list-skills/SKILL.md
.claude/skills/open-source/SKILL.md
.claude/skills/project-conventions/SKILL.md
.claude/skills/react-patterns/SKILL.md
.claude/skills/review/SKILL.md
.claude/skills/tangle-domain/SKILL.md
.claude/skills/tanstack-query/SKILL.md
.claude/skills/tanstack-router/SKILL.md
.claude/skills/typescript-standards/SKILL.md
.claude/skills/ui-primitives/SKILL.md
.claude/skills/validate/SKILL.md
.claude/skills/vitest-testing/SKILL.md
.cursor/skills/playwright-testing/SKILL.md
public/agent-skills/componentYamlFormat/SKILL.md
.claude/skills/gardening/SKILL.md

Metadata

Files
0
Version
d7768e8
Hash
94cefda9
Indexed
2026-09-02 20:59

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-03 05:13
浙ICP备14020137号-1 $bản đồ khách truy cập$