#Debugging
1 prompt · 4 skillsPrompts
Skills
Profile Before OptimizingA measurement-first optimization loop — profile under realistic load, fix exactly one hot spot, re-measure, and keep the numbers in the commit.Claude Code · CodingClaude CodeSKILL.mdProfile Before OptimizingA measurement-first optimization loop — profile under realistic load, fix exactly one hot spot, re-measure, and keep the numbers in the commit.Use when something is slow or resource-hungry and the urge is to start rewriting code that merely looks expensive.@libraryCodingSystematic Debugging LoopA four-phase debugging discipline — reproduce, isolate, hypothesize, verify — that forbids writing a fix before the root cause is proven.Claude Code · CodingClaude CodeSKILL.mdSystematic Debugging LoopA four-phase debugging discipline — reproduce, isolate, hypothesize, verify — that forbids writing a fix before the root cause is proven.Use when a bug, failing test, or unexplained behavior appears and the temptation is to start editing code based on a guess.@libraryCodingError Handling DisciplineRules for failing fast, attaching context to errors, deciding catch versus propagate, and eliminating silently swallowed failures.Claude Code · CodingClaude CodeSKILL.mdError Handling DisciplineRules for failing fast, attaching context to errors, deciding catch versus propagate, and eliminating silently swallowed failures.Use when writing code with failure modes — I/O, parsing, external calls — or when auditing a codebase for swallowed and contextless errors.@libraryCodingDatabase Query OptimizationRules for writing efficient SQL and ORM queries: indexing strategy, N+1 prevention, and query planning.GitHub Copilot · CodingGitHub Copilotcopilot-instructions.mdDatabase Query OptimizationRules for writing efficient SQL and ORM queries: indexing strategy, N+1 prevention, and query planning.@libraryCoding