[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76VZNF2B5CTB81QRZPNEMQA":3,"skill-same:01M76VZNF2B5CTB81QRZPNEMQA":115},{"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":38,"commitSha":39,"skillDirectory":40,"forksCount":14,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M76VZNF2B5CTB81QRZPNEMQA","database-design-patterns",null,"Use when designing relational database schemas, normalizing data, choosing keys and constraints, or applying transactions, indexing, and partitioning patterns. Do not use when the task is engine-specific operations or NoSQL design.","HarleyBartles\u002Fagent-asset-marketplace","HarleyBartles","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F32537371?v=4","01M7590KP2F50J1QPVEK7V7071","Harley Bartles","01M7590KQ4B141665T2GDDCWQX",0,"MIT","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: database-design-patterns\ndescription: Use when designing relational database schemas, normalizing data, choosing keys and constraints, or applying transactions, indexing, and partitioning patterns. Do not use when the task is engine-specific operations or NoSQL design.\nmetadata:\n  source-id: database-design-patterns\n  source-path: skills\u002Fdatabase-design-patterns\u002FSKILL.md\n  provenance-name: Database Design Patterns first-party skill\n  source-category: first_party\n  status: active\n  owner: Harley Bartles\n  scope: Engine-agnostic relational database design and optimization patterns\n  use_when:\n    - designing or reviewing a relational database schema\n    - normalizing tables, choosing keys, or defining constraints\n    - modeling transactions, concurrency, views, or stored procedures\n    - planning indexes, partitions, or query tuning\n  do_not_use_when:\n    - engine-specific operations; prefer database-engines\n    - NoSQL or document databases\nlicense: MIT\n---\n\n# Database Design Patterns\n\nUse this skill for engine-agnostic relational design: data modeling, normalization, keys and constraints, views and programmability, transactions and concurrency, indexing, and partitioning. The operational references adapt the BCcampus *Database Design – 2nd Edition* textbook and supplement it with citable indexing, query-tuning, and architecture references.\n\n## Core topics\n\n1. Start with `references\u002Fdata-modeling.md` for conceptual, logical, and physical models.\n2. Use `references\u002Fnormalization.md` for normal forms and functional dependencies.\n3. Read `references\u002Fkeys-and-constraints.md` for keys, uniqueness, and domains.\n4. Use `references\u002Fviews-and-programmability.md` for views, procedures, functions, and triggers.\n5. Read `references\u002Ftransactions-and-concurrency.md` for isolation, locking, and deadlocks.\n6. Use `references\u002Findexing-and-query-tuning.md` for index strategy and plan fundamentals.\n7. Read `references\u002Fpartitioning-and-sharding.md` for scale-out basics.\n\n## Common mistakes\n\n- Designing for today only, ignoring query patterns and growth.\n- Skipping normalization or over-normalizing without reason.\n- Using natural keys that are not stable or not unique.\n- Adding indexes without checking the query plan.\n- Treating sharding as a fix for poor indexing or bad queries.\n\nFor source-grounded detail, read `assets\u002Fauthority\u002FCITATIONS.md` and `assets\u002Fauthority\u002Fsource-map.yaml`.\n","# Database Design Patterns\n\nUse this skill for engine-agnostic relational design: data modeling, normalization, keys and constraints, views and programmability, transactions and concurrency, indexing, and partitioning. The operational references adapt the BCcampus *Database Design – 2nd Edition* textbook and supplement it with citable indexing, query-tuning, and architecture references.\n\n## Core topics\n\n1. Start with `references\u002Fdata-modeling.md` for conceptual, logical, and physical models.\n2. Use `references\u002Fnormalization.md` for normal forms and functional dependencies.\n3. Read `references\u002Fkeys-and-constraints.md` for keys, uniqueness, and domains.\n4. Use `references\u002Fviews-and-programmability.md` for views, procedures, functions, and triggers.\n5. Read `references\u002Ftransactions-and-concurrency.md` for isolation, locking, and deadlocks.\n6. Use `references\u002Findexing-and-query-tuning.md` for index strategy and plan fundamentals.\n7. Read `references\u002Fpartitioning-and-sharding.md` for scale-out basics.\n\n## Common mistakes\n\n- Designing for today only, ignoring query patterns and growth.\n- Skipping normalization or over-normalizing without reason.\n- Using natural keys that are not stable or not unique.\n- Adding indexes without checking the query plan.\n- Treating sharding as a fix for poor indexing or bad queries.\n\nFor source-grounded detail, read `assets\u002Fauthority\u002FCITATIONS.md` and `assets\u002Fauthority\u002Fsource-map.yaml`.\n",{"name":5,"license":15,"metadata":24,"description":7},{"owner":12,"scope":25,"status":26,"use_when":27,"source-id":5,"source-path":32,"do_not_use_when":33,"provenance-name":36,"source-category":37},"Engine-agnostic relational database design and optimization patterns","active",[28,29,30,31],"designing or reviewing a relational database schema","normalizing tables, choosing keys, or defining constraints","modeling transactions, concurrency, views, or stored procedures","planning indexes, partitions, or query tuning","skills\u002Fdatabase-design-patterns\u002FSKILL.md",[34,35],"engine-specific operations; prefer database-engines","NoSQL or document databases","Database Design Patterns first-party skill","first_party","main","61dfbcb84501e21a9904b55b207485abcb0b2ffa","skills\u002Fdatabase-design-patterns","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace","https:\u002F\u002Fgithub.com\u002FHarleyBartles","Full Stack Software Engineer","2026-10-08 23:51:53",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add HarleyBartles\u002Fagent-asset-marketplace --skill database-design-patterns",{"tool":51,"command":52},"bunx","bunx skills add HarleyBartles\u002Fagent-asset-marketplace --skill database-design-patterns",{"tool":54,"command":55},"pnpm","pnpm dlx skills add HarleyBartles\u002Fagent-asset-marketplace --skill database-design-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002FSKILL.md",true,[59,65,71,75,79,83,87,91,95,99,103,107,111],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"agents\u002Fopenai.yaml","REFERENCE","参考文档",573,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Fagents\u002Fopenai.yaml",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"assets\u002Fauthority\u002Fauthority.yaml","ASSET","资产文件",3020,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Fassets\u002Fauthority\u002Fauthority.yaml",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"assets\u002Fauthority\u002FCITATIONS.md",2162,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Fassets\u002Fauthority\u002FCITATIONS.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"assets\u002Fauthority\u002Freference-source\u002Fdatabase-design-2e\u002FDatabase-Design-2nd-Edition.pdf",2956494,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Fassets\u002Fauthority\u002Freference-source\u002Fdatabase-design-2e\u002FDatabase-Design-2nd-Edition.pdf",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"assets\u002Fauthority\u002Fsource-map.yaml",2388,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Fassets\u002Fauthority\u002Fsource-map.yaml",{"path":84,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fdata-modeling.md",511,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Freferences\u002Fdata-modeling.md",{"path":88,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Findexing-and-query-tuning.md",549,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Freferences\u002Findexing-and-query-tuning.md",{"path":92,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fkeys-and-constraints.md",503,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Freferences\u002Fkeys-and-constraints.md",{"path":96,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Fnormalization.md",483,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Freferences\u002Fnormalization.md",{"path":100,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Foperational-guidance.md",424,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Freferences\u002Foperational-guidance.md",{"path":104,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Fpartitioning-and-sharding.md",530,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Freferences\u002Fpartitioning-and-sharding.md",{"path":108,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Ftransactions-and-concurrency.md",517,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Freferences\u002Ftransactions-and-concurrency.md",{"path":112,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fviews-and-programmability.md",558,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdatabase-design-patterns\u002Freferences\u002Fviews-and-programmability.md",[116,123,130,137,143,150],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M76WCC1A6JQP15DX8HPZ5C5J","writing","Use when drafting, revising, or reviewing prose for human readers and clarity, an authorised voice, or reader-fatigue concerns may interact.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M76WC4DSHYD15E8BDPQ433XF","writing-with-clarity","Use when drafting, revising, or reviewing prose intended for human readers, including documentation, README files, reports, explanations, UI copy, errors, comments, commit messages, and pull request text.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-with-clarity\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M76WBZ9MYM991K6QKY1DN4MK","writing-style","Use when revising or reviewing human-facing prose against an authorised voice card or a contextual reader-fatigue profile.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-style\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":19},"01M76WBVKC1Y158TTZJR400A4J","skill","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002Ftemplates\u002Fskill\u002FSKILL.md",[],[],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":19},"01M76WBFD4D1XY20075H00AGYK","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":19},"01M76WB8S7XZZFTFFCFYW1J9CW","writing-roadmaps","Use when a goal is too large for one writing-plans plan and requires a sequenced roadmap of consecutive plans.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-roadmaps\u002FSKILL.md",[],[]]