[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75TPMTYNCC7BC4THX46B4R4":3,"skill-same:01M75TPMTYNCC7BC4THX46B4R4":55},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M75TPMTYNCC7BC4THX46B4R4","odoo-session-db",null,"Give one session its own throwaway test database name, so two sessions on one task in one project cannot land on the same database. Use before odoo-dev:odoo-test-run whenever more than one session can work in the same project, and when a test database vanished mid-run.","Crpaxton4\u002Fdevcontainer-features","Crpaxton4","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10190720?v=4","01M75TNGAF4N2K56AS0WDN38AM","Chris Paxton","01M75TNGB1E99BTJEGPXPQDRAB",0,"MIT","https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-dev\u002Fskills\u002Fodoo-session-db\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: odoo-session-db\ndescription: \"Give one session its own throwaway test database name, so two sessions on one task in one project cannot land on the same database. Use before odoo-dev:odoo-test-run whenever more than one session can work in the same project, and when a test database vanished mid-run.\"\nuser-invocable: false\n---\n# Odoo Session DB\n\nWrap `odoo-dev:odoo-test-run` so each session runs on a database no other session can name.\n\n`run-tests.sh` names its database `\u003Cproject>_test_\u003Ctask_id>\u003Csuffix>` and runs\n`dropdb --if-exists` on that name before it creates it. Postgres is one shared\nserver for every container on the machine. Two sessions on one task in one project, with\nno suffix, share one name, and the second drops the first one's database mid-run.\n\nThis skill adds a suffix that is unique to the session. It adds no naming scheme.\nThe name stays `\u003Cproject>_test_\u003Ctask_id>\u003Csuffix>`, and `run-tests.sh` still creates and\ndrops it.\n\n## Run the tests\n\n```bash\n\u003Cbase directory>\u002Fscripts\u002Fsession-db.sh run \u003Crepo> \u003Ctask_id> \u003Cmodule> \\\n  [--session-id ID] [any run-tests.sh option except --db-suffix]\n```\n\n→ the result JSON of `run-tests.sh`, unchanged. Read `status` as in `odoo-dev:odoo-test-run`.\n\n- Pass the same `--session-id` on every call in a session. The suffix is a hash of it,\n  so the name is the same for the whole session. An empty value exits 2.\n- `SESSION_DB_ID` works the same way, but an exported value is inherited by every\n  parallel subagent. That gives them all one suffix and brings the collision back.\n  Each session must set its own id. Prefer `--session-id`.\n- The result JSON is always printed, also when the run fails. The script then exits with\n  the exit code of `run-tests.sh`. `series_mismatch` creates no database, so it is not\n  an exit 3.\n- `task_id` must match `[0-9A-Za-z_-]+`.\n- With no session id the suffix is random for each call. That is still unique.\n- The script exits 3 if the database `run-tests.sh` reports is not the database named\n  here, or was not dropped. Treat exit 3 as a failed run. Do not retry on the same name.\n- Do not pass `--db-suffix`. The script sets it and refuses yours.\n\n## Read a name or a suffix\n\n```bash\n\u003Cbase directory>\u002Fscripts\u002Fsession-db.sh name \u003Crepo> \u003Ctask_id> [--session-id ID]\n\u003Cbase directory>\u002Fscripts\u002Fsession-db.sh suffix [--session-id ID]\n```\n\n`name` prints the database for this session. `suffix` prints `_s` and 8 hex digits.\n`name` exits 2 when the name is over the Postgres limit of 63 bytes, because Postgres\ncuts longer names without a warning.\n","# Odoo Session DB\n\nWrap `odoo-dev:odoo-test-run` so each session runs on a database no other session can name.\n\n`run-tests.sh` names its database `\u003Cproject>_test_\u003Ctask_id>\u003Csuffix>` and runs\n`dropdb --if-exists` on that name before it creates it. Postgres is one shared\nserver for every container on the machine. Two sessions on one task in one project, with\nno suffix, share one name, and the second drops the first one's database mid-run.\n\nThis skill adds a suffix that is unique to the session. It adds no naming scheme.\nThe name stays `\u003Cproject>_test_\u003Ctask_id>\u003Csuffix>`, and `run-tests.sh` still creates and\ndrops it.\n\n## Run the tests\n\n```bash\n\u003Cbase directory>\u002Fscripts\u002Fsession-db.sh run \u003Crepo> \u003Ctask_id> \u003Cmodule> \\\n  [--session-id ID] [any run-tests.sh option except --db-suffix]\n```\n\n→ the result JSON of `run-tests.sh`, unchanged. Read `status` as in `odoo-dev:odoo-test-run`.\n\n- Pass the same `--session-id` on every call in a session. The suffix is a hash of it,\n  so the name is the same for the whole session. An empty value exits 2.\n- `SESSION_DB_ID` works the same way, but an exported value is inherited by every\n  parallel subagent. That gives them all one suffix and brings the collision back.\n  Each session must set its own id. Prefer `--session-id`.\n- The result JSON is always printed, also when the run fails. The script then exits with\n  the exit code of `run-tests.sh`. `series_mismatch` creates no database, so it is not\n  an exit 3.\n- `task_id` must match `[0-9A-Za-z_-]+`.\n- With no session id the suffix is random for each call. That is still unique.\n- The script exits 3 if the database `run-tests.sh` reports is not the database named\n  here, or was not dropped. Treat exit 3 as a failed run. Do not retry on the same name.\n- Do not pass `--db-suffix`. The script sets it and refuses yours.\n\n## Read a name or a suffix\n\n```bash\n\u003Cbase directory>\u002Fscripts\u002Fsession-db.sh name \u003Crepo> \u003Ctask_id> [--session-id ID]\n\u003Cbase directory>\u002Fscripts\u002Fsession-db.sh suffix [--session-id ID]\n```\n\n`name` prints the database for this session. `suffix` prints `_s` and 8 hex digits.\n`name` exits 2 when the name is over the Postgres limit of 63 bytes, because Postgres\ncuts longer names without a warning.\n",{"name":5,"description":7,"user-invocable":20},"main","043a283d6e259355cd1601e000c45e1ee8ebd8bd","plugins\u002Fodoo-dev\u002Fskills\u002Fodoo-session-db","https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features","https:\u002F\u002Fgithub.com\u002FCrpaxton4","Computer Science\r\nMiami University","2026-11-02 22:38:24",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Crpaxton4\u002Fdevcontainer-features --skill odoo-session-db",{"tool":37,"command":38},"bunx","bunx skills add Crpaxton4\u002Fdevcontainer-features --skill odoo-session-db",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Crpaxton4\u002Fdevcontainer-features --skill odoo-session-db","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-dev\u002Fskills\u002Fodoo-session-db\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"scripts\u002Fsession-db.sh","SCRIPT","脚本",6187,"https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-dev\u002Fskills\u002Fodoo-session-db\u002Fscripts\u002Fsession-db.sh",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"scripts\u002Ftests\u002Fsession-db.test.sh",9801,"https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-dev\u002Fskills\u002Fodoo-session-db\u002Fscripts\u002Ftests\u002Fsession-db.test.sh",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M75TQ56QVZX3Q680X89RT6FT","report-incident","Draft a terse GitHub issue for an incident in the Odoo dev suite (odoo-dev, odoo-orchestrator, dispatcher), with a current environment block and no private data. Files it only after you approve. Use when a tool or workflow failed.","https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-orchestrator\u002Fskills\u002Freport-incident\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M75TQ2RBNTA4EXJ4BQ3HRYXY","principles","Engineering principles indexed as one-liners: safety and correctness, design and architecture, composition and interfaces, code structure, performance, visibility. Use when writing new code, reviewing a diff, or justifying a design choice.","https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-dev\u002Fskills\u002Fprinciples\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M75TQ0DVV793EWKKFN26408W","odoo-upgrade","Plan and run code upgrades of custom Odoo modules between major versions (16.0→17.0→18.0→19.0). Use to migrate or port a module or addon, for breaking changes, a module inventory, or an upgrade estimate or plan.","https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-dev\u002Fskills\u002Fodoo-upgrade\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M75TPXTR66V72DA42QSDQDPM","odoo-upgrade-project","Human SOP for a whole Odoo upgrade project past the code port: staging database upgrade through upgrade.odoo.com, on-prem restore, cutover, go-live, support tickets and functional requirements. A planning reference.","https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-dev\u002Fskills\u002Fodoo-upgrade-project\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M75TPVQ93TAY7KDB6XYDTVMK","odoo-test-run","Run an Odoo module's unit tests and HttpCase browser tours on a throwaway database and return machine-checkable evidence: tests executed, tours executed, failure lines. Use before a PR, after a fix, or when a green run never said how many tests ran.","https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-dev\u002Fskills\u002Fodoo-test-run\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M75TPR5N29G38HDSCKYEC350","odoo-task-env","Stand up the working environment for one Odoo task: find work that already exists, create or reuse an isolated git worktree on the task branch, bring a runnable stack up. Use at the START of implementing any task, and whenever one is picked back up.","https:\u002F\u002Fgithub.com\u002FCrpaxton4\u002Fdevcontainer-features\u002Fblob\u002Fmain\u002Fplugins\u002Fodoo-dev\u002Fskills\u002Fodoo-task-env\u002FSKILL.md",[],[]]