Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计提醒

pr-screenshot-docs公关截图文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

849

周安装

34

GitHub Stars

37

下载量

275
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pr-screenshot-docs(公关截图文档)
来源仓库:https://github.com/majesticlabs-dev/majestic-marketplace
仓库路径:skills/pr-screenshot-docs
安装命令:
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pr-screenshot-docs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pr-screenshot-docs

简介

pr-screenshot-docs 用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。

  • 适用于提炼文档结构、统一术语、补齐章节或优化对外文案的可读性与专业性。
  • 支持根据已有材料生成清晰的内容框架,帮助 Agent 组织逻辑并检查链接完整性。
  • 使用时需保留项目事实与路径信息,避免虚构未确认的数据或过度营销表述。
  • 涉及页面改动时,建议配合截图或预览工具验证实际效果。

SKILL.md

PR Screenshot Documentation

Guidance for capturing and documenting UI changes with before/after screenshots when creating pull requests.

When to Use This Skill

  • Creating PRs with frontend/UI modifications
  • Documenting visual changes for code review
  • Building a visual record of design evolution
  • Enabling async design review without running the app

Screenshot Workflow

1. Before Making Changes

Capture the current state before implementing UI modifications:

1. browser_resize(width: 320, height: 568)  # Mobile-first
2. browser_navigate to the target page
3. browser_snapshot to identify elements
4. browser_take_screenshot(element: "Target component", ref: "E123")

Save or note the screenshot for later comparison.

2. After Implementing Changes

Capture the same view after your modifications:

1. Refresh or navigate to the updated page
2. browser_snapshot to get updated refs
3. browser_take_screenshot(element: "Target component", ref: "E123")

3. Upload Screenshots (Optional)

For persistent URLs in PR descriptions, upload to an image hosting service:

# Using curl with 0x0.st (ephemeral hosting)
curl -F 'file=@screenshot.png' https://0x0.st

# Or use project-specific image storage

Note: 0x0.st URLs expire. For permanent records, use GitHub's drag-and-drop image upload in PR descriptions or project documentation storage.

PR Description Template

Include a visual comparison section in your PR description:

## Visual Changes

| Before | After |
|--------|-------|
| ![Before](url-or-path) | ![After](url-or-path) |

### What Changed
- [Specific visual change 1]
- [Specific visual change 2]

Viewport Recommendations

Choose viewport size based on what you're documenting:

TargetWidthHeightUse Case
Mobile320568Mobile-first responsive
Tablet7681024Tablet layouts
Desktop1280800Standard desktop
Wide1440900Wide desktop layouts

Default to mobile (320px) for documentation - if it looks good on mobile, it usually scales up well.

Best Practices

Capture Strategy

  • Focus on the changed component - don't capture full pages unless layout changed
  • Use consistent viewports - same size for before and after
  • Capture interactive states - hover, focus, active when relevant
  • Include error states - if you changed error handling UI

Documentation Quality

  • Describe what changed - don't make reviewers guess
  • Explain why - connect visual changes to user benefit
  • Note accessibility - mention contrast, focus indicators if relevant

When NOT to Capture

  • Pure backend changes with no UI impact
  • Code refactoring without visual changes
  • Test-only changes
  • Configuration updates

Integration with PR Workflow

This skill complements the /majestic-engineer:git:create-pr command. Before creating a PR with UI changes:

  1. Take before screenshots (if you didn't already)
  2. Implement your changes
  3. Take after screenshots
  4. Include comparison in PR description
  5. Run the create-pr command

Example PR Section

## Visual Changes

| Before | After |
|--------|-------|
| ![Before - Button styling](./docs/screenshots/button-before.png) | ![After - Button styling](./docs/screenshots/button-after.png) |

### Changes Made
- Increased button padding from 8px to 12px for better touch targets
- Added subtle shadow for depth
- Improved contrast ratio from 3.5:1 to 4.8:1 (now WCAG AA compliant)

### Tested Viewports
- [x] Mobile (320px)
- [x] Tablet (768px)
- [x] Desktop (1280px)

Related Tools

  • visual-validator agent - For rigorous visual QA after changes
  • ui-ux-designer agent - For iterative design refinement

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.38%
按下载量换算103

Claude

27.64%
按下载量换算76

Cursor

17.77%
按下载量换算49

Gemini CLI

9.3%
按下载量换算26

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills