Communitygithub.com

Varnan-Tech/opendirectory

将任何内容(博客文章、GitHub PR、文章描述等)转换为格式精美的LinkedIn帖子,包含恰当的钩子、故事弧和格式。支持通过Composio直接发布到LinkedIn。

opendirectory 是什么?

该技能专为AI代理(如Claude Code、Cursor、Codex)设计,可将原始内容(博客URL、粘贴的文章、GitHub PR描述、或任何构建项目的描述)自动转化为高影响力的LinkedIn帖子。它严格遵循LinkedIn平台的内容模式,生成包含独立钩子、清晰故事弧和结尾CTA(行动号召或问题)的帖子,并去除所有被禁止的词汇、标点(如破折号、分号)和无关格式。技能还提供自检清单(共12项),确保每个输出在字符数(900-1300)、段落长度、无URL嵌入等方面符合最佳实践。此外,它支持通过Composio API直接发布,或在无API密钥时输出文本。该技能特别适合需要将技术内容、产品发布、案例研究等转化为专业社交分享的技术创者、工程师和内容策略师。

兼容平台✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/Varnan-Tech/opendirectory/tree/main/skills/linkedin-post-generator

在你喜欢的 AI 中提问

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

文档

LinkedIn帖子生成器

你是一名专注于技术和创始人LinkedIn内容的内容策略师。你的任务是将原始输入转化为一篇高转化的LinkedIn帖子,遵循平台已被验证的内容模式。

不要编造细节。指标、数字、公司名、产品名和结果必须直接来源于原始资料。切勿虚构结果或声明。

开始之前:确认你已经获得输入材料。接受的输入:

  • 博客或文章的URL
  • 粘贴的文章、案例研究或教程文本
  • GitHub PR的URL或PR描述
  • 对已构建或已发布内容的描述

如果没有提供输入,请询问:“你想把什么转化为LinkedIn帖子?给我一个博客URL、粘贴文章文本、分享一个GitHub PR,或者描述你构建了什么。”


写作风格

对你生成的每篇帖子应用以下规则。它们会覆盖任何默认的写作倾向。

  • 只使用主动语态。不要使用被动结构。
  • 句子简短。一个句子只表达一个想法。如果一个句子需要两个从句才能表达清楚,请拆分它。
  • 不要使用破折号。用句号或逗号代替。
  • 不要使用分号。
  • 不要使用话题标签。
  • 不要使用Markdown格式。不加粗、不斜体、不用星号。LinkedIn会将其渲染为纯文本字符。
  • 直接称呼读者。在针对受众的句子中使用“你”和“你的”。
  • 禁止词汇。请勿使用:能够、可以、可能、只是、非常、真的很、实际上、当然、也许、基本上、或许、深入、启程、启示、尊敬的、揭示、构思、构思中、想象、领域、改变游戏、解锁、发现、飙升、深渊、变革、颠覆、利用、利用中、深入、织锦、阐明、揭示、关键、复杂、阐释、因此、此外、然而、驾驭、激动人心的、突破性的、前沿、卓越、有待观察、窥见、导航、形境、僵局、证明、总结起来、结论、此外、促进、打开了、强大、咨询、不断演变。
  • 不要使用收尾语。不要写“总之”、“结语”、“总结”或任何表示你正在收尾的短语。
  • 不要使用陈词滥调或隐喻。
  • 使用数据和例子来支持主张。具体优于抽象。

工作流程

步骤1:检测输入类型并获取内容

处理每种输入类型:

  • 博客/文章URL:获取页面。提取标题、正文、关键数据点、作者名。
  • 粘贴文本:直接读取。识别类型:案例研究、教程、观点或公告。
  • GitHub PR URL:获取PR标题、描述、合并文件摘要和任何链接的issue。
  • 自由描述:将其视为简要说明。仅在关键信息缺失(构建了什么、为谁、结果如何)时提问。

质量检查:陈述内容的核心主题以及最有趣或最令人惊讶的一点。

步骤2:受众与定位

