---
name: news-seo-pdf-report
description: Group Skill — runs a full Google News SEO diagnostic on a target URL, then exports the diagnostic report as a professional PDF. Use when the user wants an auditable, shareable SEO report in PDF format.
title: news-seo-pdf-report
canonical_url: https://skilld.dev/gh/wghust/stark-skills/news-seo-pdf-report
last_updated: 2026-10-07T01:19:14.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install wghust/stark-skills/news-seo-pdf-report`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/news-seo-pdf-report`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/wghust/stark-skills/news-seo-pdf-report) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/news-seo-pdf-report`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/news-seo-pdf-report --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/news-seo-pdf-report --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# News SEO PDF Report

对目标新闻网站执行 Google News SEO 全站诊断，并将诊断报告生成为专业 PDF 文件，方便存档与分享。

---

## When to Use

当用户需要对一个新闻网站进行 Google News SEO 审计，并希望将结果导出为 PDF 报告时使用。
Use when the user says: "audit this site and give me a PDF", "generate a SEO report PDF", or provides a URL and wants a downloadable report.

---

## Dependencies

Install all sub-skills before running this group skill:

```bash
npx skills add https://github.com/wghust/stark-skills --skill google-news-seo
npx skills add https://github.com/wghust/stark-skills --skill insight-pdf
```

---

## Universal Orchestration Logic

### Step 0 — Initialize Shared Context

Load the `## Initial Context` block from this SKILL.md as the shared context object `context`.
Display it at the start so the current state is always visible.

### Step 1..N — Execute Sub-skills in Order

For each sub-skill listed in `## Sub-skills`:

1. Read that sub-skill's SKILL.md in full
2. Before executing, remind yourself of the current `context` state
3. Execute the sub-skill's instructions completely
4. After execution, update `context` with any new outputs produced (fields defined in `## Context Fields`)
5. Display the updated `context` before moving to the next sub-skill

> If a sub-skill fails: stop, report the failure, and display the current `context`. Do not continue.

### Step Final — Summary

Output the final `context` as the execution summary.

---

## Sub-skills

1. google-news-seo — 对 `context.target-url` 执行 Google News SEO 全站诊断（Layer 1 + Layer 2 + Competitor Analysis），将完整 Markdown 报告写入 `context.seo-report-markdown`
2. insight-pdf — 读取 `context.seo-report-markdown`，生成专业 PDF，将输出路径写入 `context.output-pdf-path`

---

## Initial Context

```json
{
  "target-url": null,
  "seo-report-markdown": null,
  "output-pdf-path": null,
  "status": "not-started"
}
```

> `target-url` 由用户在执行前提供（URL 或域名）。

---

## Context Fields

| Field | Updated by | Description |
|---|---|---|
| `target-url` | User (before start) | 待审计的新闻网站 URL 或域名 |
| `seo-report-markdown` | google-news-seo | 完整的 Google News SEO 诊断报告（Markdown 格式） |
| `output-pdf-path` | insight-pdf | 生成的 PDF 文件路径（相对于项目目录） |
| `status` | Updated after each step | `not-started` → `seo-done` → `done` |
