Token导航 LogoToken导航

Agent Skill · 前端设计

touying-author(偷影作者)

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

touying-author 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 4,118。

总安装 989周安装 40GitHub Stars 97下载 310核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/apcamargo/typst-skills --skill touying-author

这个 Skill 是做什么的

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

touying-author 用于辅助安全审计、权限检查和认证流程分析。它适合梳理敏感配置、检查依赖风险或生成安全复核清单。使用时不能将工具输出直接当作最终结论。涉及密钥、令牌或生产系统时,应先确认最小权限和脱敏方式。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/touying-author

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

touying-author 怎么安装?

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

touying-author 支持哪些 AI 工具?

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

touying-author 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

touying-author 是免费的吗?

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

touying-author 用的人多吗?

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

touying-author 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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只读未明确通过
touying-author

偷影作者 · 本页

98997需要联网未明确通过

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

SKILL.md 原文

Touying Author

Guide Typst presentation authoring with Touying, emphasizing clean structure, repeatable configuration, and slide-safe patterns.

Quick start

  • Import Touying and a theme, then apply the theme with #show: <theme>.with(...).
  • Keep configuration centralized; include slide content from separate files.
  • Use headings to create slides; use #slide for custom layouts or animations.
  • Start from examples/simple.typ for a minimal deck, or examples/default.typ for the bare theme.

Snippet from examples/simple.typ:

#import "@preview/touying:0.6.1": *
#import themes.simple: *

#show: simple-theme.with(
  aspect-ratio: "16-9",
  footer: [Simple slides],
)

Best practices and code structure

  • Use a single entry file (e.g., main.typ) that applies #show and all config-* calls.
  • For multi-file decks, follow the globals.typ + main.typ + content.typ pattern; use #include for content and #import for globals to avoid circular refs.
  • Docs use both config.typ (see docs/start.md) and globals.typ (see docs/multi-file.md) for the shared config file; pick one name and use it consistently in your project.
  • For large decks, move content.typ into sections/ and include sections/content.typ (and optional sections/another-section.typ) from main.typ.
  • Prefer config-page, config-common, config-info, config-colors, config-methods, and config-store over direct set page or ad-hoc global show.
  • Use headings for most slides; use config-common(slide-level: n) to choose which heading levels create slides.
  • Use #slide only for custom layout or animation; always wrap slide functions with touying-slide-wrapper.
  • For callback-style animation (#slide(repeat: n, self => [...])), set repeat explicitly and use utils.methods(self) to access uncover, only, and alternatives.

Single-file structure

.
├── globals.typ
├── main.typ
└── content.typ

Multi-file structure

.
├── globals.typ
├── main.typ
└── sections/
    ├── content.typ
    └── another-section.typ

Core API map (exports)

  • Slides: touying-slides, slide, touying-slide, touying-slide-wrapper, empty-slide
  • Dynamics: pause, meanwhile, uncover, only, effect, alternatives, alternatives-match, alternatives-fn, alternatives-cases
  • Config: config-common, config-page, config-info, config-colors, config-methods, config-store, default-config, touying-set-config, appendix
  • Utilities: utils.* (fit-to-height, fit-to-width, cover helpers, progress, heading helpers)
  • Components: components.side-by-side, components.adaptive-columns, components.progressive-outline, components.custom-progressive-outline
  • Integrations: touying-reducer, touying-equation, touying-mitex, speaker-note, pdfpc.*
  • Recall: touying-recall, touying-fn-wrapper

Slide structure and headings

  • Use heading labels to control numbering/outline/bookmarks: use <touying:hidden> (see docs/code-styles.md), and see docs/changelog.md for <touying:unnumbered>, <touying:unoutlined>, <touying:unbookmarked>, and <touying:skip>.
  • Use components.adaptive-columns(outline(...)) for a table of contents slide; use components.progressive-outline for progress-aware outlines.
  • Use == <touying:hidden> to insert a blank title slide and clear the previous heading context.
  • Use #pagebreak() or --- to split slides without changing headings.
  • Use #empty-slide[...] for slides without header/footer.
  • Use config-common(handout: true) to keep only the last subslide per slide in handout output.
  • Use #show: appendix to freeze last-slide counts after the main deck.

Snippet from examples/default.typ:

= Outline <touying:hidden>

#components.adaptive-columns(outline(title: none, indent: 1em))

Animations and dynamic content

  • Use #pause and #meanwhile for simple reveals; avoid using them inside context where marks are not supported.
  • Use #uncover to reserve layout space; use #only to remove layout space when hidden.
  • When marks cause warnings, use callback-style slides with repeat and utils.methods(self).
  • For math animations, use pause/meanwhile inside $... $; use touying-equation when you need the helper for inline equation text (you can also use #pause or #pause;).
  • See examples/example.typ for simple/complex/callback animations and equation animations.

Snippet from examples/simple.typ:

== Dynamic slide

Did you know that...

#pause

...you can see the current section at the top of the slide?

Snippet from examples/example.typ:

#slide(
  repeat: 3,
  self => [
    #let (uncover, only, alternatives) = utils.methods(self)

    At subslide #self.subslide, we can

    use #uncover("2-")[`#uncover` function] for reserving space,

    use #only("2-")[`#only` function] for not reserving space,

    #alternatives[call `#only` multiple times \u{2717}][use `#alternatives` function #sym.checkmark] for choosing one of the alternatives.
  ],
)

Layout and theming

  • Use composer in #slide for columns; pass (1fr, 2fr) or a custom grid function.
  • Use config-page for margin, header, footer, and background; do not use set page directly.
  • Use config-methods(cover: utils.semi-transparent-cover.with(alpha: 85%)) only when layout changes are acceptable.
  • Use config-store to stash theme-specific values for headers/footers or navigation elements.
  • Use config-common(new-section-slide-fn: none) to disable automatic section slides, or provide a custom function to replace them.
  • Apply global styles either around #show: <theme>.with(...) or via config-methods(init:...) in a theme.
  • Use config-info(...) for title/author/date and config-common(datetime-format:...) to control date formatting.

Snippet from examples/default.typ:

#import "@preview/touying:0.6.1": *
#import themes.default: *

#import "@preview/numbly:0.1.0": numbly

#show: default-theme.with(
  aspect-ratio: "16-9",
  config-common(
    slide-level: 3,
    zero-margin-header: false,
  ),
  config-colors(primary: blue),
  config-methods(alert: utils.alert-with-primary-color),
  config-page(
    header: text(gray, utils.display-current-short-heading(level: 2)),
  ),
)

