AgentSkillsCN

sec-filings-xbrl-dqc

适用于量化研究、系统实施及生产管控的SEC申报XBRL DQC工作流。当任务涉及申报标签的完整性、分类法的一致性,以及DQC违规检测时,可选用此类工作流。

SKILL.md
--- frontmatter
name: sec-filings-xbrl-dqc
description: "SEC Filings XBRL DQC workflows for quantitative research, implementation, and production controls. use when tasks involve filing-tag integrity, taxonomy consistency, and dqc breach detection."

SEC Filings XBRL DQC

objective

Execute sec filings xbrl dqc work with reproducible research, explicit controls, and deployable outputs.

workflow

  1. define source contracts, schema versions, and freshness objectives.
  2. ingest data with replay support and deterministic normalization.
  3. validate keys, timestamps, and point-in-time join behavior.
  4. monitor quality metrics continuously and quarantine degraded feeds.
  5. publish only when lineage, ownership, and quality thresholds are satisfied.

required diagnostics

  • freshness, completeness, null-rate, and duplicate-rate trends.
  • schema drift and breaking-change frequency across sources.
  • point-in-time join integrity for features and labels.
  • backfill and replay consistency versus canonical snapshots.
  • taxonomy remapping accuracy across filing periods
  • dqc breach concentration by issuer and form type

risk controls

  • enforce hard thresholds for freshness and data-quality metrics.
  • enforce quarantine and fallback paths for corrupted feeds.
  • enforce full lineage metadata before downstream release.

outputs

  • run python scripts/sec_filings_xbrl_dqc_diagnostics.py input.csv --output diagnostics.json and keep the json artifact.
  • write an implementation memo using references/sec-filings-xbrl-dqc-playbook.md with assumptions, tests, limits, and rollout plan.

resources

  • use scripts/sec_filings_xbrl_dqc_diagnostics.py for deterministic diagnostics.
  • use references/sec-filings-xbrl-dqc-playbook.md for the domain-specific checklist and delivery structure.