Agent skill

Swiftui Graphics

by AThevon in AThevon/genjutsu

Advanced SwiftUI visuals - Metal shaders (.colorEffect, .layerEffect, .distortionEffect), .visualEffect, Liquid Glass (iOS 26), Canvas, holographic and CRT effects.

Custom licenceAuto-check passedMobile

Install Swiftui Graphics

skills CLI
$ npx skills add AThevon/genjutsu --skill swiftui-graphics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AThevon/genjutsu swiftui-graphics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AThevon/genjutsu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/_jutsu/swiftui-graphics .claude/skills/swiftui-graphics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
swiftui-graphics
GitHub stars
424
Used in
2 other repos
Token cost
~3.5k tokens
SKILL.md length
810 words
Files
4 (incl. references)
Skills in repo
20
Repo updated
First seen
Licence
Custom licence

At a glance

Advanced SwiftUI visuals - Metal shaders (.colorEffect, .layerEffect, .distortionEffect), .visualEffect, Liquid Glass (iOS 26), Canvas, holographic and CRT effects.

  • Works in 4 steps: Stacked .colorEffect modifiers → Canvas redrawn on every state change → Hardcoded color values inside shader → …
  • Tasks that involve iOS development
  • SKILL.md covers Decision Tree: Which API?, Metal Shaders Intro, Recipe: Ripple .layerEffect and Recipe: Holographic .colorEffect, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Swiftui Graphics is an agent skill from AThevon/genjutsu. Advanced SwiftUI visuals - Metal shaders (.colorEffect, .layerEffect, .distortionEffect), .visualEffect, Liquid Glass (iOS 26), Canvas, holographic and CRT effects.

