Token导航 LogoToken导航

Agent Skill · 研究检索

codeck-design(编解码器设计)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

codeck-design 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 28,535。

总安装 3,207周安装 131GitHub Stars 207下载 1,038核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/hiyeshu/codeck --skill codeck-design

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

codeck-design 用于辅助界面设计、视觉规范和交互体验优化。适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据产品场景生成 UI 方案时使用。采用角色激活机制,根据不同受众选择合适的设计视角和表达方式。安装前建议确认项目品牌和设计系统要求,注意要结合现有资源进行设计。

提供从简单到复杂的视觉层次构建方法和强调色使用规范。

来源仓库内路径:skills/codeck-design

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

codeck-design 怎么安装?

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

codeck-design 支持哪些 AI 工具?

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

codeck-design 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

codeck-design 是免费的吗?

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

codeck-design 用的人多吗?

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

codeck-design 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
codeck-design

编解码器设计 · 本页

3,207207只读未明确有提醒

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

SKILL.md 原文

codeck design

Role activation

Read $DECK_DIR/diagnosis.md for the recommended design role and its structural mapping.

You are that person. Their formal logic — how they organize space, tension, rhythm — becomes your visual logic.

The role is chosen for structural match, not domain:

Content builds layer by layer, each page adding complexity → Ravel (Bolero): visual simplicity to richness, color gradually saturates, each page adds one element. Content driven by contrast and opposing forces → Caravaggio: high-contrast lighting, black-white dominant, accent color used sparingly like a decisive stroke. Content illuminates through structure and clarity → Bach manuscript: warm parchment ground, ink-weight hierarchy, grid precision, light as organizing principle — not dark by default. Content strips away noise to reveal one truth → Dieter Rams: remove everything unnecessary, final slide is the emptiest and most powerful.

Apply their formal logic directly. Don't explain their principles — embody them in every visual choice.

If diagnosis.md doesn't exist, use AskUserQuestion or recommend running /codeck first.

AskUserQuestion format

  1. Re-ground — "codeck design, {current step}"
  2. Simplify — plain language
  3. Recommend — suggestion + reason
  4. Options — choices

Only state verified facts. For unrendered results, say "will" not "is".

Setup

DECK_DIR="$HOME/.codeck/projects/$(basename "$(pwd)")"
mkdir -p "$DECK_DIR"
bash "$HOME/.claude/skills/codeck/scripts/status.sh" "$DECK_DIR"

Read $DECK_DIR/outline.md — page structure, content points, user intent, note to designer. Read $DECK_DIR/diagnosis.md — role, domain, expression challenge.

If outline.md doesn't exist, use AskUserQuestion:

  • A) Run /codeck-outline first
  • B) Skip — I'll describe what I want

Role transition

Read the "note to designer" at the end of outline.md. Write 1-2 sentences in your activated role's voice explaining how you'll turn the outline into visuals.

Reference extraction (optional)

If the user provides visual references (URLs, screenshots, design specs), extract design signals before the isomorphic mapping. When the user mentions a brand by name without a URL, browse their site yourself.

How to extract:

  • Color: primary by area dominance, secondary by supporting role, accent by CTA usage. Map neutral scale from lightest background to darkest text.
  • Typography: identify by visual characteristics (geometric, humanist, serif class), not by guessing font names. Estimate scale ratio from heading/body size relationship.
  • Spatial rhythm: assess density by element proximity, rhythm by section gap consistency.
  • Material/texture: classify shadow softness, spread, layering. Note glass, grain, gradients.
  • Motion: if observable, note easing curves and duration feel.

Multiple references → find the intersection. If references conflict with no clear intersection, note the dominant pattern and mention variants — let the user choose in the style reveal.

References inform the mapping, not override it. If a signal conflicts with the content structure, explain why you're diverging.

Write extracted signals to $DECK_DIR/design-notes.md under ## References.

DESIGN.md: isomorphic mapping → design archive

Two steps: find the isomorphic mapping (conceptual), then output DESIGN.md (specification).

Step 1: Isomorphic mapping

Extract the formal structure from the outline (not the content itself):

  • Tension curve — narrative tension-release rhythm
  • Information density — where it's dense, where it breathes
  • Argument topology — linear, branching, layered, contrastive
  • Emotional arc — what emotion to what emotion

Find structurally similar things in your role's knowledge domain:

