[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71FQ7FG77F7K2MTHMGZ8MNY":3,"skill-same:01M71FQ7FG77F7K2MTHMGZ8MNY":71},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M71FQ7FG77F7K2MTHMGZ8MNY","kotlin-backend-jpa-entity-mapping",null,"Model Kotlin persistence code correctly for Spring Data JPA and Hibernate. Covers entity design, identity and equality, uniqueness constraints, relationships, fetch plans, and common ORM (Object-Relational Mapping) traps  specific to Kotlin. Use when creating or reviewing JPA (Java Persistence API)  entities, diagnosing N+1 or LazyInitializationException, placing indexes and  uniqueness rules, or preventing Kotlin-specific bugs such as data class  entities and broken equals\u002FhashCode.","iDorgham\u002FWorkspace-Factory","iDorgham","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F136521493?v=4","01M6CNGBDAHE4ARW3YJEF4X2FD","Dorgham","01M71E8H3CXZ7DJX59MTM9JEB2",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002F.ai\u002Fskills\u002Fofficial_kotlin_kotlin_backend_jpa_entity_mapping\u002Fskill.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"backend","kotlin backend jpa entity mapping","mapping","jpa","entity","kotlin","when","entities","Rules","spring","use","plans","design","for","model","orm","bugs","broken","fetch","as","2026-11-10 10:12:30",false,"---\nname: kotlin-backend-jpa-entity-mapping\ndescription: >\n  Model Kotlin persistence code correctly for Spring Data JPA and Hibernate.\n  Covers entity design, identity and equality, uniqueness constraints,\n  relationships, fetch plans, and common ORM (Object-Relational Mapping) traps \n  specific to Kotlin. Use when creating or reviewing JPA (Java Persistence API) \n  entities, diagnosing N+1 or LazyInitializationException, placing indexes and \n  uniqueness rules, or preventing Kotlin-specific bugs such as data class \n  entities and broken equals\u002FhashCode.\nlicense: Apache-2.0\nmetadata:\n  author: JetBrains\n  version: \"1.0.0\"\n---\n\n# JPA Entity Mapping for Kotlin\n\nKotlin's `data class` is natural for DTOs but dangerous for JPA entities. Hibernate relies on\nidentity semantics that `data class` breaks: `equals`\u002F`hashCode` over all fields corrupts\n`Set`\u002F`Map` membership after state changes, and auto-generated `copy()` creates detached\nduplicates of managed entities.\n\nThis skill teaches correct entity design, identity strategies, and uniqueness constraints\nfor Kotlin + Spring Data JPA projects.\n\n## Entity Design Rules\n\n- **Never use `data class` for JPA entities.** Use a regular `class`. Keep `data class` for DTOs.\n- Keep transport DTOs and persistence entities separate unless the project clearly uses a shared model.\n- Model required columns as non-null only when object construction and persistence lifecycle make it safe.\n- Use `lateinit` only when the project already accepts that tradeoff and the lifecycle is safe.\n- Verify `kotlin(\"plugin.jpa\")` or equivalent no-arg support when JPA entities exist.\n- Verify classes and members are compatible with proxying where needed.\n\n## Identity and Equality\n\n- Never accept all-field `equals`\u002F`hashCode` generated by `data class` on an entity.\n- Follow project conventions when they already define an identity strategy.\n- If no convention exists, use ID-based equality with a stable `hashCode`.\n- Be explicit about mutable fields and lazy associations when discussing equality.\n\n### Broken: `data class` Entity\n\n```kotlin\n\u002F\u002F WRONG: data class generates equals\u002FhashCode from ALL fields\ndata class Order(\n    @Id @GeneratedValue val id: Long = 0,\n    var status: String,\n    var total: BigDecimal\n)\n\u002F\u002F BUG: order.status = \"SHIPPED\"; set.contains(order) → false (hash changed)\n\u002F\u002F BUG: Hibernate proxy.equals(entity) → false (proxy has lazy fields uninitialized)\n```\n\n### Correct: Regular Class with ID-Based Identity\n\n```kotlin\n@Entity\n@Table(name = \"orders\")\nclass Order(\n    @Column(nullable = false)\n    var status: String,\n\n    @Column(nullable = false)\n    var total: BigDecimal\n) {\n    @Id\n    @GeneratedValue(strategy = GenerationType.IDENTITY)\n    val id: Long = 0\n\n    override fun equals(other: Any?): Boolean {\n        if (this === other) return true\n        if (other !is Order) return false\n        return id != 0L && id == other.id\n    }\n\n    override fun hashCode(): Int = javaClass.hashCode()\n\n    \u002F\u002F toString must NOT reference lazy collections\n    override fun toString(): String = \"Order(id=$id, status=$status)\"\n}\n```\n\n**Key rules:**\n- `equals` compares by ID only — stable under dirty tracking and proxy unwrapping\n- `hashCode` returns class-based constant — avoids `Set`\u002F`Map` corruption after persist\n- `toString` excludes lazy-loaded relations — prevents `LazyInitializationException`\n- Constructor params are mutable entity fields; `id` is `val` with default\n\n## Uniqueness Constraints\n\nWhen an API must be idempotent (e.g., \"reserve stock for order X\"), enforce uniqueness\nat both layers: database constraint for correctness, application check for clean errors.\n\n### Broken: No Duplicate Guard\n\n```kotlin\n@Service\nclass ReservationService(private val repo: ReservationRepository) {\n    @Transactional\n    fun createReservation(variantId: Long, orderId: String, qty: Int): Reservation {\n        \u002F\u002F BUG: no check — duplicates silently accumulate\n        return repo.save(Reservation(variantId = variantId, orderId = orderId, quantity = qty))\n    }\n}\n```\n\n### Correct: Database Constraint + Application Guard\n\n```kotlin\n@Entity\n@Table(\n    name = \"reservations\",\n    uniqueConstraints = [\n        UniqueConstraint(columnNames = [\"variant_id\", \"order_id\"])\n    ]\n)\nclass Reservation(\n    @Column(name = \"variant_id\", nullable = false)\n    val variantId: Long,\n\n    @Column(name = \"order_id\", nullable = false)\n    val orderId: String,\n\n    @Column(nullable = false)\n    var quantity: Int\n) {\n    @Id @GeneratedValue(strategy = GenerationType.IDENTITY)\n    val id: Long = 0\n}\n\ninterface ReservationRepository : JpaRepository\u003CReservation, Long> {\n    fun findByVariantIdAndOrderId(variantId: Long, orderId: String): Reservation?\n}\n\n@Service\nclass ReservationService(private val repo: ReservationRepository) {\n    @Transactional\n    fun createReservation(variantId: Long, orderId: String, qty: Int): Reservation {\n        repo.findByVariantIdAndOrderId(variantId, orderId)?.let {\n            throw IllegalStateException(\n                \"Reservation already exists for variant=$variantId, order=$orderId\"\n            )\n        }\n        return repo.save(Reservation(variantId = variantId, orderId = orderId, quantity = qty))\n    }\n}\n```\n\n**Key rules:**\n- Database constraint is mandatory — application checks alone have race conditions\n- Application check provides clean error messages — without it, users get raw `DataIntegrityViolationException`\n- Both layers together: application catches the common case, database catches the race\n- Spring Data derives `findByXAndY` queries automatically\n\n## Query and Fetch Rules\n\n- Diagnose N+1 by looking at actual query count or SQL logs, not by guessing from annotations.\n- Prefer targeted fetch solutions: `@EntityGraph`, `JOIN FETCH`, batch fetching, or DTO projection.\n- Be careful with collection fetch joins plus pagination — call out the tradeoff.\n- Use indexes and uniqueness constraints to support real query patterns.\n\n## Common ORM Traps\n\n- **Bidirectional associations:** maintain both sides in domain methods. Half-updated graphs cause subtle bugs.\n- **`orphanRemoval` vs cascade remove:** not interchangeable. Explain lifecycle semantics before choosing.\n- **Lazy load triggers:** `toString`, debug logging, JSON serialization, and IDE inspection can all trigger lazy loads.\n- **Bulk updates\u002Fdeletes:** bypass persistence context and lifecycle callbacks. Subsequent reads may be stale.\n- **Multiple bag fetches:** can cause Cartesian explosion. Verify the ORM can execute collection-heavy fetch plans safely.\n- **`Set` + mutable equality:** collection membership can break after entity state changes.\n- **`@Version`:** the clearest optimistic concurrency mechanism when concurrent updates matter.\n- **`open-in-view` disabled:** DTO mapping touching lazy fields must happen inside a transaction boundary.\n\n## Guardrails\n\n- Do not use `data class` for JPA entities.\n- Do not recommend `FetchType.EAGER` everywhere to silence lazy loading symptoms.\n- Do not expose entities directly through API responses by default.\n- Do not claim an N+1 fix without explaining how the fetch plan changes query behavior.\n","# JPA Entity Mapping for Kotlin\n\nKotlin's `data class` is natural for DTOs but dangerous for JPA entities. Hibernate relies on\nidentity semantics that `data class` breaks: `equals`\u002F`hashCode` over all fields corrupts\n`Set`\u002F`Map` membership after state changes, and auto-generated `copy()` creates detached\nduplicates of managed entities.\n\nThis skill teaches correct entity design, identity strategies, and uniqueness constraints\nfor Kotlin + Spring Data JPA projects.\n\n## Entity Design Rules\n\n- **Never use `data class` for JPA entities.** Use a regular `class`. Keep `data class` for DTOs.\n- Keep transport DTOs and persistence entities separate unless the project clearly uses a shared model.\n- Model required columns as non-null only when object construction and persistence lifecycle make it safe.\n- Use `lateinit` only when the project already accepts that tradeoff and the lifecycle is safe.\n- Verify `kotlin(\"plugin.jpa\")` or equivalent no-arg support when JPA entities exist.\n- Verify classes and members are compatible with proxying where needed.\n\n## Identity and Equality\n\n- Never accept all-field `equals`\u002F`hashCode` generated by `data class` on an entity.\n- Follow project conventions when they already define an identity strategy.\n- If no convention exists, use ID-based equality with a stable `hashCode`.\n- Be explicit about mutable fields and lazy associations when discussing equality.\n\n### Broken: `data class` Entity\n\n```kotlin\n\u002F\u002F WRONG: data class generates equals\u002FhashCode from ALL fields\ndata class Order(\n    @Id @GeneratedValue val id: Long = 0,\n    var status: String,\n    var total: BigDecimal\n)\n\u002F\u002F BUG: order.status = \"SHIPPED\"; set.contains(order) → false (hash changed)\n\u002F\u002F BUG: Hibernate proxy.equals(entity) → false (proxy has lazy fields uninitialized)\n```\n\n### Correct: Regular Class with ID-Based Identity\n\n```kotlin\n@Entity\n@Table(name = \"orders\")\nclass Order(\n    @Column(nullable = false)\n    var status: String,\n\n    @Column(nullable = false)\n    var total: BigDecimal\n) {\n    @Id\n    @GeneratedValue(strategy = GenerationType.IDENTITY)\n    val id: Long = 0\n\n    override fun equals(other: Any?): Boolean {\n        if (this === other) return true\n        if (other !is Order) return false\n        return id != 0L && id == other.id\n    }\n\n    override fun hashCode(): Int = javaClass.hashCode()\n\n    \u002F\u002F toString must NOT reference lazy collections\n    override fun toString(): String = \"Order(id=$id, status=$status)\"\n}\n```\n\n**Key rules:**\n- `equals` compares by ID only — stable under dirty tracking and proxy unwrapping\n- `hashCode` returns class-based constant — avoids `Set`\u002F`Map` corruption after persist\n- `toString` excludes lazy-loaded relations — prevents `LazyInitializationException`\n- Constructor params are mutable entity fields; `id` is `val` with default\n\n## Uniqueness Constraints\n\nWhen an API must be idempotent (e.g., \"reserve stock for order X\"), enforce uniqueness\nat both layers: database constraint for correctness, application check for clean errors.\n\n### Broken: No Duplicate Guard\n\n```kotlin\n@Service\nclass ReservationService(private val repo: ReservationRepository) {\n    @Transactional\n    fun createReservation(variantId: Long, orderId: String, qty: Int): Reservation {\n        \u002F\u002F BUG: no check — duplicates silently accumulate\n        return repo.save(Reservation(variantId = variantId, orderId = orderId, quantity = qty))\n    }\n}\n```\n\n### Correct: Database Constraint + Application Guard\n\n```kotlin\n@Entity\n@Table(\n    name = \"reservations\",\n    uniqueConstraints = [\n        UniqueConstraint(columnNames = [\"variant_id\", \"order_id\"])\n    ]\n)\nclass Reservation(\n    @Column(name = \"variant_id\", nullable = false)\n    val variantId: Long,\n\n    @Column(name = \"order_id\", nullable = false)\n    val orderId: String,\n\n    @Column(nullable = false)\n    var quantity: Int\n) {\n    @Id @GeneratedValue(strategy = GenerationType.IDENTITY)\n    val id: Long = 0\n}\n\ninterface ReservationRepository : JpaRepository\u003CReservation, Long> {\n    fun findByVariantIdAndOrderId(variantId: Long, orderId: String): Reservation?\n}\n\n@Service\nclass ReservationService(private val repo: ReservationRepository) {\n    @Transactional\n    fun createReservation(variantId: Long, orderId: String, qty: Int): Reservation {\n        repo.findByVariantIdAndOrderId(variantId, orderId)?.let {\n            throw IllegalStateException(\n                \"Reservation already exists for variant=$variantId, order=$orderId\"\n            )\n        }\n        return repo.save(Reservation(variantId = variantId, orderId = orderId, quantity = qty))\n    }\n}\n```\n\n**Key rules:**\n- Database constraint is mandatory — application checks alone have race conditions\n- Application check provides clean error messages — without it, users get raw `DataIntegrityViolationException`\n- Both layers together: application catches the common case, database catches the race\n- Spring Data derives `findByXAndY` queries automatically\n\n## Query and Fetch Rules\n\n- Diagnose N+1 by looking at actual query count or SQL logs, not by guessing from annotations.\n- Prefer targeted fetch solutions: `@EntityGraph`, `JOIN FETCH`, batch fetching, or DTO projection.\n- Be careful with collection fetch joins plus pagination — call out the tradeoff.\n- Use indexes and uniqueness constraints to support real query patterns.\n\n## Common ORM Traps\n\n- **Bidirectional associations:** maintain both sides in domain methods. Half-updated graphs cause subtle bugs.\n- **`orphanRemoval` vs cascade remove:** not interchangeable. Explain lifecycle semantics before choosing.\n- **Lazy load triggers:** `toString`, debug logging, JSON serialization, and IDE inspection can all trigger lazy loads.\n- **Bulk updates\u002Fdeletes:** bypass persistence context and lifecycle callbacks. Subsequent reads may be stale.\n- **Multiple bag fetches:** can cause Cartesian explosion. Verify the ORM can execute collection-heavy fetch plans safely.\n- **`Set` + mutable equality:** collection membership can break after entity state changes.\n- **`@Version`:** the clearest optimistic concurrency mechanism when concurrent updates matter.\n- **`open-in-view` disabled:** DTO mapping touching lazy fields must happen inside a transaction boundary.\n\n## Guardrails\n\n- Do not use `data class` for JPA entities.\n- Do not recommend `FetchType.EAGER` everywhere to silence lazy loading symptoms.\n- Do not expose entities directly through API responses by default.\n- Do not claim an N+1 fix without explaining how the fetch plan changes query behavior.\n",{"name":5,"license":15,"metadata":44,"description":47},{"author":45,"version":46},"JetBrains","1.0.0","Model Kotlin persistence code correctly for Spring Data JPA and Hibernate. Covers entity design, identity and equality, uniqueness constraints, relationships, fetch plans, and common ORM (Object-Relational Mapping) traps  specific to Kotlin. Use when creating or reviewing JPA (Java Persistence API)  entities, diagnosing N+1 or LazyInitializationException, placing indexes and  uniqueness rules, or preventing Kotlin-specific bugs such as data class  entities and broken equals\u002FhashCode.\n","master","c2e410e11df4d80d885e0ecf0583ef3c926df736",".ai\u002Fskills\u002Fofficial_kotlin_kotlin_backend_jpa_entity_mapping",0,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory","https:\u002F\u002Fgithub.com\u002FiDorgham","Dorgham.me","hey I'm Dorgham \r\nI code, I create, and AI codes back. \r\nMaybe we can give AI the chance!! now we begin. 🚀🤖\r\n... . . . git commit -m \"Hello, Future\" ","2026-05-04 18:39:09",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add iDorgham\u002FWorkspace-Factory --skill kotlin-backend-jpa-entity-mapping",{"tool":63,"command":64},"bunx","bunx skills add iDorgham\u002FWorkspace-Factory --skill kotlin-backend-jpa-entity-mapping",{"tool":66,"command":67},"pnpm","pnpm dlx skills add iDorgham\u002FWorkspace-Factory --skill kotlin-backend-jpa-entity-mapping","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002F.ai\u002Fskills\u002Fofficial_kotlin_kotlin_backend_jpa_entity_mapping\u002Fskill.md",true,[],[72,100,121,142,160,179],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":99},"01M71P8WVBMB2X3D24R0YT0B0E","vercel-react-view-transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.","MIT","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_react_view_transitions\u002Fskill.md",[],[80,81,82,83,84,85,86,87,88,89,90,91,92,93,25,94,95,96,97,98],"react","vercel react view transitions","view","react view transitions","vercel","transitions","shared","back","Animation","css","types","states","element","implementing","components","api","route","create","libraries","2026-11-10 13:02:02",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":99},"01M71P8TDGHZ289TSAC5VTG2EW","vercel-react-native-skills","React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_react_native_skills\u002Fskill.md",[],[80,107,108,84,109,110,111,112,93,113,25,114,94,115,116,117,118,119,120,32],"react native","native","vercel react native skills","react native skills","modules","performance","apps","tasks","mobile","expo","list","mobile performance","platform","animations",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":99},"01M71P8QK4JF5BYRGYDDGPZQG9","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_react_best_practices\u002Fskill.md",[],[80,128,129,84,130,112,131,25,132,114,94,133,134,135,136,137,138,139,140,141],"react best practices","vercel react best practices","best practices","writing","code","data fetching","react components","next","refactoring","data","patterns","Optimization","guidelines","triggers",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":99},"01M71P8HVEA70K5N6ZVJCG2ED3","vercel-composition-patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_composition_patterns\u002Fskill.md",[],[149,84,150,138,151,152,153,154,141,155,156,29,25,157,114,94,158,159,95,80],"Composition","composition patterns","vercel composition patterns","react composition patterns","react 19","render","boolean","component architecture","reusable","architecture","react composition",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":99},"01M71P60XXKKP222ZFJRG7R373","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\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_supabase_supabase_postgres_best_practices\u002Fskill.md",[],[167,168,169,170,130,171,172,173,32,139,112,174,175,131,176,29,27,177,178,25],"postgres best practices","supabase","postgres","supabase postgres best practices","categories","postgres performance","advanced","correct","schema","impact","critical","database",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":201},"01M71P2ZCEJD0PKC458YTP1FJW","portable-text-serialization","Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown, extracting plain text from Portable Text, or troubleshooting rendering issues with marks, blocks, lists, or custom types.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_sanity_io_portable_text_serialization\u002Fskill.md",[],[186,187,188,189,190,90,191,154,192,93,193,194,25,80,195,196,197,198,199,200],"text","portable text serialization","portable","serialization","extracting","strings","issues","frontend","svelte","sanity","astro","server","markdown","rendering","vue","2026-11-10 10:56:23"]