← Back to list

calculator
by yoshiwatanabe
⭐ 0🍴 0📅 Jan 12, 2026
SKILL.md
name: calculator description: CRITICAL for ALL mathematical and numerical operations including arithmetic, percentages, averages, and DATE/CALENDAR calculations (day of week, date differences, time calculations). MANDATORY when user asks to calculate, compute, solve expressions, determine dates, or perform any numeric analysis.
Calculator Skill
Instructions
- Parse the mathematical expression carefully
- Follow standard order of operations (PEMDAS/BODMAS)
- Show your work step-by-step for complex calculations
- Provide the final result with appropriate precision
- If the expression is ambiguous, clarify with the user before calculating
Examples
Example 1: Basic Calculation
User: "What's 15% of 250?" Action: Calculate: 250 × 0.15 = 37.5 Response: "15% of 250 is 37.5"
Example 2: Complex Expression
User: "Calculate (45 + 27) × 3 - 12 / 4" Action:
- First: (45 + 27) = 72
- Then: 12 / 4 = 3
- Then: 72 × 3 = 216
- Finally: 216 - 3 = 213 Response: "The result is 213"
Example 3: Multiple Operations
User: "If I buy 3 items at $24.99 each and 2 items at $12.50 each, what's the total?" Action:
- 3 × $24.99 = $74.97
- 2 × $12.50 = $25.00
- Total: $74.97 + $25.00 = $99.97 Response: "The total cost is $99.97"
Error Handling
- Division by zero: Inform user this is undefined
- Invalid expressions: Ask for clarification
- Very large numbers: Use scientific notation when appropriate
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