AgentSkillsCN

import-pipeline

为导入SnapLogic流水线创建Robot Framework测试用例。当用户想要导入流水线(.slp文件),需要了解流水线导入的前置条件,或希望查看流水线导入的测试用例示例时使用此功能。

SKILL.md
--- frontmatter
name: import-pipeline
description: Creates Robot Framework test cases for importing SnapLogic pipelines. Use when the user wants to import pipelines (.slp files), needs to know prerequisites for pipeline import, or wants to see pipeline import test case examples.
user-invocable: true

SnapLogic Pipeline Import Skill

Agentic Workflow (Claude: Follow these steps in order)

Step 1: Load the Complete Guide

code
ACTION: Use the Read tool to load:
{{cookiecutter.primary_pipeline_name}}/.claude/skills/import-pipeline/SKILL.md

Do not proceed until you have read the complete guide.

Step 2: Understand the User's Request

Parse what the user wants:

  • Import a single pipeline or multiple pipelines?
  • Need prerequisites checklist?
  • Create test case?
  • Show template or examples?
  • Questions about pipeline parameterization?

Step 3: Follow the Guide

Use the detailed instructions from the file you loaded in Step 1 to:

  • Show the prerequisites for pipeline import
  • Verify pipeline .slp file location
  • Create or explain the test case
  • Provide troubleshooting if needed

Step 4: Respond to User

Provide the requested information or create the test case based on the complete guide.


Quick Reference

Pipeline file location:

code
src/pipelines/your_pipeline.slp

Required variables:

  • ${pipeline_name} - Logical name (without .slp extension)
  • ${pipeline_file_name} - Physical file name (with .slp extension)
  • ${PIPELINES_LOCATION_PATH} - SnapLogic destination path
  • ${unique_id} - Generated in suite setup

Invoke with: /import-pipeline