Back to list
annthurium

calculator

by annthurium

Claude's got SKILLZ

0🍴 0📅 Jan 21, 2026

SKILL.md


name: calculator description: Perform basic arithmetic operations (addition, subtraction, multiplication, division). Use when the user asks to calculate or solve math problems. argument-hint:

When this skill is invoked with $ARGUMENTS:

  1. Parse the arguments to extract:

    • operation: one of "add", "subtract", "multiply", or "divide"
    • a: the first number
    • b: the second number
  2. Perform the requested calculation:

    • add: Return a + b
    • subtract: Return a - b
    • multiply: Return a × b
    • divide: Return a ÷ b (check for division by zero)
  3. Format the response clearly showing the operation and result

  4. Handle edge cases:

    • If b is 0 for division, return an error message
    • If invalid numbers are provided, ask for valid numeric inputs
    • If operation is not recognized, list the available operations
  5. Present the result in a clear, readable format

Examples

Addition:

User: /calculator add 15 27
Result: 15 + 27 = 42

Division:

User: /calculator divide 144 12
Result: 144 ÷ 12 = 12

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon