Agent Skillsmattzh72/articraft › articraft-viewer

articraft-viewer

GitHub

用于编译Articraft记录、启动本地查看器、检查3D资产可视化效果及维护查看器前后端代码。支持开发调试与视觉质量检查,包含前端构建测试和API运行命令。

plugins/articraft/skills/articraft-viewer/SKILL.md mattzh72/articraft

触发场景

编译Articraft记录 启动本地查看器 检查3D资产可视化和关节运动 修复或开发查看器前后端代码

安装

npx skills add mattzh72/articraft --skill articraft-viewer -g -y
更多选项

非标准路径

npx skills add https://github.com/mattzh72/articraft/tree/main/plugins/articraft/skills/articraft-viewer -g -y

不安装直接使用

npx skills use mattzh72/articraft@articraft-viewer

指定 Agent (Claude Code)

npx skills add mattzh72/articraft --skill articraft-viewer -a claude-code -g -y

安装 repo 全部 skill

npx skills add mattzh72/articraft --all -g -y

预览 repo 内 skill

npx skills add mattzh72/articraft --list

SKILL.md

Frontmatter
{
    "name": "articraft-viewer",
    "description": "Use when compiling Articraft records, opening the local viewer, inspecting articulated assets visually, or working on viewer API\/web code."
}

Articraft Viewer

Use this skill when the user asks to compile records, browse generated objects, inspect articulation, start the viewer, or work on viewer/api or viewer/web.

Compile Records

For one record:

uv run articraft compile <record_id>

Start The Viewer

Built viewer flow:

just viewer

Development viewer flow with API and Vite:

just viewer-dev

API only:

uv run uvicorn viewer.api.app:app --reload --host 127.0.0.1 --port 8765

Frontend-only commands:

npm --prefix viewer/web run dev
npm --prefix viewer/web run typecheck
npm --prefix viewer/web run lint
npm --prefix viewer/web run build

Visual QA

When inspecting an asset, verify:

  • all primary parts are visible and connected
  • articulations move the intended parts
  • no major unintended overlap or floating geometry is visible
  • link names and controls are semantic
  • materials and colors match the object prompt
  • history/lineage is preserved for forked records

If the viewer or frontend code changed, run the relevant frontend checks:

npm --prefix viewer/web run typecheck
npm --prefix viewer/web run lint

If API behavior changed, run focused viewer/API tests:

uv run --group dev pytest -q tests/viewer

版本历史

  • 59eb5e0 当前 2026-07-05 19:35

同 Skill 集合

plugins/articraft/skills/articraft-authoring/SKILL.md
plugins/articraft/skills/articraft-dataset/SKILL.md

元信息

文件数
0
版本
959f145
Hash
0475beb6
收录时间
2026-07-05 19:35

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-05 02:16
浙ICP备14020137号-1 $访客地图$