A layered business proposal → Ravel's Bolero → visually simple to complex, each page adds a layer, color gradually saturates A contrastive technical argument → Go (围棋) attack and defense → black-white contrast dominant, each turn uses one accent color as a "move" A structured explanation that builds understanding → architectural blueprint → warm off-white ground, precise lines, information revealed through spatial hierarchy, not through darkness A data report moving from chaos to order → Japanese karesansui → early pages scattered, final page stripped to minimal

Even flat lists have a formal structure (accumulation, enumeration, crescendo). Always do the isomorphic mapping — it's what makes codeck decks distinctive.

Step 2: Generate DESIGN.md

Read references/design-md-spec.md — the codeck DESIGN.md format spec, based on Google design.md. YAML front matter carries machine-readable tokens; Markdown sections carry design rationale and creative intent. The spec header documents the codeck environment constraints; the AI decides how to converge.

Every token and section must be populated with deliberate decisions — no empty strings, no placeholder text. Use "none" for inapplicable fields. A complete DESIGN.md forces deliberate decisions across all dimensions; skipping fields causes downstream generation to lack information.

Write to $DECK_DIR/DESIGN.md.

Style reveal

Show the user three things: (1) their content's formal structure, (2) the isomorphic match and why it's structural not decorative, (3) concrete visual consequences.

  • A) Go with this (recommended)
  • B) I have a different idea
  • C) Show me a few directions to choose from

Visual impact — quality gate

Correct and forgettable is a failure mode. Read references/visual-floor.md before writing custom.css — 3 CSS benchmarks (dark cinematic, light editorial, minimal tension). Your output must be at least that level.

Pick the closest benchmark, compare element by element. If flatter, push the DESIGN.md harder before proceeding.

Generate content

Architecture: fixed engine, AI writes content and styles only

The slide engine (navigation, fragments, overview, speaker mode, progress bar, FOUC protection) is fixed code in scripts/engine.js and scripts/engine.css. Every deck uses the same engine.

AI writes two files:

FileContents
$DECK_DIR/custom.css:root variables + layout primitives + per-page styles + mobile
$DECK_DIR/slides.html<section class="slide"> sequence

Bash assembles the final HTML:

ENGINE_DIR="$HOME/.claude/skills/codeck-design/scripts"

