[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCPQ0SET4KA0GW857X83AP":3,"skill-same:01M6MCPQ0SET4KA0GW857X83AP":103},{"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":26,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6MCPQ0SET4KA0GW857X83AP","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.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1571,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-sqlx-postgres-service\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"rust","rust sqlx postgres service","service","postgres","when","testing","mode","calls","as","tests","time","query","transactions","injection","repository","offline","compile","database","code","sql","integration tests","2026-11-10 10:12:30",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":15,"metadata":53,"description":7,"compatibility":58},{"tags":54,"version":55,"category":56,"displayName":57},"rust,sqlx,postgres,migrations,persistence","0.1.0","Rust","Rust SQLx Postgres Service","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-sqlx-postgres-service",490,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 02:12:02",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rust-sqlx-postgres-service",{"tool":75,"command":76},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rust-sqlx-postgres-service",{"tool":78,"command":79},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill rust-sqlx-postgres-service","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-sqlx-postgres-service\u002FSKILL.md",true,[83,89,93,97],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"agents\u002Fopenai.yaml","REFERENCE","参考文档",202,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-sqlx-postgres-service\u002Fagents\u002Fopenai.yaml",{"path":90,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fmigration-safety.md",1130,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-sqlx-postgres-service\u002Freferences\u002Fmigration-safety.md",{"path":94,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fsqlx-patterns.md",2202,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-sqlx-postgres-service\u002Freferences\u002Fsqlx-patterns.md",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fsqlx-preflight.sh","SCRIPT","脚本",1162,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Frust-sqlx-postgres-service\u002Fscripts\u002Fsqlx-preflight.sh",[104,113,120,127,153,178],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":112},"01M746ZWACVKMZ1BJXJZHYJSSX","migrate-to-e2e","Moves an existing Playwright, Cypress, Selenium, Appium, Detox, Maestro, or TesterArmy suite to e2e one slice at a time, with the old suite running beside the new one until each ported test is proven. Keeps a MIGRATION.md progress file so any later session resumes where the last stopped. Optionally plants a defect to show both suites catch it. Use for \u002Fmigrate-to-e2e, \"migrate our tests to e2e\", \"port these Maestro flows\", \"move our TesterArmy tests\", or when a project has an e2e config and an older suite still running.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftester-army\u002Fe2e\u002Fskills\u002Fmigrate-to-e2e\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":112},"01M746ZPTAX1Q0FBKAB1CYND7E","e2e","Writes, runs, and debugs end-to-end tests for web and mobile apps with e2e, the agentic test runner, which mixes agent.act goals with exact locator assertions on a Playwright browser or an iOS or Android device. Also drives a project's running app live over the e2e MCP server to look at a screen, check a UI change, take a screenshot or record a video, and try a locator; and runs bug bashes, parallel e2e explore runs with each bug proven by a repro test. Use when a project depends on e2e or has an e2e.config.ts, when asked for end-to-end, browser, mobile, or agentic UI tests, to check a change in the running app, to QA or bug bash an app or branch, or when an e2e run fails.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftester-army\u002Fe2e\u002Fskills\u002Fe2e\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":112},"01M746ZJN784HVHMDP9MQGCSGG","create-verification-skill","Generate a project-local verify-\u003Capp> skill on top of e2e, so any coding agent can launch the app, check it is worth driving, exercise a feature the way a user does, keep evidence, and bug bash it. Writes the skill, a feature map with one explore charter per feature, and proves it once. Use for \u002Fcreate-verification-skill, \"make a verification skill for this repo\", or when a project has no scripted way to prove UI behavior.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftester-army\u002Fe2e\u002Fskills\u002Fcreate-verification-skill\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":48},"01M716A6ETNB9B1SQ3GXZC75VR","deja-search","deja-vu memory — search the user's past AI coding sessions with the deja CLI. Holds what they already settled and never wrote into the repo (naming rules, banned or already-tried tools, required checks before merge, preferred values, who owns what). Use before your first edit in a task, before you call a change done or ready to merge, before you recommend a tool, library, design or reviewer, before re-debugging an error that may already be solved, when they say 'didn't we fix this before', 'what did we decide about X' or 'I already have that', and before telling them something on this machine does not exist.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fvshulcz\u002Fdeja-vu\u002Fskills\u002Fdeja-search\u002FSKILL.md",[],[134,135,136,137,138,139,140,141,142,143,144,31,145,146,147,148,149,150,151,152],"search","deja search","never","error","ready","memory","re","decide","fix","design","debugging","you","done","reviewer","io","change","cli","merge","past",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":48},"01M716A3J2W5SENSE9VGMXB375","deja-reflect","End-of-session reflection and memory curation with deja-vu. Review what was decided, what commands broke and what repaired them, and record durable project rules or decisions with deja remember so the next session starts with them.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fvshulcz\u002Fdeja-vu\u002Fskills\u002Fdeja-reflect\u002FSKILL.md",[],[160,161,162,148,163,164,165,166,167,168,169,170,171,172,139,173,174,175,176,177],"deja reflect","reflect","review","with","record","github","next","https","node","Rules","decisions","brew","remember","project rules","project","session","end","reflection",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":108,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":189,"publishedAt":48},"01M715T3RR4BAYSR57HPPTJ0PF","revid","Make, edit, export and post AI videos with Revid (revid.ai) through the Revid MCP server. Use whenever the user wants a short-form or long-form video made (from an idea, a script, a URL, an article, a PDF, a tweet, a product page, their own clips, or a song), wants to find what is going viral on TikTok, YouTube, Instagram or X before making something, wants to edit or re-export an existing Revid project, generate a standalone AI image or clip, make a series episode, or publish and schedule a finished video to connected social accounts. Covers setup (hosted MCP with OAuth, or an API key), the 36 tools, credits, polling and the rules for publishing. Routes to the more specific revid-* skills when one fits.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Ftmakersas\u002Frevid-skills\u002Fskills\u002Frevid\u002FSKILL.md",[184,187,188],{"categoryNo":185,"categoryName":186,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[180,190,191,192,193,194,195,174,196,140,197,198,199,200,31,201,202,203,204,205],"URL","Video","short-form","standalone","PDF","viral","tiktok","short","social","MCP","song","image","mcp server","schedule","api","publish"]