Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计通过

gsp-style普惠制风格

Agent Skill

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

总安装

303

周安装

13

GitHub Stars

29

下载量

106
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:gsp-style(普惠制风格)
来源仓库:https://github.com/jubscodes/get-shit-pretty
仓库路径:skills/gsp-style
安装命令:
npx skills add https://github.com/jubscodes/get-shit-pretty --skill gsp-style
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jubscodes/get-shit-pretty --skill gsp-style

简介

gsp-style 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合整理项目状态和变更事项。

  • 适用于围绕仓库状态、代码变更或协作事项进行信息组织和分析。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 安装前需确认权限范围和维护状态,注意可能触发联网或文件操作。
  • gsp-style 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

This is a standalone composable skill. It works two ways:

  1. Standalone — user runs /gsp-style cyberpunk directly, gets visual preview + tokens
  2. As a building block — agents invoke this skill during workflows, getting tokens only

Input: Style name(s), optional flags (--list, --preview) Output: {preset-name}.yml + STYLE.md + INDEX.md in the target system directory Agent: None — token expansion from YAML presets is handled inline

<execution_context> @${CLAUDE_SKILL_DIR}/styles/INDEX.yml @${CLAUDE_SKILL_DIR}/../gsp-brand-guidelines/design-tokens.md @${CLAUDE_SKILL_DIR}/chunk-format.md @${CLAUDE_SKILL_DIR}/../../templates/phases/patterns.md </execution_context>

Read the user's input to determine the mode:

InputMode
/gsp-style --listList all available presets
/gsp-style --preview cyberpunkShow tokens without writing files
/gsp-style cyberpunkApply single style
/gsp-style cyberpunk + neubrutalismMix styles (check compatibility)
/gsp-style (no args)Interactive — browse and pick

Step 1: List mode (--list)

Read styles/INDEX.yml and display all presets grouped by category. Format each as {name} {one-line description} with ─── Category ──── separators and footer showing usage. Example:

  ─── Minimal ────────────────────────
    swiss-minimalist     Helvetica and whitespace — let the content breathe
    flat-design          Solid colors, zero shadows — bold color blocks as structure

Stop here. Do not write any files.

Step 2: Interactive mode (no args)

If no style name provided, show the list (Step 1) then use AskUserQuestion with options grouped by category. Present 6-8 curated options spanning different categories, plus a "Show all" option:

  • neubrutalism — "thick borders, hard shadows, unapologetically flat"
  • modern-dark — "Linear/Vercel aesthetic — ambient blobs, mouse spotlights"
  • professional — "clean, trustworthy, gets out of the way"
  • cyberpunk — "neon-soaked interfaces from a dystopian future"
  • botanical — "deep greens, paper grain, nature-inspired"
  • claymorphism — "vinyl toy aesthetic — 4-layer shadows, squish"
  • liquid-glass — "Apple's 2025 — refractive, fluid, alive"
  • Show all 34 — "browse the full catalog"

Continue with the selected style.

Step 3: Load preset(s)

Read the YAML preset file(s) from styles/{name}.yml.

If the style name doesn't match any preset, suggest the closest match based on tags in INDEX.yml. If still no match, tell the user and show the list.

Mixing styles

If multiple styles are specified (e.g., cyberpunk + bento-grid):

  1. Check INDEX.yml clash_pairs — if the combination appears, warn the user and stop: "These styles clash — {reason}. Pick one or try a compatible combination."
  2. If compatible, merge token objects with last-wins precedence. The second style's values override the first where they overlap.

Step 4: Resolve output path

Determine where to write the system output:

Within a brand

If a brand context exists (.design/branding/{brand}/):

  • Write to {BRAND_PATH}/patterns/
  • This replaces the patterns phase of the branding diamond

Within a project (quick mode)

If invoked from a project context (.design/projects/{project}/):

  • Check if a brand.ref exists pointing to a brand with a completed system
  • If no brand system exists, write to .design/branding/_style-{preset-name}/patterns/
  • Create a minimal brand directory with just the system output
  • Update the project's brand.ref to point to this auto-generated brand

Standalone (no.design/ context)

  • Write to .design/branding/_style-{preset-name}/patterns/
  • Create minimal brand directory structure

Step 5: Preview mode (--preview)

If --preview, display expanded tokens grouped by section (Color, Typography, Shape, Elevation, Motion) as key-value pairs. Footer: usage hint to apply. Stop here — do not write any files.

Step 6: Copy preset as brand style

Copy the preset .yml to the output path as the brand's style source:

  • If within a brand: {OUTPUT_PATH}/{preset-name}.yml
  • If standalone: {OUTPUT_PATH}/_style-{preset-name}.yml

If a .yml already exists at the output path, use AskUserQuestion: "A style preset already exists — overwrite?" with options Overwrite and Cancel. If cancelled, skip and proceed.

The .yml IS the token source of truth — no separate tokens.json needed. Token names in .yml map 1:1 to shadcn/ui CSS variable names. Run node bin/theme-css.js {preset-name}.yml to generate a ready-to-paste :root/.dark CSS block.

Step 7: Write STYLE.md

Read the style template from ${CLAUDE_SKILL_DIR}/../../templates/phases/style.md.

Read BOTH source files:

  • styles/{name}.yml — structured data (tokens, intensity, patterns, constraints, effects)
  • styles/{name}.md — prose companion (design philosophy, CSS code hints, component styling, textures).

If the .md companion doesn't exist, render STYLE.md from .yml data only (thinner but functional).

Render into the template sections:

  • Intensity — from .yml intensity: block
  • Philosophy — extract from .md companion's Design Philosophy section. Condense to 2-4 sentences capturing the emotional DNA and cultural references.
  • Patterns — from .yml patterns: block, rendered as tables per component
  • Constraints — from .yml constraints: block, rendered as never/always bullet lists
  • Effects — from .yml effects: block, rendered as interaction vocabulary + state tables
  • Bold Bets — extract from .md companion's "Non-Genericness" or "Bold Factor" section. Pick 3-5 most distinctive techniques with implementation specifics.
  • Implementation — extract from .md companion's component stylings and CSS code:

- Component Code Hints — Tailwind/CSS patterns beyond the Patterns tables - Textures & Surfaces — CSS for noise, halftone, grain (skip if style has none) - Typography Treatments — text-stroke, tracking overrides (skip if standard) - Animation Recipes — keyframes, transitions (skip if effects vocabulary is sufficient)

Write to {OUTPUT_PATH}/STYLE.md.

Step 8: Write INDEX.md

Write {OUTPUT_PATH}/INDEX.md — header with phase/style/date, applied style name + description, file table ({preset-name}.yml, STYLE.md).

Foundation chunks (color-system.md, typography.md, etc.) are NOT written in the quick path — the .yml has the token values, STYLE.md has the composition rules. Foundation chunks are only produced by the full branding diamond where the brand-engineer adds deeper analysis (WCAG ratios, font loading, semantic rationale).

Step 9: Update state

If a brand STATE.md exists at the brand path:

  • Set patterns phase status to complete
  • Record style preset name and completion date
  • Set Prettiness Level to 60% (foundations only, no components)

If a project config.json exists:

  • Add "style_preset": "{name}" to preferences

Step 10: Completion output

Show: header (/gsp-style — {name} applied), file tree ({name}.yml + STYLE.md + INDEX.md). Then AskUserQuestion: Start a project → /gsp-project-brief, Build components → /gsp-brand-guidelines, Preview tokens, Try a different style → restart Step 2.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.24%
按下载量换算41

Claude

27.17%
按下载量换算29

Cursor

18.37%
按下载量换算19

Gemini CLI

9.69%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills