[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ART2PWRXZP1KX4M9S8W7RF":3,"skill-same:01M7ART2PWRXZP1KX4M9S8W7RF":51},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":33,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7ART2PWRXZP1KX4M9S8W7RF","protect-main-branch",null,"Block direct commits and pushes to main or master. Enforced at commit time by reading the current branch, and at push time by parsing the refs the agent is pushing.","open-coder-ai\u002Fchock","open-coder-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F326301844?v=4","01M7AQWBEFDVY5BG8APD5YCC2R","Open Coder AI","01M7ARPKEE5JVFVY1VFQSK1YFK",10,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\u002Fblob\u002Fmain\u002F.agents\u002Fpolicies\u002Fprotect-main-branch\u002Fskills\u002Fprotect-main-branch\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: protect-main-branch\ndescription: \"Block direct commits and pushes to main or master. Enforced at commit time by reading the current branch, and at push time by parsing the refs the agent is pushing.\"\nmetadata:\n  chock.artifact: hook\n  chock.enforcement: block\n  chock.coverage_without_chock: advisory\n---\n\n# Protect Main Branch\n\nBlock direct commits and pushes to main or master. Enforced at commit time by reading the current branch, and at push time by parsing the refs the agent is pushing.\n\n```\non(commit|push): block(forbidden_ref) refs=main|master\nDirect commits\u002Fpushes to a protected branch (main|master) are blocked. Create a feature branch and open a pull request.\n```\n\nThis skill is advisory: the client reading it has no mechanism to enforce it. The same policy compiled by `chock` blocks at commit and at push. See https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\n","# Protect Main Branch\n\nBlock direct commits and pushes to main or master. Enforced at commit time by reading the current branch, and at push time by parsing the refs the agent is pushing.\n\n```\non(commit|push): block(forbidden_ref) refs=main|master\nDirect commits\u002Fpushes to a protected branch (main|master) are blocked. Create a feature branch and open a pull request.\n```\n\nThis skill is advisory: the client reading it has no mechanism to enforce it. The same policy compiled by `chock` blocks at commit and at push. See https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\n",{"name":5,"metadata":24,"description":7},{"chock.artifact":25,"chock.enforcement":26,"chock.coverage_without_chock":27},"hook","block","advisory","main","c983a6ec236dc6c3c62f5c5474dfc3c63ac76a38",".agents\u002Fpolicies\u002Fprotect-main-branch\u002Fskills\u002Fprotect-main-branch",1,"https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock","https:\u002F\u002Fchock.sh","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai","Open-source guardrails for AI coding agents","2026-11-15 01:32:23",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add open-coder-ai\u002Fchock --skill protect-main-branch",{"tool":43,"command":44},"bunx","bunx skills add open-coder-ai\u002Fchock --skill protect-main-branch",{"tool":46,"command":47},"pnpm","pnpm dlx skills add open-coder-ai\u002Fchock --skill protect-main-branch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\u002Fblob\u002Fmain\u002F.agents\u002Fpolicies\u002Fprotect-main-branch\u002Fskills\u002Fprotect-main-branch\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7ARVZC23XSWF8D9X3QEDGX2","validate","Lint Chock policy conformance. args(policy_id or all) returns(findings, verdict) invoke(validate, check, promotion_to_review) exclude(eval, optimize)","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\u002Fblob\u002Fmain\u002Fsrc\u002Fchock\u002Fpacks\u002F_skills\u002Fvalidate\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7ARVV58ZTDHMBFZHHAB8HKW","policy-init","Create conformant Chock policy from request. args(request, target_path, artifact_hint) returns(folder, wiring) invoke(skill, hook, rule, workflow, convention, always_never) exclude(coding, edit_existing)","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\u002Fblob\u002Fmain\u002Fsrc\u002Fchock\u002Fpacks\u002F_skills\u002Fpolicy-init\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7ARVQGW80H7G6ME1M01GJJS","optimize","Improve Chock policy from usage evidence. args(policy_path, >=3 traces) returns(promoted_edit \u002F rejected_record \u002F no_bar) invoke(misfire, ignore, tuning) exclude(policy_init, one_off_edit)","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\u002Fblob\u002Fmain\u002Fsrc\u002Fchock\u002Fpacks\u002F_skills\u002Foptimize\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7ARVKN8ZBBDXJF248X0F0FP","eval","Run Chock policy eval suite. args(policy_path) returns(pass_rate, verdict) invoke(test, run_evals, promotion_check) exclude(validate, optimize)","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\u002Fblob\u002Fmain\u002Fsrc\u002Fchock\u002Fpacks\u002F_skills\u002Feval\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7ARVEB2D01PK6WRECM1D4KR","chock-init","Onboard a repo into Chock. args(repo_path, agents, agent_agnostic) returns(wiring) invoke(onboard, scaffold, setup) exclude(coding, policy_creation)","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\u002Fblob\u002Fmain\u002Fsrc\u002Fchock\u002Fpacks\u002F_skills\u002Fchock-init\u002FSKILL.md",[],[],{"skillNo":88,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7ARVB74FG9R0P5AF8PJK4D5","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvalidate\u002FSKILL.md",[],[]]