arxdsilva/agent-office / .claude/skills/scene-change
scene-change
VerifiedChange the agent-office 3D scene at runtime — which wing, desk or room an agent uses, agent behavior and choreography, characters and animation playback, labels, lighting/render pipeline and quality presets, camera or walk controls. Use for any edit to packages/web/src/app/{building,seating,reservations,behavior,navigation,choreography,layout}.ts, packages/web/src/adapters/three/*, or shared/src/grouping.ts. For the Blender assets themselves use asset-change.
Change the 3D scene
Rules: SCENE.md, TESTING.md, PRIVACY_SECURITY.md (text via textContent).
- Organization or positions? Start in pure code, test-first (
packages/web/src/app/):- who goes where →
packages/shared/src/grouping.ts(+grouping.test.ts) - which wing a provider gets, annexes, world anchors and the merged nav graph →
building.ts - which desk an agent gets (topic → pod, subagents next to the parent, stable seats) →
seating.ts - which room an agent goes to and when (meeting, booth, kitchen, lounge, cafe, ping-pong, arriving, leaving) →
behavior.ts+reservations.ts - how it gets there (paths, timing, clip sequences, no snapping) →
navigation.ts+choreography.ts - what the panel and tags say →
view-models.ts(activityLabel,data-activity) - Positions come only from manifest anchors (
docs/graphics-contract.md). If the building itself must change, that is/asset-change.
- who goes where →
- Visuals (
packages/web/src/adapters/three/*): the scene implements theSceneViewport — decisions stay in the controller and the pure modules. Load the Blender-built glbs and the character frompublic/assets(served underapp://renderer/assets/…in production), reuse cached geometries and materials (clone per instance only for tinted materials, screens and LEDs), colors only fromSTATUS_COLORS, no allocations inupdate(), dispose on removal. Respect the quality preset passed tosetQualityand the animation rules inSCENE.md(in-place clips, crossfades,WalktimeScale follows speed). - Verify visually with
/run-office: the atrium, Main Street and each wing; agents sitting exactly at their seats, walking without foot sliding, rooms used as expected; labels not overlapping; light and dark mode; walk mode collisions.make screenshotscaptures the fixed camera bookmarks. - Perf budget:
make perf(150 mock agents, FPS report; target ≥ 55 fps average at Medium). Interactively: withmake dev-mockrunning,curl -X POST -H "authorization: Bearer $(cat ~/.agent-office/token)" 'http://127.0.0.1:4317/api/mock?n=150'and open?statsfor FPS, draw calls and triangles. - UI or behavior change → add/adjust a spec in
packages/desktop/e2e/(building,behavior,quality; assert ondata-activityand panel text); runmake build test-ui. make check.
2D RPG mode: see docs/2d-architecture.md. The pure logic is in web/src/app/pixel/*, the Canvas2D drawing in web/src/adapters/pixel/*, the art in assets/pixel/src (make pixel-assets), and the floor plans come from make assets-plan. Check both modes with pixel.spec.ts and the existing 3D specs.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |