threejs-build-code-characters
Author source-native Three.js characters, creatures, and runtime actors through the CODE pipeline's character profile, six ordered gates, independent review, and deterministic evidence. Use when an actor's silhouette, anatomy, articulation, skinning, animation, attachments, contacts, or lifecycle behavior needs character-specific production beyond a generic procedural model.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- threejs-build-code-characters
- engines
- [ "THREEJS" ]
- description
- Author source-native Three.js characters, creatures, and runtime actors through the CODE pipeline's character profile, six ordered gates, independent review, and deterministic evidence. Use when an actor's silhouette, anatomy, articulation, skinning, animation, attachments, contacts, or lifecycle behavior needs character-specific production beyond a generic procedural model.
02 资源文件 6
- 参考文档agents/openai.yaml262 B
- 参考文档references/build-gates.md1.6 KB
- 参考文档references/design-contract.md1.4 KB
- 参考文档references/evidence-adapter.md2.8 KB
- 参考文档references/failure-recovery.md1.0 KB
- 参考文档references/rig-animation.md1.1 KB
03 SKILL.md 正文
Build Three.js Code Characters
Engine activation
Run commands/resolve-engine.sh and commands/resolve-skill.sh threejs-build-code-characters before activation, edits or tool launches. Require compatible THREEJS selection. An explicit isolated prototype uses recorded --evidence and validates each --output; CODE producer commands accept --engine-evidence FILE and explicit prototype source paths. Manifests/reports stay in the recorded task. Never switch engines or art pipelines implicitly.
When to use
- The resolved art pipeline is
CODEand the requested model is a character, creature, animated actor, enemy, NPC, avatar, mount, or other embodied runtime subject. - The source must expose stable semantic parts, anchors, motion ownership, and disposal without a downloaded or generated runtime mesh.
- Use
threejs-build-code-modelsdirectly for props, vehicles without actor behavior, environments, and other generic procedural models.
Workflow
- Read
STYLE.md, resolveCODE, and followthreejs-build-code-modelsplus the CODE pipeline contract. Never install or bundle Three.js. - Freeze the character brief, presentation context, semantic graph, motion mode, and budgets using design-contract.md.
- Create and validate the generic code-model manifest, then create the linked code-character profile. Keep profile creation source-independent.
- Author the model in generic pass order. Apply the character-specific acceptance gate paired to each pass from build-gates.md.
- For reviewer gates, prepare an answer-neutral packet and invoke
threejs-review-code-characterswith an identity outside the active builder set. For machine gates, follow evidence-adapter.md, require calibrated passing and failing fixtures, and stop if the required measurement adapter is unavailable. - Record the character-gate result before recording a passing generic CODE review for that pass. Change strategy after failure and follow failure-recovery.md.
- For articulated or skinned work, apply rig-animation.md before accepting interaction or optimization.
- Run complete validation for both linked artifacts and representative host build/runtime checks, including repeated create, update, animation, attachment, and dispose cycles.
Output
- Host-native Three.js TypeScript or JavaScript with a stable factory, semantic parts and anchors, deterministic inputs, and explicit cleanup.
- A complete generic code-model manifest and linked
hephaera-code-character/v1profile. - Immutable gate evidence, independent reviewer packets where required, calibrated machine results, and explicit residual risks.
Guardrails
- Do not use an external mesh, model library, generated asset, or downloaded actor as the primary runtime implementation.
- Do not let a builder review the same concrete cycle, disclose intended answers to a reviewer, fabricate machine evidence, or mark aesthetic judgment as machine-approved.
- Do not skip, rename, append, make optional, or reorder the six character gates.
- Do not silently change the selected pipeline, motion mode, source contract, presentation scale, or budgets.
Commands
./commands/create-code-character-profile.sh CHARACTER_ID --manifest MANIFEST --brief TEXT --intended-use TEXT [options]./commands/validate-code-character-profile.sh [--strict|--complete] PROFILE.json./commands/record-code-character-calibration.sh PROFILE.json --gate GATE --passing REPORT.json --failing REPORT.json [options]./commands/record-code-character-gate.sh PROFILE.json --gate GATE --decision DECISION --summary TEXT --strategy TEXT --evidence KIND=FILE [options]./commands/measure-code-character-evidence.sh analyze PROFILE.json --measurements FILE --output REPORT.json [--compare REPORT.json]./commands/measure-code-character-evidence.sh capture PROFILE.json --adapter ADAPTER.mjs --output-dir DIR [options]./commands/record-code-model-review.sh MANIFEST.json --pass PASS --decision pass --summary TEXT --character-profile PROFILE.json --evidence VIEW=FILE ...
04 同仓库更多 Skills
verify-web3-game-lifecycle
Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.
verify-onchain-game-assets
Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.
plan-web3-game-assets
Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
integrate-game-asset-trading
Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.
build-evm-game-contracts
Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.