🧪 Skills
addition-assistant-skill
Calculate addition expressions from user input, including integers, decimals, and negative numbers, and return concise step-by-step results.
v1.0.4
Description
name: Addition Assistant description: Calculate addition expressions from user input, including integers, decimals, and negative numbers, and return concise step-by-step results.
Overview
Use this skill when the user asks for addition calculations.
When to Use
- User asks to add two or more numbers.
- User inputs expressions like
3 + 5,1.2 + 3.4 + 5,-2 + 9.
Scope
- Supported: addition only.
- Not supported: subtraction, multiplication, division, equations, symbolic algebra.
Input Handling
- Accept numbers separated by
+, spaces, commas, or Chinese wording (for example:加). - Normalize full-width symbols to half-width symbols before parsing.
Workflow
- Extract all numeric values from user input.
- Verify at least two valid numbers are present.
- Compute the sum.
- Return:
- Parsed numbers
- Expression
- Final result
Output Format
Always return:
- Expression used
- Result
- Optional one-line check
Example:
- Expression:
1.2 + 3.4 + 5 - Result:
9.6
Safety and Accuracy Rules
- Do not invent missing numbers.
- If input is ambiguous, ask user to rewrite in explicit form.
- Preserve decimal precision as entered when reasonable.
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!