Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs, implements and reviews frontend UI for the TrailSnap package/website using its existing design system.
41% 95%+55 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 9 of 22 without it.
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.8-flash yet.
3 of 3 safety checks passed
Not used yet
路径相对于 TrailSnap 根目录;下文 src/* 均以 package/website/ 为前缀。选择最接近的模式和源码,不把所有页面套成同一种卡片网格。
参考 src/layouts/MainLayout.vue、BlankLayout.vue、Sidebar.vue、BottomNav.vue。
.ts-main-scroll。粘性标题、弹层和虚拟画廊先确认实际滚动祖先;flex 滚动区域保留 min-h-0,长文本容器保留 min-w-0。--ts-tabbar-h + --ts-safe-area-bottom。需要页内拥有底部留白时用 AppPage bottom-safe / .ts-bottom-safe;ui.css 的 :has(.ts-bottom-safe) 会取消外层留白,不再补第二份 tabbar padding。.ts-main-content / .ts-blank-layout)避让,body 不留白、#app 用 100dvh;否则 body 的 padding 会把 #app 顶出视口,底部内容被裁掉且无法滚动。左右安全区仍留在 body(横屏刘海靠边,不挤高内容)。style.css 的平台分支:iOS 浏览器使用安全区,capacitor-native 原生 App 保留系统注入的 inset,其余浏览器当前按 0 处理。页面不自行判断平台或覆盖该规则;调整兼容性时结合目标设备验证,不把浏览器行为推断应用到原生 App。.unified-photo-page 时不再重复留白。遵循 --ts-safe-area-* 与 --ts-content-safe-area-top,不复制未经验证的平台常数。参考 src/views/HomePage.vue、src/components/home/MemoryDiscovery.vue。
参考 src/components/UnifiedPhotoPage.vue、PhotoGallery.vue、FlatPhotoGallery.vue、GalleryChrome.vue、SmartAlbumCover.vue,以及 src/views/PhotosPage.vue、src/views/album/AlbumDetail.vue、AlbumList.vue。
clamp(140px, 18vw, 220px),<640px 为 38%;这是局部模式,不是全局卡片宽度。参考 src/views/settings/BasicSettings.vue、src/views/settings/sections/AppearanceSettingsSection.vue、src/views/toolbox/ToolboxPage.vue。
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.