community-feed

Implement paginated social feeds with cursor navigation and trending algorithms.

783|62|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/dadbodgeoff/drift --skill community-feed
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: community-feed
Source: https://github.com/dadbodgeoff/drift/tree/main/drift%20v1%20depreciated/skills/community-feed
Command: npx skills add https://github.com/dadbodgeoff/drift --skill community-feed

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation of dynamic social feeds by efficiently handling large datasets, trending content, and user engagement.

Core Features & Use Cases

  • Cursor Pagination: Efficiently loads data for infinite scroll feeds, avoiding performance issues with large datasets.
  • Trending Algorithms: Implements logic to surface popular content.
  • Engagement Tracking: Manages likes and other interactions.
  • Use Case: Building a social media feed where users can scroll endlessly through posts, with the most engaging content appearing first.

Quick Start

Use the community-feed skill to get the trending feed for the viewer user_123 with 20 posts.

Frequently Asked Questions about community-feed

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement cursor-based pagination for an infinite scroll social feed?

Cursor-based pagination enables infinite scroll feeds by tracking the last retrieved item position instead of offset values. This approach avoids performance issues when querying large social feed datasets.

What's the best way to build a trending algorithm for a social feed in Python?

A trending algorithm for a social feed in Python surfaces popular content by tracking engagement metrics like likes and follows. It ranks posts dynamically to deliver personalized content to users.

How does engagement tracking work for social feed posts?

Engagement tracking for social feed posts records user likes and follows within a SQL schema. These interaction records feed into trending algorithms to surface the most engaging content first.

Can I use Python and SQL for efficient social feed database queries at scale?

Python services with SQL schema handle efficient social feed database queries at scale through cursor-based navigation. This method avoids offset performance bottlenecks common in large post datasets.

Why does offset pagination slow down infinite scroll feeds with large datasets?

Offset pagination slows infinite scroll feeds because the database scans and skips all preceding rows on each page request. Cursor-based navigation eliminates this by starting retrieval directly at the last cursor position.