[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71QH435777SY8G3J1TSPCH5":3,"skill-same:01M71QH435777SY8G3J1TSPCH5":78},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M71QH435777SY8G3J1TSPCH5","method-clif-audit",null,"Audits a CLIF project repo read-only: template, pins, config, clifpy usage, timezones, export safety, reproducibility. Use when auditing a CLIF repo.","sajor2000\u002Fmethodsmith","sajor2000","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F126191042?v=4","01M71QG4M3561SH49E3S7J3GKT","JC Rojas ","01M71QG4N56X2P61YTJSRP95VD",6,"MIT","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Fplugins\u002Fmethodsmith\u002Fskills\u002Fmethod-clif-audit\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"audit","method clif audit","Safety","config","read","directory","template","structure","code","version","when","use","only","outputs","repo","project","read-only","scope","usage","reproducibility","2026-11-10 13:02:02",false,"---\nname: method-clif-audit\ndescription: \"Audits a CLIF project repo read-only: template, pins, config, clifpy usage, timezones, export safety, reproducibility. Use when auditing a CLIF repo.\"\nargument-hint: \"[project-directory] [--version 2.1.0|3.0.0] [--scope structure|code|outputs|all]\"\n---\n\n# CLIF Project Audit\n\n## Skill Value\n\n- **Problem it solves:** CLIF project repos drift from consortium conventions in ways that run cleanly but return wrong numbers or leak small cells: stale `clifpy` pins, reimplemented helpers, stripped timezones, 2.1\u002F3.0 vocabulary mismatches, and unsuppressed shared outputs.\n- **Use when:** Checking a CLIF analysis repository before a buddy test, before release to sites, after a `clifpy` upgrade, or when inheriting a consortium project.\n- **Output:** A per-check pass, warning, or block report with `file:line` evidence, a reimplementation inventory, and a prioritized fix list. No file in the audited repo changes.\n- **Ask only if:** The audited directory, the CLIF version family, or the project's declared small-cell rule is ambiguous and would change a verdict.\n- **Do not do:** Do not edit the audited repo, run its pipeline on real data, open or quote row-level data, or certify data quality, cohort validity, or disclosure safety.\n- **Interaction:** Check repo\u002Fconfig\u002Fchat evidence first. Ask one decision-changing question at a time; use the current harness's blocking question UI when available, otherwise present numbered choices and wait.\n\n`https:\u002F\u002Fclif-icu.com\u002F` is authoritative for the data dictionary, mCIDE, and\nconsortium rules; `CLIF-Project-Template` is authoritative for layout; current\n`clifpy` source is authoritative for API behavior.\n\n## Workflow\n\n1. **Resolve the target and CLIF family.** Audit the named directory, else the\n   current repository. Load the `method-clif` skill (or consume `__CE_CLIF__`)\n   for the version family. An undeclared family is itself a finding (CA-02),\n   not a reason to guess.\n2. **Respect the data boundary.** Read code, configs, lockfiles, docs, and file\n   listings. Never open Parquet, CSV, RDS, `.RData`, or notebook outputs that may\n   hold patient data; for committed data files and executed notebooks, report\n   the path, size, and the presence of identifier-named columns from headers\n   only. Saved findings contain paths and patterns, never values.\n3. **Inventory.** List languages, entry points (`run_*.sh`, numbered `code\u002F`\n   scripts, notebooks), configs, lockfiles, CI, tests, and output folders. Use\n   `git ls-files` so ignored local data is never listed as committed.\n4. **Run the checklist.** Work through `references\u002Faudit-checklist.md` section\n   by section, using the search patterns in `references\u002Fdetection-patterns.md`.\n   Grade each check pass, warning, block, or not applicable, with evidence.\n   Verify every `clifpy` finding against `clifpy` source or `inspect.signature`\n   for the version the project pins, not from memory.\n5. **Inventory reimplementations.** For each hand-written capability that\n   `clifpy` ships (SOFA, outlier handling, waterfall, unit conversion,\n   stitching, wide\u002Fhourly, ASE, comorbidity, MDRO, tz helpers, loading), record\n   the file, the `clifpy` replacement, and whether a documented gap justifies it.\n   Vendored copies of `clifpy` modules are a warning; copies that diverge from\n   upstream or from each other are a block for distribution.\n6. **Report.** Use the report shape below. Rank blocks first, then warnings by\n   how likely they are to change a shared number. For each fix, name the\n   `clifpy` call or template convention to use; route code rewrites to\n   `method-clifpy` and structure fixes to `method-clif-template`.\n\n## Verdict rules\n\n- **Block** when the issue can leak patient data, ship an unsuppressed small cell,\n  silently change a shared estimate, or stop another site from running the code.\n- **Warning** when the issue weakens reproducibility or maintainability without a\n  known wrong-number path.\n- The CLIF small-cell rule is the stricter of the project's declared rule, the\n  site or DUA rule, and the clif-icu.com FAQ (\"more than 10 patients per cell\",\n  so suppress any cell with 10 or fewer distinct patients). The template\n  README's `n >= 10` releases cells of 10, so a project that follows it gets a\n  block (CA-61).\n- Distribution readiness requires zero blocks and a passing\n  `BUDDY_TEST_REPORT.md` (or the template's buddy-test report) from an\n  independent site.\n\n## Report shape\n\n```markdown\n# CLIF audit: \u003Crepo> (\u003Cdate>, CLIF \u003Cfamily>, clifpy \u003Cpinned or unknown>)\n\nVerdict: \u003Cready | not ready: N blocks, M warnings>\n\n| ID | Check | Verdict | Evidence | Fix |\n| --- | --- | --- | --- | --- |\n\n## Reimplemented clifpy capabilities\n| Capability | File | clifpy replacement | Justified gap? |\n\n## Prioritized fixes\n1. ...\n\nNot certified: data quality, cohort validity, disclosure safety, consortium approval.\n```\n\nWrite the report to chat, or to a path the user names outside the audited\nrepository. Refuse a path inside it: the audit never modifies the audited repo.\n\n## Boundaries and routing\n\n- Structural template conformance alone: `method-clif-template audit`.\n- Writing or fixing `clifpy` calls: `method-clifpy`.\n- Data-quality evidence on real tables: `method-data-qa` under the approved boundary.\n- Disclosure review of outputs: the `method-phi-leak-reviewer` agent.\n- Sign-off before sharing: `method-signoff`; schema changes: the table POC via `method-clif`.\n\n## References\n\n- `references\u002Faudit-checklist.md` — check IDs CA-01 to CA-95 across version, structure, environment, config, clifpy usage, timezone, outputs and disclosure, reproducibility, and code health, with block\u002Fwarning rules. Read at step 4.\n- `references\u002Fdetection-patterns.md` — `rg` and `git` patterns for each check, including reimplementation and anti-pattern signatures seen across consortium repos. Read at steps 3-5.\n","# CLIF Project Audit\n\n## Skill Value\n\n- **Problem it solves:** CLIF project repos drift from consortium conventions in ways that run cleanly but return wrong numbers or leak small cells: stale `clifpy` pins, reimplemented helpers, stripped timezones, 2.1\u002F3.0 vocabulary mismatches, and unsuppressed shared outputs.\n- **Use when:** Checking a CLIF analysis repository before a buddy test, before release to sites, after a `clifpy` upgrade, or when inheriting a consortium project.\n- **Output:** A per-check pass, warning, or block report with `file:line` evidence, a reimplementation inventory, and a prioritized fix list. No file in the audited repo changes.\n- **Ask only if:** The audited directory, the CLIF version family, or the project's declared small-cell rule is ambiguous and would change a verdict.\n- **Do not do:** Do not edit the audited repo, run its pipeline on real data, open or quote row-level data, or certify data quality, cohort validity, or disclosure safety.\n- **Interaction:** Check repo\u002Fconfig\u002Fchat evidence first. Ask one decision-changing question at a time; use the current harness's blocking question UI when available, otherwise present numbered choices and wait.\n\n`https:\u002F\u002Fclif-icu.com\u002F` is authoritative for the data dictionary, mCIDE, and\nconsortium rules; `CLIF-Project-Template` is authoritative for layout; current\n`clifpy` source is authoritative for API behavior.\n\n## Workflow\n\n1. **Resolve the target and CLIF family.** Audit the named directory, else the\n   current repository. Load the `method-clif` skill (or consume `__CE_CLIF__`)\n   for the version family. An undeclared family is itself a finding (CA-02),\n   not a reason to guess.\n2. **Respect the data boundary.** Read code, configs, lockfiles, docs, and file\n   listings. Never open Parquet, CSV, RDS, `.RData`, or notebook outputs that may\n   hold patient data; for committed data files and executed notebooks, report\n   the path, size, and the presence of identifier-named columns from headers\n   only. Saved findings contain paths and patterns, never values.\n3. **Inventory.** List languages, entry points (`run_*.sh`, numbered `code\u002F`\n   scripts, notebooks), configs, lockfiles, CI, tests, and output folders. Use\n   `git ls-files` so ignored local data is never listed as committed.\n4. **Run the checklist.** Work through `references\u002Faudit-checklist.md` section\n   by section, using the search patterns in `references\u002Fdetection-patterns.md`.\n   Grade each check pass, warning, block, or not applicable, with evidence.\n   Verify every `clifpy` finding against `clifpy` source or `inspect.signature`\n   for the version the project pins, not from memory.\n5. **Inventory reimplementations.** For each hand-written capability that\n   `clifpy` ships (SOFA, outlier handling, waterfall, unit conversion,\n   stitching, wide\u002Fhourly, ASE, comorbidity, MDRO, tz helpers, loading), record\n   the file, the `clifpy` replacement, and whether a documented gap justifies it.\n   Vendored copies of `clifpy` modules are a warning; copies that diverge from\n   upstream or from each other are a block for distribution.\n6. **Report.** Use the report shape below. Rank blocks first, then warnings by\n   how likely they are to change a shared number. For each fix, name the\n   `clifpy` call or template convention to use; route code rewrites to\n   `method-clifpy` and structure fixes to `method-clif-template`.\n\n## Verdict rules\n\n- **Block** when the issue can leak patient data, ship an unsuppressed small cell,\n  silently change a shared estimate, or stop another site from running the code.\n- **Warning** when the issue weakens reproducibility or maintainability without a\n  known wrong-number path.\n- The CLIF small-cell rule is the stricter of the project's declared rule, the\n  site or DUA rule, and the clif-icu.com FAQ (\"more than 10 patients per cell\",\n  so suppress any cell with 10 or fewer distinct patients). The template\n  README's `n >= 10` releases cells of 10, so a project that follows it gets a\n  block (CA-61).\n- Distribution readiness requires zero blocks and a passing\n  `BUDDY_TEST_REPORT.md` (or the template's buddy-test report) from an\n  independent site.\n\n## Report shape\n\n```markdown\n# CLIF audit: \u003Crepo> (\u003Cdate>, CLIF \u003Cfamily>, clifpy \u003Cpinned or unknown>)\n\nVerdict: \u003Cready | not ready: N blocks, M warnings>\n\n| ID | Check | Verdict | Evidence | Fix |\n| --- | --- | --- | --- | --- |\n\n## Reimplemented clifpy capabilities\n| Capability | File | clifpy replacement | Justified gap? |\n\n## Prioritized fixes\n1. ...\n\nNot certified: data quality, cohort validity, disclosure safety, consortium approval.\n```\n\nWrite the report to chat, or to a path the user names outside the audited\nrepository. Refuse a path inside it: the audit never modifies the audited repo.\n\n## Boundaries and routing\n\n- Structural template conformance alone: `method-clif-template audit`.\n- Writing or fixing `clifpy` calls: `method-clifpy`.\n- Data-quality evidence on real tables: `method-data-qa` under the approved boundary.\n- Disclosure review of outputs: the `method-phi-leak-reviewer` agent.\n- Sign-off before sharing: `method-signoff`; schema changes: the table POC via `method-clif`.\n\n## References\n\n- `references\u002Faudit-checklist.md` — check IDs CA-01 to CA-95 across version, structure, environment, config, clifpy usage, timezone, outputs and disclosure, reproducibility, and code health, with block\u002Fwarning rules. Read at step 4.\n- `references\u002Fdetection-patterns.md` — `rg` and `git` patterns for each check, including reimplementation and anti-pattern signatures seen across consortium repos. Read at steps 3-5.\n",{"name":5,"description":7,"argument-hint":44},"[project-directory] [--version 2.1.0|3.0.0] [--scope structure|code|outputs|all]","main","893bccb980e4dce1345919e9f675f5a9dcbed364","plugins\u002Fmethodsmith\u002Fskills\u002Fmethod-clif-audit",0,"https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith","https:\u002F\u002Fsajor2000.github.io\u002Fmethodsmith\u002F","https:\u002F\u002Fgithub.com\u002Fsajor2000","Critical care physician-scientist at Rush University. @Common-Longitudinal-ICU-data-Format contributor building open ICU data tools & clinical AI","2026-11-01 01:56:01",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add sajor2000\u002Fmethodsmith --skill method-clif-audit",{"tool":60,"command":61},"bunx","bunx skills add sajor2000\u002Fmethodsmith --skill method-clif-audit",{"tool":63,"command":64},"pnpm","pnpm dlx skills add sajor2000\u002Fmethodsmith --skill method-clif-audit","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Fplugins\u002Fmethodsmith\u002Fskills\u002Fmethod-clif-audit\u002FSKILL.md",true,[68,74],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Faudit-checklist.md","REFERENCE","参考文档",11628,"https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Fplugins\u002Fmethodsmith\u002Fskills\u002Fmethod-clif-audit\u002Freferences\u002Faudit-checklist.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fdetection-patterns.md",8064,"https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Fplugins\u002Fmethodsmith\u002Fskills\u002Fmethod-clif-audit\u002Freferences\u002Fdetection-patterns.md",[79,90,103,112,120,128],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":39},"01M71QQY0KE1184AF58EC1J5C1","skill-one","Sample skill","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fskill-one\u002FSKILL.md",[],[86,87,88,89],"one","skill one","sample","sample skill",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":39},"01M71QQW3PNK9AYB5HBMAPM72J","disabled-skill","A skill with model invocation disabled","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fdisabled-skill\u002FSKILL.md",[],[97,98,99,100,101,102],"disabled skill","a skill","with model","with","true","model",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":39},"01M71QQSY02X7DNZQRAGJ6YFGY","claude-only-skill","A skill restricted to Claude Code only","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fclaude-only-skill\u002FSKILL.md",[],[110,111,31,98,27],"claude only","claude only skill",{"skillNo":113,"name":114,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":39},"01M71QQRPZ76X623V5P7T1E3DD","default-skill","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fskills\u002Fdefault-skill\u002FSKILL.md",[],[118,119],"default","default skill",{"skillNo":121,"name":122,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":39},"01M71QQQG3FF2HFQHVH8VHA08R","custom-skill","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fcustom-skills\u002Fcustom-skill\u002FSKILL.md",[],[126,127],"custom skill","custom",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":39},"01M71QQMBNC76141GHXBSMENSH","method-write","Drafts, revises, and audits evidence-bound manuscripts, sections, abstracts, and reviewer responses with claim provenance. Use when scientific prose must be written or revised (entry point).","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Fplugins\u002Fmethodsmith\u002Fskills\u002Fmethod-write\u002FSKILL.md",[],[135,136,137,138,139,140,30,29,141,142,100,143,144,145],"write","method write","point","evidence","entry","claim","provenance","reviewer","scientific","prose","drafts"]