[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77JDJP91SCTHEP9G962C57N":3,"skill-same:01M77JDJP91SCTHEP9G962C57N":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},"01M77JDJP91SCTHEP9G962C57N","retail-scaffold",null,"Scaffold the per-table artifact skeletons a retail table needs in the Seshat BI repo. Use when someone asks to create the mapping or readiness files for a new table. It writes empty templates only and answers no judgment call.","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-scaffold\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: retail-scaffold\ndescription: >-\n  Scaffold the per-table artifact skeletons a retail table needs in the Seshat BI repo. Use when someone asks to create the mapping or readiness files for a new table. It writes empty templates only and answers no judgment call.\n---\n\n# retail-scaffold\n\nThe authoring front door for a NEW `seshat check` rule. Adding a rule means wiring the\nsame **five places** every time; doing it by hand silently under-governs a rule when a\nplace is missed (a shipped rule once had no glossary row). This skill runs the\n`retail scaffold` CLI verb, which automates the mechanical part with a strict\nwrite\u002Fprint split, and interprets its output.\n\n## Boundary vs `retail-govern` (read first)\n\nBoth wrap a governance CLI verb; they do opposite jobs:\n\n- **`retail-govern`** -- INTERPRET existing `seshat check` findings: map a reported rule\n  id (`D8`, `C2`, `S2`, `G1`, …) to its meaning and fix. It reasons about rules that\n  already exist.\n- **`retail-scaffold`** (this skill) -- AUTHOR a NEW rule + verify its wiring. It\n  creates a rule that does not yet exist, or doctors an existing rule's five-place\n  wiring for drift.\n\nUse `retail-govern` when a check FAILED and you need the fix; use `retail-scaffold`\nwhen you are ADDING a rule or checking whether one is fully wired.\n\n## Scope + non-negotiables\n\n- **Invoke-and-interpret only.** This skill runs `retail scaffold` and reads its\n  output; it does not hand-edit the five places itself.\n- **The CLI (not this skill) is the source of the five wiring places.** They are\n  declared in `src\u002Fseshat\u002Fscaffold.py` (`FIVE_PLACES`); this skill points at that\n  authority and never re-enumerates a competing list (anti-fork).\n- **Never invents rule intent (DEC-1).** The author supplies the id, the title, and\n  the real check logic. The generated stub yields no findings until the author fills\n  it in; its test stub fails on purpose (honest red).\n- **Never self-grants a wiring pass (Principle I).** Whether a rule is correctly wired\n  is disposed of by the test suite + the gate exit code, not by this skill or the\n  helper.\n- **Prose + golden records are PRINT-only (Principle V).** The helper writes exactly\n  three targets and PRINTS the rest (golden-regen commands, a suggested glossary row,\n  the import\u002F`__all__` edit) for a human to apply by hand. It never writes the\n  glossary or a golden record.\n\n## Author mode -- add a new rule\n\n```bash\nretail scaffold --id \u003CRULE_ID> --title \"\u003Cone-line title>\"\n```\n\nWRITES exactly three targets:\n1. a generic stub rule module under `src\u002Fseshat\u002Frules\u002F` (registered no-op body);\n2. a matching failing test stub under `tests\u002Funit\u002F` (honest red);\n3. the insertion of `\u003CRULE_ID>` into `EXPECTED_RULE_IDS` in the wiring test.\n\nPRINTS (for the human to run \u002F apply -- never written by the helper):\n- the golden-record regen commands (`retail manifest`, `retail severity-posture`);\n- a suggested glossary row to paste into `docs\u002Fglossary.md`;\n- the import + `__all__` edit for `src\u002Fseshat\u002Frules\u002F__init__.py`.\n\nThen: fill the stub with real logic, replace the failing test with a real one, run the\nprinted regen commands, apply the printed edits, and let `seshat check` + the suite\ndecide it is wired. Refuses (no writes) on an invalid id, an already-registered id, or\nan existing stub module.\n\n## Doctor mode -- verify wiring drift (read-only)\n\n```bash\nretail scaffold --doctor            # sweep every registered rule id\nretail scaffold --doctor --id \u003CRULE_ID>   # verify one id\n```\n\nReports, per id, which of the five places it is present in \u002F missing from, and exits\nnon-zero on any drift. The sweep is the value driver: a rule missing from just the\nglossary is only discoverable by sweeping. Read-only -- it reports drift, never repairs\nit.\n\n## After a scaffold -- the fix loop\n\nIf a freshly authored (or edited) rule then trips `seshat check`, switch to the\n`retail-govern` skill to map the finding id to its fix -- that is govern's job, not\nthis skill's.\n\n## See also\n\n- The CLI verb + write\u002Fprint helper: `src\u002Fseshat\u002Fscaffold.py` (`FIVE_PLACES` is the\n  authoritative wiring-place list); the spec: `specs\u002F062-scaffold-rule-generator\u002F`.\n- The interpret sibling: `.claude\u002Fskills\u002Fretail-govern\u002FSKILL.md` (map a rule id → fix).\n- Rule families + ids: `docs\u002Fglossary.md`; the gate: the `seshat check` static surface.\n","# retail-scaffold\n\nThe authoring front door for a NEW `seshat check` rule. Adding a rule means wiring the\nsame **five places** every time; doing it by hand silently under-governs a rule when a\nplace is missed (a shipped rule once had no glossary row). This skill runs the\n`retail scaffold` CLI verb, which automates the mechanical part with a strict\nwrite\u002Fprint split, and interprets its output.\n\n## Boundary vs `retail-govern` (read first)\n\nBoth wrap a governance CLI verb; they do opposite jobs:\n\n- **`retail-govern`** -- INTERPRET existing `seshat check` findings: map a reported rule\n  id (`D8`, `C2`, `S2`, `G1`, …) to its meaning and fix. It reasons about rules that\n  already exist.\n- **`retail-scaffold`** (this skill) -- AUTHOR a NEW rule + verify its wiring. It\n  creates a rule that does not yet exist, or doctors an existing rule's five-place\n  wiring for drift.\n\nUse `retail-govern` when a check FAILED and you need the fix; use `retail-scaffold`\nwhen you are ADDING a rule or checking whether one is fully wired.\n\n## Scope + non-negotiables\n\n- **Invoke-and-interpret only.** This skill runs `retail scaffold` and reads its\n  output; it does not hand-edit the five places itself.\n- **The CLI (not this skill) is the source of the five wiring places.** They are\n  declared in `src\u002Fseshat\u002Fscaffold.py` (`FIVE_PLACES`); this skill points at that\n  authority and never re-enumerates a competing list (anti-fork).\n- **Never invents rule intent (DEC-1).** The author supplies the id, the title, and\n  the real check logic. The generated stub yields no findings until the author fills\n  it in; its test stub fails on purpose (honest red).\n- **Never self-grants a wiring pass (Principle I).** Whether a rule is correctly wired\n  is disposed of by the test suite + the gate exit code, not by this skill or the\n  helper.\n- **Prose + golden records are PRINT-only (Principle V).** The helper writes exactly\n  three targets and PRINTS the rest (golden-regen commands, a suggested glossary row,\n  the import\u002F`__all__` edit) for a human to apply by hand. It never writes the\n  glossary or a golden record.\n\n## Author mode -- add a new rule\n\n```bash\nretail scaffold --id \u003CRULE_ID> --title \"\u003Cone-line title>\"\n```\n\nWRITES exactly three targets:\n1. a generic stub rule module under `src\u002Fseshat\u002Frules\u002F` (registered no-op body);\n2. a matching failing test stub under `tests\u002Funit\u002F` (honest red);\n3. the insertion of `\u003CRULE_ID>` into `EXPECTED_RULE_IDS` in the wiring test.\n\nPRINTS (for the human to run \u002F apply -- never written by the helper):\n- the golden-record regen commands (`retail manifest`, `retail severity-posture`);\n- a suggested glossary row to paste into `docs\u002Fglossary.md`;\n- the import + `__all__` edit for `src\u002Fseshat\u002Frules\u002F__init__.py`.\n\nThen: fill the stub with real logic, replace the failing test with a real one, run the\nprinted regen commands, apply the printed edits, and let `seshat check` + the suite\ndecide it is wired. Refuses (no writes) on an invalid id, an already-registered id, or\nan existing stub module.\n\n## Doctor mode -- verify wiring drift (read-only)\n\n```bash\nretail scaffold --doctor            # sweep every registered rule id\nretail scaffold --doctor --id \u003CRULE_ID>   # verify one id\n```\n\nReports, per id, which of the five places it is present in \u002F missing from, and exits\nnon-zero on any drift. The sweep is the value driver: a rule missing from just the\nglossary is only discoverable by sweeping. Read-only -- it reports drift, never repairs\nit.\n\n## After a scaffold -- the fix loop\n\nIf a freshly authored (or edited) rule then trips `seshat check`, switch to the\n`retail-govern` skill to map the finding id to its fix -- that is govern's job, not\nthis skill's.\n\n## See also\n\n- The CLI verb + write\u002Fprint helper: `src\u002Fseshat\u002Fscaffold.py` (`FIVE_PLACES` is the\n  authoritative wiring-place list); the spec: `specs\u002F062-scaffold-rule-generator\u002F`.\n- The interpret sibling: `.claude\u002Fskills\u002Fretail-govern\u002FSKILL.md` (map a rule id → fix).\n- Rule families + ids: `docs\u002Fglossary.md`; the gate: the `seshat check` static surface.\n",{"name":5,"description":7},"main","6266e304556a72b75d951b9433fd833481c61233",".claude\u002Fskills\u002Fretail-scaffold",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-scaffold",{"tool":37,"command":38},"bunx","bunx skills add Kemetra\u002FSeshat-BI --skill retail-scaffold",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Kemetra\u002FSeshat-BI --skill retail-scaffold","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKemetra\u002FSeshat-BI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fretail-scaffold\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",[],[]]