> generating-stored-procedures
This skill uses the stored-procedure-generator plugin to create production-ready stored procedures, functions, triggers, and custom database logic. It supports PostgreSQL, MySQL, and SQL Server. Use this skill when the user asks to "generate stored procedure", "create database function", "write a trigger", or needs help with "database logic", "optimizing database performance", or "ensuring transaction safety" in their database. The skill is activated by requests related to database stored proced
curl "https://skillshub.wtf/jeremylongshore/claude-code-plugins-plus-skills/stored-procedure-generator?format=md"Overview
This skill empowers Claude to generate efficient, production-ready stored procedures, functions, and triggers for various database systems. It helps implement complex business logic, enforce data integrity, and optimize database performance directly within the database.
How It Works
- Identify Requirements: Claude analyzes the user's request to understand the desired functionality, database system, and any specific constraints.
- Generate Code: Claude uses the stored-procedure-generator plugin to create the appropriate SQL code for the stored procedure, function, or trigger.
- Present Code: Claude presents the generated SQL code to the user for review and deployment.
When to Use This Skill
This skill activates when you need to:
- Implement complex business rules within a database.
- Enforce data integrity constraints beyond simple foreign keys.
- Optimize database performance by minimizing network round trips.
- Implement atomic transactions for data consistency.
Examples
Example 1: Generating a Stored Procedure for Order Processing
User request: "generate stored procedure to process orders in PostgreSQL"
The skill will:
- Analyze the request and determine the need for a PostgreSQL stored procedure for order processing.
- Generate the SQL code for a stored procedure that handles order creation, validation, and updates.
- Present the generated SQL code to the user.
Example 2: Creating a Trigger for Auditing Data Changes
User request: "create a trigger in MySQL to audit changes to the 'products' table"
The skill will:
- Analyze the request and determine the need for a MySQL trigger on the 'products' table.
- Generate the SQL code for a trigger that logs changes (inserts, updates, deletes) to a separate audit table.
- Present the generated SQL code to the user.
Best Practices
- Database Choice: Specify the target database (PostgreSQL, MySQL, SQL Server) for optimal code generation.
- Detailed Requirements: Provide clear and detailed requirements for the stored procedure, function, or trigger to ensure accurate code generation.
- Security Considerations: Review the generated code for potential security vulnerabilities, such as SQL injection, before deployment.
Integration
This skill can be integrated with other plugins for tasks such as database schema analysis or deployment automation, allowing for a complete end-to-end database development workflow.
> related_skills --same-repo
> agent-context-loader
PROACTIVE AUTO-LOADING: Automatically detects and loads AGENTS.md files from the current working directory when starting a session or changing directories. This skill ensures agent-specific instructions are incorporated into Claude Code's context alongside CLAUDE.md, enabling specialized agent behaviors. Triggers automatically when Claude detects it's working in a directory, when starting a new session, or when explicitly requested to "load agent context" or "check for AGENTS.md file".
> Google Cloud Agent SDK Master
Automatic activation for ALL Google Cloud Agent Development Kit (ADK) and Agent Starter Pack operations - multi-agent systems, containerized deployment, RAG agents, and production orchestration. **TRIGGER PHRASES:** - "adk", "agent development kit", "agent starter pack", "multi-agent", "build agent" - "cloud run agent", "gke deployment", "agent engine", "containerized agent" - "rag agent", "react agent", "agent orchestration", "agent templates" **AUTO-INVOKES FOR:** - Agent creation and scaffold
> Vertex AI Media Master
Automatic activation for ALL Google Vertex AI multimodal operations - video processing, audio generation, image creation, and marketing campaigns. **TRIGGER PHRASES:** - "vertex ai", "gemini multimodal", "process video", "generate audio", "create images", "marketing campaign" - "imagen", "video understanding", "multimodal", "content generation", "media assets" **AUTO-INVOKES FOR:** - Video processing and understanding (up to 6 hours) - Audio generation and transcription - Image generation with I
> yaml-master
PROACTIVE YAML INTELLIGENCE: Automatically activates when working with YAML files, configuration management, CI/CD pipelines, Kubernetes manifests, Docker Compose, or any YAML-based workflows. Provides intelligent validation, schema inference, linting, format conversion (JSON/TOML/XML), and structural transformations with deep understanding of YAML specifications and common anti-patterns.