[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CXN5FDTJH114DWMZ19E9GH":3,"skill-same:01M6CXN5FDTJH114DWMZ19E9GH":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":30,"commitSha":31,"skillDirectory":5,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M6CXN5FDTJH114DWMZ19E9GH","software-engineering",null,"Software engineering principles","ffsshhttiikk\u002Fopencode-agents-skills","ffsshhttiikk","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F226346827?v=4","01M6CWD9RR3Y7VRQX3MXYC8FYH","01M6CWD9WVPYAZW0J82G1VKGHY",3,"MIT","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fsoftware-engineering\u002FSKILL.md",[],[18,19,20,21],"software engineering","engineering","development","opencode","2026-11-10 10:12:30",false,"---\nname: software-engineering\ndescription: Software engineering principles\nlicense: MIT\ncompatibility: opencode\nmetadata:\n  audience: developers\n  category: software-development\n---\n\n## What I do\n- Apply software engineering best practices\n- Design maintainable systems\n- Implement development workflows\n- Ensure code quality\n\n## When to use me\nWhen building software systems using professional practices.\n\n## Software Development Lifecycle\n\n### Requirements Engineering\n```python\nclass Requirement:\n    \"\"\"Software requirement\"\"\"\n    \n    def __init__(self, id: str, title: str, description: str,\n                 priority: str, category: str):\n        self.id = id\n        self.title = title\n        self.description = description\n        self.priority = priority  # must, should, could, wont\n        self.category = category  # functional, non-functional\n        self.status = \"draft\"\n        self.testable_criteria = []\n    \n    def is_testable(self) -> bool:\n        \"\"\"Check if requirement is testable\"\"\"\n        return len(self.testable_criteria) > 0\n\n\nclass RequirementsManager:\n    \"\"\"Manage requirements\"\"\"\n    \n    def __init__(self):\n        self.requirements = []\n        self.stakeholders = []\n    \n    def add_requirement(self, requirement: Requirement):\n        self.requirements.append(requirement)\n    \n    def get_by_priority(self, priority: str) -> List[Requirement]:\n        return [r for r in self.requirements if r.priority == priority]\n    \n    def trace_to_code(self, requirement_id: str, \n                     code_elements: List[str]):\n        \"\"\"Trace requirement to code elements\"\"\"\n        for req in self.requirements:\n            if req.id == requirement_id:\n                req.code_trace = code_elements\n```\n\n## Design Patterns\n\n### Creational\n```python\nclass Singleton:\n    \"\"\"Singleton pattern\"\"\"\n    _instance = None\n    \n    def __new__(cls):\n        if cls._instance is None:\n            cls._instance = super().__new__(cls)\n        return cls._instance\n\n\nclass Factory:\n    \"\"\"Factory pattern\"\"\"\n    \n    @staticmethod\n    def create_product(product_type: str):\n        products = {\n            \"a\": ProductA,\n            \"b\": ProductB\n        }\n        return products[product_type]()\n\n\nclass Builder:\n    \"\"\"Builder pattern\"\"\"\n    \n    def __init__(self):\n        self.product = Product()\n    \n    def set_part_a(self, value):\n        self.product.a = value\n        return self\n    \n    def set_part_b(self, value):\n        self.product.b = value\n        return self\n    \n    def build(self):\n        return self.product\n```\n\n### Structural\n```python\nclass Adapter:\n    \"\"\"Adapter pattern\"\"\"\n    \n    def __init__(self, adaptee):\n        self.adaptee = adaptee\n    \n    def request(self):\n        return self.adaptee.specific_request()\n\n\nclass Decorator:\n    \"\"\"Decorator pattern\"\"\"\n    \n    def __init__(self, component):\n        self.component = component\n    \n    def operation(self):\n        return self.component.operation()\n```\n\n### Behavioral\n```python\nclass Observer:\n    \"\"\"Observer pattern\"\"\"\n    \n    def __init__(self):\n        self.observers = []\n    \n    def attach(self, observer):\n        self.observers.append(observer)\n    \n    def notify(self, *args):\n        for observer in self.observers:\n            observer.update(*args)\n\n\nclass Strategy:\n    \"\"\"Strategy pattern\"\"\"\n    \n    def __init__(self, algorithm):\n        self.algorithm = algorithm\n    \n    def execute(self, data):\n        return self.algorithm.process(data)\n```\n\n## Testing Strategy\n```python\nclass TestPyramid:\n    \"\"\"Testing pyramid implementation\"\"\"\n    \n    @staticmethod\n    def unit_tests():\n        \"\"\"Many fast, isolated unit tests\"\"\"\n        pass\n    \n    @staticmethod\n    def integration_tests():\n        \"\"\"Fewer integration tests\"\"\"\n        pass\n    \n    @staticmethod\n    def e2e_tests():\n        \"\"\"Few end-to-end tests\"\"\"\n        pass\n```\n\n## Code Quality\n\n### Metrics\n```python\nclass CodeMetrics:\n    \"\"\"Code quality metrics\"\"\"\n    \n    @staticmethod\n    def cyclomatic_complexity(control_flow: dict) -> int:\n        \"\"\"Cyclomatic complexity\"\"\"\n        return control_flow.get(\"decisions\", 0) + 1\n    \n    @staticmethod\n    def cognitive_complexity(code: str) -> int:\n        \"\"\"Cognitive complexity\"\"\"\n        # Count nesting, jumps, etc.\n        return 0\n    \n    @staticmethod\n    def maintainability_index(halstead: dict, \n                            cyclomatic: int, \n                            lines: int) -> float:\n        \"\"\"Maintainability index 0-100\"\"\"\n        import math\n        \n        volume = halstead.get(\"volume\", 1)\n        mi = 171 - 5.2 * math.log(volume) - \\\n             0.23 * cyclomatic - 16.2 * math.log(lines)\n        \n        return max(0, min(100, mi * 100 \u002F 171))\n```\n","## What I do\n- Apply software engineering best practices\n- Design maintainable systems\n- Implement development workflows\n- Ensure code quality\n\n## When to use me\nWhen building software systems using professional practices.\n\n## Software Development Lifecycle\n\n### Requirements Engineering\n```python\nclass Requirement:\n    \"\"\"Software requirement\"\"\"\n    \n    def __init__(self, id: str, title: str, description: str,\n                 priority: str, category: str):\n        self.id = id\n        self.title = title\n        self.description = description\n        self.priority = priority  # must, should, could, wont\n        self.category = category  # functional, non-functional\n        self.status = \"draft\"\n        self.testable_criteria = []\n    \n    def is_testable(self) -> bool:\n        \"\"\"Check if requirement is testable\"\"\"\n        return len(self.testable_criteria) > 0\n\n\nclass RequirementsManager:\n    \"\"\"Manage requirements\"\"\"\n    \n    def __init__(self):\n        self.requirements = []\n        self.stakeholders = []\n    \n    def add_requirement(self, requirement: Requirement):\n        self.requirements.append(requirement)\n    \n    def get_by_priority(self, priority: str) -> List[Requirement]:\n        return [r for r in self.requirements if r.priority == priority]\n    \n    def trace_to_code(self, requirement_id: str, \n                     code_elements: List[str]):\n        \"\"\"Trace requirement to code elements\"\"\"\n        for req in self.requirements:\n            if req.id == requirement_id:\n                req.code_trace = code_elements\n```\n\n## Design Patterns\n\n### Creational\n```python\nclass Singleton:\n    \"\"\"Singleton pattern\"\"\"\n    _instance = None\n    \n    def __new__(cls):\n        if cls._instance is None:\n            cls._instance = super().__new__(cls)\n        return cls._instance\n\n\nclass Factory:\n    \"\"\"Factory pattern\"\"\"\n    \n    @staticmethod\n    def create_product(product_type: str):\n        products = {\n            \"a\": ProductA,\n            \"b\": ProductB\n        }\n        return products[product_type]()\n\n\nclass Builder:\n    \"\"\"Builder pattern\"\"\"\n    \n    def __init__(self):\n        self.product = Product()\n    \n    def set_part_a(self, value):\n        self.product.a = value\n        return self\n    \n    def set_part_b(self, value):\n        self.product.b = value\n        return self\n    \n    def build(self):\n        return self.product\n```\n\n### Structural\n```python\nclass Adapter:\n    \"\"\"Adapter pattern\"\"\"\n    \n    def __init__(self, adaptee):\n        self.adaptee = adaptee\n    \n    def request(self):\n        return self.adaptee.specific_request()\n\n\nclass Decorator:\n    \"\"\"Decorator pattern\"\"\"\n    \n    def __init__(self, component):\n        self.component = component\n    \n    def operation(self):\n        return self.component.operation()\n```\n\n### Behavioral\n```python\nclass Observer:\n    \"\"\"Observer pattern\"\"\"\n    \n    def __init__(self):\n        self.observers = []\n    \n    def attach(self, observer):\n        self.observers.append(observer)\n    \n    def notify(self, *args):\n        for observer in self.observers:\n            observer.update(*args)\n\n\nclass Strategy:\n    \"\"\"Strategy pattern\"\"\"\n    \n    def __init__(self, algorithm):\n        self.algorithm = algorithm\n    \n    def execute(self, data):\n        return self.algorithm.process(data)\n```\n\n## Testing Strategy\n```python\nclass TestPyramid:\n    \"\"\"Testing pyramid implementation\"\"\"\n    \n    @staticmethod\n    def unit_tests():\n        \"\"\"Many fast, isolated unit tests\"\"\"\n        pass\n    \n    @staticmethod\n    def integration_tests():\n        \"\"\"Fewer integration tests\"\"\"\n        pass\n    \n    @staticmethod\n    def e2e_tests():\n        \"\"\"Few end-to-end tests\"\"\"\n        pass\n```\n\n## Code Quality\n\n### Metrics\n```python\nclass CodeMetrics:\n    \"\"\"Code quality metrics\"\"\"\n    \n    @staticmethod\n    def cyclomatic_complexity(control_flow: dict) -> int:\n        \"\"\"Cyclomatic complexity\"\"\"\n        return control_flow.get(\"decisions\", 0) + 1\n    \n    @staticmethod\n    def cognitive_complexity(code: str) -> int:\n        \"\"\"Cognitive complexity\"\"\"\n        # Count nesting, jumps, etc.\n        return 0\n    \n    @staticmethod\n    def maintainability_index(halstead: dict, \n                            cyclomatic: int, \n                            lines: int) -> float:\n        \"\"\"Maintainability index 0-100\"\"\"\n        import math\n        \n        volume = halstead.get(\"volume\", 1)\n        mi = 171 - 5.2 * math.log(volume) - \\\n             0.23 * cyclomatic - 16.2 * math.log(lines)\n        \n        return max(0, min(100, mi * 100 \u002F 171))\n```\n",{"name":5,"license":14,"metadata":27,"description":7,"compatibility":21},{"audience":28,"category":29},"developers","software-development","main","5f7a3e453c98261f93d19a6a7de44ad8f7b72d41",2,"https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk","2026-03-01 06:55:40",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill software-engineering",{"tool":42,"command":43},"bunx","bunx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill software-engineering",{"tool":45,"command":46},"pnpm","pnpm dlx skills add ffsshhttiikk\u002Fopencode-agents-skills --skill software-engineering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fsoftware-engineering\u002FSKILL.md",true,[],[51,61,71,80,90,99],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":22},"01M6CXT9TXDF79BWJTMQAPB49G","xamarin","Xamarin cross-platform development","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fxamarin\u002FSKILL.md",[],[53,58,59,60,21,20],"platform","cross-platform","mobile",{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":22},"01M6CXT8AD04MFYDA32VW3FKAG","wrangling","Data wrangling fundamentals","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwrangling\u002FSKILL.md",[],[63,68,21,69,70],"data wrangling","science","data",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":22},"01M6CXT717GCN7SRRNPBDP4508","windows","Windows operating system administration and scripting","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwindows\u002FSKILL.md",[],[73,78,21,79],"system","scripting",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":22},"01M6CXT54K794NMEM3XAPZZDKT","wide-column","Wide-column data model","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column\u002FSKILL.md",[],[87,88,21,89,70],"wide column","databases","model",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":22},"01M6CXT28FMT2P4V9GZE67WA8E","wide-column-stores","Wide-column database stores","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwide-column-stores\u002FSKILL.md",[],[97,88,21,98],"wide column stores","database",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":22},"01M6CXT0D0M0Q4T2N7C2RX7DSN","websockets","WebSocket implementation and best practices","https:\u002F\u002Fgithub.com\u002Fffsshhttiikk\u002Fopencode-agents-skills\u002Fblob\u002Fmain\u002Fwebsockets\u002FSKILL.md",[],[101,106,107,108,21,109,110],"websocket","real-time","time","best practices","implementation"]