compare-csv
1
总安装量
1
周安装量
#42796
全站排名
安装命令
npx skills add https://github.com/snaplogic/snaplogic-robotframework-examples --skill compare-csv
Agent 安装分布
amp
1
opencode
1
cursor
1
codex
1
github-copilot
1
Skill 文档
SnapLogic Compare CSV Skill
Agentic Workflow (Claude: Follow these steps in order)
Step 1: Load the Complete Guide
ACTION: Use the Read tool to load:
{{cookiecutter.primary_pipeline_name}}/.claude/skills/compare-csv/SKILL.md
Do not proceed until you have read the complete guide.
Step 2: Understand the User’s Request
Parse what the user wants:
- Which files to compare? (actual vs expected)
- Should row order be ignored?
- Which columns to exclude from comparison? (timestamps, dynamic IDs, etc.)
- What is the expected status? (IDENTICAL, DIFFERENT, SUBSET)
- Is this standalone or part of a larger test suite?
Step 3: Follow the Guide â Create ALL Required Files (MANDATORY)
When creating CSV comparison test cases, you MUST call the Write tool to create ALL required files. Never skip any file. Never say “file already exists”. Always write them fresh:
- Robot test file (
.robot) intest/suite/pipeline_tests/[type]/â WRITE this - COMPARE_CSV_README.md with file structure tree diagram in the same test directory â WRITE this
Use the detailed instructions from the file you loaded in Step 1 for templates and conventions.
Step 4: Respond to User
Provide the created files or requested information based on the complete guide.
Quick Reference
Key keywords:
Compare CSV Files With Exclusions Templateâ Compare CSV files with column exclusionsCompare CSV Files Templateâ Compare CSV files without exclusions
Arguments for Compare CSV Files With Exclusions Template:
file1_pathâ Path to actual output CSV filefile2_pathâ Path to expected output CSV fileignore_orderâ Whether to ignore row order (${TRUE}or${FALSE})show_detailsâ Whether to show detailed differences (${TRUE}or${FALSE})expected_statusâ Expected comparison result (IDENTICAL,DIFFERENT,SUBSET)@exclude_keysâ Columns to exclude from comparison (varargs)&optionsâ Additional options likematch_key=column_name
Invoke with: /compare-csv