Community写作与编辑github.com

y-a-v-a/skills

My agent skills

skills 是什么?

skills is a Claude Code agent skill that my agent skills.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add y-a-v-a/skills

Installed? Explore more 写作与编辑 skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

HTML Export

Export the current situation to a self-contained index.html file in the current working directory and give the user a clickable link to open it.

Optional focus hints

Arguments provided: $ARGUMENTS

If arguments are present, treat them as a hint about what to emphasize or what kind of document to produce (e.g. /html focus on the architecture, /html as a slide-style summary). If there are no arguments, you decide everything.

Decide what to capture

This is the core of the skill: judge, from the current state of the conversation and context, what would be genuinely valuable to put in front of the user as an HTML page. You are not transcribing the chat — you are producing a useful artifact. Consider, and pick whatever fits:

  • A summary of the work done, decisions made, and their rationale.
  • Findings, analysis, or research results.
  • Code changes, file structures, or architecture (diagrams welcome).
  • Data worth visualizing as tables or charts.
  • Status / checklist of what is done vs. outstanding.
  • Anything else that is the real "payload" of this session.

Prefer signal over completeness. If one thing clearly dominates the session, build the page around that. Give the page a meaningful <title> and top-level heading that reflect the actual situation, not "HTML Export".

Build the file

  • Produce a single, self-contained HTML5 document: all CSS inline in a <style> block, no external stylesheets, fonts, scripts, or CDN links, so it opens correctly offline with a single click.
  • Make it clean and readable: a constrained content width (e.g. max-width: 800px; margin: auto), comfortable line height, system font stack, sensible spacing, and styled tables/code blocks. Keep it tasteful, not flashy.
  • If a visualization genuinely helps (timeline, flow, simple chart), draw it with inline SVG or CSS rather than pulling in a library.
  • Ensure the markup is valid and the document is complete (<!DOCTYPE html>, <html>, <head> with <meta charset="utf-8"> and a viewport meta, <body>).

Choose the filename (never overwrite)

Write to index.html in the current working directory. If index.html already exists, use index1.html; if that exists too, index2.html, and so on — pick the first name in that sequence that does not yet exist. Never overwrite an existing file.

Report the path

After writing the file, output its location as a file:// URL with the absolute path, on its own line, so the user can cmd-click / ctrl-click it to open it in a browser. For example:

file:///home/user/project/index1.html

Resolve the real absolute path of the working directory (do not hardcode the example above). Briefly mention what you chose to include and why.

相关技能

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community