acid-compliance
ACID compliance in databases
Source facts
- Repository
- ffsshhttiikk/opencode-agents-skills
- Last source activity
- February 28, 2026 at 22:46
- Detected SKILL.md language
- English
- Stars
- 3
- Forks
- 2
Install options
The review-first prompt is selected by default. You can switch to a direct command or download a local copy.
Review the source files
Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.
Showing SKILL.md
SKILL.md
Source instructions · Read-only preview- name
- acid-compliance
- description
- ACID compliance in databases
- license
- MIT
- compatibility
- opencode
- metadata
- {"audience":"developers","category":"databases"}
## What I do
- Ensure ACID compliance in database operations
- Choose appropriate transaction strategies
- Implement retry logic
## When to use me
When designing database-backed applications requiring strong consistency.
## Compliance Strategies
```python
class ACIDCompliance:
"""Ensure ACID compliance"""
def __init__(self, db):
self.db = db
def execute_transaction(self, operations: List[Callable],
retries: int = 3) -> Any:
"""Execute with ACID guarantees"""
for attempt in range(retries):
try:
with self.db.transaction() as tx:
results = [op() for op in operations]
tx.commit()
return results
except DeadlockException:
if attempt == retries - 1:
raise
time.sleep(0.1 * (attempt + 1))
```
View on GitHub