z-stack
Health Uyari
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Gecti
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Proof-first Claude Code workflows. /z-stack:evidence shows before and after screenshots of a change.
z-stack
Proof-first workflows for Claude Code. Show the options before building, then show the change, don't describe it.
Skills
/z-stack:ui-demo
Mocks up a UI change before any product code is touched, as one demo site with every design side by side, so people pick the design instead of reading about it.
- Frames one open question and 2 to 4 options that differ in structure or behavior, each with trade-offs and a build cost in hours or days.
- Draws every option live, with the project's own tokens, copy and window size, next to screenshots of the screen today in each theme.
- Builds one site with three views over the same designs: All side by side with a "How they differ" table, Compare two side by side or with a slider, and One at a time. One click opens the same panel in every design at once.
- Makes every design a working prototype with an interaction kit (
data-toggle,data-set,data-bind,data-busy,data-toast): menus, dialogs, tabs, typing, loading and toasts work with no code. Scenarios (Typical, Empty, Error) flip every design at once, and?audit=1outlines any control that does nothing. - Opens the site live in the browser pane, and checks every view in light and dark, and at phone width, before anyone sees it.
- Lets people choose: a question in the chat for one person, or a private Artifact with shared picks for a team.
- Iterates in rounds (
<slug>-r2.html), then writes the pick down in<slug>.decision.mdas the build brief.
The site shell and the local server also run on their own:
python3 plugins/z-stack/skills/ui-demo/scripts/scaffold.py \
--out docs/demos/settings-layout.html --title "Where Settings opens" \
--option "a|Sidebar swaps|The sidebar turns into the Settings list." \
--option "b|Tab with header|Settings opens in the card like any tab." \
--recommend a --baseline-dark today-dark.png --baseline-light today-light.png
python3 -I plugins/z-stack/skills/ui-demo/scripts/serve.py "$PWD/docs/demos"
/z-stack:evidence
Proves a change with before and after screenshots.
- Finds the base ref (
HEADfor uncommitted work, the merge-base for a branch). - Builds the before from a detached
git worktree, so your working tree is never stashed or reset. - Captures the same screens, sizes and theme on both sides, using the project's own capture script when it has one (otherwise a browser, the iOS Simulator, or a Mac app screenshot).
- Looks at every image and rejects blank or wrong frames.
- Builds one
report.htmlwith side by side, a drag slider and a red pixel diff, plus amanifest.jsonwith the sha256 of each image and the share of pixels changed.
The report generator also runs on its own:
python3 plugins/z-stack/skills/evidence/scripts/evidence.py \
--out ./.evidence/my-change --title "New settings layout" --base main \
--pair "settings-dark" before.png after.png "Groups moved into one column"
Pillow (pip install pillow) turns on the diff. Without it the report still builds.
/z-stack:pr-evidence
Puts proof on a pull request, so a reviewer can trust it without checking out the branch.
- Visible change: before and after screenshots, made with
/z-stack:evidence. - Change you measure (speed, size, memory, failure rate): charts drawn from real runs on both sides. Every chart shows the median, the range of runs, the change in percent, and whether it moved the better way, the worse way, or stayed within noise. A regression is shown as plainly as a win.
The images go on an orphan branch, z-stack-evidence, one folder per PR, so the PR branch never carries them. The skill then writes an ## Evidence section for the PR body.
With no PR yet, it makes the evidence first and opens the PR last, so the PR never shows up without its proof. Before the PR exists, the folder is named after the branch (branch-<name>).
python3 plugins/z-stack/skills/pr-evidence/scripts/chart.py metrics.json --out ./.evidence/pr-42
python3 plugins/z-stack/skills/pr-evidence/scripts/publish.py --dir ./.evidence/pr-42 --pr 42
python3 plugins/z-stack/skills/pr-evidence/scripts/section.py --dir ./.evidence/pr-42 --pr 42 > evidence.md
# No PR yet: leave out --pr, then open the PR with the section in its body
python3 plugins/z-stack/skills/pr-evidence/scripts/publish.py --dir ./.evidence/new
python3 plugins/z-stack/skills/pr-evidence/scripts/section.py --dir ./.evidence/new > evidence.md
metrics.json holds the raw samples and the command that made them. See the skill for the format.
/z-stack:bird
End-to-end 3D bird creation, rigging, animation, and HD demo video pipeline in Blender.
/z-stack:bird [--style <style>] [--creator <off|tripo|meshy|fal>] [--animations <ask|preset|custom>] <prompt>
--style(default:photorealistic): locks the art style across all 8 orthographic views (photorealistic,stylized,low-poly,anime,clay, or custom).--creator(default:off): choosetripo(Tripo AI),meshy(Meshy AI), orfal(fal.ai) via MCP or CLI to auto-generate both GLBs; whenoff, the skill generates all 8 aligned turnaround PNGs (4 open-wing + 4 closed-wing, displayed inline) and waits for your open-wing and closed-wing meshes.--animations(default:ask): asks before rigging whether to use the bundled 52-bone universal avian skeleton (Bird_Rig) and 6-action suite (Bird_Idle,Bird_Walk,Bird_Fly,Bird_Land,Bird_Eat,Bird_Walk_And_Flywith natural blinking, split beak, takeoff/landing mesh swaps, and ground pecking) or generate custom animations.
Connect optional 3D creators via MCP (Claude Code, z-stack, Antigravity, Cursor) or CLI in one command:
# Check installed CLIs, MCP configs, API keys, Blender & Pillow
python3 plugins/z-stack/skills/bird/scripts/setup_providers.py --check
# Connect CLI + MCP automatically (auto-detects Claude Code / z-stack / Antigravity)
python3 plugins/z-stack/skills/bird/scripts/setup_providers.py --install tripo --mode both
python3 plugins/z-stack/skills/bird/scripts/setup_providers.py --install meshy --mode both
python3 plugins/z-stack/skills/bird/scripts/setup_providers.py --install fal --mode both
# Or connect MCP only into a specific client (`claude`, `zstack`, `antigravity`, `cursor`, `all`)
python3 plugins/z-stack/skills/bird/scripts/setup_providers.py --install meshy --mode mcp --target claude
python3 plugins/z-stack/skills/bird/scripts/setup_providers.py --install tripo --mode mcp --target zstack
Even without installing an MCP server or third-party CLI, scripts/generate_3d.py talks directly to Tripo, Meshy, and fal.ai multiview-to-3D APIs using Python's standard library as soon as TRIPO_API_KEY, MESHY_API_KEY, or FAL_KEY is set. See providers.md for manual MCP configs and troubleshooting.
Install
claude plugin marketplace add duolahypercho/z-stack
claude plugin install z-stack@z-stack
Then start a new session and run /z-stack:ui-demo, /z-stack:evidence, /z-stack:pr-evidence, or /z-stack:bird.
Layout
.claude-plugin/marketplace.json marketplace entry
plugins/z-stack/
.claude-plugin/plugin.json
skills/ui-demo/SKILL.md options to pick from, before building
skills/ui-demo/scripts/ scaffold.py, template.html, serve.py
skills/evidence/SKILL.md the workflow
skills/evidence/scripts/evidence.py report builder
skills/pr-evidence/SKILL.md proof on a PR
skills/pr-evidence/scripts/ chart.py, publish.py, section.py
skills/bird/SKILL.md dual-mesh 3D bird turnaround, Blender rig & demo video
skills/bird/references/ providers.md, mcp_providers.json
skills/bird/scripts/ align_turnaround.py, setup_providers.py, generate_3d.py,
analyze_audio.py, rig_bird_blender.py, render_bird_demo.py
License
MIT
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi