Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

database-query-deadlock-lock-contention-debugging

/database-query-deadlock-lock-contention-debugging

Wykrywa i usuwa zakleszczenia transakcji w relacyjnych bazach oraz rywalizację o blokady tabel.

Licencja
MIT
Ostatnia zmiana repozytorium
28.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 28.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Wykrywa i usuwa zakleszczenia transakcji w relacyjnych bazach oraz rywalizację o blokady tabel.

Oryginalny opis (EN)

Use this skill when identify and resolve relational database transaction deadlocks and table lock contention.

Jak działa

  1. When to use
  2. Core principles
  3. Step-by-step workflow
  4. Specifics & examples
  5. Common mistakes & pitfalls
  6. Verification checklist
  7. Related skills
Sekcje z nagłówków SKILL.md, w oryginale · 42 linii, 369 słów
Podgląd SKILL.md
---
name: database-query-deadlock-lock-contention-debugging
description: Use this skill when identify and resolve relational database transaction deadlocks and table lock contention.
---
# Database Query Deadlock Lock Contention Debugging

## When to use
Use this skill when identify and resolve relational database transaction deadlocks and table lock contention. This applies across software engineering lifecycles, team code reviews, production debugging, prompt design, and architectural documentation.

## Core principles
- **Clarity Over Cleverness**: Code, prompts, and technical documentation must prioritize clarity, predictability, and long-term maintainability over obscure shortcuts.
- **Evidence-Based Engineering**: Every decision, bug resolution, and architectural choice must be supported by empirical data, minimal reproductions, or benchmark traces.
- **Cognitive Load Minimization**: Design interfaces, APIs, and documents to minimize mental parsing overhead for future engineers and autonomous agents.
- **Continuous Feedback Loops**: Incorporate automated verification, peer reviews, and post-task retrospectives to drive iterative improvement.

## Step-by-step workflow
1. **Define the objective and constraints**: State the exact technical outcome, acceptance criteria, and operational boundaries.
2. **Gather baseline telemetry and context**: Inspect relevant codebases, stack traces, system architecture diagrams, or log files.
3. **Execute structured analysis or implementation**: Apply domain-specific techniques (e.g., minimal reproduction, refactoring transforms, prompt templates).
4. **Validate against automated test assertions**: Run unit tests, linters, or schema validation parsers to verify behavioral correctness.
5. **Document rationale and trade-offs**: Record the 'why' behind choices, documenting rejected alternatives and operational considerations.
6. **Conduct retrospective review**: Share findings with stakeholders or record lessons learned in the team knowledge base.

## Specifics & examples
- **Standard Engineering Artifact**:
  - Scope: Database Query Deadlock Lock Contention Debugging
  - Core Deliverable: Actionable, verifiable engineering guidance aligned with Debugging & troubleshooting.
  - Verification Rule: Tested against production workflows and peer-reviewed standards.
- **Primary Focus Area**: Debugging & troubleshooting principles designed to elevate engineering precision and team psychological safety.

## Common mistakes & pitfalls
- Jumping directly into speculative fixes or complex rewrites before isolating the root cause.
- Introducing premature abstractions that increase indirection and cognitive complexity.
- Failing to document context and architectural trade-offs for subsequent maintainers.

## Verification checklist
[ ] The technical deliverable or fix is validated with reproducible test assertions.
[ ] Changes preserve backwards compatibility and maintain existing contract invariants.
[ ] Documentation or commit logs clearly explain the rationale and trade-offs.

## Related skills
- git-bisect-automated-bug-hunting
- stack-trace-analysis-symbolication-source-maps
- root-cause-analysis-5-whys-fishbone-diagram
- incident-postmortem-blameless-rca-authoring

Wersje

W bazie nie ma innych skilli o nazwie database-query-deadlock-lock-contention-debugging.

Migawka bazy z 13.11.2026 · wersja paczki b9c258ea0af9 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100detecting-database-deadlocks
    Wykrywa i rozwiązuje deadlocki w bazach danych oraz pomaga im zapobiegać.
  • 100detecting-database-deadlocks
    Wykrywa i rozwiązuje deadlocki w bazach danych oraz pomaga im zapobiegać.
  • 100deadlock-race-condition-troubleshooting
    Wykrywa i odtwarza subtelne wyścigi w wielowątkowym kodzie oraz zakleszczenia wynikające z kolejności blokad.
  • 100mysql-1213
    Pomaga znaleźć przyczynę zakleszczenia MySQL „Deadlock found”, zaczynając od odczytu, bez zbierania haseł.
  • 100database-performance
    Pomaga, gdy wąskim gardłem jest baza danych: wyszukiwanie kosztownych zapytań, strategia indeksów, blokady, nasycenie połączeń i decyzje schematu wpływające na szybkość zapytań.
  • 100database-optimizer
    Optymalizuje zapytania i wydajność baz PostgreSQL i MySQL: plany wykonania, indeksy, przepisywanie zapytań, partycjonowanie i blokady.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.