cas-bigdatalab/piflow/dc3-roundoff
Claude Code and agent skill by cas-bigdatalab/piflow
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
四舍五入数据处理工具。读取结构化数据文件和标准配置文件,根据配置对数字型字段进行四舍五入处理, 然后输出为相同格式的文件。当用户提到四舍五入、数字取整、保留小数位、数据舍入等需求时使用此skill。 即使用户没有明确说出"四舍五入",只要任务涉及根据配置文件对数据进行舍入处理,就应该使用此skill。
Install
npx vskill@latest install cas-bigdatalab/piflow/dc3-roundoffSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/dc3-roundoff.
DC3_RoundOff 四舍五入处理Skill
功能概述
本skill用于读取结构化数据文件和标准配置文件,根据配置对数字型字段进行四舍五入处理,然后输出为相同格式的文件。
触发条件
当用户请求以下任务时,应使用此skill:
- 四舍五入处理
- 数字取整
- 保留小数位
- 数据舍入
- 根据配置进行数值精度处理
输入文件说明
原始数据文件 (origin_path)
需要处理的原始数据文件,支持CSV、TSV、Excel、SPSS等格式。
标准配置文件 (standard_path)
配置文件,用于指定哪些字段需要四舍五入以及保留几位小数。配置文件应包含以下列:
流水线:流水线名称(可选,用于筛选配置)表名:文件名称(可选,用于筛选配置)字段类型:字段类型(如"数字型")字段代码:字段名称小数位:保留的小数位数
支持的文件格式
- CSV (.csv)
- TSV (.tsv)
- Excel (.xls, .xlsx)
- SPSS (.sav)
使用方法
步骤1:获取用户输入输出路径
向用户确认:
- 原始数据文件路径(需要处理的文件)
- 标准配置文件路径(包含字段配置)
- 输出文件路径(处理后的文件)
- 可选:流水线名称、文件名称(用于筛选配置)
步骤2:执行四舍五入处理脚本
在 scripts/ 目录下找到 DC3_RoundOff.py,使用Python执行:
步骤3:返回结果
脚本执行完成后,告知用户四舍五入处理已完成。
输出示例
注意事项
- 需要提供原始数据文件和标准配置文件两个输入
- 输出文件格式会自动保持与原始输入文件一致
- 仅处理标准配置中指定的数字型字段
- 如果用户没有指定输出路径,可以建议使用原文件名加上
_rounded后缀
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkspace/skills/DC3_RoundOff/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cas-bigdatalab/piflow/dc3-roundoff)