Speaker notes and presenter tools

  • Add notes with #speaker-note[...].
  • Show notes on second screen with config-common(show-notes-on-second-screen: right) or bottom.
  • Export pdfpc metadata with enable-pdfpc: true and typst query --field value --one "<pdfpc-file>".

Use bundled docs and examples

  • Read only the specific docs needed for the task; avoid loading the full docs tree.
  • Read docs/start.md and docs/intro.md for basics and import patterns.
  • Read docs/multi-file.md for multi-file layout and include patterns.
  • Read docs/layout.md and docs/sections.md for slide-level and heading behavior.
  • Read docs/code-styles.md for simple vs block style and pagination tricks.
  • Read docs/global-settings.md for global styles and config-info usage.
  • Read docs/dynamic/*.md for pause, meanwhile, cover behavior, and equation animation.
  • Read docs/themes/*.md for theme-specific APIs and defaults.
  • Read docs/external/*.md for pdfpc and Pympress usage.
  • Read docs/integration/*.md for CeTZ/Fletcher/Theorion/MiTeX integrations.
  • Use examples/*.typ as working templates for each theme.

File tree (docs and examples)

docs/
├── build-your-own-theme.md
├── changelog.md
├── code-styles.md
├── dynamic
│   ├── complex.md
│   ├── cover.md
│   ├── equation.md
│   ├── handout.md
│   ├── other.md
│   └── simple.md
├── external
│   ├── pdfpc.md
│   ├── pympress.md
│   └── typst-preview.md
├── global-settings.md
├── integration
│   ├── cetz.md
│   ├── codly.md
│   ├── fletcher.md
│   ├── mitex.md
│   ├── pinit.md
│   └── theorion.md
├── intro.md
├── layout.md
├── multi-file.md
├── progress
│   ├── counters.md
│   └── sections.md
├── sections.md
├── start.md
├── themes
│   ├── aqua.md
│   ├── custom.md
│   ├── dewdrop.md
│   ├── metropolis.md
│   ├── simple.md
│   ├── stargazer.md
│   └── university.md
└── utilities
    └── fit-to.md

examples/
├── aqua-zh.typ
├── aqua.typ
├── default.typ
├── dewdrop.typ
├── example.typ
├── metropolis.typ
├── simple.typ
├── stargazer.typ
└── university.typ

平台分布

Codex

35.51%
按下载量换算110

Claude

31.8%
按下载量换算99

Cursor

18.39%
按下载量换算57

Gemini CLI

8.75%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills