Jcwen

Pencil Renderer

デザイン・メディアv0.1.2
作者:Jcwen更新日 2026-05-17全 3 バージョン · 最新版の公開日 2026-02-11pencil-renderer@clawhub_jcwen/pencil-renderer
ビジュアル素材UI デザイン

AlphaMoatによると、2026-09時点でPencil Rendererのダウンロード数は2,370、スター数は0で、AIスキル全体5,078件中4,199位、デザイン・メディアでは512件中411位です。

インストール数
123
ダウンロード数
2370
スター数
-
総合順位
#4,199
全体の上位 83% · デザイン・メディアの上位 81%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗682288--
SkillHub ↗1232370-—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

文書の準備、スタイルガイドの参照、バッチ設計操作、結果の撮影という手順を示し、オーケストレーターから呼び出す視覚提案の描画に使います。バッチ操作は既存デザインを置換、削除、変更する可能性があるため、重要なファイルへ適用する前に確認してください。外部画像プロンプトに機微なテキストを含めないでください。

資料公開日 2026-10-29

できること

  • 指定されたスタイル DNA を Pencil のコンポーネント属性に対応付ける
  • 視覚提案用に hero、card、form などのフレームを計画する
  • 設計操作の適用前にファイルへの影響を確認する

使う場面

  • 構造化された視覚案を Pencil フレームに描画する設計オーケストレーションで使う場合

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

ファイルを開いたり変更したりせずに、レイアウトと色の DNA を Pencil 属性へ対応付ける方法を説明して。
バッチ設計操作の前に、置換・削除・変更される可能性のある内容を列挙して。

月次の推移

ダウンロード数2370
1052176024682026-03 · ダウンロード数 11502026-05 · ダウンロード数 16722026-06 · ダウンロード数 18232026-07 · ダウンロード数 20452026-08 · ダウンロード数 21732026-09 · ダウンロード数 237026-0326-09
スター数-
0112026-03 · スター数 -2026-05 · スター数 -2026-06 · スター数 -2026-07 · スター数 -2026-08 · スター数 -2026-09 · スター数 -26-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-092370—-
2026-082173+6.3%-
2026-072045+12.2%-
2026-061823+9.0%-
2026-051672—-
2026-031150—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.9 KB・ClawHub v0.1.2
---
name: pencil-renderer
description: |
  Render DNA codes to Pencil .pen frames. Does ONE thing well.

  Input: DNA code + component type (hero, card, form, etc.)
  Output: .pen frame ID + screenshot

  Use when: design-exploration or other orchestrators need to render
  visual proposals using Pencil MCP backend.
すべて表示(全 143 行)
effort: high
---

# Pencil Renderer

Translate aesthetic DNA codes into Pencil .pen frames via MCP.

## Interface

**Input:**
- DNA code: `[layout, color, typography, motion, density, background]`
- Component type: `hero | card | form | nav | footer | section | button | input`
- Optional: Name, dimensions, parent frame ID

**Output:**
- Frame ID in .pen file
- Screenshot of rendered frame

## Workflow

### 1. Ensure Document Ready

```javascript
// Check if editor open
mcp__pencil__get_editor_state({ include_schema: false })

// If no editor, open or create
mcp__pencil__open_document({ filePathOrTemplate: "new" })
```

### 2. Get Style Foundation

```javascript
// Get available style guide tags
mcp__pencil__get_style_guide_tags()

// Get style guide matching DNA mood
// Map DNA to relevant tags:
// - dark color → ["dark-mode", "moody"]
// - light color → ["light", "clean"]
// - spacious density → ["airy", "whitespace"]
// etc.
mcp__pencil__get_style_guide({ tags: [mapped_tags] })
```

### 3. Translate DNA to Pencil Properties

Reference: `references/dna-to-pencil.md`

DNA axis → Pencil property mapping is deterministic.
Example: `centered` layout → `alignItems: "center"`, symmetric padding

### 4. Execute Design Operations

Reference: `references/batch-design-patterns.md`

```javascript
mcp__pencil__batch_design({
  filePath: "<path>.pen",
  operations: `
    frame=I(document, {type: "frame", name: "Hero-Brutalist", ...properties})
    heading=I(frame, {type: "text", content: "Headline", ...typography})
    // ... additional operations
  `
})
```

### 5. Capture Result

```javascript
// Screenshot for visual verification
mcp__pencil__get_screenshot({ nodeId: "frameId" })
```

### 6. Return

```markdown
Frame ID: [id]
DNA: [layout, color, typography, motion, density, background]
```

Plus screenshot image.

## Component Templates

| Type | Structure |
|------|-----------|
| `hero` | Container + headline + subhead + CTA buttons |
| `card` | Container + image area + content + actions |
| `form` | Container + labels + inputs + submit |
| `nav` | Container + logo + links + actions |
| `footer` | Container + columns + links + legal |
| `section` | Container + heading + content grid |
| `button` | Frame + text + icon slot |
| `input` | Frame + label + field + validation |

## DNA Translation Quick Reference

| DNA Axis | Key Pencil Properties |
|----------|----------------------|
| Layout: centered | `alignItems: "center"`, equal padding |
| Layout: asymmetric | Offset positions, varied gaps |
| Layout: bento | Grid with varied spans |
| Color: dark | Dark fill, light foreground |
| Color: gradient | `fill: {type: "linear", stops: [...]}` |
| Typography: display-heavy | Large heading sizes, high contrast |
| Typography: minimal | Restrained scale, single family |
| Density: spacious | gap: 24-48, generous padding |
| Density: compact | gap: 8-16, tight padding |
| Background: solid | Single fill color |
| Background: textured | G() for patterns/images |

## Constraints

- **Single concern**: Render DNA → frame. No interview, no iteration.
- **Pencil MCP required**: Fails fast if unavailable
- **Deterministic mapping**: Same DNA always produces same structure
- **Composable**: Called by orchestrators, not users directly

## References

- `references/dna-to-pencil.md` — Complete axis mapping
- `references/batch-design-patterns.md` — Common operation sequences
- `aesthetic-system/references/dna-codes.md` — DNA axis definitions

## Integration

**Called by:**
- `design-exploration` orchestrator (when Pencil backend available)

**Composes:**
- `aesthetic-system` (for DNA interpretation)

デザイン・メディアの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。