Agent skill
roman-numerals
Convert roman numerals to integers.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/roman-numerals-indexedlabs-pydantic-ai-gepa
SKILL.md
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
- Map symbols to values:
I=1,V=5,X=10,L=50,C=100,D=500,M=1000. - Walk left to right:
- If a symbol is followed by a larger symbol, subtract it.
- Otherwise, add it.
- Sum to get the final integer.
Examples
Load examples/skills/roman-numerals/examples/001.md for worked examples and edge cases.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?