@teakit/finance LLM Contract

@teakit/finance is a pure TypeScript library for common financial calculations.

Generation Rules

  • Keep formulas pure and dependency-free.
  • Keep exported functions aligned with src/index.ts.
  • Use explicit return types for exported functions.
  • Keep rate conventions and rounding behavior covered by tests.
  • Update README.md, skills/index.mdx, and this file when the public API changes.
  • Keep detailed rationale in docs/knowledge/; keep this file compact.

Public Surface

NeedPrefer
Source entrysrc/index.ts
Public testssrc/index.test.ts
Domain notesdocs/knowledge/finance-domain.md
Agent workflowskills/finance/SKILL.md

Project Workflow

  • Read AGENTS.md before modifying the repository.
  • Read docs/knowledge/index.md and docs/memory/index.md when context is needed.
  • If API, behavior, commands, or agent-facing usage changes, update nearby tests and docs.