💡 Summary
This skill provides PostgreSQL schema patterns for common application features.
🎯 Target Audience
🤖 AI Roast: “The skill may involve database schema manipulations, which could expose sensitive data if not properly secured. Implement strict access controls and validate all inputs to mitigate”
Risk: Medium. Review: outbound network access (SSRF, data egress). Run with least privilege and audit before enabling in production.
InsForge Skills
PostgreSQL schema patterns for the developer community. Maintained by InsForge.
What's Included
Skill: postgres-schema-patterns
Production-ready patterns for common app features:
- Social graph (follows, connections)
- Likes, favorites, bookmarks
- Nested comments & threads
- Multi-tenant / SaaS organizations
Each pattern includes:
- Schema with constraints & indexes
- Row Level Security (RLS) policies
- SDK query examples
- Performance best practices
Works with any PostgREST-based backend.
Installation
npx skills add InsForge/insforge-skills
If you're using Claude Code, you can also install this skill as a plugin:
/plugin marketplace add InsForge/insforge-skills
/plugin install postgres-schema-patterns@insforge-agent-skills
Or browse available plugins with /plugin and select from the Discover tab.
Usage
The skill automatically activates when designing database schemas:
You: "I need to build a social media app with follows and likes"
Claude: [Loads postgres-schema-patterns]
"I'll use the Social Graph pattern..."
Or invoke directly: /insforge:postgres-schema-patterns
Contributing
We welcome contributions! Add new patterns by:
- Create a new file in
skills/postgres-schema-patterns/patterns/ - Follow the existing pattern structure (Schema, RLS, SDK, Best Practices)
- Submit a PR
Ideas for new patterns:
- E-commerce (orders, cart, inventory)
- Messaging (conversations, threads)
- Notifications
- Bookings & appointments
- Tags & categories
License
MIT
Pros
- Production-ready patterns
- Includes performance best practices
- Supports Row Level Security
- Works with PostgREST-based backends
Cons
- Limited to PostgreSQL
- May require additional customization
- Not all app features covered
- Dependency on PostgREST
Related Skills
pytorch
S“It's the Swiss Army knife of deep learning, but good luck figuring out which of the 47 installation methods is the one that won't break your system.”
agno
S“It promises to be the Kubernetes for agents, but let's see if developers have the patience to learn yet another orchestration layer.”
nuxt-skills
S“It's essentially a well-organized cheat sheet that turns your AI assistant into a Nuxt framework parrot.”
Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.
Copyright belongs to the original author InsForge.
