跳到正文
cccskills
免费在 GitHub 公开

roman-numerals

Convert roman numerals to integers.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md662 B
  • examples/001.md220 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Roman numerals → integer

Use this skill when the user asks you to convert a Roman numeral (e.g., XIV, MCMXCIV) into a base-10 integer.

Output format

Return only the integer as decimal digits (no extra words or punctuation).

Procedure

  1. Map symbols to values: I=1, V=5, X=10, L=50, C=100, D=500, M=1000.
  2. Walk left to right:
    • If a symbol is followed by a larger symbol, subtract it.
    • Otherwise, add it.
  3. Sum to get the final integer.

Examples

Load examples/skills/roman-numerals/examples/001.md for worked examples and edge cases.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Optimize a pydantic-ai agent's instructions, tool descriptions, output type, and signature inputs using the gepa CLI. Trigger when the user asks to "optimize this agent", "improve tool descriptions", iterate on prompts driven by eval failures, or otherwise improve a pydantic-ai agent against a dataset. Operates in the user's repo with full filesystem access — YOU are the reflection model; the gepa CLI handles minibatches, evaluation, and Pareto bookkeeping.

中文简介正在准备中。当前显示原文说明。

indexedlabs/pydantic-ai-gepa362026年10月15日 更新

查看 indexedlabs 的全部技能

报告此技能的问题