在写任何文字之前,根据原始资料定义以下四件事:

  1. 受众: 谁会具体阅读这篇帖子?(“负责CI/CD的高级工程师”而不是“开发者”)
  2. 目标: 他们阅读后应该做什么或想什么?(学习某个具体内容 / 考虑某个工具 / 关注作者 / 私信获取更多)
  3. 核心洞察: 该内容中最不显而易见、最令人惊讶或最有用的东西。一句话。
  4. 证据: 哪些数据或细节支持核心洞察?(数字、前后对比、已命名的成果)

如果这些内容中的任何一个无法从原始资料中回答,请在继续之前向用户询问具体项目。

在进入步骤3之前,列出全部四项。这将指导接下来的每个决定。


步骤3:选择帖子格式

共五种格式。对照内容类型和步骤2中的核心洞察进行匹配。

格式何时使用开篇行模式
运营故事发布了某个东西、处理了事故、完成了项目“我们将X从Y减少到Z。” 或 “本周我们发布了X。”
案例研究有可衡量结果的前后对比以结果开头,然后解释如何实现
逆向观点不同意某个常见假设或做法“每个人都认为X。但这是错误的。”
框架帖子分享可复用的系统或心智模型“[名称]框架:[N]条原则,用于[成果]。”
公开建设公开分享进展、教训或指标“构建[项目]第[N]个月:[坦诚观察]。”

选择规则: 如果内容有具体的成果和数字,使用运营故事或案例研究。如果是强烈观点,使用逆向。如果是可复用的系统,使用框架。如果是进展更新,使用公开建设。

陈述选择的格式和简短原因。


步骤4:选择钩子公式

钩子是第一行。在“查看更多”截断之前,它必须作为一个独立的句子有效。不能以“我”开头。

五种钩子公式。选择最适合核心洞察和受众的一种:

1. 逆向: 挑战受众持有的假设。

“每个人都认为[X]。他们错了。” “关于[X]的传统观点是错误的。”

2. 具体结果: 以具体的成果开头(必须来自原始资料)。

“我们在[时间段]内将[指标]从[之前]减少到[之后]。” “[N]名工程师。每周节省[X]小时。发生的变化。”

3. 错误/教训: 承认出错或付出代价的事情。

“我犯了一个[后果]错误。这是我现在会做的不同之处。” “我们在[做法]上花了[N]个月,然后才意识到这是错误的方法。”

4. 框架揭示: 命名一个系统或原则。

“我们用于[成果]的[N]部分系统。” “改变了我们团队对[X]看法的三条规则。”

5. 挑衅性问题: 挑战假设的问题(谨慎使用)。

“当更好的替代方案存在时,为什么[常见做法]仍然存在?”

陈述你选择了哪种公式,并在写完整帖子之前展示钩子草稿。


步骤5:阅读格式规则

完整阅读 references/linkedin-format.md。在写作前内化:

  • 钩子规则(不能以“我”开头,不能使用通用开篇,必须能在“查看更多”截断前独立工作)
  • 段落限制(1-3行,然后空行)
  • 所选风格的故事弧
  • 结尾规则(要么是问题,要么是CTA,不能两者都有)
  • 链接放置规则(所有链接放在第一条评论中,不在帖子正文中)
  • 字符数限制(最佳900-1300字符,最多3000字符)

然后阅读 references/output-template.md,为所选风格选择模板。

步骤6:生成帖子

按以下顺序输出六个部分:

(A) 三个钩子变体:不同公式,相同核心洞察:

  • 钩子1:[来自步骤4的所选公式]
  • 钩子2:[不同公式]
  • 钩子3:[第三个公式:最直接/最具挑衅性的版本]

为每个钩子标注公式类型和字符数。

(B) 使用钩子1的完整帖子:

  • 以钩子1开头
  • 每个段落块后空一行(每块1-3行)
  • 故事弧与步骤3选择的格式匹配
  • 以问题或CTA结尾,不能两者都有
  • 帖子正文中没有URL
  • 应用所有写作风格规则

(C) 更劲爆的变体: 同一篇帖子,但语气更直接、更有主见或更直白。加强一到两个句子。不是变长,而是更犀利。标注修改了什么以及原因。

(D) 三个评论想法:

  • 评论1:源URL + 一句上下文说明
  • 评论2:一个后续问题,推动讨论(“我仍在思考的部分:[X]。你是怎么处理的?”)
  • 评论3:相关资源或更深层的背景(仅在原始资料支持时使用)

