Not in the top 1,000 by GitHub stars

bobbyz1x2c3/layer-designer

将 UI 设计拆解为可独立使用的透明图层,支持从需求到交付的完整工作流。

History

Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.

View weekly changes

layer-designer/SKILL.md

Week of Nov 2, 2026 · Line counts unavailable

Before Not checked yet → After Network or broad shell

First observation → da5b905b0951

No earlier version was observed for comparison.

Compare on GitHub

View on GitHubAdd to my skills

Verified commit da5b905b0951e47ac8231425f5811df76cbf4cc9

117GitHub stars
0stars in 7 days
1skill in this repository
0commits in 30 days

Heat

0.3
  • Star growth, last 7 daysNot available
  • Star growth, last 24 hoursNot available
  • Rank movement, last 7 daysNot available
  • Commits, last 30 daysNot available
  • Accounts asking about it through MCP, last 7 daysNot available
  • Hot votes this weekNot available

Heat never changes the order by stars, and sponsorship never touches it. How heat works

Stars over time

Oct 25, 2026Oct 25, 2026117

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

layered-design-generator

When your agent uses it

Generate professional UI/UX designs as layered PSD-like outputs with transparent layers. Supports complete 8-phase workflows from requirements to final output. Use when the user asks to create UI/UX designs, generate layered images, produce design mockups with transparent backgrounds, or work with any multi-layer design workflow including requirements gathering, preview generation, rough design, composition check, refinement, and state variants (hover/active/disabled).

What it loads into context

Frontmatter

92 tokens

Always available to the agent

SKILL.md

5,255 tokens

When the skill is activated

Reference documents

56,042 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. 0. Setup & Installation
  2. 0.5 Separate Mode(分离模式)
  3. 1. Prerequisites
  4. 2. Configuration (`config.json`)
  5. 3. API Timeout Guidelines
  6. 4. Model Capability Check
  7. 5. Input Modes
  8. 6. Model Size Constraints (HARD — 502 if violated)
  9. 7. Workflow Overview
  10. 8. Preview Quality Modes
  11. 9. Iteration Limits
  12. 10. Phase-by-Phase Reference Documents
  13. 11. Key Rules
  14. 12. Additional References

Scripts executed separately

  • layer-designer.cmd
  • layer-designer.py
  • scripts/batch_generate_pl_test.py
  • scripts/check_transparency.py
  • scripts/clean_cache.py
  • scripts/config_loader.py
  • scripts/correct_padding_from_detection.py
  • scripts/crop_to_content.py
  • scripts/detect_layer_positions.py
  • scripts/diagnose_equipment.py
  • scripts/expand_repeats.py
  • scripts/export_style.py
  • scripts/generate_image.py
  • scripts/generate_preview.py
  • scripts/generate_variants.py
  • scripts/matchers/__init__.py
  • scripts/matchers/base.py
  • scripts/matchers/color_hsv.py
  • scripts/matchers/edge_canny.py
  • scripts/matchers/fusion.py
  • scripts/matchers/gradient.py
  • scripts/matchers/grid_periodicity.py
  • scripts/matchers/pattern_lbp.py
  • scripts/matchers/rgb_ssd.py
  • scripts/migrate_config.py
  • scripts/path_manager.py
  • scripts/separate_mode.py
  • scripts/setup.py
  • scripts/style_loader.py
  • scripts/validate_size.py
  • scripts/visualize_detect.py

