词霸每日一句

SKILL前端设计
前端设计 未标注权限 许可证不明确
安装这个技能

generate shareable html and png cards from the ciba or iciba daily sentence api. use when the user asks for 词霸每日一句, iciba, ciba, open.iciba.com/dsapi, daily english sentence cards, magazine torn-paper cards, friends circle or moments poster layouts, postcard horizontal cards, qr codes for tts pronunciation audio, multi-template html customization, or playwright rendering of these cards to png.

一句话选型结论

按资料字段整理

词霸每日一句是前端设计类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类前端设计 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_217d8d33/nexus-ciba-wechat
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

前端设计
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_217d8d33仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791727759
正文体量5.7 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
出页面与组件

按描述生成页面结构和组件草稿。

调整样式与布局

改间距、配色与响应式布局。

生成设计说明

把设计稿整理成开发能接的说明。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在前端设计场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
词霸每日一句当前 未标注权限 未标注 未标注 未标注 有
前端设计 只读 GitHub 仓库 882.3 万 Codex、Claude、Cursor 有
Vercel 组合模式 联网访问 GitHub 仓库 385.9 万 Codex、Claude、Cursor 有
Vercel React native skills 前端 只读 GitHub 仓库 246.9 万 Codex、Claude、Cursor 有
adapt 搜索 浏览器控制 GitHub 仓库 202.7 万 Codex、Claude、Cursor 有
使用我的浏览器 浏览器控制 GitHub 仓库 184.8 万 Codex、Claude、Cursor 有

SKILL.md 全文

5.7 KB
模型实际读到的说明书原文,来自技能仓库

Nexus Ciba Wechat

Overview

Use this skill to create polished HTML and PNG cards from the 词霸每日一句 API at https://open.iciba.com/dsapi/. The bundled renderer supports multiple HTML templates, including a vertical friends-circle card and a horizontal postcard-style card, with QR codes that encode the API tts audio URL.

Default workflow

  1. Use scripts/render_iciba_card.py unless the user explicitly asks for hand-written HTML only.
  2. Fetch the daily JSON from https://open.iciba.com/dsapi/ by default.
  3. Prefer the API image fields for the hero image in this order: picture, picture2, picture3, picture4.
  4. Only generate the local fallback image if the API cannot be reached or all picture downloads fail.
  5. Encode tts into the QR code. Do not encode the page URL unless the user explicitly asks.
  6. Choose the template requested by the user, or use moments_vertical by default.
  7. Render the selected HTML template to PNG with Playwright.
  8. Return links to the generated PNG and HTML. Also mention whether the card used the API picture or the generated fallback.

Script usage

Run from the skill directory or pass the script path directly:

python scripts/render_iciba_card.py --output-dir /mnt/data/iciba-card

List available templates:

python scripts/render_iciba_card.py --list-templates

Render the default vertical friends-circle card:

python scripts/render_iciba_card.py \
  --template moments_vertical \
  --output-dir /mnt/data/iciba-card

Render the horizontal postcard card:

python scripts/render_iciba_card.py \
  --template postcard_horizontal \
  --output-dir /mnt/data/iciba-postcard

Useful options:

python scripts/render_iciba_card.py \
  --template postcard_horizontal \
  --output-dir /mnt/data/iciba-postcard \
  --width 1200 \
  --height 760 \
  --api-url https://open.iciba.com/dsapi/

For testing or reproducibility without live network access, pass a JSON file:

python scripts/render_iciba_card.py --input-json /mnt/data/iciba.json --output-dir /mnt/data/iciba-card

Expected outputs in the output directory:

  • <output_stem>.html
  • <output_stem>.png
  • <output_stem>_data.json
  • hero_source.txt

Default output stems:

  • moments_vertical -> iciba_moments_card
  • postcard_horizontal -> iciba_postcard_horizontal

Template system

HTML is separated from Python and stored in templates/:

  • templates/moments_vertical.html: 9:16 friends-circle card, image above and text below.
  • templates/postcard_horizontal.html: horizontal postcard-style card, photo left and message/stamp area right.

Templates use simple replacement tokens rather than a templating dependency. Supported tokens include:

  • [[WIDTH]], [[HEIGHT]], [[TEMPLATE_NAME]]
  • [[CAPTION]], [[CONTENT]], [[NOTE]], [[TRANSLATION]], [[DATELINE]]
  • [[ISSUE_DAY]], [[ISSUE_TEXT]], [[QUOTE_SIZE]]
  • [[HERO_URI]], [[HERO_ALT]], [[HERO_SOURCE]], [[HERO_FIELD]], [[HERO_URL]]
  • [[QR_URI]], [[TTS_URL]], [[STATUS]]

To add a new template, create a new HTML file under templates/, add an entry to TEMPLATE_CONFIG in scripts/render_iciba_card.py, then test with --template <name>.

Layout rules

For moments_vertical:

  • Use a 9:16 canvas, default 540 x 960 CSS pixels.
  • Keep the image in the top section, not as a full-card background.
  • Keep the text in a separate lower paper section.
  • Put the QR code in the lower-right of the text section.

For postcard_horizontal:

  • Use a horizontal canvas, default 1200 x 760 CSS pixels.
  • Keep the hero image on the left and the postcard message area on the right.
  • Include a postcard cue such as POST CARD, address lines, a stamp area, and a QR voice stamp.
  • Keep the quote and translation readable; reduce quote size for long sentences.

For all templates:

  • Preserve the magazine or paper aesthetic through clipped edges, paper texture, subtle shadows, tape accents, and warm cream tones.
  • Keep text readable over decoration.
  • Put the QR code payload on tts, not on the HTML page URL, unless explicitly requested otherwise.

Data mapping

Use these fields from the API:

  • caption -> label, default 词霸每日一句
  • content -> main English quote
  • note -> Chinese translation
  • translation -> small source line, default 新版每日一句
  • dateline -> displayed date and issue badge
  • tts -> QR code payload
  • picture, picture2, picture3, picture4 -> image candidates, in that priority order

See references/iciba-api-fields.md for more details.

Path separator behavior

The Python renderer keeps pathlib.Path for real filesystem operations, but formats logged and serialized output paths with the native OS separator. Windows uses \; Linux, macOS, and other POSIX-like systems use /. The generated data JSON includes _path_separator and _output_dir for debugging.

Handling failures

If the API fetch fails, use the built-in fallback data and clearly state that the run used fallback data. If the API returns text but image download fails, still use the API text and tts, but use the generated fallback image. Do not claim that the visible image came from an API picture unless hero_source.txt says api_picture and includes the selected picture field and URL.

常见问题

5 问
答案由本站依据条目字段整理
词霸每日一句怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_217d8d33/nexus-ciba-wechat。安装方式为未标注。装完刷新技能列表或重开客户端。

词霸每日一句支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

词霸每日一句权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

词霸每日一句收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

词霸每日一句用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。