pluginagentmarketplace/custom-plugin-php/php-database
Claude Code and agent skill by pluginagentmarketplace/custom-plugin-php
Trust tier 2
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending
Checking that the SKILL.md file is still in the repository.
PHP database mastery - PDO, Eloquent, Doctrine, query optimization, and migrations
Install
npx vskill@latest install pluginagentmarketplace/custom-plugin-php/php-databaseSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as pluginagentmarketplace/custom-plugin-php/php-database.
PHP Database Skill
Atomic skill for mastering database operations in PHP
Overview
Comprehensive skill for PHP database interactions covering PDO, ORM patterns, query optimization, schema design, and migrations.
Skill Parameters
Input Validation
Validation Rules
Learning Modules
Module 1: PDO Fundamentals
Module 2: Query Optimization
Module 3: ORM Patterns
Error Handling & Retry Logic
Code Examples
PDO with Prepared Statements
Transaction with Retry
N+1 Prevention (Eloquent)
Query Optimization
Troubleshooting
| Problem | Detection | Solution | |
|---|---|---|---|
| N+1 queries | Debugbar shows 100+ queries | Use eager loading with() | |
| Slow queries | Query > 1 second | Add indexes, run EXPLAIN | |
| Deadlocks | "Deadlock found" error | Implement retry logic | |
| Memory exhaustion | Memory limit error | Use chunk() or cursor() |
Memory-Efficient Processing
Quality Metrics
| Metric | Target | |
|---|---|---|
| Prepared statements | 100% | |
| N+1 prevention | 100% | |
| Index recommendations | ≥95% | |
| Transaction safety | 100% |
Usage
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/php-database/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Apr 2026, 7 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pluginagentmarketplace/custom-plugin-php/php-database)