mr-li-writer
Verified面向中文内容创作的编辑判断、研究、策划、写作与平台原生交付工作流。根据标题、素材、参考资料、核心想法或模糊灵感,先识别读者任务、材料条件和创新必要性,再按需完成语境扫描、可写性判断与方向校准,并区分发布平台与内容目标,进行事实检索、观点设计、平台原生正文写作、标题策划和对应交付。适用于公众号文章、知乎回答、小红书原生笔记、官网/网页、个人博客、行业解读、实用指南和基于素材的扩展研究写作。
assets/gzh-design/assets/preview-template.html
View on GitHub<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="mr-li-writer-template" content="gzh-preview-v2">
<meta name="mr-li-writer-theme" content="{{THEME}}">
<meta name="mr-li-writer-content-sha256" content="{{CONTENT_SHA256}}">
<title>{{TITLE}} · 公众号排版预览</title>
<style>
body{margin:0;background:#eef0f2;font-family:-apple-system,BlinkMacSystemFont,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',sans-serif;-webkit-text-size-adjust:100%;}
.gzh-toolbar{position:fixed;top:0;left:0;right:0;height:54px;background:#ffffff;box-shadow:0 1px 10px rgba(0,0,0,.08);display:flex;align-items:center;justify-content:space-between;padding:0 16px;z-index:99;}
.gzh-hint{font-size:13px;color:#6b7280;line-height:1.4;}
.gzh-hint b{color:#111827;}
.gzh-copy{background:#059669;color:#fff;border:0;border-radius:9px;padding:10px 20px;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 3px 10px rgba(5,150,105,.28);white-space:nowrap;transition:transform .08s,background .15s;}
.gzh-copy:hover{background:#047857;}
.gzh-copy:active{transform:translateY(1px);}
.gzh-toast{position:fixed;top:66px;left:50%;transform:translateX(-50%);background:#111827;color:#fff;padding:11px 20px;border-radius:10px;font-size:14px;font-weight:600;opacity:0;pointer-events:none;transition:opacity .25s;z-index:100;box-shadow:0 6px 20px rgba(0,0,0,.25);max-width:88vw;text-align:center;}
.gzh-toast.show{opacity:1;}
.gzh-stage{max-width:700px;margin:78px auto 64px;padding:0 8px;}
.gzh-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(max-width:520px){.gzh-hint{max-width:150px;}}
</style>
</head>
<body>
<header class="gzh-toolbar">
<span class="gzh-hint">👇 下方是排版效果 · 点右侧 <b>复制</b> 直接粘到公众号</span>
<button type="button" class="gzh-copy" id="gzhCopyBtn" onclick="gzhCopy()">📋 复制到公众号</button>
</header>
<div class="gzh-toast" id="gzhToast" role="status" aria-live="polite"></div>
<main class="gzh-stage">
<h1 class="gzh-sr-only">{{TITLE}}</h1>
<article id="gzh-content">
<!--GZH_CONTENT-->
</article>
</main>
<script>
function gzhShowToast(msg){
var t=document.getElementById('gzhToast');
t.textContent=msg;t.classList.add('show');
clearTimeout(t._timer);
t._timer=setTimeout(function(){t.classList.remove('show');},2800);
}
function gzhClipboardHtml(el){
return '<meta charset="utf-8">'+el.innerHTML;
}
function gzhFallbackCopy(el){
var range=document.createRange();
range.selectNodeContents(el);
var sel=window.getSelection();
sel.removeAllRanges();
sel.addRange(range);
var ok=false;
try{ok=document.execCommand('copy');}catch(e){ok=false;}
sel.removeAllRanges();
return ok;
}
function gzhCopy(){
var el=document.getElementById('gzh-content');
var html=gzhClipboardHtml(el);
var text=el.innerText||el.textContent||'';
var btn=document.getElementById('gzhCopyBtn');
function done(ok){
if(ok){
gzhShowToast('✅ 已复制!去公众号编辑器按 Ctrl/⌘+V 粘贴即可');
var old=btn.textContent;btn.textContent='✅ 已复制';
setTimeout(function(){btn.textContent=old;},2200);
}else{
gzhShowToast('⚠ 自动复制失败,请手动全选(Ctrl/⌘+A)再复制(Ctrl/⌘+C)');
}
}
try{
if(navigator.clipboard&&window.ClipboardItem){
var item=new ClipboardItem({
'text/html':new Blob([html],{type:'text/html'}),
'text/plain':new Blob([text],{type:'text/plain'})
});
navigator.clipboard.write([item]).then(function(){done(true);},function(){done(gzhFallbackCopy(el));});
return;
}
}catch(e){}
done(gzhFallbackCopy(el));
}
</script>
</body>
</html>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |