shubhamtaywade82/node-agent-skills/mysql2
Claude Code and agent skill by shubhamtaywade82/node-agent-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when the repository uses MySQL2.
Install
npx vskill@latest install shubhamtaywade82/node-agent-skills/mysql2SKILL.md
The same SKILL.md was published earlier as shubhamtaywade82/node-agent-skills/mysql2.
MySQL2 adapter
Purpose
Translate framework-neutral Node.js persistence/workflow guidance into MySQL2-specific mechanics.
Activate when
- MySQL2 is present in the target repository.
- The detected installed version matches the scope below.
Repository inspection
- Inspect package.json, lockfile, data-source/connection configuration, and imports.
- Confirm the exact installed version.
- Locate client/connection construction, transaction boundaries, and shutdown ownership.
- Inspect migrations, indexes, query tests, and existing integration tests.
Decision rules
- Keep the framework-neutral persistence and transaction skills authoritative.
- Reuse long-lived connection/client resources.
- Never treat compile-time model types as runtime validation.
- Avoid hidden network/database work inside domain code.
Implementation procedure
- Detect MySQL2 and exact version.
- Map the change to the owning core persistence skill.
- Apply MySQL2-specific lifecycle/query/transaction mechanics.
- Add focused integration tests for failure and cleanup.
- Verify migration and production connection behavior.
Failure modes
- Copying APIs from an incompatible major version.
- Creating connections per request.
- Long-lived or leaked transactions/connections.
- Production schema mutation through development-only synchronization.
Verification
- Run focused integration tests.
- Run full suite and build/typecheck gates.
- Verify connection cleanup and transaction rollback.
- Review query/index behavior for load and correctness.
Source
https://github.com/sidorares/node-mysql2
Version scope
current 3.x.
Adapter guidance
Use parameterized/prepared statements; reuse pools; release checked-out connections; choose promise APIs intentionally; configure SSL and timeouts explicitly; size pool capacity across replicas/workers; test transaction and connection-loss behavior.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingadapters/mysql2/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
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/shubhamtaywade82/node-agent-skills/mysql2)