pi-heartbeat
Configure periodic health checks via HEARTBEAT.md and the /heartbeat command.
Manage design work in Penpot — create projects, organize pages, build components, export assets, review designs visually, and handle design-to-code handoff. Use when asked to create designs, manage Penpot projects, build components, export tokens, set up a new design project,
$ npx -y skills add espennilsen/pi --skill penpot-workflow --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/penpot-workflowContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage design work in Penpot — create projects, organize pages, build components, export assets, review designs visually, and handle design-to-code handoff. Use when asked to create designs, manage Penpot projects, build components, export tokens, set up a new design project,
name: penpot-workflow description: > Manage design work in Penpot — create projects, organize pages, build components, export assets, review designs visually, and handle design-to-code handoff. Use when asked to create designs, manage Penpot projects, build components, export tokens, set up a new design project, review a design, take screenshots, or show what something looks like.
Step-by-step workflows for managing design work in Penpot via the `pi-penpot` extension.
When starting a new design project:
1. **Create the Penpot project** with a clear, matching name (same as the code repo) 2. **Set up standard pages:**
3. **Define foundations first:**
Use `penpot_page` tool actions. All shapes support `fills`, `opacity`, and `rotation` on creation.
**Rectangles and frames** also support `r1`-`r4` for border radius on creation:
penpot_page add-rectangle fileId=X pageId=Y x=0 y=0 width=200 height=100
fills=[{fillColor: "#1E293B", fillOpacity: 1}]
r1=12 r2=12 r3=12 r4=12**Text** supports `fontSize`, `fontWeight`, `fontFamily`, `fontColor` on creation:
penpot_page add-text fileId=X pageId=Y x=0 y=0 width=200 height=40 text="Hello World" fontSize="24" fontWeight="700" fontFamily="sourcesanspro" fontColor="#FFFFFF"
Always pass `fontSize` and `fontWeight` as strings: `"24"` not `24`, `"700"` not `700`.
After creation, use `modify-shape` to add advanced styling. First-class params:
penpot_page modify-shape fileId=X pageId=Y shapeId=Z r1=16 r2=16 r3=16 r4=16
penpot_page modify-shape fileId=X pageId=Y shapeId=Z
shadow=[{
style: "drop-shadow",
color: {color: "#000000", opacity: 0.3},
offsetX: 0, offsetY: 4, blur: 12, spread: 0
}]penpot_page modify-shape fileId=X pageId=Y shapeId=Z
blur={type: "layer-blur", value: 4}penpot_page modify-shape fileId=X pageId=Y shapeId=Z
strokes=[{strokeColor: "#7C3AED", strokeOpacity: 0.5, strokeWidth: 2, strokeAlignment: "inner"}]penpot_page modify-shape fileId=X pageId=Y shapeId=Z
textContent={
type: "root",
children: [{type: "paragraph-set", children: [{type: "paragraph", children: [{
text: "Updated text",
fontFamily: "sourcesanspro",
fontSize: "32",
fontWeight: "700",
fontStyle: "normal",
fillColor: "#FFFFFF",
fillOpacity: 1
}]}]}]
}Use `attrs` as a catch-all for any shape property not covered above:
penpot_page modify-shape fileId=X pageId=Y shapeId=Z
attrs={hidden: true, blocked: false}1. **Create shapes** with basic geometry + fills + border radius 2. **Style shapes** with modify-shape: shadows, strokes, blur 3. **Create text** with proper fontSize/fontWeight/fontColor from the start 4. **Re-style text** with textContent on modify-shape if needed later 5. **Batch work** — create all shapes first, then style them (reduces API calls)
| Feature | Create | Modify | Notes | |---------|--------|--------|-------| | Position & size | ✅ | ✅ | x, y, width, height | | Fills | ✅ | ✅ | Array of fill objects | | Border radius | ✅ | ✅ | r1, r2, r3, r4 params | | Shadows | ❌ | ✅ | shadow param, UUID auto-generated | | Blur | ❌ | ✅ | blur param, UUID auto-generated | | Strokes | ✅ | ✅ | strokes param | | Text styling | ✅ | ✅ | fontSize/fontWeight/fontColor on create; textContent on modify | | Opacity | ✅ | ✅ | 0-1 number | | Rotation | ✅ | ✅ | degrees |
When you need to **review your own work** or the user asks you to **review a design**, capture actual rendered screenshots from Penpot's viewer.
penpot get-file fileId=<fileId>
penpot create-share-link fileId=<fileId> pages=[<pageId1>, <pageId2>] whoInspect="all"
Share links are required — Penpot's viewer won't render without either authentication or a share token.
The Penpot viewer URL format is:
https://penpot.e9n.dev/#/view?file-id=<fileId>&page-id=<pageId>§ion=interactions&index=0&share-id=<shareId>
Use Playwri
This repository is my Pi coding agent home directory. I keep it under version control and symlink it to ~/.pi/agent so Pi loads configuration, extensions, skills, and runtime state from here.
Configure periodic health checks via HEARTBEAT.md and the /heartbeat command.
Manage persistent memory across sessions. Use when asked to remember, recall, forget, or review what was stored. Covers long-term…
Track and manage projects with git status via dashboard and tool.
Delegate tasks to specialized subagents for parallel or sequential execution.
Audit, generate, update, and lint AGENTS.md files across all projects. Use when asked to check project context files, scaffold…