[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74K3TVZ2N8SFEP7BB8D5HBY":3,"skill-same:01M74K3TVZ2N8SFEP7BB8D5HBY":46},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"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":30,"updatedAt":31,"install":32,"resources":45},"01M74K3TVZ2N8SFEP7BB8D5HBY","harden-types-post-step",null,"Acauhi99\u002Fopencode-agent-system","Acauhi99","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F109399110?v=4","01M74JTV4VH2YAER6TABE78RKF","Acauhi","01M74JTV5CXNC5DEV2XR5SBFG3",1,"MIT","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fharden-types-post-step\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: harden-types-post-step\ndescription: Post-step TypeScript safety review after code changes. Strips any, dangerous casts, ts-ignore, missing return types. Proposes zod at boundary surfaces. Trigger: after any TypeScript code change.\nlicense: MIT\ncompatibility: opencode\n---\n\nAfter any TypeScript code change, review the diff for type-safety issues.\n\nRules:\n- Flag every `: any`, `as \u003CT>`, `as unknown as \u003CT>`, `@ts-ignore`, `@ts-expect-error` in changed files.\n- **Skip if the core skill already runs type hardening internally.** Skills that already call `skill({ name: \"harden-types\" })` as a post-step: `audit` (via Phase 4 parallel fan-out). If the change was produced by one of these, do NOT invoke harden-types again.\n- Before removing an `as` cast, read the call site that produces the value — the cast's correctness depends on its source, not its target.\n- Mechanical fixes (concrete type replace, cast removal where structurally safe, add return type to exported function) apply immediately.\n- Boundary entry points (HTTP body, server-fn input, webhook payload, env parsing, IPC) that lack validation — propose adding zod schema (or existing project validator).\n- Do not auto-install a validator dependency without explicit user confirmation.\n- Skip for: pure JS files, generated code, test fixtures with intentional `as any`, discriminated-union narrowing.\n","After any TypeScript code change, review the diff for type-safety issues.\n\nRules:\n- Flag every `: any`, `as \u003CT>`, `as unknown as \u003CT>`, `@ts-ignore`, `@ts-expect-error` in changed files.\n- **Skip if the core skill already runs type hardening internally.** Skills that already call `skill({ name: \"harden-types\" })` as a post-step: `audit` (via Phase 4 parallel fan-out). If the change was produced by one of these, do NOT invoke harden-types again.\n- Before removing an `as` cast, read the call site that produces the value — the cast's correctness depends on its source, not its target.\n- Mechanical fixes (concrete type replace, cast removal where structurally safe, add return type to exported function) apply immediately.\n- Boundary entry points (HTTP body, server-fn input, webhook payload, env parsing, IPC) that lack validation — propose adding zod schema (or existing project validator).\n- Do not auto-install a validator dependency without explicit user confirmation.\n- Skip for: pure JS files, generated code, test fixtures with intentional `as any`, discriminated-union narrowing.\n",{},"main","a40966cd3b7323e693a9fd665ab9c720d8bf9634","skills\u002Fharden-types-post-step",0,"https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@acauhi\u002Fopencode-agent-system","https:\u002F\u002Fgithub.com\u002FAcauhi99","@github Backend Engineer","2026-07-07 22:24:45",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Acauhi99\u002Fopencode-agent-system --skill harden-types-post-step",{"tool":38,"command":39},"bunx","bunx skills add Acauhi99\u002Fopencode-agent-system --skill harden-types-post-step",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Acauhi99\u002Fopencode-agent-system --skill harden-types-post-step","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fharden-types-post-step\u002FSKILL.md",true,[],[47,53,59,66,72,79],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M74KEHKFCSF2H23R44MR5DN8","write-tests","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-tests\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M74KEEXZW2185BZ3VJCM7AF6","update-changelog","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fupdate-changelog\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M74KDVH470SS6WPS8WK3VSW3","triage","Move issues and external PRs through a state machine of triage roles — categorise, verify, grill if needed, and write agent-ready briefs.","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M74KDKGNY0MQXQ0ZHAGYSJJ4","to-prd","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fto-prd\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M74KD9YN0K59GWMWDT5YHBKY","to-issues","Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Fto-issues\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M74KD14VJAJZ8E4ENN0KP9GV","testing-plan","https:\u002F\u002Fgithub.com\u002FAcauhi99\u002Fopencode-agent-system\u002Fblob\u002Fmain\u002Fskills\u002Ftesting-plan\u002FSKILL.md",[],[]]