视觉画布设计
canvas-design
基于设计原则创作静态视觉作品,用于海报与品牌图形。
, or unit symbols. The renderer only parses raw numeric values (integers or decimals). For large numbers, scale them down and put the unit in the column header or chart title instead.\n - ❌ `2015,3.56B` — renderer cannot parse `3.56B`\n - ✅ `2015,3.56` with header `Year,Revenue (Billion RON)`\n - ❌ `\"US East\",1.2M` — renderer cannot parse `1.2M`\n - ✅ `\"US East\",1200` with header `Region,Revenue ($K)`\n- Quote any label containing spaces\n- Prefer 5–12 data rows for readability\n- For comparisons, include 2+ series in line/bar charts\n\nSlides mode rules:\n- In slides mode, the deck DSL must be plain text starting with `slides`\n (do not wrap the deck DSL itself in `markdown-ui-widget`).\n- Chart widgets may appear inside slide bodies via `markdown-ui-widget`.\n\n### Chart examples\n\n**Bar chart:**\n```\n```markdown-ui-widget\nchart-bar\ntitle: API requests by region\nRegion,Requests\n\"US East\",340\n\"US West\",280\nEU,190\nAPAC,220\n```\n```\n\n**Pie chart:**\n```\n```markdown-ui-widget\nchart-pie\ntitle: Traffic source share\nSource,Share\nSearch,52\nDirect,24\nSocial,14\nReferral,10\n```\n```\n\n**Multi-series line chart:**\n```\n```markdown-ui-widget\nchart-line\ntitle: Product metrics by month\nMonth,Signups,Activated\nJan,100,61\nFeb,140,89\nMar,180,113\nApr,210,132\nMay,240,151\n```\n```\n\n---\n\n## Images\n\nYou can embed images in markdown using standard markdown or HTML `\u003cimg>` tags.\n\nIf the user wants an image, they must provide a public image URL for `src`.\n\n**Basic markdown image:**\n```markdown\n\n```\n\n**Avatar-style image (for resumes or profile sections):**\n```html\n\u003cimg\n src=\"https://example.com/photo.jpg\"\n alt=\"Profile photo\"\n style=\"display:block; margin:0 auto; width:150px; height:150px; border-radius:50%; background: transparent;\"\n/>\n```\n\n---\n\n## Logging Entries\n\n**Every published page must be logged to `entries.json`.**\n\n### Log file location\n\n```\n./entries.json\n```\n\n(Relative to skill folder)\n\n### Entry format\n\n```json\n{\n \"id\": \"a1b2c3d4e5f6\",\n \"url\": \"https://saved.md/a1b2c3d4e5f6\",\n \"deletePhrase\": \"orchard-cobalt-meadow\",\n \"title\": \"Report Title\",\n \"createdAt\": \"2026-03-18T03:00:00Z\",\n \"contentType\": \"report\",\n \"sizeBytes\": 2450\n}\n```\n\n### Logging script\n\n```python\nimport json\nimport os\nfrom datetime import datetime, timezone\n\nSKILL_DIR = os.path.dirname(os.path.abspath(__file__))\nLOG_FILE = os.path.join(SKILL_DIR, \"entries.json\")\n\ndef log_entry(id, url, deletePhrase, title, contentType, sizeBytes):\n entry = {\n \"id\": id,\n \"url\": url,\n \"deletePhrase\": deletePhrase,\n \"title\": title,\n \"createdAt\": datetime.now(timezone.utc).isoformat().replace('+00:00', 'Z'),\n \"contentType\": contentType,\n \"sizeBytes\": sizeBytes\n }\n\n if os.path.exists(LOG_FILE):\n with open(LOG_FILE, 'r') as f:\n data = json.load(f)\n else:\n data = {\"entries\": []}\n\n data[\"entries\"].append(entry)\n with open(LOG_FILE, 'w') as f:\n json.dump(data, f, indent=2)\n\n return entry\n```\n\n---\n\n## Workflow Summary\n\n1. **Identify content type** → Load reference file from routing table\n2. **Generate or enhance markdown** using scaffold (omit sections with no data)\n3. **POST to API** using JSON format (properly escaped)\n4. **Log the entry** to `entries.json`\n5. **Return URL + deletePhrase** to user\n\n---\n\n## HTML Generation Preferences (User Profile)\n\nWhen generating HTML for saved.md, apply these styling preferences learned from user feedback:\n\n### Spacing (Balanced Density)\n- **Goal:** Dense but breathable — no massive gaps, no overlapping/cramped content\n- **Container:** Single container, everything inside, `max-width: 1100px`, `padding: 1rem`\n- **Section headers:** `margin: 1.25rem 0 0.75rem` — enough breathing room\n- **Content blocks:** `margin: 0.75rem 0` — consistent small gaps\n- **Grids:** `gap: 0.75rem` — tight but not touching\n- **Cards:** `padding: 0.75rem` — compact but readable\n- **CTA/Footer:** Proper spacing `padding: 1.5rem`, `margin: 1.5rem 0 0.5rem` — visually separated\n- **NO elements outside container** — prevents weird margin issues\n- **NO overlap** — ensure adequate vertical rhythm\n- Balance: Information-dense like a dashboard, but each section clearly defined\n\n### Layout\n- Dense, information-rich layout preferred\n- Reduce vertical rhythm (line-height: 1.5-1.6, not 1.8)\n- Compact cards with tighter internal spacing\n- Min-height for hero: `60vh` (not 80-100vh)\n\n### Interactivity Constraints\n- **NO interactive elements** except for actual links that navigate to other pages\n- Do NOT include: hamburger menus, clickable cards, hover-triggered actions, buttons that don't link\n- Only interactivity allowed: `\u003ca>` tags with `href` attributes\n- Static design preferred — focus on content presentation, not UI interactions\n\n### Enhance Mode Workflow\n1. **Receive existing markdown** from user or context\n2. **Identify ALL chart opportunities** — look for any data that can be visualized:\n - **Trends over time** → `chart-line` (temperatures, metrics, progress)\n - **Comparisons/categories** → `chart-bar` (sales by region, counts by type)\n - **Proportions/distribution** → `chart-pie` (market share, status breakdowns, budget allocation)\n - **Correlations** → `chart-scatter` (two-variable relationships)\n3. **Add MULTIPLE visualizations** — don't stop at one chart. If the data supports it, include:\n - A line chart for trends\n - A bar chart for comparisons\n - A pie chart for percentage breakdowns\n - Different chart types for different data dimensions in the same report\n4. **Improve formatting** — better tables, highlights, structure, section dividers\n5. **Present enhanced version** → Get approval → Publish\n\n**Enhance Mode Chart Guidelines:**\n- Use **line charts** for time-series data (daily/weekly/monthly trends)\n- Use **bar charts** for comparing discrete categories or values side-by-side\n- Use **pie charts** when showing parts of a whole (percentages, proportions, status distributions)\n- Use **scatter charts** for exploring relationships between two numeric variables\n- **Multiple charts are encouraged** — if you have temperature AND precipitation data, chart both separately\n- **Different chart types for different insights** — same dataset can often support multiple visualizations (e.g., sales over time as line chart + sales by category as pie chart)\n\n---\n\n## When to use saved.md\n\nTrigger this skill for ANY of the following (then let user choose publish vs local):\n\n- **Markdown files/pages** — any request mentioning \"markdown\"\n- **Reports** — analysis, summaries, findings, status reports\n- **Documentation** — guides, runbooks, technical docs, manuals\n- **Data visualizations** — charts, dashboards, metrics (when rendered as markdown)\n- **Resumes/CVs** — public professional profiles\n- **Company pages** — business profiles, service listings, about pages\n- **Slides decks/presentations** — when the user wants a deck page (`contentType: \"slides\"`)\n- **Publishing/Sharing** — when user explicitly says \"publish\", \"share\", \"make public\", \"create a link\"\n- **Enhancement** — when user says \"enhance this\", \"add charts\", \"make it visual\", \"spice it up\" to existing markdown\n- **Any content** the user wants formatted as a document/page\n\n## When NOT to use saved.md (skip to local-only)\n\n- User explicitly says \"local only\", \"don't publish\", \"keep private\"\n- Drafts or WIP that need editing — saved.md pages are immutable\n- Sensitive or private data — saved.md pages are publicly accessible\n- Interactive content (forms, quizzes, buttons) — not supported\n\n---\n\n## Reference Files Index\n\nAll reference files are in `references/` relative to this skill folder. Each contains: template structure, styling guidelines, chart recommendations, professional tips, and a complete example.\n\n| File | Purpose |\n|------|---------|\n| `resume-cv.md` | Resumes, CVs, professional profiles with circular photo, skills table, achievement bullets |\n| `report.md` | Business reports, analysis — highest chart density (2-4 charts), executive summary pattern |\n| `company-profile.md` | Business pages, service listings — services table, value props, contact CTA |\n| `dashboard-metrics.md` | KPI dashboards, metric snapshots — most chart-dense type (3-6 charts), at-a-glance table |\n| `documentation-guide.md` | Technical docs, how-tos, runbooks — numbered steps, code blocks, troubleshooting table |\n| `proposal-pitch.md` | Business proposals, pitches — problem→solution→deliverables→pricing→next steps |\n| `newsletter-update.md` | Newsletters, digests, release notes — highlights TL;DR, quick updates table, upcoming section |\n| `portfolio-showcase.md` | Project portfolios, case studies — per-project Problem→Solution→Result blocks |\n| `event-invitation.md` | Event pages, invitations — date/location prominent, schedule table, registration CTA |\n","licenseDocuments":[]}}
saved-markdown【文档与办公】Publish Markdown, HTML, and Slides pages, reports, and documents anonymously to https://saved.md. **TRIGGER THIS SKILL when ANY of the following are true:** 1. User asks to CREATE content that is naturally document-like (reports, summaries, guides, docs, pages, tables, analysis) 2. User mentions markdown, publishing, sharing, or making something pub…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: saved-markdown description: | Publish Markdown, HTML, and Slides pages, reports, and documents anonymously to https://saved.md.
TRIGGER THIS SKILL when ANY of the following are true:
When in doubt: TRIGGER. (User can always choose local-only)
Publish Markdown/HTML/Slides content with optional charts to https://saved.md for anonymous, persistent sharing.
Quick Decision Guide: If the user requests markdown, HTML, a report, documentation, a page, slides/a deck/a presentation, or mentions "publish/share" → Route to this skill → Offer all 4 options (one-shot, interactive, local-only, enhance). If they explicitly want local-only → Skip publishing.
If the user requests slides/a deck/a presentation:
frontend-slides is installed.saved-markdown/references/slides/ as the place to add slide-specific reference
files later; for now, slide scaffolding is delegated to frontend-slides.frontend-slides to generate the Slides Deck DSL (plain text
starting with slides).POST /api/pages with
contentType: "slides".Trigger this skill when ANY of the following apply:
| Condition | Examples | Why It Matches |
|---|---|---|
| Document creation requests | "Create a...", "Make a...", "Generate a...", "Write a..." | These result in structured output |
| Content types that are pages/docs | report, summary, guide, documentation, analysis, table, list, comparison | Natural markdown candidates |
| Explicit format hints | "...in markdown", "...as markdown", "...use markdown", markdown mentioned anywhere | User explicitly wants markdown |
| Sharing/publishing intent | publish, share, link, public, post, upload | User wants distribution |
| Visual structure implied | headers, tables, sections, formatted, structured | Result will be markdown-friendly |
| Page/document language | "page", "doc", "document", "file" | Output is a document |
| Slides / presentation | "create slides", "pitch deck", "presentation", "deck" | Generate Slides Deck DSL and publish as contentType: "slides" |
→ Default behavior: ALWAYS trigger for document-like content. Let the user choose local-only if they don't want to publish.
"local only", "don't publish", "keep private", "just show me"When routing to saved.md, present all four options:
"I can help with that. Since you have saved.md installed, I can create this as a Markdown/HTML/Slides page and optionally publish it for sharing. Four options:
1. One-shot — I generate and publish immediately, you get a shareable URL 2. Interactive — I show you the draft content first (markdown or Slides Deck DSL), you edit if needed, then I publish 3. Local-only — I create the markdown file locally, no publishing 4. Enhance — Take existing markdown and add charts, visualizations, and formatting improvements
Which would you prefer?"
markdown-ui-widget blocks for: chart-line, chart-bar, chart-pie, chart-scatterSend a POST request to https://saved.md/api/pages.
curl -X POST https://saved.md/api/pages \
-H "Content-Type: text/markdown" \
-d "# Your Title
Your content here."
curl -X POST https://saved.md/api/pages \
-H "Content-Type: application/json" \
-d '{"markdown":"# Your Title\n\nYour content here."}'
curl -X POST https://saved.md/api/pages \
-H "Content-Type: application/json" \
-d '{"markdown":"slides\\n...your-deck-dsl...","contentType":"slides"}'
Status: 201 Created
{
"id": "a1b2c3d4e5f6",
"url": "https://saved.md/a1b2c3d4e5f6",
"deletePhrase": "orchard-cobalt-meadow"
}
Return url to the user. Store deletePhrase if page ownership is needed.
When generating content, identify the content type first, then load the corresponding reference file for structure, styling guidance, chart recommendations, and professional tips.
| Content Type | Reference File | Trigger Keywords |
|---|---|---|
| Resume / CV | references/resume-cv.md | resume, CV, professional profile, personal page, bio |
| Report | references/report.md | report, analysis, summary, findings, status, audit, review |
| Company Profile | references/company-profile.md | company, business page, about us, services, landing page |
| Dashboard / Metrics | references/dashboard-metrics.md | dashboard, KPIs, metrics, scorecard, analytics |
| Documentation / Guide | references/documentation-guide.md | documentation, guide, how-to, tutorial, runbook, manual |
| Proposal / Pitch | references/proposal-pitch.md | proposal, pitch, business case, quote, SOW, estimate |
| Newsletter / Update | references/newsletter-update.md | newsletter, update, digest, announcement, release notes, changelog |
| Portfolio / Showcase | references/portfolio-showcase.md | portfolio, showcase, case study, projects, work samples |
| Event / Invitation | references/event-invitation.md | event, invitation, meetup, conference, workshop, RSVP, agenda |
| Slides Deck | (generated by frontend-slides) | slides, slide deck, presentation, deck |
| Generic | (no reference file) | Anything that doesn't match above — use good judgment |
frontend-slides
to generate the Slides Deck DSL.markdown-ui-widget syntax from the Charts section belowsaved.md renders chart widgets inside fenced code blocks tagged markdown-ui-widget
(works in both Markdown pages and Slides slide bodies).
Allowed chart types:
chart-linechart-barchart-piechart-scatterDo not use any other markdown-ui widget types (buttons, forms, inputs, quizzes, etc. are not supported).
```markdown-ui-widget
chart-line
title: Weekly signups
Day,Signups
Mon,12
Tue,18
Wed,15
Thu,24
Fri,20
Rules:
- One chart per `markdown-ui-widget` block
- Always include `title:`
- Data is CSV — first row is the header
- **Values must be plain numbers** — no shorthand suffixes like `B`, `M`, `K`, `%`, `
saved-markdown · Skills-SI 市场
, or unit symbols. The renderer only parses raw numeric values (integers or decimals). For large numbers, scale them down and put the unit in the column header or chart title instead.
- ❌ `2015,3.56B` — renderer cannot parse `3.56B`
- ✅ `2015,3.56` with header `Year,Revenue (Billion RON)`
- ❌ `"US East",1.2M` — renderer cannot parse `1.2M`
- ✅ `"US East",1200` with header `Region,Revenue ($K)`
- Quote any label containing spaces
- Prefer 5–12 data rows for readability
- For comparisons, include 2+ series in line/bar charts
Slides mode rules:
- In slides mode, the deck DSL must be plain text starting with `slides`
(do not wrap the deck DSL itself in `markdown-ui-widget`).
- Chart widgets may appear inside slide bodies via `markdown-ui-widget`.
### Chart examples
**Bar chart:**
chart-bar
title: API requests by region
Region,Requests
"US East",340
"US West",280
EU,190
APAC,220
**Pie chart:**
chart-pie
title: Traffic source share
Source,Share
Search,52
Direct,24
Social,14
Referral,10
**Multi-series line chart:**
chart-line
title: Product metrics by month
Month,Signups,Activated
Jan,100,61
Feb,140,89
Mar,180,113
Apr,210,132
May,240,151
---
## Images
You can embed images in markdown using standard markdown or HTML `<img>` tags.
If the user wants an image, they must provide a public image URL for `src`.
**Basic markdown image:**
```markdown

Avatar-style image (for resumes or profile sections):
<img
src="https://example.com/photo.jpg"
alt="Profile photo"
style="display:block; margin:0 auto; width:150px; height:150px; border-radius:50%; background: transparent;"
/>
Logging Entries
Every published page must be logged to entries.json.
Log file location
./entries.json
(Relative to skill folder)
Entry format
{
"id": "a1b2c3d4e5f6",
"url": "https://saved.md/a1b2c3d4e5f6",
"deletePhrase": "orchard-cobalt-meadow",
"title": "Report Title",
"createdAt": "2026-03-18T03:00:00Z",
"contentType": "report",
"sizeBytes": 2450
}
Logging script
import json
import os
from datetime import datetime, timezone
SKILL_DIR = os.path.dirname(os.path.abspath(__file__))
LOG_FILE = os.path.join(SKILL_DIR, "entries.json")
def log_entry(id, url, deletePhrase, title, contentType, sizeBytes):
entry = {
"id": id,
"url": url,
"deletePhrase": deletePhrase,
"title": title,
"createdAt": datetime.now(timezone.utc).isoformat().replace('+00:00', 'Z'),
"contentType": contentType,
"sizeBytes": sizeBytes
}
if os.path.exists(LOG_FILE):
with open(LOG_FILE, 'r') as f:
data = json.load(f)
else:
data = {"entries": []}
data["entries"].append(entry)
with open(LOG_FILE, 'w') as f:
json.dump(data, f, indent=2)
return entry
Workflow Summary
- Identify content type → Load reference file from routing table
- Generate or enhance markdown using scaffold (omit sections with no data)
- POST to API using JSON format (properly escaped)
- Log the entry to
entries.json
- Return URL + deletePhrase to user
HTML Generation Preferences (User Profile)
When generating HTML for saved.md, apply these styling preferences learned from user feedback:
Spacing (Balanced Density)
- Goal: Dense but breathable — no massive gaps, no overlapping/cramped content
- Container: Single container, everything inside,
max-width: 1100px, padding: 1rem
- Section headers:
margin: 1.25rem 0 0.75rem — enough breathing room
- Content blocks:
margin: 0.75rem 0 — consistent small gaps
- Grids:
gap: 0.75rem — tight but not touching
- Cards:
padding: 0.75rem — compact but readable
- CTA/Footer: Proper spacing
padding: 1.5rem, margin: 1.5rem 0 0.5rem — visually separated
- NO elements outside container — prevents weird margin issues
- NO overlap — ensure adequate vertical rhythm
- Balance: Information-dense like a dashboard, but each section clearly defined
Layout
- Dense, information-rich layout preferred
- Reduce vertical rhythm (line-height: 1.5-1.6, not 1.8)
- Compact cards with tighter internal spacing
- Min-height for hero:
60vh (not 80-100vh)
Interactivity Constraints
- NO interactive elements except for actual links that navigate to other pages
- Do NOT include: hamburger menus, clickable cards, hover-triggered actions, buttons that don't link
- Only interactivity allowed:
<a> tags with href attributes
- Static design preferred — focus on content presentation, not UI interactions
Enhance Mode Workflow
- Receive existing markdown from user or context
- Identify ALL chart opportunities — look for any data that can be visualized:
- Trends over time →
chart-line (temperatures, metrics, progress)
- Comparisons/categories →
chart-bar (sales by region, counts by type)
- Proportions/distribution →
chart-pie (market share, status breakdowns, budget allocation)
- Correlations →
chart-scatter (two-variable relationships)
- Add MULTIPLE visualizations — don't stop at one chart. If the data supports it, include:
- A line chart for trends
- A bar chart for comparisons
- A pie chart for percentage breakdowns
- Different chart types for different data dimensions in the same report
- Improve formatting — better tables, highlights, structure, section dividers
- Present enhanced version → Get approval → Publish
Enhance Mode Chart Guidelines:
- Use line charts for time-series data (daily/weekly/monthly trends)
- Use bar charts for comparing discrete categories or values side-by-side
- Use pie charts when showing parts of a whole (percentages, proportions, status distributions)
- Use scatter charts for exploring relationships between two numeric variables
- Multiple charts are encouraged — if you have temperature AND precipitation data, chart both separately
- Different chart types for different insights — same dataset can often support multiple visualizations (e.g., sales over time as line chart + sales by category as pie chart)
When to use saved.md
Trigger this skill for ANY of the following (then let user choose publish vs local):
- Markdown files/pages — any request mentioning "markdown"
- Reports — analysis, summaries, findings, status reports
- Documentation — guides, runbooks, technical docs, manuals
- Data visualizations — charts, dashboards, metrics (when rendered as markdown)
- Resumes/CVs — public professional profiles
- Company pages — business profiles, service listings, about pages
- Slides decks/presentations — when the user wants a deck page (
contentType: "slides")
- Publishing/Sharing — when user explicitly says "publish", "share", "make public", "create a link"
- Enhancement — when user says "enhance this", "add charts", "make it visual", "spice it up" to existing markdown
- Any content the user wants formatted as a document/page
When NOT to use saved.md (skip to local-only)
- User explicitly says "local only", "don't publish", "keep private"
- Drafts or WIP that need editing — saved.md pages are immutable
- Sensitive or private data — saved.md pages are publicly accessible
- Interactive content (forms, quizzes, buttons) — not supported
Reference Files Index
All reference files are in references/ relative to this skill folder. Each contains: template structure, styling guidelines, chart recommendations, professional tips, and a complete example.
File Purpose resume-cv.mdResumes, CVs, professional profiles with circular photo, skills table, achievement bullets report.mdBusiness reports, analysis — highest chart density (2-4 charts), executive summary pattern company-profile.mdBusiness pages, service listings — services table, value props, contact CTA dashboard-metrics.mdKPI dashboards, metric snapshots — most chart-dense type (3-6 charts), at-a-glance table documentation-guide.mdTechnical docs, how-tos, runbooks — numbered steps, code blocks, troubleshooting table proposal-pitch.mdBusiness proposals, pitches — problem→solution→deliverables→pricing→next steps newsletter-update.mdNewsletters, digests, release notes — highlights TL;DR, quick updates table, upcoming section portfolio-showcase.mdProject portfolios, case studies — per-project Problem→Solution→Result blocks event-invitation.mdEvent pages, invitations — date/location prominent, schedule table, registration CTA