REV=$(ls ./*-r*.html 2>/dev/null | grep -oP 'r\K\d+' | sort -n | tail -1)
REV=$((${REV:-0} + 1))

bash "$ENGINE_DIR/assemble.sh" "$DECK_DIR" "{title}" "{language}" \
  > "./{title}-r${REV}.html"

Engine capabilities (engine.js — do not reimplement)

  1. Page navigation — arrow keys / space / PageDown
  2. Fragment stepping — data-f="N" attribute, ArrowDown to reveal, ArrowUp to hide
  3. Overview mode — Esc toggle, thumbnail grid, click to jump
  4. Progress bar + page number — auto-created
  5. Mobile navigation — auto-created bottom button bar
  6. FOUC protection — double rAF before display
  7. Speaker notes — reads data-notes attribute
  8. Speaker mode — P key opens synced window (BroadcastChannel), shows current/next/notes/timer

custom.css

Read references/design-md-guide.md for full mapping rules: DESIGN.md → custom.css.

Flow: YAML front matter tokens → :root CSS variables → layout primitives → slide type styles → mobile.

Critical: --bg, --fg, --accent are engine interface variables. engine.css uses them for progress bar, overview borders, page numbers. They must be defined in :root.

slides.html

<!-- ====== 1. Cover ====== -->
<section class="slide slide-cover" data-notes="Opening: lead with the problem, not the product">
  <h1 class="title-mega">Title</h1>
  <p class="body-text" style="opacity:0.7">Subtitle</p>
</section>

<!-- ====== 2. Problem ====== -->
<section class="slide" data-notes="Data from the 2024 report">
  <h2 class="title-large">What is the problem</h2>
  <div class="grid-2">
    <div class="card" data-f="1">First point</div>
    <div class="card" data-f="2">Second point</div>
  </div>
</section>

Conventions:

  • Each <section class="slide" data-notes="..."> is one page
  • data-notes: 1-2 sentence summary of that page's key point from outline.md
  • Separate pages with comments: <!-- ====== N. Title ====== -->
  • Free HTML inside — no block type restrictions
  • data-f="N": fragment stepping (lower N appears first)
  • No <script> tags, progress bar, or mobile nav — engine handles all of it

Asset references

Read references/asset-guide.md for full examples of inline/poster/extract asset patterns. Three levels: inline (base64 via assemble.sh), poster (cover image + play icon), extract (code blocks + CSS charts).

Write + assemble

  1. Write $DECK_DIR/custom.css with Write tool
  2. Write $DECK_DIR/slides.html with Write tool
  3. Run assemble.sh with Bash

If slides.html is long and a single write fails, write the first few pages then append with Edit.

Self-review

After assembling, check the final HTML:

  1. Page count — matches outline.md?
  2. Comment anchors — every page has <!-- ====== N. Title ====== -->?
  3. data-notes — every slide section has the attribute?
  4. CSS variables — :root defines --bg, --fg, --accent, --font-body, --font-heading?
  5. Mobile — custom.css has @media (max-width: 768px)?
  6. Content accuracy — text comes from source material, no fabricated data?
  7. No engine code — no <script> tags in slides.html?

Fix issues directly (Edit custom.css or slides.html, re-assemble). Don't ask the user.

design-notes.md

Write to $DECK_DIR/design-notes.md:

# Design Notes

## Role
{Activated role name}

## Isomorphic mapping
{Formal structure analysis: tension curve, information density, argument topology, emotional arc}
{Isomorphic found in role's knowledge domain}
{Translated visual strategy}

## Style direction
{User-confirmed direction}

## Key decisions
- {Decision and reason}
- ...

## Note to reviewer
> {1-2 sentences in the role's voice: design intent and the one thing worth watching}

Iteration

codeck design — HTML generated. Anything to adjust? You can say "change slide 3 title to xxx" or "switch to a warm palette".
  • A) I want changes
  • B) Looks good, next step

Option A → Edit $DECK_DIR/slides.html or $DECK_DIR/custom.css, re-run assemble.sh. Revision number stays the same (overwrites same r{n}.html). After 3 rounds, suggest moving on.

Gotchas

  • Google Fonts allowed, but always with fallback. Use @import url() at the top of custom.css — assemble.sh places it inside <style> in <head>. Always include a system font fallback stack. Offline = fallback renders, no breakage.
  • No <script> in slides.html. Engine handles all JS. A stray <script> causes double-binding, broken navigation, and mystery bugs.
  • :root variables are an API contract. --bg, --fg, --accent are consumed by engine.css. Missing or misspelled = broken progress bar, invisible page numbers, white-on-white overview mode.
  • Fragment numbers must be sequential starting from 1. data-f="1", data-f="2", etc. Gaps (1, 3, 5) cause the engine to skip steps. Duplicates cause simultaneous reveals.
  • Don't override engine classes. .slide, #progress, .mobile-nav, .presenter-* belong to the engine. Overriding them produces layout corruption that's invisible until speaker mode or mobile.
  • Never set position on .slide or slide-type classes. .slide is position: absolute; inset: 0 in engine.css — that's what makes it fill the viewport. position: relative on .slide-cover etc. breaks this: the slide shrinks to content height, leaving a dead zone at the bottom.
  • CSS animations + prefers-reduced-motion. If custom.css has @keyframes, wrap them: @media (prefers-reduced-motion: no-preference) {...}. Skip this = accessibility failure.
  • Hard-coded colors in slides.html = unmaintainable. One palette change and you're hunting through 30 slides. Use CSS classes and var() exclusively.
  • Cover slide defaults to centered title + subtitle. If the design role calls for symmetry (classical, minimal, editorial), centering is correct. Otherwise, break it — asymmetry signals intentional design.
  • CSS negation of math functions silently fails. -clamp(...), -min(...), -max(...) are silently discarded by browsers — no error, no warning, just wrong position. Always write calc(-1 * clamp(...)) instead.
  • Height breakpoints, not just width. Laptops with browser chrome show ~600px viewport height. Add @media (max-height: 700px) and @media (max-height: 500px) to reduce title sizes and hide decorative elements. Width-only breakpoints miss the most common overflow scenario.
  • Content density has hard limits. Title slide: 1 heading + 1 subtitle max. Content slide: 1 heading + 6 bullets or 2 short paragraphs max. Data slide: 1 heading + 4 metric cards max. Code slide: 10 lines max. Exceeding these = viewport overflow. Split into multiple slides, never cram.
  • Assemble.sh auto-increments revision. Don't manually name output files. Let the script handle r1, r2, etc. Manual names break the revision chain.

Done

codeck design complete. {One sentence — cite the DESIGN.md isomorphic mapping} Output: ./{title}-r{revision}.html (in user's project directory) Intermediates: $DECK_DIR/DESIGN.md + $DECK_DIR/design-notes.md Next: /codeck-review

平台分布

Codex

36.56%
按下载量换算379

Claude

30.19%
按下载量换算313

Cursor

16%
按下载量换算166

Gemini CLI

8.08%
按下载量换算84

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills