·logic-procedures
</>

logic-procedures

poletron/custom-rules

PL/pgSQL Business Logic Procedures and Best Practices Trigger: When writing stored procedures or database logic.

4Installs·0Trend·@poletron

Installation

$npx skills add https://github.com/poletron/custom-rules --skill logic-procedures

SKILL.md

Encapsulate complex business logic within the database using Stored Procedures and Functions to ensure consistency, reducing round-trips and enforcing data integrity closer to the source.

2.1 Standard Header & idempotent Creation Always use CREATE OR REPLACE to allow easy redeployment. Include a standard header block.

3.1 Error Handling Use EXCEPTION blocks to handle errors gracefully or re-raise them with context. Standardize error messages.

PL/pgSQL Business Logic Procedures and Best Practices Trigger: When writing stored procedures or database logic. Source: poletron/custom-rules.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/poletron/custom-rules --skill logic-procedures
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is logic-procedures?

PL/pgSQL Business Logic Procedures and Best Practices Trigger: When writing stored procedures or database logic. Source: poletron/custom-rules.

How do I install logic-procedures?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/poletron/custom-rules --skill logic-procedures Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/poletron/custom-rules