[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCAF8HESE11EQ4WN28V8ZQ":3,"skill-same:01M6MCAF8HESE11EQ4WN28V8ZQ":81},{"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":23,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":62,"ownerHtmlUrl":63,"ownerBlogUrl":64,"ownerDescription":65,"updatedAt":66,"install":67,"resources":80},"01M6MCAF8HESE11EQ4WN28V8ZQ","game-vector-math-primitives",null,"Apply vector math primitives for game rendering, collision, orientation, lighting, steering, and geometry predicates. Use when working with dot products, cross products, triple products, normals, projections, signed areas, signed volumes, facing checks, or vector normalization.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgame-vector-math-primitives\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"game vector math primitives","vector","game","math","primitives","dot","when","apply","orientation","for","with","rendering","projections","geometry","lighting","codex","use","normalization","game development","dev","code","development","2026-11-10 10:12:30",false,"---\nname: game-vector-math-primitives\ndescription: Apply vector math primitives for game rendering, collision, orientation, lighting, steering, and geometry predicates. Use when working with dot products, cross products, triple products, normals, projections, signed areas, signed volumes, facing checks, or vector normalization.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: Game Vector Math Primitives\n  category: Game Development\n  tags: game-dev,game-geometry,vectors,rendering,collision\n---\n\n# Game Vector Math Primitives\n\nUse this skill when game code depends on vector operations whose geometric\nmeaning matters. Prefer clear primitives and named intent over opaque formula\npaste.\n\nPrimary source: Geometry for Programmers by Oleksandr Kaleniuk\n(https:\u002F\u002Fwww.manning.com\u002Fbooks\u002Fgeometry-for-programmers), transformed and\nparaphrased, especially chapters 2 and 9.\n\n## Core Workflow\n\n1. Identify the geometric question: angle, projection, side, area, normal,\n   volume, distance, facing, or interpolation.\n2. Choose the primitive that answers that question directly.\n3. Check the input assumptions: dimensionality, coordinate space, units,\n   handedness, normalization, and zero-length vectors.\n4. Preserve sign when orientation or sidedness matters. Discard sign only when\n   the caller truly needs magnitude.\n5. Name intermediate values by meaning: `normal`, `signed_area2`,\n   `light_factor`, `plane_distance`, `facing`, `projection_t`.\n6. Add tests that exercise orientation, reversed winding, orthogonal vectors,\n   parallel vectors, and zero-length inputs.\n\n## Primitive Guide\n\n### Dot Product\n\nUse dot products for:\n\n- Projection onto a direction.\n- Angle\u002Ffacing tests.\n- Lambert-style lighting coefficients.\n- Distance along a ray or segment.\n- Checking orthogonality: dot equals zero under the numeric policy.\n\nIf both vectors are normalized, the dot product is the cosine of the angle\nbetween them. Clamp before inverse cosine if a display angle is needed.\n\n### Cross Product And 2D Cross Scalar\n\nUse cross products for:\n\n- Surface normals from two triangle edges.\n- Signed 2D orientation tests.\n- Twice the signed area of a 2D triangle.\n- Detecting parallel vectors through near-zero magnitude.\n- Building tangent frames with a known handedness.\n\nFor 2D, use the scalar `a.x * b.y - a.y * b.x` instead of constructing fake 3D\nvectors unless the codebase already uses a 3D type.\n\n### Triple Product\n\nUse the scalar triple product for:\n\n- Signed volume.\n- Point side relative to an oriented plane.\n- Point-to-plane distance when divided by the plane normal length.\n- Tetrahedron orientation and containment-style predicates.\n\nKeep the sign when side matters. Take absolute value only for unsigned volume or\ndistance.\n\n## Guardrails\n\n- Never normalize before checking vector length.\n- Distinguish a direction vector from a point vector in naming and APIs.\n- Keep normals in the same space as the vectors they are compared with.\n- Recompute or transform normals correctly after nonuniform scale.\n- Decide whether clockwise or counterclockwise winding is canonical.\n- Use squared length when comparing distances and no square root is needed.\n- Avoid inverse trigonometric functions in hot paths unless a real angle is\n  required. Dot thresholds are usually cheaper.\n\n## Common Mistakes\n\n- Treating every vector as normalized because examples used unit vectors.\n- Losing useful sign information by taking absolute values too early.\n- Mixing coordinate spaces in one dot or cross operation.\n- Using angle calculations where a dot-product threshold would be simpler.\n- Flipping triangle winding without updating normals, culling, or orientation\n  predicates.\n","# Game Vector Math Primitives\n\nUse this skill when game code depends on vector operations whose geometric\nmeaning matters. Prefer clear primitives and named intent over opaque formula\npaste.\n\nPrimary source: Geometry for Programmers by Oleksandr Kaleniuk\n(https:\u002F\u002Fwww.manning.com\u002Fbooks\u002Fgeometry-for-programmers), transformed and\nparaphrased, especially chapters 2 and 9.\n\n## Core Workflow\n\n1. Identify the geometric question: angle, projection, side, area, normal,\n   volume, distance, facing, or interpolation.\n2. Choose the primitive that answers that question directly.\n3. Check the input assumptions: dimensionality, coordinate space, units,\n   handedness, normalization, and zero-length vectors.\n4. Preserve sign when orientation or sidedness matters. Discard sign only when\n   the caller truly needs magnitude.\n5. Name intermediate values by meaning: `normal`, `signed_area2`,\n   `light_factor`, `plane_distance`, `facing`, `projection_t`.\n6. Add tests that exercise orientation, reversed winding, orthogonal vectors,\n   parallel vectors, and zero-length inputs.\n\n## Primitive Guide\n\n### Dot Product\n\nUse dot products for:\n\n- Projection onto a direction.\n- Angle\u002Ffacing tests.\n- Lambert-style lighting coefficients.\n- Distance along a ray or segment.\n- Checking orthogonality: dot equals zero under the numeric policy.\n\nIf both vectors are normalized, the dot product is the cosine of the angle\nbetween them. Clamp before inverse cosine if a display angle is needed.\n\n### Cross Product And 2D Cross Scalar\n\nUse cross products for:\n\n- Surface normals from two triangle edges.\n- Signed 2D orientation tests.\n- Twice the signed area of a 2D triangle.\n- Detecting parallel vectors through near-zero magnitude.\n- Building tangent frames with a known handedness.\n\nFor 2D, use the scalar `a.x * b.y - a.y * b.x` instead of constructing fake 3D\nvectors unless the codebase already uses a 3D type.\n\n### Triple Product\n\nUse the scalar triple product for:\n\n- Signed volume.\n- Point side relative to an oriented plane.\n- Point-to-plane distance when divided by the plane normal length.\n- Tetrahedron orientation and containment-style predicates.\n\nKeep the sign when side matters. Take absolute value only for unsigned volume or\ndistance.\n\n## Guardrails\n\n- Never normalize before checking vector length.\n- Distinguish a direction vector from a point vector in naming and APIs.\n- Keep normals in the same space as the vectors they are compared with.\n- Recompute or transform normals correctly after nonuniform scale.\n- Decide whether clockwise or counterclockwise winding is canonical.\n- Use squared length when comparing distances and no square root is needed.\n- Avoid inverse trigonometric functions in hot paths unless a real angle is\n  required. Dot thresholds are usually cheaper.\n\n## Common Mistakes\n\n- Treating every vector as normalized because examples used unit vectors.\n- Losing useful sign information by taking absolute values too early.\n- Mixing coordinate spaces in one dot or cross operation.\n- Using angle calculations where a dot-product threshold would be simpler.\n- Flipping triangle winding without updating normals, culling, or orientation\n  predicates.\n",{"name":5,"license":15,"metadata":51,"description":7,"compatibility":56},{"tags":52,"version":53,"category":54,"displayName":55},"game-dev,game-geometry,vectors,rendering,collision","0.1.0","Game Development","Game Vector Math Primitives","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgame-vector-math-primitives",491,"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 14:06:13",{"source":8,"skillName":5,"commands":68,"prompt":78,"zipAvailable":79},[69,72,75],{"tool":70,"command":71},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill game-vector-math-primitives",{"tool":73,"command":74},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill game-vector-math-primitives",{"tool":76,"command":77},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill game-vector-math-primitives","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fgame-vector-math-primitives\u002FSKILL.md",true,[],[82,91,99,107,115,123],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":90},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"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":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":90},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":90},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":90},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":119,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":90},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\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":127,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":90},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]