Skip to main content

m3u-epg-data-audit

Audit M3UAndroid M3U and EPG data flows for parser behavior, channel/programme matching, duplicate handling, fallback behavior, joins, and timezone/time-range correctness.

跳到安装

来源信息

仓库
oxyroid/M3UAndroid
最近来源活动
2026年5月20日 14:03
检测到的 SKILL.md 语言
英语
星标
1,270
分支
160

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
m3u-epg-data-audit
description
Audit M3UAndroid M3U and EPG data flows for parser behavior, channel/programme matching, duplicate handling, fallback behavior, joins, and timezone/time-range correctness.
allowed-tools
Read, Glob, Grep, Bash, Agent
argument-hint
[repo path or data module path]
# M3U and EPG Data Audit Audit playlist and guide data behavior with concrete parser, repository, DAO, and test evidence. ## When To Use Use when a task changes or reviews: - M3U, XMLTV, EPG, or Xtream parsing - Channel-to-programme matching - Playlist-to-EPG association behavior - DAO queries or repositories that return channels/programmes - Empty, malformed, duplicate, timezone, or time-range behavior ## Required Context Read first: - `AGENTS.md` - `data/AGENTS.md` - `docs/ai/playbooks/m3u-epg-data.md` - Relevant parser, DAO, repository, model, fixture, and test files ## Audit Checks Verify with file evidence: - Channel/EPG matching uses stable IDs or documented fallback order. - Duplicate programmes are handled deterministically. - Playlist-to-EPG associations are preserved across refresh/import flows. - Empty EPG data has an explicit fallback path. - SQL joins do not accidentally exclude channels without programmes. - Time ranges, date parsing, and timezone conversion are explicit and tested where possible. - Parser errors follow existing Flow/error-handling conventions. ## Process 1. Map parser entry points, repositories, DAOs, and tests. 2. Trace one normal playlist with EPG and one empty/malformed guide path. 3. Inspect joins and filters that combine channels and programmes. 4. Check fixtures or tests for duplicates, missing guide data, and timezone offsets. 5. Cite file paths and line numbers for each finding. ## Validation Recommend: ```bash ./gradlew :data:testDebugUnitTest ``` Also recommend targeted parser or fixture tests when present. If unavailable, state the untested data risk. ## Output Return a concise Markdown report with: - Scope and confidence - Data-flow map - Pass/fail table for each audit check - Evidence-backed findings with file paths - Regression tests or fixtures to add - Validation run or not run, with reason
在 GitHub 查看