engremran07/gsmvault/alp-intersect-infinite

Claude Code and agent skill by engremran07/gsmvault

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Infinite scroll with x-intersect. Use when: loading more items on scroll, paginated API with append-on-scroll, forum topic lists, firmware catalog browsing.

Install

npx vskill@latest install engremran07/gsmvault/alp-intersect-infinite

SKILL.md

The same SKILL.md was published earlier as engremran07/gsmvault/alp-intersect-infinite.

Alpine Infinite Scroll with x-intersect

When to Use

  • Topic/reply lists that load more as user scrolls down
  • Firmware catalog with progressive loading
  • Any paginated list where "load more" should be automatic

Patterns

Basic Infinite Scroll
html
<div x-data="{
items: [],
page: 1,
loading: false,
hasMore: true,
async loadMore() {
if (this.loading || !this.hasMore) return;
this.loading = true;
try {
const res = await fetch(`/api/v1/firmwares/?page=${this.page}`);
const data = await res.json();
this.items.push(...data.results);
this.hasMore = !!data.next;
this.page++;
} finally {
this.loading = false;
}
}
}" x-init="loadMore()">
<template x-for="item in items" :key="item.id">
<div class="p-4 border-b border-[var(--color-border)]">
<h3 x-text="item.name"></h3>
</div>
</template>
<!-- Sentinel element -->
<div x-show="hasMore" x-intersect:enter="loadMore()" class="py-4">
<div x-show="loading" class="flex justify-center">
{% include "components/_loading.html" with size="sm" %}
</div>
</div>
<p x-show="!hasMore && items.length > 0" x-cloak
class="text-center text-[var(--color-text-muted)] py-4">
No more items
</p>
</div>
With HTMX Hybrid (Server-Rendered Items)
html
<div id="item-list">
{% for item in items %}
{% include "firmwares/fragments/_firmware_card.html" %}
{% endfor %}
</div>
<div x-data="{ page: 1, hasMore: {{ has_next|yesno:'true,false' }} }"
x-show="hasMore" x-cloak
x-intersect:enter="
page++;
htmx.ajax('GET', '?page=' + page, { target: '#item-list', swap: 'beforeend' });
">
{% include "components/_loading.html" with size="sm" %}
</div>
Debounced Scroll Loading
html
<div x-data="{
canLoad: true,
loadMore() {
if (!this.canLoad) return;
this.canLoad = false;
// fetch logic...
setTimeout(() => this.canLoad = true, 500);
}
}" x-intersect:enter="loadMore()">
</div>

Anti-Patterns

PatternProblemFix
No guard against concurrent loadsDuplicate itemsCheck loading flag before fetch
Missing hasMore checkFetches after last page returns emptyTrack next from API response
Sentinel always visibleInfinite loop of requestsHide sentinel when no more data

Red Flags

  • Infinite scroll without loading indicator (user doesn't know content is coming)
  • No "end of list" message when all items are loaded
  • Missing deduplication — same items appended multiple times

Quality Gate

powershell
& .\.venv\Scripts\python.exe -m ruff check . --fix
& .\.venv\Scripts\python.exe -m ruff format .
& .\.venv\Scripts\python.exe manage.py check --settings=app.settings_dev

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/engremran07/gsmvault/alp-intersect-infinite/badge)](https://verified-skill.com/skills/engremran07/gsmvault/alp-intersect-infinite)

Something wrong with this skill or its page? Tell us.