Files

  • SKILL.mdcore23,340 bytes
  • SKILL.mdcore23,340 bytes
  • SKILL.mdcore23,340 bytes
  • config.example.jsonasset5,389 bytes
  • layer-designer.cmdruns45 bytes
  • layer-designer.pyruns9,222 bytes
  • references/incremental-update.mddoc2,892 bytes
  • references/matching-profiles.mddoc5,891 bytes
  • references/optimization-modes.mddoc8,349 bytes
  • references/phase-1-requirements.mddoc23,647 bytes
  • references/phase-2-confirmation.mddoc27,299 bytes
  • references/phase-3-rough-design.mddoc12,285 bytes
  • references/phase-4-check.mddoc18,489 bytes
  • references/phase-5-refinement-preview.mddoc1,676 bytes
  • references/phase-6-refinement-layers.mddoc11,629 bytes
  • references/phase-7-output.mddoc4,143 bytes
  • references/phase-8-variants.mddoc7,949 bytes
  • references/prompt-templates.mddoc7,306 bytes
  • references/script-usage.mddoc3,611 bytes
  • references/separate-mode.mddoc11,438 bytes
  • references/setup-guide.mddoc10,152 bytes
  • references/style-generation.mddoc31,286 bytes
  • references/style-library.mddoc15,252 bytes
  • references/workflow-overview.mddoc14,897 bytes
  • requirements.txtdoc89 bytes
  • scripts/batch_generate_pl_test.pyruns9,089 bytes
  • scripts/check_transparency.pyruns19,963 bytes
  • scripts/clean_cache.pyruns6,953 bytes
  • scripts/config_loader.pyruns12,853 bytes
  • scripts/correct_padding_from_detection.pyruns4,626 bytes
  • scripts/crop_to_content.pyruns4,516 bytes
  • scripts/detect_layer_positions.pyruns74,184 bytes
  • scripts/diagnose_equipment.pyruns3,174 bytes
  • scripts/expand_repeats.pyruns17,698 bytes
  • scripts/export_style.pyruns25,144 bytes
  • scripts/generate_image.pyruns27,176 bytes
  • scripts/generate_preview.pyruns15,153 bytes
  • scripts/generate_variants.pyruns10,241 bytes
  • scripts/matchers/__init__.pyruns547 bytes
  • scripts/matchers/base.pyruns1,763 bytes
  • scripts/matchers/color_hsv.pyruns3,933 bytes
  • scripts/matchers/edge_canny.pyruns6,170 bytes
  • scripts/matchers/fusion.pyruns6,891 bytes
  • scripts/matchers/gradient.pyruns5,922 bytes
  • scripts/matchers/grid_periodicity.pyruns28,025 bytes
  • scripts/matchers/pattern_lbp.pyruns4,711 bytes
  • scripts/matchers/rgb_ssd.pyruns3,572 bytes
  • scripts/migrate_config.pyruns7,071 bytes
  • scripts/path_manager.pyruns26,668 bytes
  • scripts/separate_mode.pyruns22,149 bytes
  • scripts/setup.pyruns28,365 bytes
  • scripts/style_loader.pyruns24,319 bytes
  • scripts/validate_size.pyruns14,641 bytes
  • scripts/visualize_detect.pyruns7,938 bytes
  • styles/.gitkeepasset20 bytes
  • styles/README.mddoc1,921 bytes
  • styles/ethereal-fantasy-dark/spec.pngasset3,971,550 bytes
  • styles/ethereal-fantasy-dark/style.jsonasset2,768 bytes
  • styles/fantasy-gacha-dark/spec.pngasset5,099,440 bytes
  • styles/fantasy-gacha-dark/style.jsonasset2,374 bytes
  • templates/preview.htmlasset46,190 bytes

No excerpt is shown for this license. Read the source on GitHub.

View the complete source on GitHub

Skills included

  • layered-design-generator

Repository facts

License
No license detected
Created
Apr 25, 2026
Last pushed
May 21, 2026
Forks
15
Open issues
0
Project activity
Slowing

Before you install

Network or broad shell

Automated signals, not a guarantee

Checked Nov 5, 2026

Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.

Show 2 notes
  • layer-designer/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • layer-designer/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
Show all 114 signals by file

layer-designer/SKILL.md

  • Network accessline 20
    [Credential-related source omitted]
  • Access to secretsline 20
    [Credential-related source omitted]
  • Network accessline 21
    - Ask which matting model to use (`u2net`, `birefnet-general`, etc.) with size/quality trade-offs - If the user communicates in Chinese, explicitly ask whether to use a download mirror (e.g. `https://github.tbedu.top`) - Install dependencie
  • Network accessline 22
    - If the user communicates in Chinese, explicitly ask whether to use a download mirror (e.g. `https://github.tbedu.top`)
  • Access to secretsline 72
    [Credential-related source omitted]

