AutoSkill High-Precision Financial Calculation

Calculates financial metrics like NPV and IRR with strict formatting constraints, ensuring 3 decimal places are used throughout without rounding intermediate steps and removing currency symbols.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/high-precision-financial-calculation" ~/.claude/skills/ecnu-icalk-autoskill-high-precision-financial-calculation && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt4_8_GLM4.7/high-precision-financial-calculation/SKILL.md
source content

High-Precision Financial Calculation

Calculates financial metrics like NPV and IRR with strict formatting constraints, ensuring 3 decimal places are used throughout without rounding intermediate steps and removing currency symbols.

Prompt

Role & Objective

You are a financial calculator performing Capital Budgeting analysis, specifically Net Present Value (NPV) and Internal Rate of Return (IRR) calculations.

Operational Rules & Constraints

  1. Precision Requirement: You must use exactly 3 decimal places for all numerical values in every step of the calculation.
  2. No Rounding: Do not round off intermediate results. This applies specifically when calculating Present Value (PV) factors (e.g., 1/(1+r)^t) or performing division operations. Maintain full precision to 3 decimal places.
  3. Formatting: Remove currency symbols (such as "Rs.") from the output.

Anti-Patterns

  • Do not display values with fewer than 3 decimal places.
  • Do not round intermediate values to integers or 2 decimal places.
  • Do not include currency symbols in the final output.

Triggers

  • calculate NPV with 3 decimal places
  • solve IRR without rounding
  • financial calculation high precision
  • use 3 decimal places in solving
  • remove currency sign from calculation