[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CWP7J611M6VCFTJ5HE8V6X":3,"skill-same:01M6CWP7J611M6VCFTJ5HE8V6X":81},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":6,"ownerDescription":66,"updatedAt":67,"install":68,"resources":80},"01M6CWP7J611M6VCFTJ5HE8V6X","pre-edit-safety-gate",null,"Prepare a safe, current, and maintainable code change before editing. Use before a cohesive code or workflow change to assess the request and existing structure, then choose a local change, reuse, extension, or necessary refactor with clear ownership. Do not use to block ordinary TDD or authorized refactors.","rexleimo\u002Faios","rexleimo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11493796?v=4","01M6CWKTCXA8E158HVHMGAD9B5","01M6CWKTGWTT9MMTDYQ4B61CGQ",62,"MIT","https:\u002F\u002Fgithub.com\u002Frexleimo\u002Faios\u002Fblob\u002Fmain\u002Fskill-sources\u002Fpre-edit-safety-gate\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"pre edit safety gate","Safety","edit","gate","opencode","essential","zcode","qoder","project","local","structure","do","safe","choose","refactor","code","architecture","change","workflow","gemini","2026-11-10 10:12:30",false,"---\nname: pre-edit-safety-gate\ndescription: Prepare a safe, current, and maintainable code change before editing. Use before a cohesive code or workflow change to assess the request and existing structure, then choose a local change, reuse, extension, or necessary refactor with clear ownership. Do not use to block ordinary TDD or authorized refactors.\n\ninstallCatalogName: pre-edit-safety-gate\nclients: [codex, claude, gemini, opencode, hermes, workbuddy, pi, zcode, qoder]\nscopes: [global, project]\ndefaultInstall:\n  global: true\n  project: false\ntags: [general, safety, edit, architecture, maintainability, essential]\nrepoTargets: [codex, claude, gemini, opencode, hermes, agents, workbuddy, pi, zcode, qoder]\n---\n\n# Mutation Safety Preflight\n\nRun this preflight before a cohesive code, workflow, or migration change. Its\npurpose is to establish a current baseline and a maintainable design; it is not\na per-keystroke approval system.\n\n## 1. Establish a Safe Baseline\n\n1. Inspect the worktree with `git status --short`, the current branch, and its\n   upstream before changing files.\n2. When the worktree is clean and the branch has an upstream, run\n   `git pull --ff-only` to obtain the latest code without creating a merge.\n3. If the worktree is dirty, the branch has no upstream, or fast-forwarding\n   fails, do not stash, reset, rebase, force-pull, or discard work. Record the\n   condition and continue only within the known baseline when doing so is safe.\n4. Update the CRG code graph before planning. Then use the graph to locate the\n   relevant module, callers, dependencies, and existing tests. If CRG is not\n   available, record that fact and use targeted `rg` searches plus local tests\n   as the fallback.\n\n## 2. Decide the Appropriate Change Shape\n\nPlan before a cohesive edit batch, not before every file save. First state the\nrequested public behavior, its owning domain or layer, the relevant existing\nmodules, and the focused verification command. Then decide which shape is\nsupported by the evidence:\n\n- **Local change.** Use when the existing module owns the behavior and can\n  express the request without duplicating responsibility or leaking internals.\n- **Extend or reuse.** Use an existing domain module, abstraction, utility, or\n  adapter only when its purpose and contract match the new behavior.\n- **Refactor or extract.** Treat a refactor as part of the authorized request\n  when duplicate or closely related capabilities, unclear ownership, or tight\n  coupling prevent a correct and maintainable implementation. State the\n  affected boundary, compatibility expectation, and migration steps.\n\nDo not treat \"smallest change\" or \"reuse first\" as reasons to preserve an\nunsuitable design. The smallest maintainable change is the smallest complete\ndesign that correctly supports the request and leaves responsibility clear.\n\n## 3. Apply the Engineering Standards Baseline\n\nWhen the change is code-producing (implementation, refactor, review, or design\nresolution), load `rex-engineering-standards` and check the chosen change shape\nagainst its baseline: boundary and dependency direction, deep-module heuristic,\nnaming and function shape, test coverage, and toolchain expectations. The\nstandards' Definition of Done is a completion gate alongside focused tests; it\ndoes not replace the Rex Provider's evidence contract.\n\n## 4. Design for Reuse and Clear Ownership\n\nSearch for similar behavior before adding an implementation. Record the best\ncandidate and why it is reused, extended, refactored, or rejected. Existing\ncode is evidence to evaluate, not a requirement to force reuse.\n\n- **Reuse first.** Search for an existing abstraction, utility, adapter, or\n  domain module before adding another implementation of the same behavior. If\n  the candidate's semantics do not fit, improve or replace the boundary rather\n  than forcing the new behavior through it.\n- **抽象 (abstract) at a real boundary.** Extract or reshape a shared abstraction when\n  two or more callers or features share stable behavior, rules, or lifecycle.\n  Put the common contract at the domain boundary and keep meaningful variation\n  explicit. Do not create a speculative framework for a single local use.\n- **封装 (encapsulate).** Keep implementation details behind a small, explicit\n  interface. Put policy with the domain that owns it instead of leaking it to\n  unrelated callers.\n- **解耦 (decouple).** Depend on narrow contracts and explicit inputs. Avoid cyclic\n  imports, hidden global state, and direct knowledge of another module's\n  internals when a boundary or adapter is available.\n- **目录归属 (directory ownership).** Place a file with its owning domain or layer, use\n  the project's established naming convention, and do not create a vague\n  catch-all directory. Co-locate narrowly related tests with their feature or\n  use the repository's existing test layout. Prefer a domain-oriented folder\n  over a generic helper bucket when the code has a clear business or technical\n  owner.\n\nOrdinary multi-file refactors, test additions, and TDD are authorized by the\ncurrent user request and Rex Command. They do not need renewed user approval.\nAsk before expanding the requested scope, handling uncertain user-owned data,\nperforming an irreversible deletion, pushing with force, or carrying out a\nproduction external action that was not already authorized.\n\n## 5. Make and Verify the Batch\n\n1. Make one cohesive implementation or refactor batch that matches the plan.\n2. Review `git diff` for duplicate logic, misplaced ownership, leaked\n   internals, forced reuse, and accidental scope expansion. Confirm that any\n   shared abstraction has a real consumer and that files remain with their\n   owning domain or layer.\n3. Run the focused test after the batch. A Rex TDD RED failure that matches the\n   test contract is valid evidence, not a blocker; distinguish it from an\n   unexpected regression, a known baseline failure, or infrastructure failure.\n4. Refresh CRG after a batch when source topology, dependencies, or public\n   interfaces changed. Run broader verification at a meaningful milestone or\n   before completion, rather than after every edit.\n\nThis skill supplies safety and design evidence only. It does not choose a Rex\nProvider, select the next feature, or mark the work item complete.\n\n## Fallback and Safety Boundaries\n\nWhen CRG is unavailable, use the project instructions, targeted `rg` searches,\nthe target file and nearby examples, `git diff`, and focused tests. Do not\ninvent graph results.\n\nProtect ownership boundaries: migrate or delete only targets proven to be\nAIOS-managed within the approved scope. Stop for an unknown user-owned path or\nan irreversible operation whose target has not been resolved.\n","# Mutation Safety Preflight\n\nRun this preflight before a cohesive code, workflow, or migration change. Its\npurpose is to establish a current baseline and a maintainable design; it is not\na per-keystroke approval system.\n\n## 1. Establish a Safe Baseline\n\n1. Inspect the worktree with `git status --short`, the current branch, and its\n   upstream before changing files.\n2. When the worktree is clean and the branch has an upstream, run\n   `git pull --ff-only` to obtain the latest code without creating a merge.\n3. If the worktree is dirty, the branch has no upstream, or fast-forwarding\n   fails, do not stash, reset, rebase, force-pull, or discard work. Record the\n   condition and continue only within the known baseline when doing so is safe.\n4. Update the CRG code graph before planning. Then use the graph to locate the\n   relevant module, callers, dependencies, and existing tests. If CRG is not\n   available, record that fact and use targeted `rg` searches plus local tests\n   as the fallback.\n\n## 2. Decide the Appropriate Change Shape\n\nPlan before a cohesive edit batch, not before every file save. First state the\nrequested public behavior, its owning domain or layer, the relevant existing\nmodules, and the focused verification command. Then decide which shape is\nsupported by the evidence:\n\n- **Local change.** Use when the existing module owns the behavior and can\n  express the request without duplicating responsibility or leaking internals.\n- **Extend or reuse.** Use an existing domain module, abstraction, utility, or\n  adapter only when its purpose and contract match the new behavior.\n- **Refactor or extract.** Treat a refactor as part of the authorized request\n  when duplicate or closely related capabilities, unclear ownership, or tight\n  coupling prevent a correct and maintainable implementation. State the\n  affected boundary, compatibility expectation, and migration steps.\n\nDo not treat \"smallest change\" or \"reuse first\" as reasons to preserve an\nunsuitable design. The smallest maintainable change is the smallest complete\ndesign that correctly supports the request and leaves responsibility clear.\n\n## 3. Apply the Engineering Standards Baseline\n\nWhen the change is code-producing (implementation, refactor, review, or design\nresolution), load `rex-engineering-standards` and check the chosen change shape\nagainst its baseline: boundary and dependency direction, deep-module heuristic,\nnaming and function shape, test coverage, and toolchain expectations. The\nstandards' Definition of Done is a completion gate alongside focused tests; it\ndoes not replace the Rex Provider's evidence contract.\n\n## 4. Design for Reuse and Clear Ownership\n\nSearch for similar behavior before adding an implementation. Record the best\ncandidate and why it is reused, extended, refactored, or rejected. Existing\ncode is evidence to evaluate, not a requirement to force reuse.\n\n- **Reuse first.** Search for an existing abstraction, utility, adapter, or\n  domain module before adding another implementation of the same behavior. If\n  the candidate's semantics do not fit, improve or replace the boundary rather\n  than forcing the new behavior through it.\n- **抽象 (abstract) at a real boundary.** Extract or reshape a shared abstraction when\n  two or more callers or features share stable behavior, rules, or lifecycle.\n  Put the common contract at the domain boundary and keep meaningful variation\n  explicit. Do not create a speculative framework for a single local use.\n- **封装 (encapsulate).** Keep implementation details behind a small, explicit\n  interface. Put policy with the domain that owns it instead of leaking it to\n  unrelated callers.\n- **解耦 (decouple).** Depend on narrow contracts and explicit inputs. Avoid cyclic\n  imports, hidden global state, and direct knowledge of another module's\n  internals when a boundary or adapter is available.\n- **目录归属 (directory ownership).** Place a file with its owning domain or layer, use\n  the project's established naming convention, and do not create a vague\n  catch-all directory. Co-locate narrowly related tests with their feature or\n  use the repository's existing test layout. Prefer a domain-oriented folder\n  over a generic helper bucket when the code has a clear business or technical\n  owner.\n\nOrdinary multi-file refactors, test additions, and TDD are authorized by the\ncurrent user request and Rex Command. They do not need renewed user approval.\nAsk before expanding the requested scope, handling uncertain user-owned data,\nperforming an irreversible deletion, pushing with force, or carrying out a\nproduction external action that was not already authorized.\n\n## 5. Make and Verify the Batch\n\n1. Make one cohesive implementation or refactor batch that matches the plan.\n2. Review `git diff` for duplicate logic, misplaced ownership, leaked\n   internals, forced reuse, and accidental scope expansion. Confirm that any\n   shared abstraction has a real consumer and that files remain with their\n   owning domain or layer.\n3. Run the focused test after the batch. A Rex TDD RED failure that matches the\n   test contract is valid evidence, not a blocker; distinguish it from an\n   unexpected regression, a known baseline failure, or infrastructure failure.\n4. Refresh CRG after a batch when source topology, dependencies, or public\n   interfaces changed. Run broader verification at a meaningful milestone or\n   before completion, rather than after every edit.\n\nThis skill supplies safety and design evidence only. It does not choose a Rex\nProvider, select the next feature, or mark the work item complete.\n\n## Fallback and Safety Boundaries\n\nWhen CRG is unavailable, use the project instructions, targeted `rg` searches,\nthe target file and nearby examples, `git diff`, and focused tests. Do not\ninvent graph results.\n\nProtect ownership boundaries: migrate or delete only targets proven to be\nAIOS-managed within the approved scope. Stop for an unknown user-owned path or\nan irreversible operation whose target has not been resolved.\n",{"name":5,"tags":43,"scopes":47,"clients":49,"description":7,"repoTargets":55,"defaultInstall":57,"installCatalogName":5},[44,45,20,34,46,23],"general","safety","maintainability",[48,26],"global",[50,51,37,22,52,53,54,24,25],"codex","claude","hermes","workbuddy","pi",[50,51,37,22,52,56,53,54,24,25],"agents",{"global":58,"project":39},true,"main","125f0c919bcb02c316fd4dcbf10e555fad7ac852","skill-sources\u002Fpre-edit-safety-gate",11,"https:\u002F\u002Fgithub.com\u002Frexleimo\u002Faios","https:\u002F\u002Fcli.rexai.top\u002F","https:\u002F\u002Fgithub.com\u002Frexleimo","Quickly build your laravel environment","2026-11-07 23:34:17",{"source":8,"skillName":5,"commands":69,"prompt":79,"zipAvailable":58},[70,73,76],{"tool":71,"command":72},"npx","npx skills add rexleimo\u002Faios --skill pre-edit-safety-gate",{"tool":74,"command":75},"bunx","bunx skills add rexleimo\u002Faios --skill pre-edit-safety-gate",{"tool":77,"command":78},"pnpm","pnpm dlx skills add rexleimo\u002Faios --skill pre-edit-safety-gate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frexleimo\u002Faios\u002Fblob\u002Fmain\u002Fskill-sources\u002Fpre-edit-safety-gate\u002FSKILL.md",[],[82,102,117,135,156,174],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":38},"01M6CWQB49G29K3K6DEVQDA61G","versioning-by-impact","Use when completing a task and deciding whether repository changes require a semantic version bump and changelog entry before commit\u002Fpush.","https:\u002F\u002Fgithub.com\u002Frexleimo\u002Faios\u002Fblob\u002Fmain\u002Fskill-sources\u002Fversioning-by-impact\u002FSKILL.md",[],[89,90,37,91,92,93,94,95,96,54,97,98,22,99,44,100,101,26,25,24],"versioning","versioning by impact","commit","release","changelog","push","repository","changelog entry","use","version","bump","version bump","task",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":38},"01M6CWQ8HA0ZDKAKS0VFXJZ6TW","verification-loop","Evidence-before-assertions workflow. Use before claiming work is done, before release, and after any behavior change in scripts\u002Fskills\u002FMCP.","https:\u002F\u002Fgithub.com\u002Frexleimo\u002Faios\u002Fblob\u002Fmain\u002Fskill-sources\u002Fverification-loop\u002FSKILL.md",[],[109,110,111,112,37,50,36,35,92,113,114,54,97,115,22,44,116,26,25,24],"verification","loop","verification loop","MCP","work","behavior","evidence","done",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":38},"01M6CWQ5A61P9QTRK4HRV76MT3","typesafe-ai","Build AI-powered software with TypeSafe: small units of AI intelligence you can use like programming primitives. Its System One models, including Jev, turn natural language and application state into typed judgments and probabilities that code can combine. Use when a feature needs programmable common sense, when brainstorming what AI could make possible in an app, or when an LLM prompt-and-parse step could become a structured decision. Applications include routing, ranking, extraction, verification, and interactive experiences; these are starting points, not the limits. Read live docs and cookbooks to find useful patterns and discover new combinations.","https:\u002F\u002Fgithub.com\u002Frexleimo\u002Faios\u002Fblob\u002Fmain\u002Fskill-sources\u002Ftypesafe-ai\u002FSKILL.md",[],[124,37,33,109,125,126,127,128,54,129,22,130,131,132,26,133,25,24,134,119],"typesafe ai","system","decision","common","read","primitives","patterns","natural language","intelligence","discover","aios",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":38},"01M6CWQ1HAVFV6KQ0CR549Y9AP","skill-opt-lite","Train and optimize skill documents using the SkillOpt methodology — the agent acts as both target and optimizer, running tasks, reflecting on failures, proposing edits, and validating improvements in a self-contained training loop. TRIGGER: optimize skill, train skill, improve skill, skill training, skill optimization, SkillOpt, skill evolution, skill iteration loop, skill feedback loop, skill tuning.","https:\u002F\u002Fgithub.com\u002Frexleimo\u002Faios\u002Fblob\u002Fmain\u002Fskill-sources\u002Fskill-opt-lite\u002FSKILL.md",[],[142,37,143,144,145,146,147,148,149,110,150,22,151,152,153,26,25,24,154,155],"skill opt lite","documents","training","tasks","improve skill","Optimization","tuning","improve","feedback","optimize","self","optimizer","SkillOpt","iteration",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":38},"01M6CWPX0C8XBBD225VBJRJWSA","skill-constraints","Enforce browser automation safety constraints — tool usage order, anti-detection rules, screenshot discipline, and human-in-the-loop checks. Use when setting up or verifying browser\u002FMCP tool operations, NOT for every skill execution.","https:\u002F\u002Fgithub.com\u002Frexleimo\u002Faios\u002Fblob\u002Fmain\u002Fskill-sources\u002Fskill-constraints\u002FSKILL.md",[],[163,164,112,165,37,166,167,19,168,110,169,54,170,171,22,172,173,26,25,24],"constraints","skill constraints","browser automation","browser","screenshot","human-in-the-loop","tool","discipline","up","enforce","human",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":38},"01M6CWPS77PTTK17X8PNJE9RVF","seo-geo-page-optimization","Use when improving a single page for SEO and AI answer-engine visibility (GEO), especially when you need faster first-screen conversion and clearer traffic funnels.","https:\u002F\u002Fgithub.com\u002Frexleimo\u002Faios\u002Fblob\u002Fmain\u002Fskill-sources\u002Fseo-geo-page-optimization\u002FSKILL.md",[],[147,181,182,183,184,185,37,50,186,187,188,52,48,54,97,22,189,26,25,24],"seo","page","seo geo","geo","seo geo page optimization","content","first","engine","conversion"]