OpenParable
Skip to content
← Back to skills

Xtream Electron

Development
xtream-electron

Xtream Electron is an Agent Skill for development published in the 4gray/iptvnator repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

IPTVnator's Electron-first Xtream implementation, including feature/data-access boundaries, worker-backed DB flows, and Xtream loading/progress UX.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/4gray/iptvnator/blob/HEAD/.codex/skills/xtream-electron/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/xtream-electron, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Xtream Electron

Use this skill when working on Xtream routes, stores, data sources, import/search/delete behavior, or Electron-backed Xtream playback and persistence.

Key Areas

  • Feature UI: libs/portal/xtream/feature/src/lib/
  • Data access: libs/portal/xtream/data-access/src/lib/
  • Shared portal utilities: libs/portal/shared/util/src/lib/
  • Shared portal UI: libs/portal/shared/ui/src/lib/
  • Electron DB events: apps/electron-backend/src/app/events/database/
  • DB worker operations: apps/electron-backend/src/app/database/operations/

Rules

  • Keep provider-specific API/cache behavior in portal/xtream/data-access.
  • Keep reusable layout and collection UI in portal/shared/ui or portal/shared/util.
  • Prefer worker-backed DB operations for large imports, global search, delete, and restore.
  • Preserve request cancellation and progress reporting for long imports.
  • Validate both PWA and Electron data-source paths when changing Xtream APIs.

Validation

  • Run pnpm nx test portal-xtream-data-access and pnpm nx test portal-xtream-feature for store/UI changes.
  • Run pnpm nx run web-e2e:e2e-ci--src/xtream.e2e.ts or the closest Electron E2E target for user-visible Xtream workflow changes.