Playground

Plugin

让 agent 生成单文件 HTML 交互式 playground:一侧是可视化控件,一侧是实时预览,底部输出可复制回 Claude 的提示词。内置设计调参、数据探索、概念图、文档批注、代码评审、代码架构图等模板。Anthropic 官方维护。

anthropics/claude-plugins-official · plugins/playground39.3k
在 GitHub 上查看
README

Playground Plugin

Creates interactive HTML playgrounds — self-contained single-file explorers that let users configure something visually through controls, see a live preview, and copy out a prompt.

What is a Playground?

A playground is a self-contained HTML file with:

  • Interactive controls on one side
  • A live preview on the other
  • A prompt output at the bottom with a copy button

The user adjusts controls, explores visually, then copies the generated prompt back into Claude.

When to Use

Use this plugin when the user asks for an interactive playground, explorer, or visual tool for a topic — especially when the input space is large, visual, or structural and hard to express as plain text.

Templates

The skill includes templates for common playground types:

  • design-playground — Visual design decisions (components, layouts, spacing, color, typography)
  • data-explorer — Data and query building (SQL, APIs, pipelines, regex)
  • concept-map — Learning and exploration (concept maps, knowledge gaps, scope mapping)
  • document-critique — Document review (suggestions with approve/reject/comment workflow)

Installation

Add this plugin to your Claude Code configuration to enable the playground skill.