.claude/skills/mysql/SKILL.md
MySQL database best practices and query patterns
npx skillsauth add usrrname/cursorrules mysqlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Write efficient, secure MySQL queries and database schemas.
-- Parameterized query
SELECT id, name, email
FROM users
WHERE status = ? AND created_at > ?;
-- Proper indexing
CREATE INDEX idx_user_status ON users(status, created_at);
-- String concatenation (SQL injection risk)
SELECT * FROM users WHERE name = '$userInput';
-- Missing LIMIT on large tables
SELECT * FROM logs;
/typescript - For database interface types/laravel - Laravel database patternstesting
Test Distribution Analysis Command 🧪
development
Agent rule for refactoring existing code blocks or a feature by identifying language and applying only when refactor/improvement is requested
development
This skill guides a user to draft and clarify the intent and scope of a change or feature to be implemented. This skill can be used to create user stories, tasks, plans or other artifacts that will be used to implement code changes.
development
--- name: git-commit-push description: Enforces Git commit standards and conventions when committing and pushing code in Agent Mode. This rule is crucial for keeping track of changes made by agents, and should run whenever the user expresses they want to commit or push code changes made by the agent. This rule should be followed when: 1. the user wants to commit code, the git aliases, 'gpu' or 'gc', 'gcm' were submitted by the user. This rule will ask the user if they would prefer to auto-run th