Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问clear审计提醒

geometric-elements几何元素

Agent Skill

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

总安装

832

周安装

34

GitHub Stars

21

下载量

269
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/thepexcel/agent-skills --skill geometric-elements

简介

geometric-elements 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 可结合来源仓库和原始 README 核验具体用法,通过 npx 命令安装。
  • 安装前建议确认权限范围、维护状态及是否会触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Geometric Elements Generator

Create decorative geometric elements with code using Pixie-python.

Quick Start

# Install dependency (first time only)
pip install pixie-python

# Generate element (ask user for brand color or check their brand guidelines)
python .claude/skills/geometric-elements/scripts/generate.py corner-accent \
  --color "#HEX_COLOR" \
  --size 200 \
  --output media/output/corner.png

Important: Always ask user for brand colors or check their brand guidelines skill (e.g., /thepexcel-brand-guidelines) before generating.

Available Elements

ElementCommandDescription
Basic Shapesshapecircle, star, heart, hexagon, arrow, etc.
Corner Accentcorner-accentL-shaped corner decoration
Line Dividerline-dividerHorizontal divider with gradient
Arc Accentarc-accentCurved arc
Frame Borderframe-border4-corner bracket frame
PatternpatternRepeating dots/crosses/diamonds
MandalamandalaSacred geometry / complex patterns

Common Options

OptionDescriptionDefault
--colorPrimary color (hex)#D4A84B
--color2Secondary color for gradientNone
--sizeElement size in pixels200
--widthCanvas width400
--heightCanvas height400
--strokeStroke width4
--outputOutput file pathoutput.png
--gradientlinear or radialNone
--opacity0.0-1.01.0
--fillFill shape (vs stroke)False

Examples

Basic Shapes

# Circle (stroke)
python scripts/generate.py shape --style circle --color "#HEX" --size 100 --stroke 3

# Star (filled)
python scripts/generate.py shape --style star --color "#HEX" --size 100 --sides 5 --fill

# Available: circle, ellipse, rectangle, square, rounded-rect, triangle,
#   polygon, star, diamond, ring, cross, arrow, heart, hexagon, octagon, crescent

Corner Accent

python scripts/generate.py corner-accent --color "#HEX" --size 150 --stroke 4

Gradient Line Divider

python scripts/generate.py line-divider --color "#HEX" --color2 "#FFFFFF" --gradient linear --width 800

Mandala (Sacred Geometry)

python scripts/generate.py mandala --color "#CCC" --bg "#0A0A0A" --size 400 --rings 8 --layers 4 --stroke 1.5

→ More examples: references/element-catalog.md

Custom Elements (On-the-fly)

For complex patterns not in predefined commands, write Python directly:

import pixie
import math

image = pixie.Image(400, 400)
paint = pixie.Paint(pixie.SOLID_PAINT)
paint.color = pixie.Color(0.83, 0.66, 0.29, 1.0)  # RGB 0-1 range

ctx = image.new_context()
ctx.stroke_style = paint
ctx.line_width = 2
ctx.stroke_segment(50, 50, 350, 350)

image.write_file("output.png")

→ Full API: references/pixie-api.md

From Reference Image

User can send reference images for Claude to analyze and recreate:

  1. User sends image — screenshot, design reference, pattern
  2. Claude analyzes — identifies shapes, colors, proportions
  3. Claude writes code — using pixie-python API
  4. Output — PNG ready to use

Tips for good reference: Clear image, geometric patterns (not photos), specify hex colors if needed.

Tips

  1. Transparent bg — All outputs have transparent background by default
  2. High DPI — Use --size 2x for retina displays
  3. Gradients — Combine --gradient linear with --color and --color2
  4. Brand colors — Always confirm with user or their brand guidelines first

Related Skills

  • /graphic-designer — Use elements in graphic designs
  • /thepexcel-brand-guidelines — Brand colors for elements
  • /pptx — Decorative elements for presentations

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.21%
按下载量换算79

OpenCode

22.64%
按下载量换算61

windsurf

17.24%
按下载量换算46

Codex

12.83%
按下载量换算35

Antigravity

7.44%
按下载量换算20

Gemini CLI

3.08%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills