重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
npx skills add https://github.com/kbravh/skills --skill svg-logo-creator根据概念简报或描述创建专业、可缩放的 SVG 徽标。
在创建之前,请收集或确认以下信息:
如果基于徽标构思概念简报进行工作,这些细节应该已经指定。
在编写 SVG 代码之前:
<use> 引用)编写简洁、语义化的 SVG:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 60" role="img" aria-label="Company Name logo">
<style>
:root {
--primary: #2563eb;
--secondary: #1e40af;
--text: #0f172a;
}
</style>
<defs>
<!-- 可重用元素放在这里 -->
</defs>
<!-- 徽标内容 -->
</svg>
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
创建以下标准变体:
| 变体 | 使用场景 | 备注 |
|---|---|---|
| 主要/水平 | 默认,宽空间 | 图标和文本并排的完整徽标 |
| 堆叠/垂直 | 方形空间,移动端 | 图标在上,文本在下 |
| 仅图标 | 网站图标、应用图标、小空间 | 不带文本的符号 |
| 仅文字徽标 | 当图标上下文已建立时 | 不带符号的文本 |
| 单色 | 单色上下文 | 黑色或白色版本 |
| 反色 | 深色背景 | 用于深色背景的浅色版本 |
使用一致的命名:
logo-primary.svg
logo-stacked.svg
logo-icon.svg
logo-wordmark.svg
logo-mono-black.svg
logo-mono-white.svg
logo-inverted.svg
viewBox 实现可缩放性,切勿使用固定的 width/height<style> 中将颜色定义为 CSS 自定义属性<g> 和描述性的 id 属性对相关元素进行分组<defs> 中,并使用 <use> 引用<svg> 元素中添加 role="img"aria-label<title> 作为第一个子元素来提供可访问的名称对于徽标中的文本,建议:
文本转路径工作流程示例:
<!-- 使用路径代替 <text> 以提高可靠性 -->
<path d="M10 20 L10 40 L20 40..." /> <!-- 字母形状 -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 50" role="img" aria-label="Acme Inc logo">
<style>
.icon { fill: #2563eb; }
.text { fill: #0f172a; }
</style>
<defs>
<g id="icon">
<circle cx="20" cy="25" r="15" />
<path d="M12 25 L20 18 L28 25 L20 32 Z" fill="#fff" />
</g>
</defs>
<!-- 图标 -->
<use href="#icon" class="icon" />
<!-- 文字徽标(转换为路径以提高可靠性) -->
<g class="text" transform="translate(45, 20)">
<!-- 文本路径将放在这里 -->
</g>
</svg>
最终确定前检查:
创建徽标后,提供简要的使用指导:
## 徽标使用
**留白区域**:保持内边距等于图标的高度
**最小尺寸**:图标 24px,完整徽标 80px
**背景**:在浅色背景上使用主色版本,在深色背景上使用反色版本
**禁止**:拉伸、旋转、更改颜色、添加效果
每周安装量
55
代码仓库
GitHub 星标数
1
首次出现
2026年1月29日
安全审计
安装于
gemini-cli50
codex50
opencode50
github-copilot44
cursor43
kimi-cli42
Create professional, scalable SVG logos from concept briefs or descriptions.
Before creating, gather or confirm:
If working from a logo-ideation concept brief, these details should already be specified.
Before writing SVG code:
<use>)Write clean, semantic SVG:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 60" role="img" aria-label="Company Name logo">
<style>
:root {
--primary: #2563eb;
--secondary: #1e40af;
--text: #0f172a;
}
</style>
<defs>
<!-- Reusable elements here -->
</defs>
<!-- Logo content -->
</svg>
Create these standard variations:
| Variation | Use case | Notes |
|---|---|---|
| Primary/horizontal | Default, wide spaces | Full logo with icon and text side-by-side |
| Stacked/vertical | Square spaces, mobile | Icon above text |
| Icon-only | Favicons, app icons, small spaces | Symbol without text |
| Wordmark-only | When icon context is established | Text without symbol |
| Monochrome | Single-color contexts | Black or white version |
| Inverted | Dark backgrounds | Light colors for dark bg |
Use consistent naming:
logo-primary.svg
logo-stacked.svg
logo-icon.svg
logo-wordmark.svg
logo-mono-black.svg
logo-mono-white.svg
logo-inverted.svg
viewBox for scalability, never fixed width/height<style><g> and descriptive id attributes<defs> and reference with <use>role="img" to root <svg> elementaria-label with descriptive text<title> as first child for accessible nameFor text in logos, prefer:
Example text-to-path workflow:
<!-- Instead of <text>, use paths for reliability -->
<path d="M10 20 L10 40 L20 40..." /> <!-- Letter shapes -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 50" role="img" aria-label="Acme Inc logo">
<style>
.icon { fill: #2563eb; }
.text { fill: #0f172a; }
</style>
<defs>
<g id="icon">
<circle cx="20" cy="25" r="15" />
<path d="M12 25 L20 18 L28 25 L20 32 Z" fill="#fff" />
</g>
</defs>
<!-- Icon -->
<use href="#icon" class="icon" />
<!-- Wordmark (as paths for reliability) -->
<g class="text" transform="translate(45, 20)">
<!-- Text paths would go here -->
</g>
</svg>
Before finalizing:
After creating logos, provide brief usage guidance:
## Logo Usage
**Clear space**: Maintain padding equal to the height of the icon
**Minimum size**: 24px for icon, 80px for full logo
**Backgrounds**: Use primary on light, reversed on dark
**Don't**: Stretch, rotate, change colors, add effects
Weekly Installs
55
Repository
GitHub Stars
1
First Seen
Jan 29, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli50
codex50
opencode50
github-copilot44
cursor43
kimi-cli42
前端打磨(Polish)终极指南:提升产品细节与用户体验的系统化检查清单
59,700 周安装