Add Claude Code skills for calculator dev + debugging#159
Open
jenbreese wants to merge 12 commits into
Open
Conversation
10 July Release to Production
Fix misleading error message on the Interest Rate tab when no meaningful rate exists
A four-phase change/debug loop tailored to this repo's manual-verification workflow (no test suite; per-file calculator math). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… loop-back Fold in the strongest ideas from a peer's debug-loop skill: - description now excludes feature/refactor/style-only changes - Run phase handles the "cannot reproduce" case explicitly - Propose requires a falsifiable hypothesis - adds an explicit verify-fails -> re-Observe loop-back with a report gate Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
A mathematically rigorous accounting/finance persona for deriving, reviewing, and auditing the calculators' financial math: derive from first principles, cross-check by an independent method (amortization schedule), and probe boundary cases (zero rate, payment <= interest, high rate, bad input). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- new-calculator: scaffold a calculator following the self-contained TVM pattern (typed constants, CONSTRAINTS, FieldError[] validation, string inputs, dark-mode tokens, aria). - calculator-qa: manual QA checklist (boundaries, currency input, validation, dark mode, a11y, basePath/iframe) since the repo has no test suite. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a set of project skills under .claude/skills/ plus CLAUDE.md project guidance. No runtime/app code is touched — this is tooling for working in the repo.
What's included
run-observe-propose-verify — a disciplined debug loop (Run → Observe → Propose → Verify) with an explicit can't-reproduce branch and a verify-fails loop-back, tuned to this repo's manual-verification workflow.
rigorous-accountant — a mathematically rigorous accounting/finance persona for deriving, reviewing, and auditing the calculators' financial math (derive from first principles, cross-check against an amortization schedule, probe boundary cases).
new-calculator — scaffolds a new app/interactives//page.tsx following the established self-contained pattern from the time-value-money reference (typed constants, CONSTRAINTS, FieldError[] validation, string-based inputs, dark-mode tokens, aria).
calculator-qa — a manual QA checklist (boundaries, currency input, validation, dark mode, accessibility, basePath/iframe), since the repo has no automated test suite.
CLAUDE.md — project guidance for Claude Code.
Notes
Skills auto-surface via their description triggers, or can be invoked explicitly (/new-calculator, etc.). They only shape how Claude behaves in-session — they don't add build/deploy automation.
The skills cross-reference each other (e.g. new-calculator and calculator-qa defer to rigorous-accountant for the math).
🤖 Generated with Claude Code