Generate and update Julia docstrings, inline comments, and module-level documentation for FEMTools.jl source files. Invoke with /docstrings.
Audit KernelAbstractions kernels and data structures for GPU compatibility and per-thread memory footprint. Use when a kernel crashes on CUDABackend, runs out of GPU memory, or performs poorly relative to CPU.
Prune a bug fix or new tests down to the smallest correct diff through multiple elimination passes. Use before committing any fix or test addition.
Scrutinise newly added or changed code on the current branch against main. Checks new types, methods, changed signatures, and helpers for necessity, correctness, clarity, consistency, robustness, and minimality. Reviews new tests for gap coverage, overlap…
Run a Poisson example headlessly on the CPU backend to verify that library or kernel changes still converge to the right solution. Use after changing src/ internals or example kernels.