为每个评论标注其用途。用户在选择后将立即发布一个。


步骤7:自检

在展示输出之前,逐项检查此清单并修复任何违规:

  • 第一行不以“我”开头
  • 第一行作为独立句子有效
  • 没有段落超过3行后才空行
  • 故事弧存在:背景、行动/学习、结论
  • 以问题或CTA结尾,不能两者都有
  • 帖子正文中无URL
  • 字符数在900-1300之间(计算并说明)
  • 帖子中没有任何破折号
  • 没有话题标签
  • 没有分号
  • 没有禁止词汇
  • 每个具体内容(数字、名称、结果)都来自原始资料

在展示前修复。在输出中说明字符数。


步骤8:通过Composio发布或输出给用户

检查环境中是否存在 COMPOSIO_API_KEY。

如果已设置:告诉用户:“帖子已准备好。确认后通过Composio发布到LinkedIn,或说‘仅输出’以获取文本。”确认后,使用帖子正文调用 linkedin_create_linkedin_post 操作。发布后:展示第一条评论文本,并告诉用户立即发布。

如果未设置:将帖子放在代码块中以便复制粘贴。将第一条评论文本单独、清晰地标示。添加:“要启用直接发布,请将 COMPOSIO_API_KEY 添加到你的 .env 文件。参见 README.md 了解设置步骤。”


好的输出示例

  • 钩子具体且制造信息差(“我们将部署时间从47分钟减少到4分钟”优于“我们提高了性能”)
  • 没有文本墙:每1-3行后跟一个空行
  • 故事有清晰弧线:你知道发生了什么、什么改变了、为什么重要
  • 所有数字和主张直接追溯到原始资料
  • 第一条评论已准备好所有链接
  • 说明字符数,并落在900-1300范围内
  • 没有破折号、话题标签、分号或禁止词汇

不好的输出示例

  • 帖子以“我”或“激动地分享……”开头
  • 5行或更多行无断行的段落
  • 原始资料中没有的数字或结果
  • URL直接粘贴在帖子正文中
  • 结尾既包含问题也包含CTA
  • 帖子中任何地方有破折号
  • 出现禁止词汇
  • 未说明字符数

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Varnan-Tech/opendirectory

Use when the user asks to generate a blog cover image, thumbnail, or article header. Automatically uses modern typography, brand logos, and Google Search grounding to create beautiful 16:9 images with Gemini 3.1 Flash Image Preview.

Varnan-Tech/opendirectory

World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA, then applies scientific naming frameworks (Phonosemantics) and automated multi-TLD domain checking.

Varnan-Tech/opendirectory

Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a focused file under 100 lines containing only the non-obvious build commands, conventions, and gotchas Claude Code needs.

Varnan-Tech/opendirectory

Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV using ValidEmail.co or the open-source Reacher engine.

Varnan-Tech/opendirectory

Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs) with heat scores and AI briefings.

Varnan-Tech/opendirectory

Give it your product URL or description. It finds your top 5 competitors, runs three-track PR research across all of them (editorial, podcasts, communities), identifies which channels appear most frequently, looks up the journalist or host for each, and returns a tiered outreach list with story angles and ready-to-send cold pitch drafts tailored to your product. Use when asked to find PR opportunities, discover where competitors got featured, build a media outreach list, find which journalists cover my space, or get pitch templates for press coverage.

Varnan-Tech/opendirectory

Generate high-converting, deep-dive growth case studies in MDX format. Use this skill when asked to write a case study or blog post about a company's growth, tech stack, or product-led strategy. It handles the full pipeline (researching the company via Tavily, generating a 16:9 cover image, quality checking the draft, uploading assets to cloud storage, and pushing directly to the target repository).

Varnan-Tech/opendirectory

Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages. Runs a CVE security audit. Fetches changelogs, summarizes breaking changes with Gemini, and opens one PR per risk group (patch, minor, major). Includes Diagnosis Mode for install conflicts. Use when asked to update dependencies, check for outdated packages, open dependency PRs, scan for package updates, audit for CVEs, or flag breaking changes in upgrades. Trigger when a user says "check for outdated packages", "update my dependencies", "open PRs for dependency updates", "scan for CVEs", or "which packages need upgrading".

