[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E4ZXBD4F9YNNG2R8K6DJEM":3,"skill-same:01M7E4ZXBD4F9YNNG2R8K6DJEM":77},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7E4ZXBD4F9YNNG2R8K6DJEM","design-patterns",null,"Choose or explain a Gang of Four pattern for a stated new design problem, including when plain code, a function, or the language's built-in feature is the better answer. Use when designing or teaching; to judge patterns already in existing code, use gof-patterns.","w0rxbend\u002Fdot-agents","w0rxbend","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8176996?v=4","01M7E4XY3Y871Z2NFBXF3H3T8F","Oleksandr B.","01M7E4XY51E6NSG05FXR36H9RV",0,"MIT","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Fdesign-patterns\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Fdesign-patterns\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: design-patterns\ndescription: \"Choose or explain a Gang of Four pattern for a stated new design problem, including when plain code, a function, or the language's built-in feature is the better answer. Use when designing or teaching; to judge patterns already in existing code, use gof-patterns.\"\n---\n\n# Design Patterns Skill\n\nBased on: *Dive Into Design Patterns* by Alexander Shvets (Refactoring.Guru, 2019)\n\n## When to use\n\n- User describes design problem, asks which pattern (if any) fits.\n- User asks to explain pattern, compare two, or sketch one in their language.\n\nTo audit patterns already in code (detection, over-engineering, erosion), use `gof-patterns`. For smell-driven restructuring of existing code, use `refactoring-guru`.\n\n## First: is a pattern needed at all?\n\nEvery pattern adds indirection. Recommend one only when its force exists **today**:\n\n- Two or more real variants in use, or concrete extension point with real clients. One implementation plus \"we might add more\" is not a force.\n- Variation point actually changes. Check how code evolved, not how it might.\n- Plain function, map or lookup table, closure or function parameter, module, or language feature (enum with methods, sum types, generators, decorators, default arguments) solves it with fewer moving parts.\n\nIf plain code is enough, say so and show it. If recommending pattern, name rejected simpler alternative and why. Verdicts for evaluating proposed design: **appropriate** (forces present, benefit worth indirection), **over-engineered** (solves variation that doesn't exist, such as factory returning one type or abstract factory with one family; name simpler replacement), **misapplied** (different pattern or none fits better).\n\n## Core OOP Pillars (Quick Reference)\n\n| Pillar | Definition |\n|--------|-----------|\n| **Abstraction** | Model only attributes\u002Fbehaviors relevant to current context; ignore rest |\n| **Encapsulation** | Hide implementation details behind public interface; protect internals from outside |\n| **Inheritance** | Build new classes on existing ones; subclasses inherit state and behavior |\n| **Polymorphism** | Program detects object's real class at runtime and calls its actual implementation |\n\n**Object Relations (weakest → strongest):**\n- **Dependency** — object uses another temporarily (method param \u002F return)\n- **Association** — object has permanent link to another (field)\n- **Aggregation** — \"has-a\", but component can exist independently\n- **Composition** — \"whole-part\"; component exists only inside container\n\n---\n\n## Software Design Principles\n\n### The Three Core Principles\n1. **Encapsulate What Varies** — Identify what changes; isolate it so changes don't ripple everywhere\n2. **Program to an Interface, not an Implementation** — Depend on abstractions, not concrete classes\n3. **Favor Composition over Inheritance** — Compose behaviors at runtime; don't bake them in via subclasses\n\n### SOLID\nExamples and checklist: `references\u002Fsolid.md`.\n\n| Letter | Principle | One-liner |\n|--------|-----------|-----------|\n| **S** | Single Responsibility | Class has only one reason to change |\n| **O** | Open\u002FClosed | Open for extension, closed for modification |\n| **L** | Liskov Substitution | Subclasses must be substitutable for their superclass |\n| **I** | Interface Segregation | Don't force clients to depend on methods they don't use |\n| **D** | Dependency Inversion | High-level and low-level modules both depend on abstractions |\n\n---\n\n## Pattern Catalog Overview\n\n| Family | Purpose | Patterns |\n|--------|---------|---------|\n| **Creational** | Object creation mechanisms | Factory Method, Abstract Factory, Builder, Prototype, Singleton |\n| **Structural** | Assembling objects into larger structures | Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy |\n| **Behavioral** | Communication & responsibility between objects | Chain of Responsibility, Command, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor |\n\n**Detailed pattern references:**\n- `references\u002Fcreational.md`\n- `references\u002Fstructural.md`\n- `references\u002Fbehavioral.md`\n\n---\n\n## Pattern Selection Guide\n\n### \"I need to create objects but…\"\n| Problem | Pattern |\n|---------|---------|\n| Type unknown until runtime \u002F subclasses should decide | **Factory Method** |\n| Families of related objects | **Abstract Factory** |\n| Constructor has too many params \u002F step-by-step construction needed | **Builder** |\n| Copy complex objects | **Prototype** |\n| Exactly one instance of shared resource (first consider creating one instance at startup and passing it in) | **Singleton** |\n\n### \"I need to structure classes but…\"\n| Problem | Pattern |\n|---------|---------|\n| Incompatible interfaces \u002F legacy code | **Adapter** |\n| Class has several independent dimensions of variation | **Bridge** |\n| Treat individual objects and object trees uniformly | **Composite** |\n| Add behavior to objects at runtime without subclassing | **Decorator** |\n| Subsystem too complex; need simple entry point | **Facade** |\n| Huge number of similar fine-grained objects eating RAM | **Flyweight** |\n| Lazy init, access control, logging, caching around real object | **Proxy** |\n\n### \"I need objects to communicate\u002Fbehave but…\"\n| Problem | Pattern |\n|---------|---------|\n| Requests pass through chain of handlers | **Chain of Responsibility** |\n| Parameterize objects with operations \u002F support undo | **Command** |\n| Traverse collection without exposing its structure | **Iterator** |\n| Objects too tightly coupled to each other | **Mediator** |\n| Save\u002Frestore object state (undo\u002Fsnapshot) | **Memento** |\n| Objects need notice when another object changes | **Observer** |\n| Object behavior depends on state, changes at runtime | **State** |\n| Switch algorithms\u002Fbehaviors at runtime | **Strategy** |\n| Subclasses fill in blanks of algorithm skeleton | **Template Method** |\n| Add operations to objects without modifying their classes | **Visitor** |\n\n---\n\n## How to Present a Pattern\n\nExplaining any pattern, always cover:\n1. **Intent** — one-sentence definition\n2. **Problem** — design pain it solves\n3. **Solution** — structural approach\n4. **Structure** — roles (Creator, Product, etc.) and how they relate\n5. **When to use (Applicability)**\n6. **Pros & Cons**\n7. **Code example** (user's language; pseudocode fine if unknown)\n8. **Relations** — similar\u002Fcomplementary patterns to mention\n\n---\n\n## Common Anti-Patterns & Pattern Remedies\n\n| Smell | Remedy |\n|-------|--------|\n| God class doing too many things | Apply **SRP**; split into collaborators |\n| Construction of one of several real variants duplicated across call sites | **Factory Method** (or plain constructor function); **Abstract Factory** only for real families |\n| Deeply nested if\u002Fswitch on type | **Strategy** or **State** |\n| Subclass explosion (one class per feature combination) | **Decorator** or **Bridge** |\n| Global mutable state | Pass state explicitly or inject dependency. **Singleton** does not fix global state; it is global state. Use it only for genuinely single, stateless-or-synchronized resource |\n| Tight coupling between subsystems | **Facade** or **Mediator** |\n| Duplicate code in similar algorithms | **Template Method** |\n| UI button\u002Fmenu logic scattered | **Command** (for undo queues too) |\n| Observers manually wired everywhere | **Observer** \u002F event bus |\n| Hard to test due to rigid dependencies | **Dependency Inversion**: inject dependency (interface only when more than one implementation exists or test seam is needed) |\n","# Design Patterns Skill\n\nBased on: *Dive Into Design Patterns* by Alexander Shvets (Refactoring.Guru, 2019)\n\n## When to use\n\n- User describes design problem, asks which pattern (if any) fits.\n- User asks to explain pattern, compare two, or sketch one in their language.\n\nTo audit patterns already in code (detection, over-engineering, erosion), use `gof-patterns`. For smell-driven restructuring of existing code, use `refactoring-guru`.\n\n## First: is a pattern needed at all?\n\nEvery pattern adds indirection. Recommend one only when its force exists **today**:\n\n- Two or more real variants in use, or concrete extension point with real clients. One implementation plus \"we might add more\" is not a force.\n- Variation point actually changes. Check how code evolved, not how it might.\n- Plain function, map or lookup table, closure or function parameter, module, or language feature (enum with methods, sum types, generators, decorators, default arguments) solves it with fewer moving parts.\n\nIf plain code is enough, say so and show it. If recommending pattern, name rejected simpler alternative and why. Verdicts for evaluating proposed design: **appropriate** (forces present, benefit worth indirection), **over-engineered** (solves variation that doesn't exist, such as factory returning one type or abstract factory with one family; name simpler replacement), **misapplied** (different pattern or none fits better).\n\n## Core OOP Pillars (Quick Reference)\n\n| Pillar | Definition |\n|--------|-----------|\n| **Abstraction** | Model only attributes\u002Fbehaviors relevant to current context; ignore rest |\n| **Encapsulation** | Hide implementation details behind public interface; protect internals from outside |\n| **Inheritance** | Build new classes on existing ones; subclasses inherit state and behavior |\n| **Polymorphism** | Program detects object's real class at runtime and calls its actual implementation |\n\n**Object Relations (weakest → strongest):**\n- **Dependency** — object uses another temporarily (method param \u002F return)\n- **Association** — object has permanent link to another (field)\n- **Aggregation** — \"has-a\", but component can exist independently\n- **Composition** — \"whole-part\"; component exists only inside container\n\n---\n\n## Software Design Principles\n\n### The Three Core Principles\n1. **Encapsulate What Varies** — Identify what changes; isolate it so changes don't ripple everywhere\n2. **Program to an Interface, not an Implementation** — Depend on abstractions, not concrete classes\n3. **Favor Composition over Inheritance** — Compose behaviors at runtime; don't bake them in via subclasses\n\n### SOLID\nExamples and checklist: `references\u002Fsolid.md`.\n\n| Letter | Principle | One-liner |\n|--------|-----------|-----------|\n| **S** | Single Responsibility | Class has only one reason to change |\n| **O** | Open\u002FClosed | Open for extension, closed for modification |\n| **L** | Liskov Substitution | Subclasses must be substitutable for their superclass |\n| **I** | Interface Segregation | Don't force clients to depend on methods they don't use |\n| **D** | Dependency Inversion | High-level and low-level modules both depend on abstractions |\n\n---\n\n## Pattern Catalog Overview\n\n| Family | Purpose | Patterns |\n|--------|---------|---------|\n| **Creational** | Object creation mechanisms | Factory Method, Abstract Factory, Builder, Prototype, Singleton |\n| **Structural** | Assembling objects into larger structures | Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy |\n| **Behavioral** | Communication & responsibility between objects | Chain of Responsibility, Command, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor |\n\n**Detailed pattern references:**\n- `references\u002Fcreational.md`\n- `references\u002Fstructural.md`\n- `references\u002Fbehavioral.md`\n\n---\n\n## Pattern Selection Guide\n\n### \"I need to create objects but…\"\n| Problem | Pattern |\n|---------|---------|\n| Type unknown until runtime \u002F subclasses should decide | **Factory Method** |\n| Families of related objects | **Abstract Factory** |\n| Constructor has too many params \u002F step-by-step construction needed | **Builder** |\n| Copy complex objects | **Prototype** |\n| Exactly one instance of shared resource (first consider creating one instance at startup and passing it in) | **Singleton** |\n\n### \"I need to structure classes but…\"\n| Problem | Pattern |\n|---------|---------|\n| Incompatible interfaces \u002F legacy code | **Adapter** |\n| Class has several independent dimensions of variation | **Bridge** |\n| Treat individual objects and object trees uniformly | **Composite** |\n| Add behavior to objects at runtime without subclassing | **Decorator** |\n| Subsystem too complex; need simple entry point | **Facade** |\n| Huge number of similar fine-grained objects eating RAM | **Flyweight** |\n| Lazy init, access control, logging, caching around real object | **Proxy** |\n\n### \"I need objects to communicate\u002Fbehave but…\"\n| Problem | Pattern |\n|---------|---------|\n| Requests pass through chain of handlers | **Chain of Responsibility** |\n| Parameterize objects with operations \u002F support undo | **Command** |\n| Traverse collection without exposing its structure | **Iterator** |\n| Objects too tightly coupled to each other | **Mediator** |\n| Save\u002Frestore object state (undo\u002Fsnapshot) | **Memento** |\n| Objects need notice when another object changes | **Observer** |\n| Object behavior depends on state, changes at runtime | **State** |\n| Switch algorithms\u002Fbehaviors at runtime | **Strategy** |\n| Subclasses fill in blanks of algorithm skeleton | **Template Method** |\n| Add operations to objects without modifying their classes | **Visitor** |\n\n---\n\n## How to Present a Pattern\n\nExplaining any pattern, always cover:\n1. **Intent** — one-sentence definition\n2. **Problem** — design pain it solves\n3. **Solution** — structural approach\n4. **Structure** — roles (Creator, Product, etc.) and how they relate\n5. **When to use (Applicability)**\n6. **Pros & Cons**\n7. **Code example** (user's language; pseudocode fine if unknown)\n8. **Relations** — similar\u002Fcomplementary patterns to mention\n\n---\n\n## Common Anti-Patterns & Pattern Remedies\n\n| Smell | Remedy |\n|-------|--------|\n| God class doing too many things | Apply **SRP**; split into collaborators |\n| Construction of one of several real variants duplicated across call sites | **Factory Method** (or plain constructor function); **Abstract Factory** only for real families |\n| Deeply nested if\u002Fswitch on type | **Strategy** or **State** |\n| Subclass explosion (one class per feature combination) | **Decorator** or **Bridge** |\n| Global mutable state | Pass state explicitly or inject dependency. **Singleton** does not fix global state; it is global state. Use it only for genuinely single, stateless-or-synchronized resource |\n| Tight coupling between subsystems | **Facade** or **Mediator** |\n| Duplicate code in similar algorithms | **Template Method** |\n| UI button\u002Fmenu logic scattered | **Command** (for undo queues too) |\n| Observers manually wired everywhere | **Observer** \u002F event bus |\n| Hard to test due to rigid dependencies | **Dependency Inversion**: inject dependency (interface only when more than one implementation exists or test seam is needed) |\n",{"name":5,"description":7},"main","101d0f67250256ca5d80dc3f95767cad7b541457","skills\u002Farchitecture\u002Fdesign-patterns","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents","https:\u002F\u002Fgithub.com\u002Fw0rxbend","https:\u002F\u002Freadme.worxbend.com\u002F","Fluent in Backend-ese (microservices, distributed systems, you know the drill)\r\nFunctional Programming Fanatic...","2026-11-14 14:44:12",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add w0rxbend\u002Fdot-agents --skill design-patterns",{"tool":39,"command":40},"bunx","bunx skills add w0rxbend\u002Fdot-agents --skill design-patterns",{"tool":42,"command":43},"pnpm","pnpm dlx skills add w0rxbend\u002Fdot-agents --skill design-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Fdesign-patterns\u002FSKILL.md",true,[47,51,57,61,65,69,73],{"path":48,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":16},"LICENSE","许可证",1067,{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"README.md","REFERENCE","参考文档",5264,"https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Fdesign-patterns\u002FREADME.md",{"path":58,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002FATTRIBUTION.md",201,"https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Fdesign-patterns\u002Freferences\u002FATTRIBUTION.md",{"path":62,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fbehavioral.md",10482,"https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Fdesign-patterns\u002Freferences\u002Fbehavioral.md",{"path":66,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fcreational.md",5377,"https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Fdesign-patterns\u002Freferences\u002Fcreational.md",{"path":70,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fsolid.md",3683,"https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Fdesign-patterns\u002Freferences\u002Fsolid.md",{"path":74,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fstructural.md",7427,"https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Farchitecture\u002Fdesign-patterns\u002Freferences\u002Fstructural.md",[78,85,92,100,107,114],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":20},"01M7E6TS1SW1ZSXN748N0RBGHT","wiki-builder","Create and maintain a local Markdown research wiki (sources with provenance, compiled concept\u002Fsource pages, index, maintenance log) driven by a per-wiki config. Use when the user wants to start a wiki or knowledge base, ingest sources into one, or query and update it; use wiki-page-writer for a single code deep-dive page.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fwiki-builder\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"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":20},"01M7E6S8ARS0VQR85H4FEC390B","refactoring-guru","Diagnose a named code smell and apply the smallest behavior-preserving refactoring, with verification before and after and an explicit stop condition. Use for structural refactors (extract, move, consolidate, change ownership), not for feature or bug work; for readability cleanup of recent changes use code-simplification.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Frefactoring-guru\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":96,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M7E6RRXCYGSHA0ZBFX3YZP7Y","legacy-seams","When changing untested legacy code, pin the observed results with characterization tests and open the smallest seam that substitutes only the blocking dependency, separate from any later logic change. Use when a clock, random source, I\u002FO, global, or hidden constructor blocks a test or a safe edit. Use test-driven-development for a new behavior or a bug, refactoring-guru for one named structural refactor after the seam exists, and code-refactoring-tech-debt to choose which legacy to replace.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Flegacy-seams\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Flegacy-seams\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"01M7E6QZ11XWSNHCBGYK8HH97C","idea-refine","Refine a raw idea into a one-page brief (problem statement, recommended direction, assumptions to validate, MVP scope, not-doing list) through divergent then convergent thinking. Use when an idea is still vague or you want options and a stress test before committing; use interview-me when the goal itself is unclear and spec-driven-development once the direction is chosen.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fidea-refine\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M7E6N2N7BYW7BA5XGM0QD3B4","code-review-and-quality","Review rubric and approval standard for any change before merge, including code written by you, another agent, or a human: five axes (correctness, readability, architecture, security, performance), change sizing, structural remedies, severity labels, and feedback technique. Use to judge whether a change is fit to merge; use code-review to run a PR or diff review end to end.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fcode-review-and-quality\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":20},"01M7E6MNCZPTRD77Z419X755HQ","code-perfection","Smell and style gate for code you write or change. Bans known code smells (long method, large class, primitive obsession, long parameter list, data clumps, duplicate code, dead code, feature envy, shotgun surgery, flag arguments, message chains) and enforces behavior-preserving structure. On Scala files, enforces worxbend style. Use while implementing, reviewing a diff for smells, or when a smell or style violation is suspected. Routine construction stays with code-complete. SOLID and DRY stay with clean-code-guard. One named structural refactor stays with refactoring-guru.","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fcode-perfection\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fw0rxbend\u002Fdot-agents\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fcode-perfection\u002FSKILL.md",[],[]]