petal-design SKILL.md skillA
petal-design from fredwu/dotfiles is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add fredwu/dotfiles/petal-design@git:20260927.525f082Pins git:20260927.525f082 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- fredwu/dotfiles
- Path
ai/skillshare/skills/petal-design/SKILL.md- Versions recorded
- 2
- Latest version
- git:20260927.525f082, committed Sep 27, 2026
- First version recorded
- Sep 1, 2026
- Size
- 6,963 bytes
- Repository stars
- 18
- License
- none declared
Design doctrine for Phoenix apps using petal_components. Use whenever you build, edit, review, or theme UI in a Phoenix or LiveView project - writing or changing HEEx templates, composing pages from <.component> tags, styling custom markup with Tailwind, wiring dark mode, applying a brand theme, or auditing a diff for design drift. Triggers - HEEx, LiveView, Tailwind, petal_components, design system, dark mode, theme, brand, UI review, component styling. Not for backend-only work.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# petal-design Petal ships the design system: `@theme` semantic ramps, one radius knob (`--pc-radius`), a dark-mode material, and 213 components. There is no init step, no interview, and no DESIGN.md to write - this file plus its references ARE the doctrine. Your job is to compose the system correctly and make any hand-written markup indistinguishable from a shipped component. ## Modes Route by request. Propose and confirm - never auto-run work the user did not ask for. - **Build** (default) - any request that writes or edits HEEx/UI. The craft floor below always applies. Load `references/tokens.md` before styling custom markup (anything with no `<.component>` for it). Load `references/patterns.md` before wiring `data_table`, `filters`, forms, or the Chat family. - **Review** - "review / audit / critique this UI", or a diff to check. Load `references/review.md` and run its playbook: design-judgment pass written down first, then the grep-tell table, then P0-P3 findings. - **Theme** - "brand / theme / dark mode / fonts / make it ours". Load `references/tokens.md` and apply its `@theme` section: primary ramp, gray dial remap, …
Read the whole file at its exact version.
How to install
mdr add fredwu/dotfiles/petal-design@sha256:e08e7e28e2d76af3The line at the top of this page pins the label git:20260927.525f082, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_eaktwgvarlu45jyu)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Sep 1, 2026 and Sep 27, 2026, about one every 27 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260927.525f082 latest | 2026-09-27 | 525f082 | 6,963 B | A | view · diff |
| git:20260901.8474450 | 2026-09-01 | 8474450 | 6,925 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6963 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
fredwu/dotfiles · 18 stars · license none declared · pushed 2026-11-08 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_eaktwgvarlu45jyu GET https://markdownregistry.com/api/v1/resolve?ref=fredwu/dotfiles/petal-design GET https://markdownregistry.com/api/v1/blob/e08e7e28e2d76af336de93772261e064bf35f9831bd721b90f98b7612b7f0c9e
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.