๐Ÿ”’
QualityShell

Protheus Locks And Deadlocks

by thalysjuvenal

Protheus Locks And Deadlocks is a Quality skill for Claude Code, published by thalysjuvenal in advpl-specialist.

186 stars37 forkson thalysjuvenal/advpl-specialistAdded 2026/09/06+1% in starsRepository updated 2026/08/21
advpladvpl-projetosadvprclaude-codedevopsiaorientacao-a-objetosprotheussmartxsqltdntirtlpptotvstotvs-protheus
Install in seconds
Install Protheus Locks And Deadlocks
Copy Protheus Locks And Deadlocks into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/thalysjuvenal/advpl-specialist/tree/main/skills/protheus-locks-deadlocks ~/.claude/skills/protheus-locks-deadlocks

Requires Node.js. Downloads this skill only โ€” not the rest of the repository โ€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/thalysjuvenal/advpl-specialist.git

Clones the whole repository, then copy the skillโ€™s own directory into your skills folder yourself.

In this catalog

Source file
skills/protheus-locks-deadlocks/SKILL.md in thalysjuvenal/advpl-specialist
Installs to
~/.claude/skills/protheus-locks-deadlocks
Collection
One of 18 skills cataloged from this repository
Category
Quality โ€” 1745 skills

What Protheus Locks And Deadlocks does

Protheus Locks And Deadlocks explains RecLock, MsUnlock, SoftLock, LockByName, and transaction scoping in Protheus. Use it to diagnose record locks, deadlocks, and lock leaks, or to apply safer lock ordering and BEGIN SEQUENCE/RECOVER patterns.

Protheus Locks And Deadlocks is cataloged under Quality on DirSkills. Protheus Locks And Deadlocks comes from a repository tagged advpl, advpl-projetos, advpr, claude-code and devops.

Documentation

README

Protheus Locks & Deadlocks

This skill documents the Protheus hybrid locking model -- record-level Workarea locks (RecLock/MsUnlock) coordinated by DBAccess on top of the underlying RDBMS (PostgreSQL, MSSQL, Oracle) -- and how to diagnose and prevent the lock leaks, contention, and deadlocks that are among the most common production issues. It covers lock API semantics (RecLock, MsUnlock/MsUnlockAll, SoftLock, LockByName, TCSqlExec, BeginTran/EndTran/DisarmTransaction), safe transaction scoping with BEGIN SEQUENCE/RECOVER, and live diagnostic procedures per database engine.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Protheus Locks And Deadlocks

  • What else does thalysjuvenal publish alongside Protheus Locks And Deadlocks?

    Protheus Locks And Deadlocks is one of 18 skills that DirSkills catalogs from thalysjuvenal/advpl-specialist, the repository it ships in. Its siblings there include ADVPL Code Generation, ADVPL Code Review and ADVPL Debugging. Each one is a separate skill with its own page in this directory, installs the same way Protheus Locks And Deadlocks does, and is maintained by thalysjuvenal in that same repository. The rest of the collection is listed on the thalysjuvenal/advpl-specialist page.

  • How does Protheus Locks And Deadlocks compare to other Quality skills?

    Protheus Locks And Deadlocks ranks #1641 by stars among the 1745 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Protheus Locks And Deadlocks against them. Open each page to compare what they document and how they install.

More from thalysjuvenal/advpl-specialist

Protheus Locks And Deadlocks is one of 18 skills cataloged on DirSkills from thalysjuvenal/advpl-specialist.

See all 18 skills โ†’
๐Ÿงฉ
5h ago

ADVPL Code Generation

ADVPL Code Generation generates new ADVPL and TLPP code for TOTVS Protheus, including functions, classes, MVC screens, REST/SOAP services, reports, jobs, and workflows. Use it when creating new .prw or .tlpp files with required naming and structure rules.
AI Engineering
18637
๐Ÿ”
5h ago

ADVPL Code Review

ADVPL Code Review inspects existing ADVPL/TLPP code for best practices, performance, security, and modernization issues. Use it before merge or deploy, or when checking TLPP migration readiness and TOTVS SonarQube rule alignment.
Quality
18637
๐Ÿž
5h ago

ADVPL Debugging

ADVPL Debugging helps diagnose and fix ADVPL/TLPP errors in TOTVS Protheus, including compilation failures, runtime exceptions, locks, slow routines, and AppServer log analysis. Use it when you have an error message, stack trace, or failing routine to investigate.
Quality
18637
๐Ÿ› ๏ธ
5h ago

ADVPL Refactoring

ADVPL Refactoring helps restructure existing ADVPL/TLPP code without changing behavior. Use it to extract long functions, simplify nested conditionals, remove dead code, improve naming, and reduce duplication or parameter bloat.
Quality
18637
๐Ÿ› ๏ธ
5h ago

ADVPL To TLPP Migration

ADVPL To TLPP Migration converts legacy ADVPL procedural routines into TLPP classes for TOTVS Protheus. Use it when migrating User Functions and Static Functions to namespaced classes while preserving backward-compatible wrappers.
AI Engineering
18637
๐Ÿงช
5h ago

ADVPR Test Automation

ADVPR Test Automation helps write, run, and troubleshoot automated regression tests for TOTVS Protheus routines with ADVPR. It covers FWTestHelper, TestSuite setup, headless execution, routine preparation, and common patterns like MVC, ExecAuto, reports, webservices, SmartLink, and Smart View.
Quality
18637