Community写作与编辑github.com

Varnan-Tech/opendirectory

读取用户昨日的 Linear 问题和 GitHub 提交,格式化站会更新(已完成 / 进行中 / 阻塞项),并发布到 Slack。

opendirectory 是什么?

该技能能够自动化每日站会更新流程。它会首先检查必要的环境变量(LINEAR_API_KEY、SLACK_WEBHOOK_URL、GITHUB_REPO、GITHUB_USERNAME),然后从 Linear 获取用户昨日更新的、分配给自己处理的问题,并从 GitHub 获取作者为当前用户的提交。接着,技能会根据规则(如状态分类、去重、过滤合并提交)将数据整理为标准的“已完成 / 进行中 / 阻塞项”格式,并严格遵守 `references/standup-format.md` 中的格式要求——例如避免使用第一人称、使用过去时或现在进行时等。最后,技能会将格式化后的站会内容通过 Slack Webhook 发布到指定频道,或仅输出供用户复制。该技能适用于 Claude Code、Cursor 等支持自定义技能的 AI 编码代理,需要用户配置 Linear API 密钥、Slack Webhook URL 以及可选的 GitHub 仓库信息。

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

Installed? Explore more 写作与编辑 skills: steipete/notion, langchain-ai/langchain, bytedance/podcast-generation · View all 6 →

在你喜欢的 AI 中提问

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

文档

Kill the Standup

读取昨日的 Linear 问题和 GitHub 提交。格式化站会更新。发布到 Slack。


步骤 1: 环境检查

确认所需的环境变量已设置:

echo "LINEAR_API_KEY: ${LINEAR_API_KEY:+set}"
echo "SLACK_WEBHOOK_URL: ${SLACK_WEBHOOK_URL:+set}"
echo "GITHUB_REPO: ${GITHUB_REPO:-未设置}"
echo "GITHUB_USERNAME: ${GITHUB_USERNAME:-未设置}"

如果缺少 LINEAR_API_KEY: 停止。告知用户:“需要 LINEAR_API_KEY。请从 Linear → 设置 → API → 个人 API 密钥 获取,并将其添加到你的 .env 文件中。”

如果缺少 SLACK_WEBHOOK_URL: 停止。告知用户:“需要 SLACK_WEBHOOK_URL。请在 api.slack.com/apps → 你的应用 → 传入 Webhook 中创建一个传入 Webhook,并将其添加到你的 .env 文件中。”

如果缺少 GITHUB_REPO: 继续执行。将跳过 GitHub 提交部分,并向用户说明这一点。


步骤 2: 获取 Linear 活动

计算昨天的日期,格式为 ISO 8601(例如 2026-04-09T00:00:00.000Z)。

获取当前用户 ID:

curl -s -X POST https://api.linear.app/graphql \
  -H "Authorization: Bearer $LINEAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "query { viewer { id name email } }"}'

从响应中提取 id 字段。存储为 LINEAR_USER_ID。

获取分配给我且自昨天起有更新的问题:

curl -s -X POST https://api.linear.app/graphql \
  -H "Authorization: Bearer $LINEAR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "query($since: DateTime!, $userId: ID!) { issues(first: 50, filter: { assignee: { id: { eq: $userId } } updatedAt: { gte: $since } }) { edges { node { identifier title state { name } url completedAt updatedAt createdAt } } } }",
    "variables": {"since": "YESTERDAY_ISO", "userId": "LINEAR_USER_ID"}
  }'

对问题进行分类:

  • completedAt 不为空 → 已完成 (Done)
  • state.name 为“进行中 (In Progress)”、“已开始 (Started)”或“评审中 (In Review)” → 进行中 (Doing)
  • state.name 为“已取消 (Cancelled)” → 跳过
  • state.name 为“待办 (Todo)”或“积压 (Backlog)” → 跳过(未被处理)

如果问题为零:注明“昨日未找到 Linear 活动。”


步骤 3: 获取 GitHub 提交

如果未设置 GITHUB_REPO,则静默跳过此步骤。

如果已设置 GITHUB_REPO:

gh api "repos/$GITHUB_REPO/commits?author=${GITHUB_USERNAME:-$(gh api user --jq .login)}&since=YESTERDAY_ISO&per_page=30" \
  --jq '[.[] | {message: .commit.message, url: .html_url}]'

处理提交:

  • 提取每条提交消息的第一行(第一个换行符之前的内容)
  • 跳过合并提交:删除任何以“Merge”开头的消息
  • 根据消息文本去重

如果设置了 GITHUB_REPO 但返回零条提交:注明“昨日未找到提交。”


步骤 4: 格式化站会内容

在编写之前,完整阅读 references/standup-format.md。

按照以下确切结构生成站会内容:

**已完成 (Done)**
- [ENG-123] 已完成的工单标题
- fix: 提交消息

**进行中 (Doing)**
- [ENG-124] 进行中的工单标题

**阻塞项 (Blockers)**
无阻塞项。

来自 standup-format.md 的规则:

  • 不使用第一人称代词(“我”、“我们”)
  • 已完成项使用过去时,进行中项使用现在进行时
  • 每个 Linear 项使用 [标识符] 标题 格式
  • 每个 GitHub 提交使用提交消息的第一行
  • 如果没有已完成项:在“已完成”下写“无完成项。”
  • 如果没有进行中项:在“进行中”下写“无进行中项。”
  • 如果没有阻塞项:写“无阻塞项。”
  • 总字数不超过 200 字

步骤 5: 发布到 Slack 或仅输出

将格式化后的站会内容呈现给用户。

询问用户:“发布到 Slack,还是仅输出?”

确认发布时:

curl -s -X POST "$SLACK_WEBHOOK_URL" \
  -H "Content-Type: application/json" \
  -d '{
    "blocks": [
      {
        "type": "section",
        "text": {
          "type": "mrkdwn",
          "text": "*站会 — 日期_HERE*\n\n*已完成*\n项_目\n\n*进行中*\n项_目\n\n*阻塞项*\n项_目"
        }
      }
    ]
  }'

为避免提交消息或工单标题中的特殊字符导致 Shell 引号问题,请通过临时文件或 heredoc 传递请求体:

cat > /tmp/standup-payload.json << 'ENDJSON'
{
  "blocks": [
    {
      "type": "section",
      "text": {
        "type": "mrkdwn",
        "text": "STANDUP_CONTENT_HERE"
      }
    }
  ]
}
ENDJSON
curl -s -X POST "$SLACK_WEBHOOK_URL" -H "Content-Type: application/json" -d @/tmp/standup-payload.json

发布后:“站会已发布。”

选择“仅输出”时: 将站会内容以代码块形式打印出来,方便复制粘贴。

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.

相关技能