Its SKILL.md is about 3.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/canvas-swiftui.md`, `references/liquid-glass-deep.md` and `references/metal-recipes.md`).

It sits in Mobile, covering iOS development and Shaders. It works with SwiftUI and iOS. The repository describes itself as: Creative coding skills for Claude Code, claude.ai and Cowork. Motion, micro-interactions and design systems across Web (GSAP, Motion, Three.js, CSS), Android (Jetpack Compose)…

When your agent uses it

  • Tasks that involve iOS development
  • Tasks that involve Shaders

Example prompts

  • “/swiftui-graphics”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Stacked .colorEffect modifiers
  2. Canvas redrawn on every state change
  3. Hardcoded color values inside shader
  4. .glassEffect everywhere

What it can do on your machine

Read from SKILL.md and the folder at commit 1f518a7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are swift and metal).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • developer.apple.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Swiftui Graphics loads about 3.5k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 45 tokens; SKILL.md has 810 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~3.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 810 words (~3,516 tokens).

“SwiftUI binds to Metal Shading Language (MSL) via three modifiers shipped in iOS 17: .colorEffect, .distortionEffect, .layerEffect. You author a .metal file in your app target, mark functions with the [[ stitchable ]] attribute, and SwiftUI auto-generates the Swift binding…”

— opening of SKILL.md by AThevon, Custom licence
name
swiftui-graphics
metadata.internal
true

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (references) in skills/_jutsu/swiftui-graphics of AThevon/genjutsu.

  • SKILL.md
  • references/canvas-swiftui.md
  • references/liquid-glass-deep.md
  • references/metal-recipes.md

Open the folder on GitHubat commit 1f518a7

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in AThevon/genjutsu, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Swiftui Graphics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Swiftui Graphics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swiftui Graphics this skillAThevon/genjutsu4242 repos~3.5kAutomated safety check: PassCustom licence
Swiftui Animation MatchRayFernando1337/rayfernando-skills130—~1.3kAutomated safety check: PassApache-2.0
Update Swiftui APIsAvdLee/SwiftUI-Agent-Skill3.7k—~1.2kAutomated safety check: PassMIT
Swiftui Liquid Glassharperreed/dotfiles3348 repos~941Automated safety check: PassNone
Swiftui Expert Skillomarshahine/HomeClaw1764 repos~2.8kAutomated safety check: PassMIT
Hig Project Contextraintree-technology/hig-doctor1435 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • Swiftui Animation Match

    RayFernando1337/rayfernando-skills

    Match UI/UX interaction needs to proven SwiftUI animation patterns from curated open-source catalogs.

    130 GitHub stars~1.3k tokensUpdated 2 mo ago
    MobileAuto-check passed
  • Update Swiftui APIs

    AvdLee/SwiftUI-Agent-Skill

    Scan Apple's SwiftUI documentation for deprecated APIs and update the SwiftUI Expert Skill with modern replacements.

    3.7k GitHub stars~1.2k tokensUpdated 2 days ago
    MobileAuto-check passed
  • Swiftui Liquid Glass

    harperreed/dotfiles

    Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API.

    334 GitHub starsUsed in 8 repos~941 tokens
    MobileAuto-check passed
  • Swiftui Expert Skill

    omarshahine/HomeClaw

    A skill your agent uses when writing, reviewing, or refactoring SwiftUI code for iOS or macOS, including state management, view composition, performance, Liquid Glass adoption, or Instruments .trace…

    176 GitHub starsUsed in 4 repos~2.8k tokens
    MobileAuto-check passed
  • Hig Project Context

    raintree-technology/hig-doctor

    Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

    143 GitHub starsUsed in 5 repos~1.2k tokens
    MobileAuto-check passed
  • Liquid Glass Design

    AstraFoundry/KumoApp

    iOS 26 Liquid Glass design system — dynamic glass material with blur, reflection, and interactive morphing for SwiftUI, UIKit, and WidgetKit.

    290 GitHub starsUsed in 5 repos~2.3k tokens
    MobileAuto-check passed

More from AThevon/genjutsu

All 20 skills in this repo
  • Orchestration

    AThevon/genjutsu

    Running a team of subagents on one design build: clone briefs, disjoint file ownership, isolated builds, the evidence packet, review lenses, the fix plan, verdicts, cold eyes and the stop rule, with…

    424 GitHub stars~4.9k tokensUpdated 3 days ago
    Auto-check passed
  • Design Audit

    AThevon/genjutsu

    Design audit checklist - motion gaps, accessibility, color consistency, responsive, performance.

    424 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • UI UX Pro Max

    AThevon/genjutsu

    UI/UX design-system intelligence - 84 styles, 192 palettes, 74 font pairings, 25 charts, 99 UX guidelines across 22 stacks (searchable dataset + CLI).

    424 GitHub stars~4.3k tokensUpdated 3 days ago
    Auto-check passed
  • Canvas Generative

    AThevon/genjutsu

    Algorithmic and generative art with Canvas 2D - particles, flow fields, noise, fractals, L-systems.

    424 GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Compose Motion

    AThevon/genjutsu

    Jetpack Compose animation foundations - animateAsState, AnimatedVisibility, Crossfade, updateTransition, SharedTransitionLayout, gestures.

    424 GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Compose Multiplatform

    AThevon/genjutsu

    Compose Multiplatform / KMP patterns - expect/actual composables, platform-specific code, density and font handling cross-target, iOS/Android/Desktop interop.

    424 GitHub starsUsed in 1 repo~4.1k tokens
    Auto-check passed

Works with

Categories

Questions about Swiftui Graphics

What does Swiftui Graphics do?

Advanced SwiftUI visuals - Metal shaders (.colorEffect, .layerEffect, .distortionEffect), .visualEffect, Liquid Glass (iOS 26), Canvas, holographic and CRT effects. Swiftui Graphics is an agent skill from AThevon/genjutsu.visualEffect, Liquid Glass (iOS 26), Canvas, holographic and CRT effects.

When should I use Swiftui Graphics?

Swiftui Graphics fits situations like: tasks that involve iOS development; tasks that involve Shaders.

How do I install Swiftui Graphics in Claude Code?

Run `npx skills add AThevon/genjutsu --skill swiftui-graphics -a claude-code`. Or copy the skill folder (skills/_jutsu/swiftui-graphics in AThevon/genjutsu) into .claude/skills/swiftui-graphics in your project. Claude Code loads it when a task matches its description.

How do I install Swiftui Graphics in Codex?

Run `npx skills add AThevon/genjutsu --skill swiftui-graphics -a codex`. Or copy the skill folder (skills/_jutsu/swiftui-graphics in AThevon/genjutsu) into .agents/skills/swiftui-graphics in your project. Codex loads it when a task matches its description.

Can I use Swiftui Graphics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AThevon/genjutsu --skill swiftui-graphics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swiftui-graphics, .gemini/skills/swiftui-graphics, .github/skills/swiftui-graphics and .opencode/skills/swiftui-graphics in your project.

What does Swiftui Graphics need to run?

SKILL.md names no scripts, command-line tools or credentials: Swiftui Graphics is instructions for the agent only.

Does Swiftui Graphics access the network?

SKILL.md names 2 domains. As links in the text: github.com and developer.apple.com. This is read from the text; nothing was executed.

Is Swiftui Graphics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Swiftui Graphics use?

Swiftui Graphics has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Swiftui Graphics use?

About 3.5k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.2k tokens, read only when the agent opens those files.

What are the alternatives to Swiftui Graphics?

Skills that share tags, products or a category with Swiftui Graphics: Swiftui Animation Match (RayFernando1337/rayfernando-skills, 130 stars), Update Swiftui APIs (AvdLee/SwiftUI-Agent-Skill, 3.7k stars), Swiftui Liquid Glass (harperreed/dotfiles, 334 stars) and Swiftui Expert Skill (omarshahine/HomeClaw, 176 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Swiftui Graphics?

AThevon (a GitHub user) maintains it in AThevon/genjutsu, which has 424 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on October 5, 2026.

Source: AThevon/genjutsu on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.