pm-preview SKILL.md skillA

pm-preview from konglong87/superpm is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add konglong87/superpm/pm-preview@git:20260924.7250d3a

Pins git:20260924.7250d3a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
konglong87/superpm
Path
skills/pm-preview/SKILL.md
Versions recorded
4
Latest version
git:20260924.7250d3a, committed Sep 24, 2026
First version recorded
Jun 12, 2026
Size
4,266 bytes
Repository stars
86
License
MIT

产品文档实时预览 - 在浏览器中预览 docs/ 下的所有 MD 文档,文档更新时自动刷新 Use when: 需要预览产品文档、查看 PRD/BRD/MRD 等 MD 文档的渲染效果 Do NOT use when: 文档尚未生成(docs/ 为空).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

## Preamble (run first)

```bash
# 检查 docs/ 目录和文档数量
echo "📊 文档预览状态:"
echo ""

if [ ! -d docs ]; then
  echo "  ❌ docs/ 目录不存在"
  echo "  💡 请先执行产品流程(/pm-brainstorm → /pm-demand → ... → /pm-docs)生成文档"
  exit 0
fi

total=0
for prefix in "01-需求调研" "02-方案设计" "03-增长迭代" "04-风控管理" "05-产品战略"; do
  count=$(ls docs/$prefix/*.md 2>/dev/null | wc -l | tr -d ' ')
  if [ "$count" -gt 0 ]; then
    echo "  $prefix: $count 个文档"
    total=$((total + count))
  fi
done

# 递归统计所有 .md 文件
all=$(find docs -name "*.md" 2>/dev/null | wc -l | tr -d ' ')
echo ""
echo "  📄 总计: $all 个 MD 文档"
echo ""

if [ "$all" -eq 0 ]; then
  echo "  ❌ 没有找到任何文档"
  echo "  💡 请先执行产品流程生成文档"
fi
```

---

## 执行流程

### 步骤 1: 启动预览服务器

先从已加载的本 skill 路径确定其绝对目录(单独安装时不在项目的 `skills/` 目录内),再使用 `Bash` 启动:

```bash
bash "<当前 pm-preview skill 所在目录>/scripts/start-preview.sh" --project-dir .
```

**说明**:
- 服务器在随机高端口启动(49152-65535)
- 使用 `--project-dir .` 将 session 持久化到 `.superpm/preview/`,服务器停止后文件保留;验收完毕后应删除不再需要的 session
- 后台运行,不阻塞终端

**输出示例**:
```json
{"type":"server-started","port":52341,"url":"http://localhost:52341","docs_dir":"/path/to/docs","state_dir":"/path/to/.superpm/preview/..."}
```

### 步骤 2: 告知用户打开预览

从输出中提取 `url` 字段,告知用户:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add konglong87/superpm/pm-preview@sha256:99d19dc703438c26

The line at the top of this page pins the label git:20260924.7250d3a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_2ifvla23bnr6lbrm.svg)](https://markdownregistry.com/a/art_2ifvla23bnr6lbrm)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jun 12, 2026 and Sep 24, 2026, about one every 35 days.

versioncommittedcommitsizeaudit
git:20260924.7250d3a latest2026-09-24 7250d3a 4,266 BA view · diff
git:20260924.e4cde072026-09-24 e4cde07 4,101 BA view · diff
git:20260618.eebf31a2026-06-18 eebf31a 4,013 BA view · diff
v1.0.02026-06-12 21e0b1d 4,028 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4266 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

konglong87/superpm · 86 stars · license MIT · pushed 2026-10-26 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_2ifvla23bnr6lbrm
GET https://markdownregistry.com/api/v1/resolve?ref=konglong87/superpm/pm-preview
GET https://markdownregistry.com/api/v1/blob/99d19dc703438c26ad1b7357212e0482f55306e4deeff1f55da9c6e6e55e559d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from konglong87/superpm

analyze-growth SKILL.md skill
konglong87/superpm · commands/analyze-growth/SKILL.md
git:20260924.7250d3a · audit C · 86 stars
define-strategy SKILL.md skill
konglong87/superpm · commands/define-strategy/SKILL.md
git:20260924.7250d3a · audit C · 86 stars
discover SKILL.md skill
konglong87/superpm · commands/discover/SKILL.md
git:20260924.7250d3a · audit C · 86 stars
plan-launch SKILL.md skill
konglong87/superpm · commands/plan-launch/SKILL.md
git:20260924.7250d3a · audit C · 86 stars
validate-idea SKILL.md skill
konglong87/superpm · commands/validate-idea/SKILL.md
git:20260924.7250d3a · audit C · 86 stars
write-prd SKILL.md skill
konglong87/superpm · commands/write-prd/SKILL.md
git:20260924.7250d3a · audit C · 86 stars
llms.txt llms.txt file
konglong87/superpm · llms.txt
git:20261023.471cbf9 · audit A · 86 stars
pm-evidence-audit SKILL.md skill
konglong87/superpm · skills/00-tools/pm-evidence-audit/SKILL.md · Use when: 审核产品调研、市场分析、增长报告或 PRD 中的关键结论是否有可追溯证据,核对来源、日期、推断与冲突 Do NOT use when: 只需评审 PRD 的完整性和表达(用…
git:20260924.0fc202e · audit A · 86 stars
pm-selfcheck SKILL.md skill
konglong87/superpm · skills/00-tools/pm-selfcheck/SKILL.md · Use when: 需要检查 super-pm 技能包安装完整性、元数据和体积 Do NOT use when: 正在执行具体 PM 任务且不需要安装诊断
git:20260924.26fb3bb · audit A · 86 stars
prompt-pe SKILL.md skill
konglong87/superpm · skills/00-tools/prompt-pe/SKILL.md · Use when the user explicitly invokes /prompt-pe or explicitly asks to clarify, enhance, or rewrite a vague prompt Do…
git:20261014.43f3bc2 · audit A · 86 stars
pm-brainstorm SKILL.md skill
konglong87/superpm · skills/01-demand-insight/pm-brainstorm/SKILL.md · Use when: 需要创意方案、探索产品方向、发散思维、本质问题分析 用户说"我想做一个XX""帮我规划XX产品""帮我设计一下需求" 用户给出新产品方向,但尚未完成本轮 brainstorm 交互确认 新产品从0到1的第一步 Do…
git:20261023.471cbf9 · audit A · 86 stars
pm-clarify SKILL.md skill
konglong87/superpm · skills/01-demand-insight/pm-clarify/SKILL.md · Use when: 有初步需求清单需要细化细节、需明确需求场景和边界条件、需求描述模糊需要结构化 Do NOT use when: 需求已足够详细可直达开发、仅需快速立项无需深入
git:20260924.3ac45f5 · audit A · 86 stars

Every file in konglong87/superpm

Browse by kind, by grade A, or by owner.