agentleFS
4gray4gray/iptvnator/.agents/skills/xtream-electron/SKILL.md

xtream-electron

Skill7.6k starsChanged 6 days agoMITView on GitHub

Use when changing Xtream routes, Signal Store or data sources, content identity, SQLite-backed import, search or delete, sparse VOD playback, or Electron and PWA behavior.

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run both data-source specs plus affected Xtream store/feature tests.

    line 59

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Xtream Electron

Read First

  • docs/architecture/xtream-portal-compatibility.md
  • docs/architecture/portal-detail-navigation.md
  • docs/architecture/sqlite-db-worker.md
  • docs/architecture/vod-multi-source.md

Ownership And Runtime

Routed screens live in libs/portal/xtream/feature; API, cache, Signal Store, and data sources in libs/portal/xtream/data-access; collection services and reusable multi-source discovery/resolution in libs/portal/shared/data-access; reusable views in libs/portal/shared/ui; pure contracts/helpers only in libs/portal/shared/util. Screen-session multi-source orchestration stays in the Xtream feature.

Select ElectronXtreamDataSource only through RuntimeCapabilitiesService.supportsXtreamSqliteDataSource; otherwise use the PWA data source. A generic window.electron check is not the capability contract; existing favorites/recent branches that still use one are migration debt, not precedent.

Data And Navigation Contracts

  • Xtream identity is playlist + normalized content type + provider xtream_id; collection keys include type and ID. Never resolve colliding live/movie/series IDs by number alone. Distinguish SQLite row IDs from provider xtream_id / stream_id / series_id.
  • Browse and search use canonical item routes. Favorites/recent use collection-owned inline detail. Preserve enough provider/route identity to recover hidden categories without sending a local database ID to the API.
  • Sparse VOD publishes the fallback selection first and recovers its provider category in the background. A playable candidate pairs a positive stream ID with an extension or an explicit HTTP(S) direct address. Never combine fields from incomplete candidates; Favorite/Watched do not require playback fields.
  • VOD multi-source is capability-gated, owner-scoped, Electron-only Xtream-to-Xtream movie behavior. Its reusable core belongs in portal shared data access; the screen session/host belongs in the Xtream feature.

XtreamStore composes portal, content, selection, search, EPG, player, favorites, recent items, and playback positions.

On the SQLite path, large import/search/delete/restore work remains worker-backed. Renderer-visible DB progress and cancellation use operationId. Xtream API requests use requestId, import sessions use sessionId, and the DB worker also has an internal transport request ID; never conflate any of them.

Validation

Run both data-source specs plus affected Xtream store/feature tests. Use the closest atomized flow:

  • web-e2e:e2e-ci--src/xtream.e2e.ts
  • electron-backend-e2e:e2e-ci--src/xtream-responsiveness.e2e.ts
  • electron-backend-e2e:e2e-ci--src/xtream-vod-details.e2e.ts
  • electron-backend-e2e:e2e-ci--src/vod-multi-source.e2e.ts

Download now (ZIP)

Trending

More talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 1 mentionFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 3 mentionsJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 2 mentionsOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the 4gray/iptvnator repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about 4gray/iptvnator

The biggest 5 of 25 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 25

Talked about on GitHub, Bluesky and Stack Overflow (25 times).

On GitHub · 19

14 more on GitHub

On Bluesky · 5

On Stack Overflow · 1

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.