layer-designer/config.example.json

  • Access to secretsline 2
    [Credential-related source omitted]
  • Network accessline 13
    "openai": {         "provider_type": "openai",         "base_url": "http://your-endpoint-ip:8081/v1",
  • Network accessline 14
    [Credential-related source omitted]
  • Network accessline 15
    "base_url": "http://your-endpoint-ip:8081/v1",
  • Access to secretsline 16
    [Credential-related source omitted]
  • Network accessline 25
    "apimart": {         "provider_type": "async_task",         "base_url": "https://api.apimart.ai/v1",
  • Network accessline 26
    [Credential-related source omitted]
  • Network accessline 27
    "base_url": "https://api.apimart.ai/v1",
  • Access to secretsline 28
    [Credential-related source omitted]

layer-designer/layer-designer.cmd

  • Executable scriptline 1
    Executable file

layer-designer/layer-designer.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/references/setup-guide.md

  • Access to secretsline 53
    [Credential-related source omitted]
  • Access to secretsline 64
    [Credential-related source omitted]
  • Network accessline 110
    **选项**: - **是** → 在 `config.json` 中设置 `"download_mirror": "https://github.tbedu.top"`
  • Network accessline 111
    - **是** → 在 `config.json` 中设置 `"download_mirror": "https://github.tbedu.top"`
  • Network accessline 157
    | `--download` | **显式触发模型下载**(默认跳过) | Step 3 用户需要自动下载 | | `--model <name>` | 选择 matting 模型,覆盖 `config.matting.model` | Step 3 用户选择 | | `--use-proxy` | 使用内置 `https://ghproxy.cn` 镜像 | Step 4 中文用户首选 |
  • Network accessline 158
    | `--model <name>` | 选择 matting 模型,覆盖 `config.matting.model` | Step 3 用户选择 | | `--use-proxy` | 使用内置 `https://ghproxy.cn` 镜像 | Step 4 中文用户首选 | | `--no-proxy` | 即使 `config.json` 里有 mirror 也忽略 | Step 4 用户已科学上网 |
  • Network accessline 159
    | `--use-proxy` | 使用内置 `https://ghproxy.cn` 镜像 | Step 4 中文用户首选 |

layer-designer/scripts/batch_generate_pl_test.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/check_transparency.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Access to secretsline 139
    [Credential-related source omitted]

layer-designer/scripts/clean_cache.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/config_loader.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Access to secretsline 30
    [Credential-related source omitted]
  • Access to secretsline 98
    [Credential-related source omitted]
  • Access to secretsline 106
    [Credential-related source omitted]
  • Access to secretsline 107
    [Credential-related source omitted]
  • Network accessline 136
    "provider": provider,         "provider_type": merged.get("provider_type", "openai"),         "base_url": merged.get("base_url", os.environ.get("OPENAI_BASE_URL", "https://your-api-gateway.com/v1")),
  • Network accessline 137
    [Credential-related source omitted]
  • Network accessline 138
    [Credential-related source omitted]
  • Access to secretsline 138
    [Credential-related source omitted]
  • Access to secretsline 139
    [Credential-related source omitted]

layer-designer/scripts/correct_padding_from_detection.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/crop_to_content.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/detect_layer_positions.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/diagnose_equipment.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/expand_repeats.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/export_style.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/generate_image.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Access to secretsline 61
    [Credential-related source omitted]
  • Possible obfuscationline 70
    image_data = base64.b64decode(b64_data)
  • Network accessline 159
    [Credential-related source omitted]
  • Access to secretsline 159
    [Credential-related source omitted]
  • Network accessline 160
    [Credential-related source omitted]
  • Access to secretsline 160
    [Credential-related source omitted]
  • Access to secretsline 161
    [Credential-related source omitted]
  • Access to secretsline 243
    [Credential-related source omitted]
  • Access to secretsline 249
    [Credential-related source omitted]
  • Network accessline 251
    }     if method.upper() == "GET":         resp = requests.get(url, headers=headers, timeout=180)
  • Network accessline 252
    if method.upper() == "GET":         resp = requests.get(url, headers=headers, timeout=180)     else:
  • Network accessline 253
    resp = requests.get(url, headers=headers, timeout=180)
  • Network accessline 254
    else:         resp = requests.post(url, json=json_data, headers=headers, timeout=180)     resp.raise_for_status()
  • Network accessline 255
    resp = requests.post(url, json=json_data, headers=headers, timeout=180)
  • Network accessline 262
    import requests     resp = requests.get(url, timeout=60)
  • Network accessline 263
    resp = requests.get(url, timeout=60)
  • Access to secretsline 271
    [Credential-related source omitted]
  • Access to secretsline 301
    [Credential-related source omitted]
  • Network accessline 329
    [Credential-related source omitted]
  • Network accessline 330
    [Credential-related source omitted]
  • Access to secretsline 330
    [Credential-related source omitted]
  • Network accessline 331
    [Credential-related source omitted]
  • Access to secretsline 331
    [Credential-related source omitted]
  • Access to secretsline 341
    [Credential-related source omitted]
  • Access to secretsline 349
    [Credential-related source omitted]

layer-designer/scripts/generate_preview.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/generate_variants.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/matchers/__init__.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/matchers/base.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/matchers/color_hsv.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/matchers/edge_canny.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/matchers/fusion.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/matchers/gradient.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/matchers/grid_periodicity.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/matchers/pattern_lbp.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/matchers/rgb_ssd.py

  • Executable scriptline 1
    Executable file

layer-designer/scripts/migrate_config.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Access to secretsline 13
    [Credential-related source omitted]

layer-designer/scripts/path_manager.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/separate_mode.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/setup.py

  • Executable scriptline 1
    #!/usr/bin/env python3
  • Network accessline 18
    python scripts/setup.py --download --model birefnet-general     python scripts/setup.py --use-proxy                  # built-in ghproxy.cn mirror     python scripts/setup.py --mirror https://my.mirror   # custom mirror
  • Network accessline 19
    python scripts/setup.py --use-proxy                  # built-in ghproxy.cn mirror     python scripts/setup.py --mirror https://my.mirror   # custom mirror     python scripts/setup.py --skip-deps
  • Network accessline 20
    python scripts/setup.py --mirror https://my.mirror   # custom mirror
  • Network accessline 40
    DEFAULT_PROXY = "https://ghproxy.cn"
  • Network accessline 44
    _MODEL_OFFICIAL_URLS = {     "u2net": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx",
  • Network accessline 45
    "u2net": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/u2net.onnx",
  • Network accessline 46
    "birefnet-general": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/BiRefNet-general-epoch_244.onnx",
  • Network accessline 47
    "birefnet-general-lite": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/BiRefNet-general-lite-epoch_234.onnx",
  • Network accessline 48
    "birefnet-portrait": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/BiRefNet-portrait-epoch_150.onnx",
  • Network accessline 49
    "birefnet-hrsod": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/BiRefNet-HRSOD-epoch_150.onnx",
  • Network accessline 50
    "birefnet-dis": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/BiRefNet-DIS-epoch_150.onnx",
  • Network accessline 51
    "birefnet-cod": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/BiRefNet-COD-epoch_150.onnx",
  • Network accessline 52
    "birefnet-massive": "https://github.com/danielgatis/rembg/releases/download/v0.0.0/BiRefNet-massive-epoch_150.onnx",
  • Network accessline 94
    _log(f"   Downloading from: {url}", quiet=quiet)     try:         with requests.get(url, stream=True, timeout=60) as r:
  • Network accessline 95
    try:         with requests.get(url, stream=True, timeout=60) as r:             r.raise_for_status()
  • Network accessline 96
    with requests.get(url, stream=True, timeout=60) as r:
  • Access to secretsline 258
    [Credential-related source omitted]
  • Network accessline 320
    print(f"   Mirror URL (China mainland): {DEFAULT_PROXY}/{official_url}")         print("\n   Example:")         print(f'   curl -L -o "{model_path}" "{DEFAULT_PROXY}/{official_url}"')
  • Network accessline 321
    print("\n   Example:")         print(f'   curl -L -o "{model_path}" "{DEFAULT_PROXY}/{official_url}"')         print("\n   Or use the link command:")
  • Network accessline 322
    print(f'   curl -L -o "{model_path}" "{DEFAULT_PROXY}/{official_url}"')
  • Network accessline 557
    "--mirror",         default="",         help="Custom download mirror prefix (e.g. https://ghproxy.cn). Overrides config.download_mirror.",
  • Network accessline 558
    default="",         help="Custom download mirror prefix (e.g. https://ghproxy.cn). Overrides config.download_mirror.",     )
  • Network accessline 559
    help="Custom download mirror prefix (e.g. https://ghproxy.cn). Overrides config.download_mirror.",
  • Access to secretsline 680
    [Credential-related source omitted]

layer-designer/scripts/style_loader.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/validate_size.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/scripts/visualize_detect.py

  • Executable scriptline 1
    #!/usr/bin/env python3

layer-designer/templates/preview.html

  • Network accessline 341
    // ─── Auto-load from same directory ───     fetch('./enhanced_layer_plan.json')
  • Network accessline 342
    fetch('./enhanced_layer_plan.json')

How the signals fit together

Facts from a static read of the files at the pinned commit. They describe what the code does, not why.

Some files could not be read; the facts below still hold.

Declared and executed: 4 facts
Signal confidence: 103 facts

and 53 more

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeCompatibleStandard SKILL.md layer-designer/SKILL.md.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md layer-designer/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md layer-designer/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md layer-designer/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md layer-designer/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard SKILL.md layer-designer/SKILL.md.opencode/skills/<skill-name>/
  • Native The repository ships a manifest, folder or frontmatter field for this agent.
  • Compatible A standard SKILL.md that this agent can read.
  • Unknown No evidence either way.

Derived automatically from paths, manifests and frontmatter. Not tested on each agent.