[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77SYC88X83D5MN8J2J3BRQT":3,"skill-same:01M77SYC88X83D5MN8J2J3BRQT":69},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":13,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M77SYC88X83D5MN8J2J3BRQT","rust-sqlx-postgres-service",null,"Use when adding, changing, testing, or reviewing Postgres persistence in Rust services that use sqlx, especially when designing migrations, query! or query_as! calls, PgPool injection, transactions, compile-time checked SQL, SQLx offline mode, repository boundaries, or database-backed integration tests.","ConcertoNotes\u002Fcodex-plugins","ConcertoNotes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F249301288?v=4","01M77NJ0BK2KN5YW0D8RHD99TB","01M77NJ0CCEDPATAY3JTXEWNK5",0,"MIT","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-sqlx-postgres-service\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: rust-sqlx-postgres-service\ndescription: Use when adding, changing, testing, or reviewing Postgres persistence in Rust services that use sqlx, especially when designing migrations, query! or query_as! calls, PgPool injection, transactions, compile-time checked SQL, SQLx offline mode, repository boundaries, or database-backed integration tests.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: Rust SQLx Postgres Service\n  category: Rust\n  tags: rust,sqlx,postgres,migrations,persistence\n---\n\n# Rust SQLx Postgres Service\n\nUse this skill to make Rust\u002FPostgres changes schema-first, compile-checked, and\ntestable. Prefer explicit migrations, injected pools, narrow repository\nfunctions, and transaction boundaries that match the business operation.\n\n## Core Workflow\n\n1. Inspect `Cargo.toml`, `migrations\u002F`, `.sqlx\u002F`, `docker-compose.yml`, CI, and\n   existing database helper modules before changing code.\n2. Design the schema change first. Create or update a migration before writing\n   repository code that depends on it.\n3. Prefer `sqlx::query!` and `query_as!` for compile-time checked SQL. Use\n   dynamic SQL only when the query shape truly changes at runtime.\n4. Inject `PgPool`, `PgConnection`, or `Transaction` explicitly. Do not create a\n   pool inside handlers or repository functions.\n5. Keep repository functions small and named by behavior. Return domain types\n   or persistence DTOs instead of leaking raw rows through the app.\n6. Use a transaction for multi-step operations that must commit or roll back\n   together.\n7. Add or update integration tests that run migrations and exercise the public\n   behavior when the change affects API semantics.\n8. Run the bundled preflight script or the repository's equivalent SQLx\u002FCargo\n   CI commands.\n\n## Migration Rules\n\nRead `references\u002Fmigration-safety.md` before changing existing tables or data.\n\nDefault migration preferences:\n\n- Use additive changes first: new nullable columns, new tables, new indexes.\n- Backfill separately from schema creation when a table may be large.\n- Add `not null`, uniqueness, and foreign-key constraints only after existing\n  data satisfies them.\n- Name constraints and indexes deliberately when they will appear in errors or\n  operations.\n- Keep down migrations if the project uses them; otherwise document rollback\n  expectations in the migration review.\n\n## Query Rules\n\nRead `references\u002Fsqlx-patterns.md` for SQLx macro, transaction, and offline\nmode details.\n\n- Prefer bind parameters over string interpolation.\n- Use `fetch_optional` for lookup-by-key operations.\n- Use `execute` for inserts\u002Fupdates where row data is not needed.\n- Use `RETURNING` when the caller needs generated IDs or timestamps.\n- Check affected row counts for updates and deletes that should target exactly\n  one row.\n- Map database uniqueness conflicts to domain errors near the repository edge.\n\n## Verification\n\nRun from the Rust project root when the standard SQLx workflow applies:\n\n```bash\npath\u002Fto\u002Frust-sqlx-postgres-service\u002Fscripts\u002Fsqlx-preflight.sh\n```\n\nThe script is conservative: it checks formatting and tests, inspects SQLx\nmigration state when the CLI and `DATABASE_URL` are available, verifies SQLx\noffline metadata with `cargo sqlx prepare --check` when `.sqlx\u002F` or\n`DATABASE_URL` is available, and only applies migrations when\n`RUST_SQLX_PREFLIGHT_RUN_MIGRATIONS=1` is set.\n\nIf the repository has a different CI command, use that command and explain why.\n\n## Reference Files\n\n- `references\u002Fsqlx-patterns.md`: `query!`, `query_as!`, pools, transactions,\n  feature flags, and offline mode.\n- `references\u002Fmigration-safety.md`: safe migration sequencing and rollout\n  checks.\n","# Rust SQLx Postgres Service\n\nUse this skill to make Rust\u002FPostgres changes schema-first, compile-checked, and\ntestable. Prefer explicit migrations, injected pools, narrow repository\nfunctions, and transaction boundaries that match the business operation.\n\n## Core Workflow\n\n1. Inspect `Cargo.toml`, `migrations\u002F`, `.sqlx\u002F`, `docker-compose.yml`, CI, and\n   existing database helper modules before changing code.\n2. Design the schema change first. Create or update a migration before writing\n   repository code that depends on it.\n3. Prefer `sqlx::query!` and `query_as!` for compile-time checked SQL. Use\n   dynamic SQL only when the query shape truly changes at runtime.\n4. Inject `PgPool`, `PgConnection`, or `Transaction` explicitly. Do not create a\n   pool inside handlers or repository functions.\n5. Keep repository functions small and named by behavior. Return domain types\n   or persistence DTOs instead of leaking raw rows through the app.\n6. Use a transaction for multi-step operations that must commit or roll back\n   together.\n7. Add or update integration tests that run migrations and exercise the public\n   behavior when the change affects API semantics.\n8. Run the bundled preflight script or the repository's equivalent SQLx\u002FCargo\n   CI commands.\n\n## Migration Rules\n\nRead `references\u002Fmigration-safety.md` before changing existing tables or data.\n\nDefault migration preferences:\n\n- Use additive changes first: new nullable columns, new tables, new indexes.\n- Backfill separately from schema creation when a table may be large.\n- Add `not null`, uniqueness, and foreign-key constraints only after existing\n  data satisfies them.\n- Name constraints and indexes deliberately when they will appear in errors or\n  operations.\n- Keep down migrations if the project uses them; otherwise document rollback\n  expectations in the migration review.\n\n## Query Rules\n\nRead `references\u002Fsqlx-patterns.md` for SQLx macro, transaction, and offline\nmode details.\n\n- Prefer bind parameters over string interpolation.\n- Use `fetch_optional` for lookup-by-key operations.\n- Use `execute` for inserts\u002Fupdates where row data is not needed.\n- Use `RETURNING` when the caller needs generated IDs or timestamps.\n- Check affected row counts for updates and deletes that should target exactly\n  one row.\n- Map database uniqueness conflicts to domain errors near the repository edge.\n\n## Verification\n\nRun from the Rust project root when the standard SQLx workflow applies:\n\n```bash\npath\u002Fto\u002Frust-sqlx-postgres-service\u002Fscripts\u002Fsqlx-preflight.sh\n```\n\nThe script is conservative: it checks formatting and tests, inspects SQLx\nmigration state when the CLI and `DATABASE_URL` are available, verifies SQLx\noffline metadata with `cargo sqlx prepare --check` when `.sqlx\u002F` or\n`DATABASE_URL` is available, and only applies migrations when\n`RUST_SQLX_PREFLIGHT_RUN_MIGRATIONS=1` is set.\n\nIf the repository has a different CI command, use that command and explain why.\n\n## Reference Files\n\n- `references\u002Fsqlx-patterns.md`: `query!`, `query_as!`, pools, transactions,\n  feature flags, and offline mode.\n- `references\u002Fmigration-safety.md`: safe migration sequencing and rollout\n  checks.\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":28},{"tags":24,"version":25,"category":26,"displayName":27},"rust,sqlx,postgres,migrations,persistence","0.1.0","Rust","Rust SQLx Postgres Service","Codex, Claude Code, and other Agent Skills-compatible clients.","main","9ba3c9fadff1092395837bf1502e1b8a7f98b1e1","plugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-sqlx-postgres-service","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins","https:\u002F\u002Fgithub.com\u002FConcertoNotes","2026-06-26 10:13:54",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add ConcertoNotes\u002Fcodex-plugins --skill rust-sqlx-postgres-service",{"tool":41,"command":42},"bunx","bunx skills add ConcertoNotes\u002Fcodex-plugins --skill rust-sqlx-postgres-service",{"tool":44,"command":45},"pnpm","pnpm dlx skills add ConcertoNotes\u002Fcodex-plugins --skill rust-sqlx-postgres-service","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-sqlx-postgres-service\u002FSKILL.md",true,[49,55,59,63],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"agents\u002Fopenai.yaml","REFERENCE","参考文档",202,"https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-sqlx-postgres-service\u002Fagents\u002Fopenai.yaml",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fmigration-safety.md",1130,"https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-sqlx-postgres-service\u002Freferences\u002Fmigration-safety.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fsqlx-patterns.md",2202,"https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-sqlx-postgres-service\u002Freferences\u002Fsqlx-patterns.md",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002Fsqlx-preflight.sh","SCRIPT","脚本",1162,"https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcommunity\u002Flvtd-skills\u002Fskills\u002Frust-sqlx-postgres-service\u002Fscripts\u002Fsqlx-preflight.sh",[70,79,86,94,101,108],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":74,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M77YB7WW36DS9AERTWP673E0","android-emulator-qa","Use when validating Android feature flows in an emulator with adb-driven launch, input, UI-tree inspection, screenshots, and logcat capture.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Ftest-android-apps\u002Fskills\u002Fandroid-emulator-qa\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M77Y7AA8N45G6NM0WJSS2W9C","supabase-postgres-best-practices","Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Fsupabase\u002Fskills\u002Fsupabase-postgres-best-practices\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":74,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":18},"01M77Y2W5H5YGSW7MYWEJ8HYXD","sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Fsentry\u002Fskills\u002Fsentry\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Fsentry\u002Fskills\u002Fsentry\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M77Y06GV1DAME7PN9KBFHWRX","render-workflows","Sets up, develops, tests, and deploys Render Workflows. Covers first-time scaffolding (via CLI or manual), SDK installation (Python or TypeScript), task patterns (retries, subtasks, fan-out), local development, Dashboard deployment, and troubleshooting. Use when a user wants to set up Render Workflows for the first time, scaffold a workflow service, add or modify workflow tasks, test workflows locally, or deploy workflows to Render.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Frender\u002Fskills\u002Frender-workflows\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":18},"01M77Y01A6RJA8VYT7CZ2TVETF","render-web-services","Configures Render web services—port binding, TLS, health checks, custom domains, auto-deploy, PR previews, persistent disks, and deploy lifecycle. Use when the user needs to set up a web service, fix health check failures, add a custom domain, configure zero-downtime deploys, or troubleshoot port binding issues.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Frender\u002Fskills\u002Frender-web-services\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":18},"01M77XZW1AZ6B6NZTWWFVY72T3","render-static-sites","Deploys and configures static sites on Render's global CDN—build commands, publish paths, SPA routing, redirects, custom headers, and PR previews. Use when the user needs to deploy a static site, set up a React\u002FVue\u002FHugo\u002FGatsby frontend, configure SPA fallback routing, add redirect rules, customize response headers, or choose between a static site and a web service for their frontend. Trigger terms: static site, CDN, SPA, single-page app, React deploy, Vue deploy, Hugo, Gatsby, Docusaurus, Jekyll, staticPublishPath.","https:\u002F\u002Fgithub.com\u002FConcertoNotes\u002Fcodex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fofficial\u002Frender\u002Fskills\u002Frender-static-sites\u002FSKILL.md",[],[]]