소스 정보
- 저장소
- arm2arm/AstroAgentAssistant
- 최근 소스 활동
- 2026년 8월 26일 12:28
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/arm2arm/AstroAgentAssistant --skill webxr-hit-test-pitfalls명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
S3/MinIO operations: connectivity, transfers, read benchmarks, and matplotlib visualization templates.
Complete guide to the REANA reproducible analytics platform: Dockerized client setup, multi-backend profiles, workflow authoring patterns, S3 dataset workflows, and best practices. Covers dev/prod backends, serial workflows, REANA_WORKSPACE usage, and self-learning from finished workflows.
Complete guide to working with Arepo simulation HDF5 files: structure inspection, unit conversion, radial profiles, slice projections, and dimensionality reduction (UMAP/t-SNE) for clustering analysis.
SKILL.md 표시 중
| name | webxr-hit-test-pitfalls |
| description | Debug hit-test failures and placement marker issues. |
| version | 1.0.0 |
| author | Hermes Agent + Dr. Arman Khalatyan |
Use this skill when debugging AR placement marker issues in Three.js WebXR portals.
matrix.decompose() throws "cannot assign to readonly property 'position'"reticle.matrixAutoUpdate = true (never false)reticle.visible = false initially, positioned far away (set(0, -100, 0))let hitStabilityCount = 0; // consecutive stable hit count
const HIT_STABLE_THRESHOLD = 3; // N consistent hits before showing
let groundDetected = false;
// In render loop — only flip to visible after threshold met:
if (results.length > 0 && pose && pose.transform.position) {
hitStabilityCount++;
reticle.position.set(pose.transform.position.x, ...);
if (hitStabilityCount >= HIT_STABLE_THRESHOLD && !groundDetected) {
groundDetected = true;
reticle.visible = true;
scanningOverlay.classList.remove('active'); // hide DOM scan overlay
}
} else {
hitStabilityCount = Math.max(0, hitStabilityCount - (results.length > 0 ? 1 : 2));
}
groundDetected, if tracking is lost (hitStabilityCount → 0), keep reticle visible at last known position — don't hide again unless explicitly resuming scan modeAnti-pattern: Showing/hiding reticle every frame based on single hit-test result. This flickers during calibration and makes the marker appear/disappear as user moves phone, causing "scan grid disappears when I turn head" reports.
referenceSpace obtained FIRST (local-floor or viewer fallback)requestHitTestSource({ space: referenceSpace }) uses the SAME spaceframe.getHitTestResults() pose extraction uses same referenceSpacereticle.position.set(pose.transform.position.x, ...)reticle.matrix.fromArray(hitPose.transform.matrix) — destroys rotationmatrix.decompose() — throws on Three.js r160+ Groupsreticle.getWorldPosition(pos) — safereticle.getWorldQuaternion(quat) — safematrix.decompose(pos, quat, scale) — throws exception// Build reticle as Group, HIDDEN initially
const reticleGroup = new THREE.Group();
const ringMesh = new THREE.Mesh(
new THREE.RingGeometry(0.35, 0.55, 48),
new THREE.MeshBasicMaterial({ color: 0x38bdf8, transparent: true, opacity: 1, side: THREE.DoubleSide })
);
ringMesh.rotation.x = -Math.PI / 2;
reticleGroup.add(ringMesh);
// ... add innerDisc and outerGlow ...
reticle = reticleGroup;
reticle.matrixAutoUpdate = true;
reticle.visible = false; // HIDDEN — only shown after stable ground detection
scene.add(reticle);
// Scan particles: ALWAYS parent to reticle (NOT scene) so they inherit world matrix.
// Spread in a circle around origin (reticle space), not random scene coordinates.
const particleCount = 120;
const positions = new Float32Array(particleCount * 3);
( i = ; i < particleCount; i++) {
r = .() * ;
theta = .() * . * ;
positions[i*] = r * .(theta);
positions[i*+] = ;
positions[i*+] = r * .(theta);
}
particleGeo = .();
particleGeo.(, .(positions, ));
scanParticles = .(particleGeo, particleMaterial);
reticle.(scanParticles);
hitStabilityCount = ;
groundDetected = ;
= ;
referenceSpace = ;
{ referenceSpace = session.(); }
(e) { referenceSpace = session.(); }
session.({ : referenceSpace }).( {
hitTestSource = source;
});
results = frame.(hitTestSource);
(results. > ) {
pose = results[].(referenceSpace);
(pose && pose..) {
hitStabilityCount++;
reticle..(pose..., pose..., pose...);
(hitStabilityCount >= && !groundDetected) {
groundDetected = ;
reticle. = ;
scanningOverlay..();
}
} {
hitStabilityCount = .(, hitStabilityCount - );
}
} {
hitStabilityCount = .(, hitStabilityCount - );
}
pos = .();
reticle.(pos);
/home/hermes/projects/webxr-portal-door/index.html/home/hermes/projects/webxr-portal-door/DockerfileProblem: cache-busted ?v= query params fail to force reload on Android Chrome despite correct nginx headers (Cache-Control: no-cache, no-store). Browser uses aggressive same-origin disk cache or socket pooling that ignores cache headers.
Fix — apply ALL three layers:
add_header Cache-Control "no-cache, no-store, must-revalidate" always;
etag off;
add_header Last-Modified "" always;
<meta> tag (inside <head>, before body content can cache):
<meta http-equiv="Cache-Control" content="no-cache, no-store">
chrome://net-internals/#http-cache → "Clear socket pools"Verification: Check Content-Length of both localhost and remote URL — if lengths match, new code IS served and the issue is client-side caching.
webxr-portal — main WebXR portal implementation