Skip to content

Instantly share code, notes, and snippets.

@lukebussey
lukebussey / PostgresFunctionsCheatsheetReadme.md
Created January 11, 2022 18:15 — forked from dantheman213/PostgresFunctionsCheatsheetReadme.md
PostgreSQL & PL/pgSQL Stored Functions Cheatsheet

PostgreSQL & PL/pgSQL Stored Functions Cheatsheet

Boiler-plate stored function

CREATE OR REPLACE FUNCTION public.sp_user_ins_status(status smallint)
  RETURNS integer
  LANGUAGE plpgsql
AS $function$
@lukebussey
lukebussey / SKILL.md
Created February 26, 2026 20:19
Punctuation Skill
name punctuation
description Converts straight quotes to typographic quotes, normalizes hyphens/dashes and ellipsis in prose copy. Use when editing marketing copy, blog posts, landing pages, docs, or when the user asks to fix quotation marks, dashes, or ellipsis.

Punctuation

Goal

Convert straight quotes, hyphens/dashes, and ellipsis to correct typographic characters in prose. Do not change code blocks, inline code, commands, or file paths unless explicitly requested.