
Claude Skills by janpereira-dev
github.com/janpereira-devReviews and refactors JavaScript pure functions so deterministic logic is isolated from side effects, mutation, and framework orchestration.
Removes unreachable or obsolete logic branches caused by legacy flags, impossible conditions, or retired compatibility paths while preserving intentional behavior.
Detects and removes orphan files in monorepo workspaces by checking project graphs, build targets, tests, dynamic loaders, and runtime conventions before deleting anything.
Detects and removes orphan files that no longer participate in build, tests, runtime, or documented configuration paths without breaking dynamic loading or convention-based usage.
Removes unused public exports from JavaScript and TypeScript code while preserving public API contracts, barrel behavior, and cross-package compatibility.
Reduces cognitive complexity in JavaScript and TypeScript code by simplifying branching, splitting responsibilities, and extracting pure helpers only when the refactor preserves readability and tests.
Improves SonarQube duplication and coverage pragmatically by removing real duplication, raising meaningful coverage, and avoiding unnecessary abstractions.
Triage SonarQube findings in monorepo workspaces by separating workspace-wide blockers from local cleanup, using project context, new-code scope, and quality gate impact.
Triage SonarQube findings by separating blockers from lower-priority issues across bugs, vulnerabilities, code smells, coverage, duplication, and security hotspots.
Applies safe ESLint autofix cleanup in browser-oriented projects where mechanical fixes must preserve UI behavior, build output, and user-facing runtime contracts.
Applies safe ESLint autofix cleanup in Node.js 20+ projects where mechanical fixes must preserve process behavior, script output, and service contracts.
Applies ESLint autofix only when the fixes are mechanical and safe, keeping the change small, reviewable, and separated from semantic refactors.
Raises ESLint quality in monorepo workspaces by reviewing project-specific overrides, shared config, workspace-wide CI enforcement, and safe phased hardening.
Raises ESLint quality in bounded steps by reviewing current rules, warnings, TypeScript and framework-specific checks, and CI integration without turning the repo into a massive lint refactor.
Governs eslint-disable usage by classifying justified versus unjustified suppressions, requiring technical justification, and cleaning up unnecessary rule disables without changing behavior.
Chooses between ESLint, SonarQube, dead-code cleanup, and technical debt cleanup based on risk, scope, evidence, and the kind of quality failure the codebase is showing.
Coordinates quality work across ESLint, SonarQube, dead-code cleanup, and technical debt so agents can choose the right quality primitive for the codebase and the risk profile.
Tracks and resolves technical debt in small, bounded cleanup hops so agents can record what was fixed, what was deferred, and why a broader refactor was not taken.
Reviews DTO mapping in browser-oriented TypeScript code, focusing on mapping contracts, view models, serialization boundaries, and safe transformations near UI code.
Reviews DTO mapping in Node.js TypeScript code, focusing on transport contracts, normalization, validation boundaries, and safe mapping in backend services and scripts.
Coordinates the learning and review path for TypeScript safety, types, DTO boundaries, module hygiene, and pure modeling so agents can choose the right primitive for the codebase and runtime.
Improves TypeScript safety by replacing unnecessary any usage with unknown, interfaces, DTOs, type guards, or generics.
Reviews TypeScript strict typing in repos that already use strict compiler settings, focusing on unknown narrowing, safe DTO contracts, and eliminating unsafe any usage under strict mode.
Coordinates the learning and review path for TypeScript strict typing, narrowing, DTO boundaries, and safe type contracts so agents can choose the right safety primitive for the codebase.
Validates each Angular major hop with repository-specific build, test, and lint checks before allowing the next upgrade step.