From studio-skills
Defines YAML structure (title, summary, actions with as_is/to_be/reason/priority) and incremental build workflow for action reports rendered via preview_action_report. Required for skills producing prioritized recommendations.
npx claudepluginhub treasure-data/td-skills --plugin treasure-work-skillsThis skill uses the workspace's default tool permissions.
Render prioritized action reports in the artifact panel via `preview_action_report`. The agent writes a YAML file defining an executive summary and a list of action items; the MCP App renders them as visual cards sorted by priority.
Formats final review deliverables into consistent structures like review reports, PR descriptions, release notes, and incident reports for stakeholder presentation.
Renders agent findings as a self-contained styled HTML report in the browser with dark/light themes, severity cards, Mermaid diagrams, collapsible sections, and responsive design. Use for full/detailed reports or when CLI output exceeds 40 lines.
Generates markdown and HTML reports from data with charts, tables, analysis, summaries, and recommendations. Handles CSV/JSON inputs; supports PDF export and comparisons.
Share bugs, ideas, or general feedback.
Render prioritized action reports in the artifact panel via preview_action_report. The agent writes a YAML file defining an executive summary and a list of action items; the MCP App renders them as visual cards sorted by priority.
CRITICAL: Large reports (6+ actions) MUST be built in batches to avoid output truncation. Do NOT attempt to write the entire YAML in a single tool call.
title, subtitle, summary, and the first 2–3 actionsactions arraypreview_action_report once at the end — never mid-buildEach Edit call should add at most 3 action items. This keeps individual tool call output small and prevents mid-generation truncation.
title: "SEO Action Report: example.com"
subtitle: "Analyzed 2026-02-18 (28-day window)" # optional
summary: |
AEO Score: 58/100 (C). 12 quick wins identified.
Estimated total impact: +190-270 clicks/month.
actions:
- title: "Rewrite H1 to include primary keyword"
priority: high # high | medium | low
category: "Content Structure" # optional — shown as badge
as_is: |
```html
<h1>Making Marketers Superhuman</h1>
```
to_be: |
```html
<h1>Treasure Data CDP | AI-Native Customer Data Platform</h1>
```
reason: |
Current H1 has no keyword signals. Top 5 competitors
all include "CDP" in H1. Expected: +15-20% CTR.
impact: "+35-40 clicks/month" # optional — shown at bottom of card
- title: "Add FAQPage JSON-LD schema"
priority: high
category: "Structured Data"
as_is: |
Only Article schema present
to_be: |
```json
{
"@type": "FAQPage",
"mainEntity": [
{"@type": "Question", "name": "How does a CDP work?", "acceptedAnswer": {"@type": "Answer", "text": "..."}},
{"@type": "Question", "name": "CDP vs DMP?", "acceptedAnswer": {"@type": "Answer", "text": "..."}}
]
}
```
reason: |
4/5 competitors have FAQPage schema. Sites with 3+ schema types
show ~13% higher AI citation rate.
impact: "+50-80 clicks/month"
| Field | Required | Description |
|---|---|---|
title | Yes | Report title (e.g., "SEO Action Report: example.com") |
subtitle | No | Subtitle shown below title (e.g., date range, analysis scope) |
summary | Yes | Executive summary — markdown text shown at top of report |
actions | Yes | Array of action items (at least one) |
| Field | Required | Description |
|---|---|---|
title | Yes | Short action title (imperative form: "Add...", "Rewrite...", "Fix...") |
priority | Yes | high, medium, or low — determines sort order and color |
category | No | Category tag (e.g., "Content Structure", "Technical SEO") |
as_is | Yes | As-Is (current state) — markdown (use code blocks for HTML/JSON/config) |
to_be | Yes | To-Be (recommended state) — markdown (complete replacement, not a diff) |
reason | Yes | Why this change — cite data, competitor patterns, expected effect |
impact | No | Expected impact (e.g., "+35-40 clicks/month", "CTR +2%") |
The dashboard renders actions sorted by priority (high → medium → low) as flat cards with no expand/collapse. Each card shows:
A Copy as Markdown button in the header copies the entire report as formatted markdown to the clipboard. This allows users to paste into docs, tickets, or share with team members.
Write the YAML file and call:
preview_action_report({ file_path: "/absolute/path/to/action-report.yaml" })
as_is and to_be: Include actual current content and complete replacement — not vague descriptions. Use code blocks for HTML, JSON-LD, config snippets.reason: Cite specific data — competitor patterns, SERP features, score dimensions, metrics. Not just "this is better."priority: Based on effort-to-impact ratio. High = low effort + high impact. Low = high effort or low impact.summary: Lead with the most important finding. Include key scores and total expected impact.When preview_action_report is not available (CLI mode), output the same information as formatted markdown directly in the conversation.