[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71461NN7C3F0NXJNN43J17Q":3,"skill-same:01M71461NN7C3F0NXJNN43J17Q":67},{"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":23,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":14,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":66},"01M71461NN7C3F0NXJNN43J17Q","odoo-module-developer",null,"Expert guide for creating custom Odoo modules. Covers __manifest__.py, model inheritance, ORM patterns, and module structure best practices.","sapsapshen\u002Fai-memory-router","sapsapshen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20347959?v=4","01M6XDQEF1DP50DKF37H81J3J5","shenmian","01M6XDQEJPE41Y3DT2763X8ZJN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fodoo-module-developer\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"developer","module","odoo module developer","odoo","patterns","custom","for","inheritance","self","structure","safe","expert","modules","guide","orm","model","manifest","best practices","2026-11-10 10:12:30",false,"---\nname: odoo-module-developer\ndescription: \"Expert guide for creating custom Odoo modules. Covers __manifest__.py, model inheritance, ORM patterns, and module structure best practices.\"\nrisk: safe\nsource: \"self\"\n---\n\n# Odoo Module Developer\n\n## Overview\n\nThis skill transforms your AI into an expert Odoo custom module developer. It guides you through scaffolding new modules, defining models, setting up security, and following Odoo's coding conventions for both Community and Enterprise editions.\n\n## When to Use This Skill\n\n- Starting a new custom Odoo module from scratch.\n- Extending an existing Odoo model (e.g., adding fields to `sale.order`).\n- Troubleshooting module loading errors or manifest issues.\n- Implementing `onchange`, `compute`, and `constraint` methods correctly.\n\n## How It Works\n\n1. **Activate**: Mention `@odoo-module-developer` and describe the module you want to build.\n2. **Scaffold**: Get the full folder structure with `__manifest__.py`, `__init__.py`, models, views, and security files.\n3. **Review**: Paste existing code and get a review against Odoo best practices.\n\n## Examples\n\n### Example 1: Scaffold a New Module\n\n**Prompt:** `Create a module called \"hospital_management\" with a model for patients`\n\n**Generated structure:**\n\n```text\nhospital_management\u002F\n├── __manifest__.py\n├── __init__.py\n├── models\u002F\n│   ├── __init__.py\n│   └── hospital_patient.py\n├── views\u002F\n│   └── hospital_patient_views.xml\n├── security\u002F\n│   ├── ir.model.access.csv\n│   └── security.xml\n└── data\u002F\n```\n\n**`__manifest__.py`:**\n\n```python\n{\n    'name': 'Hospital Management',\n    'version': '17.0.1.0.0',\n    'category': 'Healthcare',\n    'depends': ['base', 'mail'],\n    'data': [\n        'security\u002Fir.model.access.csv',\n        'views\u002Fhospital_patient_views.xml',\n    ],\n    'installable': True,\n    'license': 'LGPL-3',\n}\n```\n\n**`models\u002Fhospital_patient.py`:**\n\n```python\nfrom odoo import models, fields, api\n\nclass HospitalPatient(models.Model):\n    _name = 'hospital.patient'\n    _description = 'Hospital Patient'\n    _inherit = ['mail.thread', 'mail.activity.mixin']\n\n    name = fields.Char(string='Patient Name', required=True, tracking=True)\n    birth_date = fields.Date(string='Birth Date')\n    doctor_id = fields.Many2one('res.users', string='Assigned Doctor')\n    state = fields.Selection([\n        ('draft', 'New'),\n        ('confirmed', 'Confirmed'),\n        ('done', 'Done'),\n    ], default='draft', tracking=True)\n```\n\n## Best Practices\n\n- ✅ **Do:** Always prefix your model `_name` with a namespace (e.g., `hospital.patient`).\n- ✅ **Do:** Use `_inherit = ['mail.thread']` to add chatter\u002Flogging automatically.\n- ✅ **Do:** Specify `version` in manifest as `{odoo_version}.{major}.{minor}.{patch}`.\n- ✅ **Do:** Set `'author'` and `'website'` in `__manifest__.py` so your module is identifiable in the Apps list.\n- ❌ **Don't:** Modify core Odoo model files directly — always use `_inherit`.\n- ❌ **Don't:** Forget to add new models to `ir.model.access.csv` or users will get access errors.\n- ❌ **Don't:** Use spaces or uppercase in folder names — Odoo requires snake_case module names.\n\n## Limitations\n\n- Does not cover **OWL JavaScript components** or frontend widget development — use `@odoo-xml-views-builder` for view XML.\n- **Odoo 13 and below** have a different module structure (no `__manifest__.py` auto-loading) — this skill targets v14+.\n- Does not cover **multi-company** or **multi-website** configuration; those require additional model fields (`company_id`, `website_id`).\n- Does not generate automated test files — use `@odoo-automated-tests` for that.\n","# Odoo Module Developer\n\n## Overview\n\nThis skill transforms your AI into an expert Odoo custom module developer. It guides you through scaffolding new modules, defining models, setting up security, and following Odoo's coding conventions for both Community and Enterprise editions.\n\n## When to Use This Skill\n\n- Starting a new custom Odoo module from scratch.\n- Extending an existing Odoo model (e.g., adding fields to `sale.order`).\n- Troubleshooting module loading errors or manifest issues.\n- Implementing `onchange`, `compute`, and `constraint` methods correctly.\n\n## How It Works\n\n1. **Activate**: Mention `@odoo-module-developer` and describe the module you want to build.\n2. **Scaffold**: Get the full folder structure with `__manifest__.py`, `__init__.py`, models, views, and security files.\n3. **Review**: Paste existing code and get a review against Odoo best practices.\n\n## Examples\n\n### Example 1: Scaffold a New Module\n\n**Prompt:** `Create a module called \"hospital_management\" with a model for patients`\n\n**Generated structure:**\n\n```text\nhospital_management\u002F\n├── __manifest__.py\n├── __init__.py\n├── models\u002F\n│   ├── __init__.py\n│   └── hospital_patient.py\n├── views\u002F\n│   └── hospital_patient_views.xml\n├── security\u002F\n│   ├── ir.model.access.csv\n│   └── security.xml\n└── data\u002F\n```\n\n**`__manifest__.py`:**\n\n```python\n{\n    'name': 'Hospital Management',\n    'version': '17.0.1.0.0',\n    'category': 'Healthcare',\n    'depends': ['base', 'mail'],\n    'data': [\n        'security\u002Fir.model.access.csv',\n        'views\u002Fhospital_patient_views.xml',\n    ],\n    'installable': True,\n    'license': 'LGPL-3',\n}\n```\n\n**`models\u002Fhospital_patient.py`:**\n\n```python\nfrom odoo import models, fields, api\n\nclass HospitalPatient(models.Model):\n    _name = 'hospital.patient'\n    _description = 'Hospital Patient'\n    _inherit = ['mail.thread', 'mail.activity.mixin']\n\n    name = fields.Char(string='Patient Name', required=True, tracking=True)\n    birth_date = fields.Date(string='Birth Date')\n    doctor_id = fields.Many2one('res.users', string='Assigned Doctor')\n    state = fields.Selection([\n        ('draft', 'New'),\n        ('confirmed', 'Confirmed'),\n        ('done', 'Done'),\n    ], default='draft', tracking=True)\n```\n\n## Best Practices\n\n- ✅ **Do:** Always prefix your model `_name` with a namespace (e.g., `hospital.patient`).\n- ✅ **Do:** Use `_inherit = ['mail.thread']` to add chatter\u002Flogging automatically.\n- ✅ **Do:** Specify `version` in manifest as `{odoo_version}.{major}.{minor}.{patch}`.\n- ✅ **Do:** Set `'author'` and `'website'` in `__manifest__.py` so your module is identifiable in the Apps list.\n- ❌ **Don't:** Modify core Odoo model files directly — always use `_inherit`.\n- ❌ **Don't:** Forget to add new models to `ir.model.access.csv` or users will get access errors.\n- ❌ **Don't:** Use spaces or uppercase in folder names — Odoo requires snake_case module names.\n\n## Limitations\n\n- Does not cover **OWL JavaScript components** or frontend widget development — use `@odoo-xml-views-builder` for view XML.\n- **Odoo 13 and below** have a different module structure (no `__manifest__.py` auto-loading) — this skill targets v14+.\n- Does not cover **multi-company** or **multi-website** configuration; those require additional model fields (`company_id`, `website_id`).\n- Does not generate automated test files — use `@odoo-automated-tests` for that.\n",{"name":5,"risk":34,"source":32,"description":7},"main","7a38d8e7073e61c16eda85681cb32fb68a8657a5","skills-store\u002Fcopilot\u002Fodoo-module-developer","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router","https:\u002F\u002Fgithub.com\u002Fsapsapshen","2026-04-14 21:12:12",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add sapsapshen\u002Fai-memory-router --skill odoo-module-developer",{"tool":59,"command":60},"bunx","bunx skills add sapsapshen\u002Fai-memory-router --skill odoo-module-developer",{"tool":62,"command":63},"pnpm","pnpm dlx skills add sapsapshen\u002Fai-memory-router --skill odoo-module-developer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcopilot\u002Fodoo-module-developer\u002FSKILL.md",true,[],[68,78,85,93,99,107],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":73,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":77},"01M72R8PZX1ABFHJGTYPA4CAF1","webapp-testing","To test local web applications, write native Python Playwright scripts.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-10 22:39:42",{"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":77},"01M72QG37MMZNDY7X7GXPAK5W6","python-packaging","Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fpython-packaging\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":72,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":77},"01M72NXR0QMP9G46TW6A2DH59C","canvas-design","These are instructions for creating design philosophies - aesthetic movements that are then EXPRESSED VISUALLY. Output only .md files, .pdf files, and .png files.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fglobal\u002Fcanvas-design\u002FSKILL.md",[],[],{"skillNo":94,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":77},"01M72N55TK3EEQ4QK4AWDC2KZS","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":72,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":77},"01M72MTWC150CFAP4Y5GSNKF80","slack-gif-creator","A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Fslack-gif-creator\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":72,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":77},"01M72KPT3VVNSP88MNAY466TZT","frontend-design","You are a frontend designer-engineer, not a layout generator.","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fsapsapshen\u002Fai-memory-router\u002Fblob\u002Fmain\u002Fskills-store\u002Fcursor\u002Ffrontend-design\u002FSKILL.md",[],[]]