Skill Creator

omriwen

14 published skills · 0 GitHub stars across the catalog. View on GitHub ↗

architecture-reviewer

omriwen's avatarfrom omriwen

Review code against PRISM target architecture patterns from REFACTORING_DESIGN_DOCUMENT.md. This skill should be used during refactoring to ensure new Runner and Trainer classes follow AbstractRunner/AbstractTrainer patterns.

code-formatter

omriwen's avatarfrom omriwen

Format Python code using black, ruff, and isort to ensure consistent style. This skill should be used before committing code to maintain code quality standards and pass CI/CD checks.

complex-tensor-handler

omriwen's avatarfrom omriwen

Handle complex-valued tensors in PyTorch for astronomical imaging applications. This skill should be used when working with Fourier transforms, phase/amplitude representations, and complex arithmetic in PRISM.

dead-code-finder

omriwen's avatarfrom omriwen

Identify and remove unused code, commented blocks, unreachable code, and unused imports. This skill should be used during Phase 1 cleanup tasks to improve codebase maintainability.

docstring-formatter

omriwen's avatarfrom omriwen

Convert docstrings to NumPy/Sphinx style with proper Parameters, Returns, and Examples sections. This skill should be used when improving documentation quality across Python modules.

git-commit-maker

omriwen's avatarfrom omriwen

Create well-formatted git commit messages following conventional commits standard. This skill should be used after completing coding tasks to create clear, descriptive commit messages that accurately reflect changes.

import-updater

omriwen's avatarfrom omriwen

Update import statements across the codebase when modules are moved or renamed. This skill should be used after refactoring operations to ensure all imports remain functional and properly organized.

loop-vectorizer

omriwen's avatarfrom omriwen

Convert Python loops to vectorized PyTorch tensor operations for performance. This skill should be used when optimizing computational bottlenecks in PyTorch code during Phase 4 performance optimization.

memory-leak-detector

omriwen's avatarfrom omriwen

Detect and fix memory leaks in Python and PyTorch code, especially matplotlib figures and unreleased tensors. This skill should be used during Phase 4 performance optimization when memory usage grows over time.

module-extractor

omriwen's avatarfrom omriwen

Extract classes, functions, or code blocks from large modules into separate files. This skill should be used during refactoring to break up monolithic files while maintaining import compatibility and test coverage.

physics-validator

omriwen's avatarfrom omriwen

Validate optical physics parameters including Fresnel numbers, diffraction regimes, and resolution limits. This skill should be used when configuring Telescope, Microscope, or Camera instruments to ensure physically realistic parameters.

torch-shape-validator

omriwen's avatarfrom omriwen

Add tensor shape validation and documentation to PyTorch code. This skill should be used when working with PyTorch models to ensure tensor shapes are correct and well-documented with inline comments.

type-hint-adder

omriwen's avatarfrom omriwen

Add comprehensive type hints to Python functions and methods, including PyTorch tensor types. This skill should be used when improving code quality through static type checking or when preparing code for mypy validation.

unit-test-generator

omriwen's avatarfrom omriwen

Generate pytest unit tests for Python functions and classes with fixtures, parametrization, and edge cases. This skill should be used when creating test coverage for modules, especially during refactoring to ensure functionality is preserved.