Agent Skillsdmccreary/ibook-skills › book-publisher

book-publisher

GitHub

智能教材出版与推广元技能,统一处理GitHub README更新、LinkedIn社媒公告、幻灯片制作及新闻稿撰写。通过路由表分发至对应指南,确保统计数据一致性。

skills/book-publisher/SKILL.md dmccreary/ibook-skills

Trigger Scenarios

创建或更新 GitHub README 发布 LinkedIn 帖子或公告 制作 LinkedIn 幻灯片/PPTX 撰写 AP 风格新闻稿

Install

npx skills add dmccreary/ibook-skills --skill book-publisher -g -y
More Options

Use without installing

npx skills use dmccreary/ibook-skills@book-publisher

指定 Agent (Claude Code)

npx skills add dmccreary/ibook-skills --skill book-publisher -a claude-code -g -y

安装 repo 全部 skill

npx skills add dmccreary/ibook-skills --all -g -y

预览 repo 内 skill

npx skills add dmccreary/ibook-skills --list

SKILL.md

Frontmatter
{
    "name": "book-publisher",
    "license": "Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)",
    "metadata": {
        "ibook.version": "1.0",
        "ibook.preferred-model": "sonnet"
    },
    "description": "Publishes and promotes a finished intelligent textbook - GitHub README with badges and site statistics, LinkedIn announcement posts, LinkedIn carousel document posts (PPTX\/PDF slideshows), and AP-style press releases. Use when announcing a book milestone or updating repository documentation. Routes to the appropriate guide."
}

Book Publisher

Version: 1.0

Overview

This meta-skill handles publishing and promotion tasks for finished (or milestone-ready) intelligent textbooks. It consolidates four skills into a single entry point with on-demand loading of specific guides.

All four routes draw their numbers from the same canonical metrics hub — docs/learning-graph/book-metrics.json, produced by bk-generate-book-metrics (book-installer feature #40) — so the README, posts, carousel, and press release always cite identical statistics. Never recount content by hand or parse the human-readable book-metrics.md table.

When to Use This Skill

Use this skill when users request:

  • Creating or updating the GitHub README (badges, overview, site metrics, getting started)
  • Announcing a textbook milestone on LinkedIn (post text)
  • Building a LinkedIn carousel / document post (13-slide PPTX/PDF with screenshots)
  • Writing an AP-style press release for journalists or education trade press

Step 1: Identify Publishing Task

Routing Table

Trigger Keywords Guide File Purpose
readme, github readme, update the readme, badges, repo documentation references/readme-guide.md Create/update README.md with badges, overview, metrics table, getting-started
linkedin post, linkedin announcement, announce the book, milestone post, social media announcement references/linkedin-post-guide.md Generate LinkedIn post text with metrics, hashtags, and link strategy
linkedin carousel, document post, carousel post, slideshow post, pptx for linkedin references/linkedin-carousel-guide.md Generate a 13-slide PPTX/PDF carousel with real screenshots and metrics
press release, media pitch, journalists, news release, AP style, education press references/press-release-guide.md Write an AP-style press release with headline, lead, quotes, boilerplate

Decision Tree

GitHub repository documentation (README, badges)?
  → YES: readme-guide.md

Social announcement as TEXT (a LinkedIn post)?
  → YES: linkedin-post-guide.md

Social announcement as a SLIDESHOW (LinkedIn document post, PPTX/PDF)?
  → YES: linkedin-carousel-guide.md
  (Post caption text for it → linkedin-post-guide.md; the two are often paired)

Formal news announcement for journalists / trade press?
  → YES: press-release-guide.md

Step 2: Ensure the Metrics Hub Is Fresh

Before any route, verify the canonical metrics file exists and is current:

bk-generate-book-metrics 2>/dev/null \
  || python3 "$BK_HOME/src/book-metrics/book-metrics.py" docs

Then read docs/learning-graph/book-metrics.json (the metrics object). If the script is unavailable, load $BK_HOME/skills/book-installer/references/book-metrics.md (feature #40) for the full setup.

Step 3: Load the Matched Guide

Read the corresponding guide file from references/ and follow its workflow.

Supporting Files

  • references/badges.md — shields.io badge catalog for the README
  • references/carousel-slide-patterns.md — nine reusable pptxgenjs slide patterns
  • references/carousel-content-sourcing.md — which project field feeds which carousel slide
  • scripts/collect-site-metrics.py — fallback scanner for counts the metrics hub does not provide (image assets, code blocks)
  • scripts/validate-readme.py — README structure validator
  • scripts/crop-screenshot.py — crop screenshots to carousel aspect ratio

Examples

Example 1: README

User: "Update the README for this book" Routing: Keyword "README" → references/readme-guide.md Action: Refresh book-metrics.json, read readme-guide.md, generate README.md with badges and metrics table

Example 2: LinkedIn Post

User: "Write a LinkedIn announcement — we just published chapter 12" Routing: Keywords "LinkedIn announcement" → references/linkedin-post-guide.md Action: Read linkedin-post-guide.md; pull metrics from book-metrics.json; produce post text + hashtags

Example 3: Carousel

User: "Make a LinkedIn carousel showing off the book's features" Routing: Keyword "carousel" → references/linkedin-carousel-guide.md Action: Read linkedin-carousel-guide.md; capture/crop screenshots; build the 13-slide PPTX

Example 4: Press Release

User: "Write a press release for the course launch" Routing: Keywords "press release" → references/press-release-guide.md Action: Read press-release-guide.md; verify 2-3 figures from book-metrics.json; write AP-style release

Version History

  • 163bb4a Current 2026-08-28 20:02

    修复模型配置迁移导致的硬错误,并将跨技能文件引用路径改为便携式变量以兼容多平台。

  • fa205dc 2026-08-20 09:00

Same Skill Collection

skills/archived/causal-loop-diagram-generator/SKILL.md
skills/archived/chapter-image-enhancer/SKILL.md
skills/archived/diagram-reports-generator/SKILL.md
skills/archived/init-textbook/SKILL.md
skills/archived/interactive-infographic-overlay/SKILL.md
skills/archived/linkedin-announcement-generator/SKILL.md
skills/archived/linkedin-carousel-generator/SKILL.md
skills/archived/press-release-generator/SKILL.md
skills/archived/pronounce-button/SKILL.md
skills/archived/readme-generator/SKILL.md
skills/archived/register-book-analytics/SKILL.md
skills/archived/story-generator/SKILL.md
skills/archived/text-to-speech/SKILL.md
skills/archived/textbook-to-presentation-generator/SKILL.md
skills/archived/verified-infographic-generator/SKILL.md
skills/book-chapter-generator/SKILL.md
skills/book-installer/SKILL.md
skills/book-media-generator/SKILL.md
skills/chapter-content-generator/SKILL.md
skills/course-description-analyzer/SKILL.md
skills/docx-to-web-publisher/SKILL.md
skills/faq-generator/SKILL.md
skills/glossary-generator/SKILL.md
skills/learning-graph-generator/SKILL.md
skills/microsim-utils/SKILL.md
skills/quiz-generator/SKILL.md
skills/reference-generator/SKILL.md
skills/archived/docker-python-lab/SKILL.md
skills/archived/marp-generator/SKILL.md
skills/microsim-generator/SKILL.md

Metadata

Files
0
Version
163bb4a
Hash
d09fb14e
Indexed
2026-08-20 09:00

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 09:26
浙ICP备14020137号-1 $Carte des visiteurs$