/taisun-agent:lp-html-generatorfrom taisun-agent
HTML/CSSでLP画像を生成。Playwrightでスクリーンショットして画像化。日本語テキストが100%正確に表示される。
Ships in taisun-agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
HTML/CSSでLPを構築し、Playwrightでスクリーンショットして画像化するスキル。 AIによる画像生成と異なり、テキストが絶対に崩れない。日本語フォントも完全対応。
| コマンド | 説明 |
|---|---|
/lp-html-generate | テンプレート + テキストでLP画像生成 |
/lp-html-register | 参考画像からHTMLテンプレートを作成・保存 |
/lp-html-list | 保存済みテンプレートの一覧表示 |
「modernスタイルでセミナーLP画像を作って」
手順:
.claude/skills/lp-html-generator/templates/[テンプレート名].html を読み込む(Read tool){{topBarText}} → トップバーテキスト{{headline}} → メインヘッドライン{{subtitle}} → サブタイトル{{ctaText}} → CTAテキスト{{bottomBarText}} → ボトムバーテキスト{{primaryColor}} → メインカラー(指定あれば){{textColor}} → テキストカラー(指定あれば){{ctaColor}} → CTAボタンカラー(指定あれば)/tmp/lp_output_[timestamp].html に保存(Write tool)~/Desktop/lp_[timestamp].png として保存「このLP画像からHTMLテンプレートを作って」+ 画像パス
手順:
{{headline}}等)を適切な箇所に配置.claude/skills/lp-html-generator/templates/[名前].html に保存(Write tool)「HTMLテンプレート一覧」
手順:
.claude/skills/lp-html-generator/templates/ を確認(Glob tool).html ファイルの一覧を表示(.gitkeep除外)1. HTMLファイルを /tmp/lp_output_[timestamp].html に保存(Write tool)
2. mcp__playwright__browser_navigate で file:// URLを開く
url: "file:///tmp/lp_output_[timestamp].html"
3. mcp__playwright__browser_resize で 1080x1080 にリサイズ
width: 1080
height: 1080
4. mcp__playwright__browser_take_screenshot でPNG保存
raw: false(base64エンコード)
5. 保存先: ~/Desktop/lp_[timestamp].png
6. mcp__playwright__browser_close でブラウザ終了
/tmp/lp_output_[timestamp].html に保存HTMLファイルを保存しました: /tmp/lp_output_[timestamp].html
ブラウザで開いてスクリーンショットを撮ってください。
推奨サイズ: 1080x1080px
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
width: 1080px;
font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
background: {{backgroundColor}};
overflow: hidden;
}
.top-bar {
background: {{primaryColor}};
color: white;
padding: 12px;
text-align: center;
font-size: 16px;
font-weight: bold;
}
.hero {
padding: 40px;
text-align: center;
}
.hero h1 {
font-size: 48px;
color: {{textColor}};
line-height: 1.4;
margin-bottom: 20px;
font-weight: bold;
}
.hero .subtitle {
font-size: 24px;
color: {{secondaryColor}};
margin-bottom: 30px;
line-height: 1.6;
}
.cta-button {
display: inline-block;
background: {{ctaColor}};
color: white;
padding: 18px 48px;
border-radius: 8px;
font-size: 22px;
font-weight: bold;
text-decoration: none;
cursor: pointer;
}
.bottom-bar {
background: {{primaryColor}};
color: white;
padding: 12px;
text-align: center;
font-size: 14px;
}
</style>
</head>
<body>
<div class="top-bar">{{topBarText}}</div>
<div class="hero">
<h1>{{headline}}</h1>
<p class="subtitle">{{subtitle}}</p>
<a class="cta-button">{{ctaText}}</a>
</div>
<div class="bottom-bar">{{bottomBarText}}</div>
</body>
</html>
| プレースホルダー | 説明 | デフォルト値 |
|---|---|---|
{{topBarText}} | トップバーのテキスト | 無料セミナー開催 |
{{headline}} | メインヘッドライン | ヘッドラインをここに |
{{subtitle}} | サブタイトル・サブコピー | サブコピーをここに |
{{ctaText}} | CTAボタンのテキスト | 今すぐ申し込む |
{{bottomBarText}} | ボトムバーのテキスト | お問い合わせはこちら |
{{backgroundColor}} | 背景色 | #FFFFFF |
{{primaryColor}} | メインカラー | #C92A2A |
{{secondaryColor}} | サブカラー | #1A4D80 |
{{textColor}} | テキスト色 | #333333 |
{{ctaColor}} | CTAボタン色 | #27AE60 |
.claude/skills/lp-html-generator/templates/ に5種類を用意:
| ファイル名 | スタイル | 特徴 |
|---|---|---|
modern.html | モダン/ミニマル | 白背景・黒テキスト・青アクセント |
premium.html | 高級感 | ダーク背景・金アクセント |
pop.html | ポップ | カラフル・丸みデザイン |
corporate.html | ビジネス | 紺背景・白テキスト・信頼感 |
seminar.html | セミナー告知 | 赤アクセント・緊急感 |
全テンプレートは1080x1080の正方形。
/lp-html-list で一覧確認を促す'Noto Sans JP' を追加What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
87 skills in this plugin
/agent-browserBrowser automation CLI for AI agents (Chrome/CDP). Navigate, fill forms, click, screenshot, scrape data, test web apps, auth. Triggers: "open website", "fill form", "click button", "screenshot", "scrape", "login", "automate browser"./agentic-visionImage/video analysis with Gemini/agent-traceAI code attribution tracking/ai-manga-generatorAI漫画生成スキル。AIを活用した漫画制作(コマ割り・キャラ生成・セリフ配置)を支援。Claude Code refuses to install this plugin
.claude-plugin/plugin.json: hooks.0: Invalid string: must end with ".json"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.