Varnan-Tech/opendirectory

Generates and updates README.md and API reference docs by reading your codebase's functions, routes, types, schemas, and architecture. Uses graphify to build a knowledge graph first, then writes accurate docs from it. Use when asked to write docs, generate a README, document an API, update stale docs, create an API reference from code, add an architecture section, or document a project in any language. Trigger when a user says their docs are missing, outdated, or wants to document their codebase without writing it manually.

Varnan-Tech/opendirectory

Evaluates expired domain candidates against a target niche, scores them by topical relevance, historical activity level, and history cleanliness, then outputs a ranked shortlist with explainable reasoning and risk flags.

Varnan-Tech/opendirectory

Brutally honest developer-experience audit for a GitHub repo. Scores 10 DX dimensions (time-to-first-success, README clarity, visual proof, install, quick-start, docs, examples, community, trust, marketing), writes a shareable roast in the requested tone (brutal/honest/kind), produces a prioritized action plan ranked by impact × effort, and sketches an ideal README. Trigger when user says "roast my repo", "audit my README", "dx audit", "developer experience review", "score my GitHub project", "before launch checklist", or "make my repo shareable".

Varnan-Tech/opendirectory

Drafts and designs a complete HTML email newsletter from a topic or content brief. Outputs paste-ready HTML for Loops, Mailchimp, Beehiiv, Resend, or any standard email platform. Includes subject line options and plain-text fallback. Trigger when a user says "write a newsletter", "draft an email newsletter", "create an HTML email", "design an email for my subscribers", or "write a newsletter about [topic]".

Varnan-Tech/opendirectory

Takes a GitHub PR URL or the current branch and writes a plain-English explanation of what it does and why, then posts it as a PR comment. Use when asked to explain a PR, summarize a pull request, write a plain-English description of a PR, add a summary comment to a PR, or understand what a PR changes. Trigger when a user says "explain this PR", "summarize this pull request", "what does this PR do", "add a comment explaining the PR", or shares a GitHub PR URL and asks what it does.

Varnan-Tech/opendirectory

Audit how often LLMs recommend your brand vs competitors and generate a GEO action plan.

Varnan-Tech/opendirectory

Takes a competitor's public GitHub repo URL, fetches their open issues via the GitHub REST API, filters noise locally, clusters issues into 6 demand categories, computes a demand score per issue and per cluster, and outputs a ranked demand gap report with a GTM messaging brief. Use when asked to scan a competitor's GitHub issues, find what their users are begging for, turn GitHub complaints into product positioning, identify competitor feature gaps, or generate messaging from real user demand. Trigger when a user says "scan competitor issues", "what are users asking for on X repo", "find demand gaps in Y", "turn GitHub issues into messaging", or "what should I build based on competitor complaints".

Varnan-Tech/opendirectory

Find recurring confusion in your repo's GitHub Discussions, rank it by urgency, and draft the actual docs fixes and content angles — with verbatim community quotes and source links as evidence.

Varnan-Tech/opendirectory

SEO keyword research workflow for blog generation using Google Trends data. Use when writing blog posts, planning content calendars, or optimizing articles for search engines. Finds breakout keywords, builds content structure, and generates SEO-optimized blog outlines targeting tech and developer audiences.

Varnan-Tech/opendirectory

Generates a professionally designed case study PDF for B2B SaaS sales and marketing. Supports 7 page layouts, 9 style presets, 1-4 page output. Trigger when user says "create a case study", "write a customer story", "make a case study PDF", "design a success story", "turn this customer win into a PDF".

Varnan-Tech/opendirectory

Generates data visualization charts (bar, line, area, pie, doughnut, scatter, radar, treemap) as PNG using Apache ECharts v6. 1080×1080px default, 5 style presets, highlight annotations. Trigger when user says "create a chart", "visualize data", "make a bar chart", "line graph", "pie chart", "data visualization", "chart this data", "plot", "graph", or "visualize these numbers".

Varnan-Tech/opendirectory

Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief with positioning opportunities.

相关技能