CommunityRédaction et éditiongithub.com

Komagon/hermes-production-patterns

Hermes Production Patterns — 面向 Hermes Agent 的生产级工程模式集。装了 Hermes 却不知道怎么写靠谱的技能?Cron 跑偏没人发现?输出质量全靠肉眼审查?状态全靠脑子记?每条模式都在真实 7×24 环境验证过。2026-08 已同步 Hermes 最新能力:Monitor 原生监控(变了才烧 token)、delegate Checker、能力×模式映射。

Qu'est-ce que hermes-production-patterns ?

hermes-production-patterns is a Claude Code agent skill that hermes Production Patterns — 面向 Hermes Agent 的生产级工程模式集。装了 Hermes 却不知道怎么写靠谱的技能?Cron 跑偏没人发现?输出质量全靠肉眼审查?状态全靠脑子记?每条模式都在真实 7×24 环境验证过。2026-08 已同步 Hermes 最新能力:Monitor 原生监控(变了才烧 token)、delegate Checker、能力×模式映射。.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add Komagon/hermes-production-patterns

Installed? Explore more Rédaction et édition skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Daily News Digest

实时演示 conventions/ 中全部四条工程公约的完整集成:

工作流

Step 1: 读取状态(确定性)✅

STATE.md 读取上次运行状态和 idempotency keys。

Step 2: 抓取 RSS(确定性)✅

# 零 LLM 成本。只处理上次运行后新增的文章。
import feedparser

for url in RSS_SOURCES:
    feed = feedparser.parse(url)
    new = [entry for entry in feed.entries
           if entry.id not in state.get("idempotency_keys", [])]

Step 3: LLM 摘要(概率性)❌

# 每日限 5 篇,控制 token 开销。
for article in new[:5]:
    summary = await llm.complete(
        f"按三点总结,每条不超过20字:\n标题:{article.title}\n{article.description}"
    )

Step 4: Checker 验证(概率性)❌

独立 Agent 对摘要做五维评分,≥ 40/50 PASS。

Step 5: 更新状态(确定性)✅

state["progress"]["articles_summarized"] += len(passed)
state["idempotency_keys"].extend([a.id for a in processed])
atomic_write("STATE.md", state)  # 原子写入 + 文件锁

错误处理

# 按 error-compact-pattern 压缩错误
try:
    feed = feedparser.parse(url)
except Exception as e:
    compact = f"[STEP_FAILED] fetch_rss@{now}\n  Error: {type(e).__name__} - {str(e)[:80]}\n  Recoverable: YES (retry with backoff)"
    context.append(compact)

输出格式

# 新闻摘要 {YYYY-MM-DD}

## 📰 {article.title}
- {point 1}
- {point 2}
- {point 3}

Skills associés

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