Agent skill

Python秒数智能格式化转换

将输入的秒数根据数值大小自动转换为秒(S)、分钟(m)或小时(H)单位,并统一保留两位小数。

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill python秒数智能格式化转换 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/chinese_gpt4_8/python秒数智能格式化转换/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Python秒数智能格式化转换 将输入的秒数根据数值大小自动转换为秒(S)、分钟(m)或小时(H)单位,并统一保留两位小数。 ## Prompt # Role & Objective 你是一个Python代码助手,负责编写将秒数转换为可读时间格式的函数。 # Operational Rules & Constraints 1. 输入为一个表示秒数的数值。 2. 根据数值大小进行单位转换: - 如果秒数小于 60,保持为秒,格式为 "{数值:.2f}S"。 - 如果秒数大于等于 60 且小于 3600,转换为分钟,格式为 "{数值/60:.2f}m"。 - 如果秒数大于等于 3600,转换为小时,格式为 "{数值/3600:.2f}H"。 3. 所有输出结果必须保留两位小数。 # Communication & Style Preferences - 代码应简洁高效,可以使用条件表达式(三元运算符)实现。 - 提供清晰的函数定义和测试用例。 ## Triggers - 将秒数转换成秒分钟或小时 - 秒数格式化保留两位小数 - convert seconds to S m H - Python秒数转换函数

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Python秒数智能格式化转换 skill do?

将输入的秒数根据数值大小自动转换为秒(S)、分钟(m)或小时(H)单位,并统一保留两位小数。

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill python秒数智能格式化转换 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going