[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M748EVVVCBKR8ZZ71QW7D6FS":3,"skill-same:01M748EVVVCBKR8ZZ71QW7D6FS":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M748EVVVCBKR8ZZ71QW7D6FS","data-quality-checker",null,"Validate data quality in market analysis documents and blog articles before publication. Use when checking for price scale inconsistencies (ETF vs futures), instrument notation errors, date\u002Fday-of-week mismatches, allocation total errors, and unit mismatches. Supports English and Japanese content. Advisory mode -- flags issues as warnings for human review, not as blockers.","mphinance\u002Falpha-skills","mphinance","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F217996678?v=4","01M71VQC89A6CMFACD2J1CJW6E","Michael H","01M71VQC9B4C0BJ7XXKT8RWRV9",32,"MIT","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdata-quality-checker\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: data-quality-checker\ndescription: Validate data quality in market analysis documents and blog articles before publication. Use when checking for price scale inconsistencies (ETF vs futures), instrument notation errors, date\u002Fday-of-week mismatches, allocation total errors, and unit mismatches. Supports English and Japanese content. Advisory mode -- flags issues as warnings for human review, not as blockers.\n---\n\n## Overview\n\nDetect common data quality issues in market analysis documents before\npublication. The checker validates five categories: price scale consistency,\ninstrument notation, date\u002Fweekday accuracy, allocation totals, and unit usage.\nAll findings are advisory -- they flag potential issues for human review rather\nthan blocking publication.\n\n## When to Use\n\n- Before publishing a weekly strategy blog or market analysis report\n- After generating automated market summaries\n- When reviewing translated documents (English\u002FJapanese) for data accuracy\n- When combining data from multiple sources (FRED, FMP, FINVIZ) into one report\n- As a pre-flight check for any document containing financial data\n\n## Prerequisites\n\n- Python 3.9+\n- No external API keys required\n- No third-party Python packages required (uses only standard library)\n\n## Workflow\n\n### Step 1: Receive Input Document\n\nAccept the target markdown file path and optional parameters:\n- `--file`: Path to the markdown document to validate (required)\n- `--checks`: Comma-separated list of checks to run (optional; default: all)\n- `--as-of`: Reference date for year inference in YYYY-MM-DD format (optional)\n- `--output-dir`: Directory for report output (optional; default: `reports\u002F`)\n\n### Step 2: Execute Validation Script\n\nRun the data quality checker script:\n\n```bash\npython3 skills\u002Fdata-quality-checker\u002Fscripts\u002Fcheck_data_quality.py \\\n  --file path\u002Fto\u002Fdocument.md \\\n  --output-dir reports\u002F\n```\n\nTo run specific checks only:\n\n```bash\npython3 skills\u002Fdata-quality-checker\u002Fscripts\u002Fcheck_data_quality.py \\\n  --file path\u002Fto\u002Fdocument.md \\\n  --checks price_scale,dates,allocations\n```\n\nTo provide a reference date for year inference (useful for documents without\nexplicit year in dates):\n\n```bash\npython3 skills\u002Fdata-quality-checker\u002Fscripts\u002Fcheck_data_quality.py \\\n  --file path\u002Fto\u002Fdocument.md \\\n  --as-of 2026-02-28\n```\n\n### Step 3: Load Reference Standards\n\nRead the relevant reference documents to contextualize findings:\n\n- `references\u002Finstrument_notation_standard.md` -- Standard ticker notation,\n  digit-count hints, and naming conventions for each instrument class\n- `references\u002Fcommon_data_errors.md` -- Catalog of frequently observed errors\n  including FRED data delays, ETF\u002Ffutures scale confusion, holiday oversights,\n  allocation total pitfalls, and unit confusion patterns\n\nUse these references to explain findings and suggest corrections.\n\n### Step 4: Review Findings\n\nExamine each finding in the output:\n\n- **ERROR** -- High confidence issues (e.g., date-weekday mismatches verified\n  by calendar computation). Strongly recommend correction.\n- **WARNING** -- Likely issues that need human judgment (e.g., price scale\n  anomalies, notation inconsistencies, allocation sums off by more than 0.5%).\n- **INFO** -- Informational notes (e.g., mixed bp\u002F% usage that may be\n  intentional).\n\n### Step 5: Generate Quality Report\n\nThe script produces two output files:\n\n1. **JSON report** (`data_quality_YYYY-MM-DD_HHMMSS.json`): Machine-readable\n   list of findings with severity, category, message, line number, and context.\n2. **Markdown report** (`data_quality_YYYY-MM-DD_HHMMSS.md`): Human-readable\n   report grouped by severity level.\n\nPresent the findings to the user with explanations referencing the knowledge\nbase. Suggest specific corrections for each issue.\n\n## Output Format\n\n### JSON Finding Structure\n\n```json\n{\n  \"severity\": \"WARNING\",\n  \"category\": \"price_scale\",\n  \"message\": \"GLD: $2,800 has 4 digits (expected 2-3 digits)\",\n  \"line_number\": 5,\n  \"context\": \"GLD: $2,800\"\n}\n```\n\n### Markdown Report Structure\n\n```markdown\n# Data Quality Report\n**Source:** path\u002Fto\u002Fdocument.md\n**Generated:** 2026-02-28 14:30:00\n**Total findings:** 3\n\n## ERROR (1)\n- **[dates]** (line 12): Date-weekday mismatch: January 1, 2026 (Monday) -- actual weekday is Thursday\n\n## WARNING (2)\n- **[price_scale]** (line 5): GLD: $2,800 has 4 digits (expected 2-3 digits)\n  > `GLD: $2,800`\n- **[allocations]**: Allocation total: 110.0% (expected ~100%)\n```\n\n## Resources\n\n- `scripts\u002Fcheck_data_quality.py` -- Main validation script\n- `references\u002Finstrument_notation_standard.md` -- Notation and price scale reference\n- `references\u002Fcommon_data_errors.md` -- Common error patterns and prevention\n\n## Key Principles\n\n1. **Advisory mode**: All findings are warnings for human review. The script\n   always exits with code 0 on successful execution, even when findings are\n   present. Exit code 1 is reserved for script failures (file not found, parse\n   errors).\n\n2. **Section-aware allocation checking**: Only percentages within allocation\n   sections (identified by headings like \"配分\", \"Allocation\", or table columns\n   like \"ウェイト\", \"目安比率\") are checked. Random percentages in body text\n   (probability, RSI, YoY growth) are ignored.\n\n3. **Bilingual support**: Handles both English and Japanese date formats,\n   weekday names, and section headings. Full-width characters (％, 〜, en-dash)\n   are normalized before processing.\n\n4. **Year inference**: For dates without an explicit year, the checker infers\n   the year using (in priority order): the `--as-of` option, a YYYY pattern\n   found in the document title\u002Fmetadata, or the current year with a 6-month\n   cross-year heuristic.\n\n5. **Digit-count heuristic**: Price scale validation uses digit counts (number\n   of digits before the decimal point) rather than absolute price ranges. This\n   approach is resilient to price changes over time while still catching\n   ETF\u002Ffutures confusion errors.\n","## Overview\n\nDetect common data quality issues in market analysis documents before\npublication. The checker validates five categories: price scale consistency,\ninstrument notation, date\u002Fweekday accuracy, allocation totals, and unit usage.\nAll findings are advisory -- they flag potential issues for human review rather\nthan blocking publication.\n\n## When to Use\n\n- Before publishing a weekly strategy blog or market analysis report\n- After generating automated market summaries\n- When reviewing translated documents (English\u002FJapanese) for data accuracy\n- When combining data from multiple sources (FRED, FMP, FINVIZ) into one report\n- As a pre-flight check for any document containing financial data\n\n## Prerequisites\n\n- Python 3.9+\n- No external API keys required\n- No third-party Python packages required (uses only standard library)\n\n## Workflow\n\n### Step 1: Receive Input Document\n\nAccept the target markdown file path and optional parameters:\n- `--file`: Path to the markdown document to validate (required)\n- `--checks`: Comma-separated list of checks to run (optional; default: all)\n- `--as-of`: Reference date for year inference in YYYY-MM-DD format (optional)\n- `--output-dir`: Directory for report output (optional; default: `reports\u002F`)\n\n### Step 2: Execute Validation Script\n\nRun the data quality checker script:\n\n```bash\npython3 skills\u002Fdata-quality-checker\u002Fscripts\u002Fcheck_data_quality.py \\\n  --file path\u002Fto\u002Fdocument.md \\\n  --output-dir reports\u002F\n```\n\nTo run specific checks only:\n\n```bash\npython3 skills\u002Fdata-quality-checker\u002Fscripts\u002Fcheck_data_quality.py \\\n  --file path\u002Fto\u002Fdocument.md \\\n  --checks price_scale,dates,allocations\n```\n\nTo provide a reference date for year inference (useful for documents without\nexplicit year in dates):\n\n```bash\npython3 skills\u002Fdata-quality-checker\u002Fscripts\u002Fcheck_data_quality.py \\\n  --file path\u002Fto\u002Fdocument.md \\\n  --as-of 2026-02-28\n```\n\n### Step 3: Load Reference Standards\n\nRead the relevant reference documents to contextualize findings:\n\n- `references\u002Finstrument_notation_standard.md` -- Standard ticker notation,\n  digit-count hints, and naming conventions for each instrument class\n- `references\u002Fcommon_data_errors.md` -- Catalog of frequently observed errors\n  including FRED data delays, ETF\u002Ffutures scale confusion, holiday oversights,\n  allocation total pitfalls, and unit confusion patterns\n\nUse these references to explain findings and suggest corrections.\n\n### Step 4: Review Findings\n\nExamine each finding in the output:\n\n- **ERROR** -- High confidence issues (e.g., date-weekday mismatches verified\n  by calendar computation). Strongly recommend correction.\n- **WARNING** -- Likely issues that need human judgment (e.g., price scale\n  anomalies, notation inconsistencies, allocation sums off by more than 0.5%).\n- **INFO** -- Informational notes (e.g., mixed bp\u002F% usage that may be\n  intentional).\n\n### Step 5: Generate Quality Report\n\nThe script produces two output files:\n\n1. **JSON report** (`data_quality_YYYY-MM-DD_HHMMSS.json`): Machine-readable\n   list of findings with severity, category, message, line number, and context.\n2. **Markdown report** (`data_quality_YYYY-MM-DD_HHMMSS.md`): Human-readable\n   report grouped by severity level.\n\nPresent the findings to the user with explanations referencing the knowledge\nbase. Suggest specific corrections for each issue.\n\n## Output Format\n\n### JSON Finding Structure\n\n```json\n{\n  \"severity\": \"WARNING\",\n  \"category\": \"price_scale\",\n  \"message\": \"GLD: $2,800 has 4 digits (expected 2-3 digits)\",\n  \"line_number\": 5,\n  \"context\": \"GLD: $2,800\"\n}\n```\n\n### Markdown Report Structure\n\n```markdown\n# Data Quality Report\n**Source:** path\u002Fto\u002Fdocument.md\n**Generated:** 2026-02-28 14:30:00\n**Total findings:** 3\n\n## ERROR (1)\n- **[dates]** (line 12): Date-weekday mismatch: January 1, 2026 (Monday) -- actual weekday is Thursday\n\n## WARNING (2)\n- **[price_scale]** (line 5): GLD: $2,800 has 4 digits (expected 2-3 digits)\n  > `GLD: $2,800`\n- **[allocations]**: Allocation total: 110.0% (expected ~100%)\n```\n\n## Resources\n\n- `scripts\u002Fcheck_data_quality.py` -- Main validation script\n- `references\u002Finstrument_notation_standard.md` -- Notation and price scale reference\n- `references\u002Fcommon_data_errors.md` -- Common error patterns and prevention\n\n## Key Principles\n\n1. **Advisory mode**: All findings are warnings for human review. The script\n   always exits with code 0 on successful execution, even when findings are\n   present. Exit code 1 is reserved for script failures (file not found, parse\n   errors).\n\n2. **Section-aware allocation checking**: Only percentages within allocation\n   sections (identified by headings like \"配分\", \"Allocation\", or table columns\n   like \"ウェイト\", \"目安比率\") are checked. Random percentages in body text\n   (probability, RSI, YoY growth) are ignored.\n\n3. **Bilingual support**: Handles both English and Japanese date formats,\n   weekday names, and section headings. Full-width characters (％, 〜, en-dash)\n   are normalized before processing.\n\n4. **Year inference**: For dates without an explicit year, the checker infers\n   the year using (in priority order): the `--as-of` option, a YYYY pattern\n   found in the document title\u002Fmetadata, or the current year with a 6-month\n   cross-year heuristic.\n\n5. **Digit-count heuristic**: Price scale validation uses digit counts (number\n   of digits before the decimal point) rather than absolute price ranges. This\n   approach is resilient to price changes over time while still catching\n   ETF\u002Ffutures confusion errors.\n",{"name":5,"description":7},"main","78b6ee6816aca6e5660cc7f0382650e9e7687086","skills\u002Fdata-quality-checker",6,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills","https:\u002F\u002Fgithub.com\u002Fmphinance","https:\u002F\u002Fmphinance.com","2026-11-13 05:04:11",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add mphinance\u002Falpha-skills --skill data-quality-checker",{"tool":38,"command":39},"bunx","bunx skills add mphinance\u002Falpha-skills --skill data-quality-checker",{"tool":41,"command":42},"pnpm","pnpm dlx skills add mphinance\u002Falpha-skills --skill data-quality-checker","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdata-quality-checker\u002FSKILL.md",true,[46,52,56,60,66,70],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"README.md","REFERENCE","参考文档",5942,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdata-quality-checker\u002FREADME.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fcommon_data_errors.md",6843,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdata-quality-checker\u002Freferences\u002Fcommon_data_errors.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Finstrument_notation_standard.md",4079,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdata-quality-checker\u002Freferences\u002Finstrument_notation_standard.md",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Fcheck_data_quality.py","SCRIPT","脚本",26385,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdata-quality-checker\u002Fscripts\u002Fcheck_data_quality.py",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Ftests\u002Fconftest.py",304,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdata-quality-checker\u002Fscripts\u002Ftests\u002Fconftest.py",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Ftests\u002Ftest_check_data_quality.py",25693,"https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fdata-quality-checker\u002Fscripts\u002Ftests\u002Ftest_check_data_quality.py",[75,83,88,95,102,109],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7BANC8ZXMVWWHSY3E31AAC3","order-lifecycle-safety","Idempotency, reconcile-before-retry, audit-before-forward and environment-proof preflight rules for any code or agent that places broker orders. Use when building or reviewing an order path, handling a timeout or unknown order outcome, adding client_order_id, deciding whether a retry is safe, or confirming paper vs live before sending an order.","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Forder-lifecycle-safety\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":82},"01M7BAMZ37XP7XM8YDXWWSX0T9","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fquant-skills\u002Fskills\u002Forder-lifecycle-safety\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M74928K9ZC74YQ1GMYB4N2Q0","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M749259PAEA22A891D0EJTKK","wireframe-sketch","A hand-drawn wireframe exploration — graph-paper background, marker \u002F\npencil tone, multiple tab labels for variants, sticky-note annotations,\nscribbled chart placeholders, hatched fills. Reads like a designer's\nwhiteboard before any pixels are committed. Use when the brief asks for\n\"wireframe\", \"sketch wireframe\", \"hand-drawn\", \"lo-fi\", \"whiteboard\",\n\"草稿\", or \"手绘原型\".","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwireframe-sketch\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M74920ZWJS5Q1JRVJ8TSTQ5A","weekly-update","Single-file horizontal-swipe slide deck for a weekly team update —\nshipped, in flight, blocked, metrics, asks. 6–8 slides. Use when the\nbrief mentions \"weekly update\", \"team update slides\", \"weekly status\",\n\"周报演示\".","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fweekly-update\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7491YFRHYFV5QPS0MJ3DSNP","webull-openapi","Trade stocks, options, futures, crypto, and event contracts on Webull. Query real-time and historical market data. Manage accounts and positions. Supports US, HK, JP, SG, TH, MY, UK, MX, BR, EU, ZA, and AU regions with configurable risk controls.","https:\u002F\u002Fgithub.com\u002Fmphinance\u002Falpha-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwebull-openapi\u002FSKILL.md",[],[]]