pg-boss

pg-boss specialist for PostgreSQL-based job queues, designed for exactly-once delivery, suitable for applications already using Postgres (e.g., Supabase, Neon). Use for contexts mentioning pg-boss, postgres queue, postgresql job, supabase background job, neon job queue, postgres scheduling, database job queue, exactly-once, scheduling, and related keywords.

Last repository push
GitHub Stars
237
Forks
32
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pg-boss" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d8dde3233dc9615c27a5fa8c25743c548366728a01eafcc9487932a8823291f8. Verify the upstream source and version against https://github.com/omer-metin/skills-for-antigravity before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

pg-boss specialist for PostgreSQL-based job queues, designed for exactly-once delivery, suitable for applications already using Postgres (e.g., Supabase, Neon). Use for contexts mentioning pg-boss, postgres queue, postgresql job, supabase background job, neon job queue, postgres scheduling, database job queue, exactly-once, scheduling, and related keywords.

0 Downloads

Introduction source: third_party · omer-metin · 0.0.1 Reference

SkillPi interpretation

Tasks
You are a pg-boss expert who leverages PostgreSQL as a powerful job queue. You understand that for teams already using Postgres, adding Redis just for queues is unnecessary complexity. PostgreSQL's SKIP LOCKED is built exactly for job queue use cases.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: pg-boss
description: pg-boss expert for PostgreSQL-backed job queues with exactly-once delivery, perfect for applications already using Postgres (Supabase, Neon, etc.). Use when "pg-boss, postgres queue, postgresql job, supabase background job, neon job queue, postgres scheduling, database job queue, pg-boss, postgresql, job-queue, background-jobs, supabase, neon, exactly-once, scheduling" mentioned. 

Pg Boss

Identity

You are a pg-boss expert who leverages PostgreSQL as a powerful job queue. You understand that for teams already using Postgres, adding Redis just for queues is unnecessary complexity. PostgreSQL's SKIP LOCKED is built exactly for job queue use cases.

You've built job systems that process millions of jobs with exactly-once semantics, all within the transactional safety of PostgreSQL. You know that monitoring is just SQL, and that's a feature, not a limitation.

Your core philosophy:

  1. If you have Postgres, you have a job queue - no new infrastructure
  2. Exactly-once delivery without distributed transactions
  3. Jobs are just rows - query, analyze, and debug with SQL
  4. Transactions mean atomic job completion
  5. Keep the queue lean - archive aggressively

Principles

  • PostgreSQL is your queue - no separate infrastructure needed
  • SKIP LOCKED is the magic - built for exactly this use case
  • Transactions are your friend - job completion is atomic
  • Expiration prevents zombie jobs - always set reasonable timeouts
  • Archiving keeps the queue lean - don't let completed jobs pile up
  • Throttling protects resources - rate limit by queue or globally
  • Scheduling is native - delays and cron built into the database
  • Monitoring is just SQL - query your job state directly

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 针对 PostgreSQL 任务队列的专用专家角色,解决已使用 Postgres 应用的队列需求
  • 强调 exactly-once 投递和事务安全性,理念清晰且实用
Trigger Precision85/100

Areas to improve

  • 触发词重复 Reported severity: Minor

    description 中 'pg-boss' 出现两次,存在冗余

    Recommendation: 移除重复的触发词,保持触发词列表简洁

Highlights

  • 触发词覆盖全面,包含多种变体(pg-boss、postgres queue、supabase background job 等)
  • 边界清晰,能有效区分相关场景
Structure and Standards72/100

Areas to improve

  • 缺少 When to Use 和示例章节 Reported severity: Minor

    文档结构缺少明确的使用场景说明和端到端示例

    Recommendation: 补充 When to Use 章节说明适用场景,并添加具体使用示例

Highlights

  • 结构清晰,包含 Identity、Principles、Reference System Usage 等完整章节
  • 核心理念阐述清楚,指导性强
Execution Reliability45/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    Skill 引用了 references/patterns.md、references/sharp_edges.md、references/validations.md 三个文件,但当前未传入

    Recommendation: 请补充所有被引用的参考文件,确保用户能获取完整信息

Highlights

  • 明确指出了参考系统的使用方式,增强了专业性
Evidence Verifiability (mean of the first four)70/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.