본문으로 건너뛰기
cccskills
무료GitHub에 공개

native-addons

Work on Node3D C++ addons, addon-tools bindings, binding.gyp/common.gypi, install.js, ts/native.ts, native handles, lifetime safety, and native verification.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

node-3d/node-3d스타 67(GitHub 67 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.4 KB
  • agents/openai.yaml185 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Native Addons

Owns

Native addon source/binding contracts and package-native plumbing.

Workflow

  1. Identify the affected standalone package and inspect C++ exports before changing TypeScript native types.
  2. Keep ts/native.ts a narrow, precise adapter over the binary surface.
  3. Validate external inputs, lengths, pointer/handle semantics, ownership, and destroyed-object async paths.
  4. Preserve standalone build/install behavior; do not introduce root-only paths.
  5. For standalone native consumer validation, install with normal npm ci so dependency postinstall hooks provide their binary artifacts. Reserve --ignore-scripts for metadata-only work that will not build, load, or run native code. Never invoke a dependency installer from the consumer directory: its lifecycle working directory is part of its binary-path contract.
  6. Run the focused native/build/type/test checks that match the changed layer.
  7. If public native behavior changes, ensure Contract Gate is YES and synchronize wrapper tests/docs/examples as needed.

On ELF platforms, link redistributable shared libraries through linker search directories and logical -l names. Do not pass a slash-containing build or SDK path for a runtime .so dependency unless that dependency has a verified portable DT_SONAME. Keep colocated runtime libraries discoverable through $ORIGIN and validate the packed package from an isolated consumer job.

Binding Boundary Policy

Follow docs/adr/0015-native-addon-cpp-binding-organization.md for every non-trivial native addon. bindings.cpp is the mount table only; place API wrappers, callback bridges, state, and resource behavior in thematically named files. Prefer the matching addon-tools argument and return macro for ordinary JS arity/type conversion. Add custom checks only for an upstream constraint, memory/ownership safety, or an explicitly documented Node3D contract; do not duplicate macro checks or add speculative abstraction at the binding boundary.

Load References

Load .agents/references/native-addons.md for package shape, binding organization, GYP/install conventions, or pointer/lifetime rules.

Add $publishing only for package/pack/install release state, not for ordinary native implementation work.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

ci

무료

Maintain Node3D GitHub Actions, reusable CI patterns, install modes, matrices, native/GPU/platform limits, lint/test/build jobs, and validation semantics.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

node-3d/node-3d672026년 10월 15일 업데이트

compute

무료

Work on CUDA, OpenCL, GLSL compute, GL/CUDA or GL/OpenCL interop, GPU data ownership, kernels, argument packing, and compute-driven rendering.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

node-3d/node-3d672026년 10월 15일 업데이트

core

무료

Work on @node-3d/core browser-like runtime, Document/Window/canvas behavior, WebGL/Three.js compatibility, globals, context and resource behavior.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

node-3d/node-3d672026년 10월 15일 업데이트

deps

무료

Work on Node3D deps-* packages, third-party binaries/headers, getPaths/bin/include contracts, redistribution, provenance, and binary layout consumers.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

node-3d/node-3d672026년 10월 15일 업데이트

docs

무료

Write and maintain Node3D package READMEs, API text, usage snippets, package roles, platform/install notes, and source-backed consumer documentation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

node-3d/node-3d672026년 10월 15일 업데이트

examples

무료

Create, review, or maintain Node3D runnable examples, consumer-style package imports, feature demos, vendor adaptations, assets, and example validation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

node-3d/node-3d672026년 10월 15일 업데이트

node-3d의 스킬 모두 보기

이 스킬의 문제 신고