/pensive:math-review runs instead · from pensive
Verifies math-heavy code for algorithmic correctness and numerical stability. Use when reviewing scientific algorithms, ML models, or numerical code.
This skill never runs in Claude Code
It ships in pensive at skills/, but /pensive:math-review (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Intensive analysis ensuring numerical stability and alignment with standards.
/math-review
Verification: Run the command with --help flag to verify availability.
math-review:context-syncedmath-review:requirements-mappedmath-review:derivations-verifiedmath-review:stability-assessedmath-review:evidence-loggedmath-review:findings-verifiedpwd && git status -sb && git diff --stat origin/main..HEAD
Verification: Run git status to confirm working tree state.
Enumerate math-heavy files (source, tests, docs, notebooks). Classify risk: safety-critical, financial, ML fairness.
Translate requirements → mathematical invariants. Document pre/post conditions, conservation laws, bounds. Load: modules/requirements-mapping.md
Re-derive formulas using CAS. Challenge approximations. Cite authoritative standards (NASA-STD-7009, ASME VVUQ). Load: modules/derivation-verification.md
Evaluate conditioning, precision, scaling, randomness. Compare complexity. Quantify uncertainty. Load: modules/numerical-stability.md
pytest tests/math/ --benchmark
jupyter nbconvert --execute derivation.ipynb
Verification: Run pytest -v tests/math/ to verify.
Log deviations, recommend: Approve / Approve with actions / Block. Load: modules/testing-strategies.md
math-review:findings-verified)Write issues to .review/findings.json, run the citation verifier
(Skill(imbue:review-core) Step 5), and drop or label UNVERIFIED any
the verifier rejects.
Default (200 tokens): Core workflow, checklists +Requirements (+300 tokens): Invariants, pre/post conditions, coverage analysis +Derivation (+350 tokens): CAS verification, standards, citations +Stability (+400 tokens): Numerical properties, precision, complexity +Testing (+350 tokens): Edge cases, benchmarks, reproducibility
Total with all modules: ~1600 tokens
Correctness: Formulas match spec | Edge cases handled | Units consistent | Domain enforced Stability: Condition number OK | Precision sufficient | No cancellation | Overflow prevented Verification: Derivations documented | References cited | Tests cover invariants | Benchmarks reproducible Documentation: Assumptions stated | Limitations documented | Error bounds specified | References linked
## Summary
[Brief findings]
## Context
Files | Risk classification | Standards
## Requirements Analysis
| Invariant | Verified | Evidence |
## Derivation Review
[Status and conflicts]
## Stability Analysis
Condition number | Precision | Risks
## Issues
[M1] [Title]
- Location: file.py:123
- Anchor: `verbatim source text at line 123`
- Issue: [what is wrong] | Fix: [remediation] | Evidence: [E1]
## Recommendation
Approve / Approve with actions / Block
Every issue's Anchor is the exact source text at Location.
citation_verifier.py re-reads it to prove the finding is real.
Verification: Run the command with --help flag to verify availability.
Location + verbatim Anchor, and
citation_verifier.py confirmed all citations (exit 0) or unverified
issues were dropped or labeled UNVERIFIEDWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub athola/claude-night-market --plugin pensive13 skills in this plugin
/api-reviewEvaluates API surface design, consistency, and exemplar alignment. Use when reviewing public API changes or before releasing a new API surface./architecture-reviewAssesses architecture decisions, ADR compliance, and coupling. Use when evaluating design changes or validating structural decisions before merging./blast-radiusAnalyzes code change impact with risk scoring and affected-node mapping. Use before merging to understand what a change touches and what lacks test coverage.Other plugins' skills for the same job