[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77JDZKCDD5XV4QJY5WZKPY8":3,"skill-same:01M77JDZKCDD5XV4QJY5WZKPY8":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M77JDZKCDD5XV4QJY5WZKPY8","retail-validate",null,"Run the LIVE data checks against a materialized retail table and interpret the findings. Use after silver + gold exist for a mapped table in the Seshat BI repo, when someone asks to validate or reconcile a table, or when a V-RC2 \u002F V-RC15 \u002F V-RC16 finding appears. Invoke-and-interpret only: this skill runs `retail validate` against a live Postgres DB and maps each finding id to its fix. It does NOT build models, write SQL, or auto-fix.","Kemetra\u002FSeshat-BI","Kemetra","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206601658?v=4","01M77J5APND9QAJK8XMBH5B1A8","01M77J5AR4TM1GN2G4GS5KH02J",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fretail-validate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: retail-validate\ndescription: >-\n  Run the LIVE data checks against a materialized retail table and interpret the\n  findings. Use after silver + gold exist for a mapped table in the\n  Seshat BI repo, when someone asks to validate or reconcile a\n  table, or when a V-RC2 \u002F V-RC15 \u002F V-RC16 finding appears. Invoke-and-interpret\n  only: this skill runs `retail validate` against a live Postgres DB and maps each\n  finding id to its fix. It does NOT build models, write SQL, or auto-fix.\n---\n\n# retail-validate\n\n`seshat check` proves everything provable from committed text. `retail validate`\nproves the four things only a running database can show, on the MATERIALIZED rows\n(constitution Principle VIII). This skill runs it and\nmaps each finding to the one place to fix it -- the live sibling of\n`retail-govern`.\n\n## Scope boundary (read first)\n\nInvoke-and-interpret only. This skill runs the live checks and explains findings;\nit does NOT write or fix silver\u002Fgold SQL, does NOT call pbi-cli, and does NOT\nauto-loop. The live run needs a DB and is the user's call; you report and stop.\n\n## Prerequisites\n\n- silver + gold are materialized for the table.\n- A reviewed `mappings\u002F\u003Ctable>\u002Fsource-map.yaml` exists (the targets are derived\n  from it -- table, PK, FK, measures).\n- The optional `db` extra is installed (`pipx inject seshat-bi psycopg2-binary`, or `pip install \"seshat-bi[db]\"`) and a DSN is\n  configured (`DATABASE_URL` or the `ANALYTICS_DB_*` vars in the gitignored\n  `.env`). Never commit a real DSN.\n\n## Run it\n\n```\nretail validate --source-map mappings\u002F\u003Ctable>\u002Fsource-map.yaml\n```\n\nThe connection is host-agnostic (any Postgres: local \u002F remote \u002F DigitalOcean \u002F\nother) and READ-ONLY (the session is opened read-only; the checks only SELECT).\nExit is non-zero iff any check finds a defect.\n\n## Read a finding\n\nEach is a `Finding(rule_id, severity, message, locator)`. Live findings are\n`ERROR` (proven defects -- a real PK duplicate, a real orphan, a real penny\nmismatch), unlike the static rules' `WARNING` (suspect patterns). Start at the\nlocator; the id tells you which fix applies.\n\n## Finding id -> meaning -> where to fix\n\n| Finding | Means | Fix at |\n|---------|-------|--------|\n| `V-RC2`  | PK not unique, or has a NULL, on the materialized silver table (RC2). | Fix the grain or dedup in the silver SQL; re-verify the map's PK on the TRANSFORMED output (landed uniqueness is not enough). |\n| `V-RC15` | The date dimension does not span every fact date -- the calendar has gaps (RC15 coverage; the live half of static rule `S7`). | Widen the `generate_series` bounds in the date-dim build to cover min..max fact date. |\n| `V-RC16` (orphan) | A fact FK points outside its dimension (RC16; 0 orphans required). | Fix the FK COALESCE to the `-1` unknown member, or fix the dimension load so the key exists. |\n| `V-RC16` (reconcile) | A measure total differs between silver and gold (RC16; must reconcile to the penny). | Fix the gold aggregation (a join fan-out or filter is dropping\u002Fduplicating rows) until silver and gold totals match exactly. |\n\n`V-RC15` is the live complement of static `S7`: `S7` proves `dim_date` is BUILT\nfrom `generate_series` (the pattern); `V-RC15` proves the calendar SPANS the data\n(coverage). Both halves of RC15 must hold.\n\n## Deferred\u002Flive-boundary mode (no DSN or no `db` extra)\n\nIf no DSN is configured or the `db` extra is absent, `retail validate` does NOT\ntraceback and does NOT pretend a run happened -- the live boundary is\nuser-supplied by design (Principle VIII). Without `--source-map` it reports the\nsurface is built and how to target a table; without a DSN\u002Fdriver it prints the\nenable steps: `pipx inject seshat-bi psycopg2-binary` (or `pip install \"seshat-bi[db]\"`),\nthen set `DATABASE_URL` (or `ANALYTICS_DB_*`) in the gitignored `.env`. Report that\nstate; do not fake a pass.\n\n## What to do after interpreting\n\nReport the failing ids, their locators, and the one fix each needs. Hand silver\nfixes to `warehouse\u002F` SQL and gold\u002Fstar fixes to the gold build; DAX\u002FPBIP issues\ngo to the `powerbi-analyst` agent. Then STOP -- re-running `retail validate` to\nconfirm green is the user's next call, not a loop this skill performs.\n\n## See also\n\n- The checks and their target sourcing both run inside `retail validate`.\n- Principle VIII (static-first, live deferred) in the project constitution.\n- The static sibling: the `retail-govern` skill.\n- The blank the run fills: the reconciliation-report template.\n\n## Orchestration\n\nWhen a table is being driven end-to-end, the `retail-orchestrate` conductor skill\nsequences this verb with the others and runs the self-heal loop against the gate\nexit code. This skill stays single-purpose: it does its job and STOPS. The loop\n(run gate -> classify findings -> auto-fix mechanical \u002F HARD-STOP judgment calls ->\nre-run) lives ONLY in `retail-orchestrate`, never here.\n","# retail-validate\n\n`seshat check` proves everything provable from committed text. `retail validate`\nproves the four things only a running database can show, on the MATERIALIZED rows\n(constitution Principle VIII). This skill runs it and\nmaps each finding to the one place to fix it -- the live sibling of\n`retail-govern`.\n\n## Scope boundary (read first)\n\nInvoke-and-interpret only. This skill runs the live checks and explains findings;\nit does NOT write or fix silver\u002Fgold SQL, does NOT call pbi-cli, and does NOT\nauto-loop. The live run needs a DB and is the user's call; you report and stop.\n\n## Prerequisites\n\n- silver + gold are materialized for the table.\n- A reviewed `mappings\u002F\u003Ctable>\u002Fsource-map.yaml` exists (the targets are derived\n  from it -- table, PK, FK, measures).\n- The optional `db` extra is installed (`pipx inject seshat-bi psycopg2-binary`, or `pip install \"seshat-bi[db]\"`) and a DSN is\n  configured (`DATABASE_URL` or the `ANALYTICS_DB_*` vars in the gitignored\n  `.env`). Never commit a real DSN.\n\n## Run it\n\n```\nretail validate --source-map mappings\u002F\u003Ctable>\u002Fsource-map.yaml\n```\n\nThe connection is host-agnostic (any Postgres: local \u002F remote \u002F DigitalOcean \u002F\nother) and READ-ONLY (the session is opened read-only; the checks only SELECT).\nExit is non-zero iff any check finds a defect.\n\n## Read a finding\n\nEach is a `Finding(rule_id, severity, message, locator)`. Live findings are\n`ERROR` (proven defects -- a real PK duplicate, a real orphan, a real penny\nmismatch), unlike the static rules' `WARNING` (suspect patterns). Start at the\nlocator; the id tells you which fix applies.\n\n## Finding id -> meaning -> where to fix\n\n| Finding | Means | Fix at |\n|---------|-------|--------|\n| `V-RC2`  | PK not unique, or has a NULL, on the materialized silver table (RC2). | Fix the grain or dedup in the silver SQL; re-verify the map's PK on the TRANSFORMED output (landed uniqueness is not enough). |\n| `V-RC15` | The date dimension does not span every fact date -- the calendar has gaps (RC15 coverage; the live half of static rule `S7`). | Widen the `generate_series` bounds in the date-dim build to cover min..max fact date. |\n| `V-RC16` (orphan) | A fact FK points outside its dimension (RC16; 0 orphans required). | Fix the FK COALESCE to the `-1` unknown member, or fix the dimension load so the key exists. |\n| `V-RC16` (reconcile) | A measure total differs between silver and gold (RC16; must reconcile to the penny). | Fix the gold aggregation (a join fan-out or filter is dropping\u002Fduplicating rows) until silver and gold totals match exactly. |\n\n`V-RC15` is the live complement of static `S7`: `S7` proves `dim_date` is BUILT\nfrom `generate_series` (the pattern); `V-RC15` proves the calendar SPANS the data\n(coverage). Both halves of RC15 must hold.\n\n## Deferred\u002Flive-boundary mode (no DSN or no `db` extra)\n\nIf no DSN is configured or the `db` extra is absent, `retail validate` does NOT\ntraceback and does NOT pretend a run happened -- the live boundary is\nuser-supplied by design (Principle VIII). Without `--source-map` it reports the\nsurface is built and how to target a table; without a DSN\u002Fdriver it prints the\nenable steps: `pipx inject seshat-bi psycopg2-binary` (or `pip install \"seshat-bi[db]\"`),\nthen set `DATABASE_URL` (or `ANALYTICS_DB_*`) in the gitignored `.env`. Report that\nstate; do not fake a pass.\n\n## What to do after interpreting\n\nReport the failing ids, their locators, and the one fix each needs. Hand silver\nfixes to `warehouse\u002F` SQL and gold\u002Fstar fixes to the gold build; DAX\u002FPBIP issues\ngo to the `powerbi-analyst` agent. Then STOP -- re-running `retail validate` to\nconfirm green is the user's next call, not a loop this skill performs.\n\n## See also\n\n- The checks and their target sourcing both run inside `retail validate`.\n- Principle VIII (static-first, live deferred) in the project constitution.\n- The static sibling: the `retail-govern` skill.\n- The blank the run fills: the reconciliation-report template.\n\n## Orchestration\n\nWhen a table is being driven end-to-end, the `retail-orchestrate` conductor skill\nsequences this verb with the others and runs the self-heal loop against the gate\nexit code. This skill stays single-purpose: it does its job and STOPS. The loop\n(run gate -> classify findings -> auto-fix mechanical \u002F HARD-STOP judgment calls ->\nre-run) lives ONLY in `retail-orchestrate`, never here.\n",{"name":5,"description":7},"main","6266e304556a72b75d951b9433fd833481c61233",".claude\u002Fskills\u002Fretail-validate",0,"https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI","https:\u002F\u002Fpypi.org\u002Fproject\u002Fseshat-bi\u002F","https:\u002F\u002Fgithub.com\u002FKemetra","2026-11-11 21:44:25",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Kemetra\u002FSeshat-BI --skill retail-validate",{"tool":37,"command":38},"bunx","bunx skills add Kemetra\u002FSeshat-BI --skill retail-validate",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Kemetra\u002FSeshat-BI --skill retail-validate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fretail-validate\u002FSKILL.md",true,[],[46,53,58,64,69,76],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M77JWCTJ88JWPDD25WZ2NEY8","fake-skill","A fixture skill with declaring frontmatter, used as positive shipped evidence.","https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI\u002Fblob\u002Fmain\u002Ftests\u002Funit\u002Ffixtures\u002Fcapability_inventory\u002Funlisted\u002F.claude\u002Fskills\u002Ffake-skill\u002FSKILL.md",[],[],{"skillNo":54,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M77JWA0BTG4JB2HR52Q99216","https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI\u002Fblob\u002Fmain\u002Ftests\u002Funit\u002Ffixtures\u002Fcapability_inventory\u002Forphan\u002F.claude\u002Fskills\u002Ffake-skill\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M77JW6VE59XEFHWBTNDYAS2Q","bare-skill-no-frontmatter","https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI\u002Fblob\u002Fmain\u002Ftests\u002Funit\u002Ffixtures\u002Fcapability_inventory\u002Forphan\u002F.claude\u002Fskills\u002Fbare-skill-no-frontmatter\u002FSKILL.md",[],[],{"skillNo":65,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M77JW4TD1FNFSBNP5C0WXAA5","https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI\u002Fblob\u002Fmain\u002Ftests\u002Funit\u002Ffixtures\u002Fcapability_inventory\u002Fgood\u002F.claude\u002Fskills\u002Ffake-skill\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M77JVWCVE3WZ82ZNFCSFVDCP","retail-kpi-knowledge","Retail KPI \u002F metric-contract reasoning layer for BI agents in the Seshat BI project. Use when an agent must reason about the BUSINESS MEANING of a retail KPI before any implementation — defining a KPI in business terms, classifying additivity (fully\u002Fsemi\u002Fnon-additive), identifying grain, listing required source fields, resolving ambiguity (gross vs net, VAT, returns, cost method, same-store), choosing an MVP KPI pack, reviewing a metric contract for completeness, or preparing a clean handoff to an implementation layer. Also use it to classify KPI sufficiency or prepare an owner policy decision packet. This is a meaning\u002Fdefinition + review layer, not an executor: it does not write DAX\u002FSQL\u002FPython, grant readiness, approve policy, or design dashboards. See INDEX.md for live\u002Fplanned routes; registry.yaml is the authoritative machine-readable inventory.","https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI\u002Fblob\u002Fmain\u002Fskills\u002Fretail-kpi-knowledge\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M77JVNDM1NGYGSCPTBW9ZCF5","bi-sql-knowledge","SQL reasoning, validation, reconciliation, transformation, diagnostics, and anti-pattern knowledge layer for Seshat BI agents. Use when a task involves reasoning about source SQL: source profiling, table grain, keys & uniqueness, joins & fan-out amplification, aggregation correctness, COUNT\u002FNULL semantics, deduplication, validation queries, reconciliation queries, silver\u002Fgold transformation logic, window\u002Fdate-time analytics, SQL anti-patterns, or basic SQL performance reasoning, or interpretation of a supplied sanitized PostgreSQL JSON execution plan. The SQL counterpart to bi-dax-knowledge. It is a thinking & validation layer, not a database executor, runtime validator, dbt\u002FDagster project, or automatic tuning service.","https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI\u002Fblob\u002Fmain\u002Fskills\u002Fbi-sql-knowledge\u002FSKILL.md",[],[]]