[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71QP4R3AVXM0PZ2VNWG89S4":3,"skill-same:01M71QP4R3AVXM0PZ2VNWG89S4":80},{"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},"01M71QP4R3AVXM0PZ2VNWG89S4","method-sas-stata",null,"Assesses SAS and Stata code (.sas, .do, .ado, .dta) for reproducibility, review risk, and porting feasibility. Use when a repo has SAS or Stata work to review or port.","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-sas-stata\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"method sas stata","Stata","work","port","review","code","analysis","Report Analysis","when","use","assessment","porting","review risk","repo","scan","for","risk","do","reproducibility","ado","2026-11-10 13:02:02",false,"---\nname: method-sas-stata\ndescription: \"Assesses SAS and Stata code (.sas, .do, .ado, .dta) for reproducibility, review risk, and porting feasibility. Use when a repo has SAS or Stata work to review or port.\"\nargument-hint: \"[optional: --scan-dir analysis --report analysis\u002Fsas-stata-assessment.md]\"\n---\n\n# SAS\u002FStata Project Assessment\n\n> **Run the script from the user's project root.** `$SKILL_DIR` anchors the script path; `--scan-dir` and `--report` resolve against `--project-root` and must stay project-relative.\n\n\n## Skill Value\n\n- **Problem it solves:** Legacy SAS\u002FStata analyses need review and migration planning before automated rewrites are safe.\n- **Use when:** The repo contains .sas, .do, .ado, .dta, PROC statements, or Stata commands and the user asks what can be reviewed or ported.\n- **Output:** Assessment of reproducibility risks, migration readiness, and recommended next steps.\n- **Ask only if:** Only when target outcome, validation standard, or migration destination is unclear.\n- **Do not do:** Do not claim full SAS\u002FStata equivalence or scaffold unsupported workflows.\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\nThis skill is intentionally assessment-first. The plugin does not yet provide first-class SAS or Stata scaffolding. It can identify the surface area, likely statistical procedures, portability risks, and a safe handoff path to R\u002FPython\u002FQuarto workflows.\n\n## Workflow\n\n1. Scan the project for `.sas`, `.do`, and `.ado` files.\n2. Identify common procedure\u002Fmodel families and IO patterns.\n3. Write a concise assessment report:\n\n```bash\nSKILL_DIR=\"\u003Cabsolute path of the directory containing this SKILL.md>\";\npython3 \"$SKILL_DIR\u002Fscripts\u002Fassess_sas_stata.py\" --project-root . --scan-dir analysis --report analysis\u002Fsas-stata-assessment.md\n```\n\n4. Use the report to decide whether to:\n   - keep the legacy code and add reproducibility wrappers,\n   - port a bounded analysis to R\u002FPython,\n   - ask a human SAS\u002FStata analyst to validate model equivalence.\n\n## Guardrails\n\n- Do not generate new SAS\u002FStata project scaffolds automatically.\n- Do not claim statistical equivalence after a port without paired output comparison.\n- Never commit `.dta`, `.sas7bdat`, or other patient-level files to Git.\n- **Sensitive-data boundary.** Resolve `phi_environment.mode` in `.methodsmith\u002Fconfig.local.yaml` (worktree, then main checkout; legacy `compliant: true` = `approved`, `compliant: false` = `schema-only`, `sensitive_data: false` = `no-sensitive-data`; any schema-only signal wins; unreadable = `schema-only`). `approved` or `no-sensitive-data`: proceed silently and never mention the boundary again. `schema-only`: headings, types, counts, and aggregates only; never open, print, or paste data values; run data-reading scripts as `method-safe-run -- \u003Ccommand>` (path in the guard's deny message); save results as aggregate tables (counts under 11 suppressed) in `output\u002F` or a `phi_environment.aggregate_dirs` entry. Unset, interactive: ask once with the blocking question tool (else a numbered list) offering `Approved endpoint: full access`, `Not approved or unsure: schema-only`, and `No sensitive data: public or synthetic`; save the answer as `phi_environment.mode` there once `git check-ignore -q .methodsmith\u002Fconfig.local.yaml` passes (else first add `.methodsmith\u002F*.local.yaml` to `.gitignore`) so the guard hook sees it. Unset, headless: schema-only.\n\n## References\n\n@.\u002Freferences\u002Fassessment-checklist.md\n","# SAS\u002FStata Project Assessment\n\n> **Run the script from the user's project root.** `$SKILL_DIR` anchors the script path; `--scan-dir` and `--report` resolve against `--project-root` and must stay project-relative.\n\n\n## Skill Value\n\n- **Problem it solves:** Legacy SAS\u002FStata analyses need review and migration planning before automated rewrites are safe.\n- **Use when:** The repo contains .sas, .do, .ado, .dta, PROC statements, or Stata commands and the user asks what can be reviewed or ported.\n- **Output:** Assessment of reproducibility risks, migration readiness, and recommended next steps.\n- **Ask only if:** Only when target outcome, validation standard, or migration destination is unclear.\n- **Do not do:** Do not claim full SAS\u002FStata equivalence or scaffold unsupported workflows.\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\nThis skill is intentionally assessment-first. The plugin does not yet provide first-class SAS or Stata scaffolding. It can identify the surface area, likely statistical procedures, portability risks, and a safe handoff path to R\u002FPython\u002FQuarto workflows.\n\n## Workflow\n\n1. Scan the project for `.sas`, `.do`, and `.ado` files.\n2. Identify common procedure\u002Fmodel families and IO patterns.\n3. Write a concise assessment report:\n\n```bash\nSKILL_DIR=\"\u003Cabsolute path of the directory containing this SKILL.md>\";\npython3 \"$SKILL_DIR\u002Fscripts\u002Fassess_sas_stata.py\" --project-root . --scan-dir analysis --report analysis\u002Fsas-stata-assessment.md\n```\n\n4. Use the report to decide whether to:\n   - keep the legacy code and add reproducibility wrappers,\n   - port a bounded analysis to R\u002FPython,\n   - ask a human SAS\u002FStata analyst to validate model equivalence.\n\n## Guardrails\n\n- Do not generate new SAS\u002FStata project scaffolds automatically.\n- Do not claim statistical equivalence after a port without paired output comparison.\n- Never commit `.dta`, `.sas7bdat`, or other patient-level files to Git.\n- **Sensitive-data boundary.** Resolve `phi_environment.mode` in `.methodsmith\u002Fconfig.local.yaml` (worktree, then main checkout; legacy `compliant: true` = `approved`, `compliant: false` = `schema-only`, `sensitive_data: false` = `no-sensitive-data`; any schema-only signal wins; unreadable = `schema-only`). `approved` or `no-sensitive-data`: proceed silently and never mention the boundary again. `schema-only`: headings, types, counts, and aggregates only; never open, print, or paste data values; run data-reading scripts as `method-safe-run -- \u003Ccommand>` (path in the guard's deny message); save results as aggregate tables (counts under 11 suppressed) in `output\u002F` or a `phi_environment.aggregate_dirs` entry. Unset, interactive: ask once with the blocking question tool (else a numbered list) offering `Approved endpoint: full access`, `Not approved or unsure: schema-only`, and `No sensitive data: public or synthetic`; save the answer as `phi_environment.mode` there once `git check-ignore -q .methodsmith\u002Fconfig.local.yaml` passes (else first add `.methodsmith\u002F*.local.yaml` to `.gitignore`) so the guard hook sees it. Unset, headless: schema-only.\n\n## References\n\n@.\u002Freferences\u002Fassessment-checklist.md\n",{"name":5,"description":7,"argument-hint":44},"[optional: --scan-dir analysis --report analysis\u002Fsas-stata-assessment.md]","main","893bccb980e4dce1345919e9f675f5a9dcbed364","plugins\u002Fmethodsmith\u002Fskills\u002Fmethod-sas-stata",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-sas-stata",{"tool":60,"command":61},"bunx","bunx skills add sajor2000\u002Fmethodsmith --skill method-sas-stata",{"tool":63,"command":64},"pnpm","pnpm dlx skills add sajor2000\u002Fmethodsmith --skill method-sas-stata","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Fplugins\u002Fmethodsmith\u002Fskills\u002Fmethod-sas-stata\u002FSKILL.md",true,[68,74],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fassessment-checklist.md","REFERENCE","参考文档",2261,"https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Fplugins\u002Fmethodsmith\u002Fskills\u002Fmethod-sas-stata\u002Freferences\u002Fassessment-checklist.md",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fassess_sas_stata.py","SCRIPT","脚本",8110,"https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Fplugins\u002Fmethodsmith\u002Fskills\u002Fmethod-sas-stata\u002Fscripts\u002Fassess_sas_stata.py",[81,97,111,122,131,140],{"skillNo":82,"name":83,"nameZh":6,"description":84,"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":92,"publishedAt":39},"01M71QQY0KE1184AF58EC1J5C1","skill-one","Sample skill","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fskill-one\u002FSKILL.md",[87],{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[93,94,95,96],"one","skill one","sample","sample skill",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":104,"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",[103],{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},[105,106,107,108,109,110],"disabled skill","a skill","with model","with","true","model",{"skillNo":112,"name":113,"nameZh":6,"description":114,"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":118,"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",[117],{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},[119,120,121,106,24],"claude only","claude only skill","only",{"skillNo":123,"name":124,"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":125,"categories":126,"keywords":128,"publishedAt":39},"01M71QQRPZ76X623V5P7T1E3DD","default-skill","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fskills\u002Fdefault-skill\u002FSKILL.md",[127],{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},[129,130],"default","default skill",{"skillNo":132,"name":133,"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":134,"categories":135,"keywords":137,"publishedAt":39},"01M71QQQG3FF2HFQHVH8VHA08R","custom-skill","https:\u002F\u002Fgithub.com\u002Fsajor2000\u002Fmethodsmith\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fcustom-skills\u002Fcustom-skill\u002FSKILL.md",[136],{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},[138,139],"custom skill","custom",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"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",[],[147,148,149,150,151,152,28,27,153,154,108,155,156,157],"write","method write","point","evidence","entry","claim","provenance","reviewer","scientific","prose","drafts"]