Token导航 LogoToken导航

Agent Skill · 前端设计

tt-adapt(tt 适应)

tt-adapt 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

tt-adapt 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 8,797。

总安装 259周安装 11GitHub Stars 公开资料未说明下载 91核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tt-adapt(tt 适应)
来源仓库:https://github.com/biasia/tt-impeccable
仓库路径:skills/tt-adapt
安装命令:
npx skills add https://github.com/biasia/tt-impeccable --skill tt-adapt
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/biasia/tt-impeccable --skill tt-adapt

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

tt-adapt 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。适用于适应性调整、环境适配和兼容性处理等前端设计任务。

通过 GitHub 仓库安装,使用 npx skills add 命令添加指定技能。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。tt-adapt 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/tt-adapt

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/biasia/tt-impeccable --skill tt-adapt;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tt-adapt 怎么安装?

在终端执行 npx skills add https://github.com/biasia/tt-impeccable --skill tt-adapt。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tt-adapt 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tt-adapt 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/biasia/tt-impeccable --skill tt-adapt 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

tt-adapt 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

tt-adapt 用的人多吗?

公开数据是累计安装 259 次,近一周安装 11 次,下载 91 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tt-adapt 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
tt-adapt

tt 适应 · 本页

259—执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Context Check

  1. Read .tt-impeccable.md from project root — confirms current fidelity tier, existing patterns, and constraints.
  2. If absent, infer tier from codebase (mobile-first 390px = Strict TUX-native; dark #000000 desktop = TT Style).
  3. Only run /tt-impeccable teach if the tier is genuinely ambiguous and matters for the adaptation.

Note the current fidelity tier and the target fidelity tier — adaptation may shift a surface between tiers, and this changes which constraints apply after adaptation:

Token values are fixed regardless of tier — load from tt-impeccable/reference/tokens.md as needed.

  • Strict TUX-native → TT Style: moving a mobile product surface to a web/marketing context. The target unlocks uncapped spacing, display type scale, dark canvas, and expressive motion — but TUX token values and the neutral-first color rule still apply. Glassmorphism is opt-in, not a TT Style default — ask the user explicitly before introducing backdrop-filter: blur() surfaces; do not assume it because the tier changed.
  • TT Style → Strict TUX-native: the reverse. Strip desktop patterns, cap spacing at 32px, enforce 390px canvas and safe area, remove glassmorphism if present.
  • Same-tier adaptation (native → native web, or TT Style → responsive TT Style): constraints don't shift, only layout and interaction patterns are rethought.

Adaptation is not scaling. It is rethinking the experience for a new context while keeping TUX token fidelity and the TikTok design language intact.


Step 1: Assess the Adaptation

Understand the source

  • What was this designed for? (390px native, desktop web, tablet?)
  • What TUX patterns are already in use?
  • What assumptions are baked in? (touch-only input? fixed-width canvas? no safe area?)

Understand the target

  • Context: native mobile → web? web → wider viewport? web → mobile web?
  • Input method: touch, mouse, keyboard, or all of the above?
  • Viewport range: what widths need to work?
  • Usage context: same users on a different device, or a different user context entirely?

Identify the adaptation challenges

  • What TUX patterns don't translate directly? (bottom tab bar → web nav, safe area → scroll padding)
  • What interactions need rethinking? (touch swipe → click/keyboard, hover states)
  • What layouts need restructuring? (single-column → multi-column, or vice versa)
  • What TUX tokens stay the same regardless? (all of them — tokens never change by context)
  • Color restraint is non-negotiable across all contexts: even if the target context allows more design freedom (TT Style), Primary (brand red) stays on at most one distinct element type per screen, and media surfaces always use neutral overlays. Never introduce colored image/video tints during adaptation.

TUX tokens are non-negotiable across all contexts. Colors, spacing values, radius, shadow, and typography come from the same token tables whether the surface is native or web. The layout adapts; the tokens do not.


Step 2: Plan the Adaptation

Strict TUX-native → web (TUX-inspired or TT Style)

The most common case. Preserve TUX hierarchy; adapt chrome patterns.

Fidelity target matters here. If the target is a TUX-inspired product web surface (same product, wider screen), the Strict TUX-native constraints still mostly apply. If the target is a TT Style web/marketing surface (brand hub, campaign page, landing page), the endpoint has more latitude: dark canvas preferred, uncapped section spacing, display type scale for hero text. Determine which before adapting. Do not introduce glassmorphism during this step without first asking the user — it is opt-in even in TT Style.

In either case: TUX token values are unchanged. Neutral-first color rule applies. Media overlays remain neutral (black-alpha / white-alpha only).

Layout changes:

  • Page max-width container: wrap content in max-width: 480px; margin: 0 auto at minimum; wider at ≥768px up to ~960px depending on content density
  • Page horizontal padding: stays 16px on mobile; may increase to 24–32px on wider viewports
  • Single-column content: stays single-column unless there is a clear content reason to split

Navigation changes:

  • Bottom tab bar → top navigation bar or left sidebar (keeping same token values)
  • Navigation items: same text, same icons, same active state colors — only position changes
  • If sidebar: use UI/Page/Flat 2 background (#F8F8F8 light / #1E1E1E dark); width 240–280px

Interaction changes:

  • Add :hover states (web users have cursors)
  • Keep :focus-visible (keyboard users)
  • Do not remove touch support — many desktop users have touch screens
  • Swipe gestures: add keyboard / click equivalents for every swipe action
  • Bottom sheets: may remain as centered modals on wide viewports (use L2 container radius: 16/26px)

Content changes:

  • Safe area spacers: replace with scroll padding or viewport-relative padding
  • Status bar spacer: not needed on web; remove or replace with 0

Anti-patterns to avoid during this adaptation:

  • Adding three-column layouts, persistent content sidebars, or floating toolbars that have no TUX grounding
  • Using hover as the primary way to access functionality
  • Replacing TUX token values with generic web design values ("I'll use a softer blue for links")
  • Making the web version feel like a different product from the TikTok app
  • Adding borders to containers because "the web version needs more structure" — adapt layout, not separation language. Use UI/Page/* surface layering to define sections; borders are a last resort in both tiers

TUX-inspired web → tighter mobile web

Making a web-adapted surface work well on 390px.

Layout changes:

  • Remove multi-column: stack to single column
  • Remove persistent sidebars: collapse to hamburger or bottom nav
  • Page horizontal padding: fix at 16px regardless of what it was on desktop

Interaction changes:

  • All touch targets: ≥ 44×44px — check every icon button, inline link, and list row
  • Remove hover-dependent functionality: every action accessible by tap
  • Add safe area insets: env(safe-area-inset-top/bottom) in page shell
  • Add viewport-fit=cover to meta viewport

Content changes:

  • Ensure content clips slightly at viewport bottom for scrollability signal
  • List padding rule: first cell top gap = cell-to-cell gap + 8px

Same-tier adaptation (most common case)

Adapting within the same tier — adding responsive breakpoints, handling wider mobile/tablet viewports, or making an existing TT Style page work across viewport widths. Constraints don't shift; only layout and interaction patterns are rethought.

TUX-native → wider viewport (tablet, larger mobile): start from the 390px layout and add breakpoints only where the layout actually breaks.

  • Tokens never change at any breakpoint
  • Component dimensions never change (button heights, input height, nav bar height)
  • Font sizes stay fixed px — no fluid scaling
  • Minimum touch targets stay 44×44px

TT Style → narrower viewport: reverse the desktop-first layout.

  • Collapse multi-column editorial grids to single column at ≤768px
  • Switch from sidebar nav to hamburger or bottom nav
  • Horizontal padding: 80–120px desktop → 24px mobile
  • Preserve dark canvas and TUX token values throughout
  • All motion still needs prefers-reduced-motion fallback

Adding responsive breakpoints to a TUX-native surface

When a strict TUX-native design needs to work on a tablet or larger mobile.

Approach: start from the 390px native layout. Add breakpoints only where the layout actually breaks — not based on device names.

/* Base: 390px native — always correct */
.container { padding: 0 16px; }

/* Tablet / wider mobile — add when content has room to breathe */
@media (min-width: 600px) {
  .container {
    padding: 0 24px;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* Web adaptation — wider canvas */
@media (min-width: 960px) {
  .container {
    padding: 0 32px;
    max-width: 800px;
  }
}

What does NOT change at any breakpoint:

  • TUX token values (colors, radius, shadow)
  • Component dimensions (button heights, input height, nav bar height)
  • Font sizes (TUX uses fixed px — no fluid scaling)
  • Minimum touch target sizes

Step 3: Implement

Work systematically through the adaptation plan. For each changed pattern, verify:

  1. TUX tokens are intact — no new hard-coded values introduced
  2. Hierarchy is preserved — content still leads, chrome still supports
  3. Interaction completeness — all states exist in the new context (hover added for web, touch preserved for all)
  4. Accessibility — focus rings, touch targets, and ARIA roles still correct after layout changes

Input method detection

For web adaptations that need to support both touch and mouse:

/* Touch: coarse pointer — keep generous targets */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
}

/* Mouse: fine pointer — hover states make sense */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { opacity: 0.85; }
  .list-row:hover { background: var(--tux-shape-neutral-4); }
}

Safe area handling

Required on any surface that might run on a real mobile device (native web, PWA, in-app browser):

<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
.page-shell {
  padding-top: env(safe-area-inset-top, 44px);
  padding-bottom: env(safe-area-inset-bottom, 34px);
}

.tab-bar {
  padding-bottom: max(34px, env(safe-area-inset-bottom));
}

Step 4: Verify

  • TUX token values unchanged across all viewport sizes
  • All interactions work by touch AND by mouse AND by keyboard
  • Touch targets ≥ 44×44px at every breakpoint
  • No hover-only paths to core functionality
  • TUX hierarchy (content-first) preserved at all viewports
  • TikTok Native Test passes: still feels like TikTok, not a generic web app with TikTok colors
  • Safe area insets applied wherever the surface may run on a phone
  • No anti-patterns introduced during adaptation
  • Color restraint maintained: Primary appears on at most one distinct interactive element type per screen in the adapted surface
  • No colored (red or teal) overlays or tinted placeholders introduced on image/video surfaces during adaptation

Test on at least one real device per target context. DevTools emulation misses keyboard appearance, actual touch behavior, and safe area edge cases.


Never

  • Change TUX token values during adaptation — the tokens are fixed regardless of context
  • Use hover as the only path to any action — always provide a touch/keyboard equivalent
  • Add desktop patterns (floating sidebars, three-column content grids, right-click menus as primary UI) without TUX grounding
  • Make the web version feel like a different product from the TikTok app
  • Skip input method detection — assume both touch and pointer are possible on modern devices
  • Remove safe area handling to "simplify" — it breaks on real hardware
  • Introduce colored tints (red, teal) on image or video surfaces during adaptation — neutral overlays only, regardless of context
  • Treat TT Style as "anything goes" — TUX token values, TikTok Sans, and neutral-first color restraint still apply

平台分布

Codex

34.78%
按下载量换算32

Claude

32.51%
按下载量换算30

Cursor

20.05%
按下载量换算18

Gemini CLI

9.59%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/biasia/tt-impeccable --skill tt-adapt 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills