claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Verifies math-heavy code for algorithmic correctness and numerical stability. Use when reviewing scientific algorithms, ML models, or numerical code.
$ npx -y skills add athola/claude-night-market --skill math-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/math-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Verifies math-heavy code for algorithmic correctness and numerical stability. Use when reviewing scientific algorithms, ML models, or numerical code.
name: math-review description: Verifies math-heavy code for algorithmic correctness and numerical stability. Use when reviewing scientific algorithms, ML models, or numerical code. alwaysApply: false category: specialized tags: - math - algorithms - numerical - stability - verification - scientific tools: [] usage_patterns: - algorithm-review - numerical-analysis - derivation-verification - stability-assessment complexity: advanced model_hint: deep estimated_tokens: 200 progressive_loading: true dependencies: - imbue:proof-of-work - imbue:review-core - imbue:structured-output
Intensive analysis ensuring numerical stability and alignment with standards.
/math-review
**Verification:** Run the command with `--help` flag to verify availability.
use architecture-review
1. `math-review:context-synced` 2. `math-review:requirements-mapped` 3. `math-review:derivations-verified` 4. `math-review:stability-assessed` 5. `math-review:evidence-logged` 6. `math-review:findings-verified`
pwd && 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`
Every issue must cite a real location and a verbatim anchor. Write findings to `.review/findings.json` and confirm each citation resolves:
python plugins/imbue/scripts/citation_verifier.py \ --findings .review/findings.json --repo-root .
Drop or label `UNVERIFIED` any finding the verifier fails (exit `1`); only verified findings enter the report. See `Skill(imbue:review-core)` Step 5 for the protocol and `Skill(imbue:structured-output)` for the finding schema.
**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`; it is what `citation_verifier.py` re-reads to prove the finding is real. **Verification:** Run the command with `--help` flag to verify availability.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.