Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计提醒

gh-pr-metadatagh 公关元数据

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

692

周安装

28

GitHub Stars

2,492

下载量

217
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/module-federation/core --skill gh-pr-metadata

简介

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。

  • 适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。
  • 可结合来源仓库和原始 README 继续核验具体用法。

SKILL.md

GH PR Metadata

Overview

Normalize the current branch's GitHub PR metadata to this repo's expectations. Keep the title in conventional-commit style, keep the body aligned to .github/pull_request_template.md, and validate before handoff.

Ground the PR metadata in the live branch state, not stale branch names or old commit subjects. Always inspect the current branch diff versus its base before rewriting the PR title/body.

Read references/repo-pr-format.md when you need the exact section order, checklist items, or a title example.

Workflow

  1. Resolve the current branch PR.
gh pr view --json number,title,body,url,headRefName,baseRefName
  1. Inspect the current branch state against the PR base branch.

At minimum, check:

git diff --name-status origin/<base>...HEAD
git diff --stat origin/<base>...HEAD
git log --oneline --decorate --no-merges origin/<base>..HEAD

Use these to answer:

  • what files actually differ from the base right now
  • which changes are functional versus cleanup/tooling/docs
  • whether the existing PR title/body still matches the current branch after rebases, reverts, or scope narrowing
  1. Validate the current title and body.
python3 .codex/skills/gh-pr-metadata/scripts/validate_pr_metadata.py
  1. If the PR body needs a clean template scaffold, print one:
python3 .codex/skills/gh-pr-metadata/scripts/validate_pr_metadata.py --print-template
  1. Rewrite the PR title in conventional-commit style.

Rules:

  • Prefer type(scope): summary
  • Keep the title short and direct
  • Use repo-typical types such as fix, feat, docs, refactor, chore, test, ci, build, perf, revert
  • Keep the scope tight to the affected package or subsystem when useful
  • Do not add prefixes like [codex]
  • Make sure the title describes the current branch diff, not the original branch intent if the branch was later narrowed or partially reverted
  1. Rewrite the PR body to preserve the repo template structure:
  • ## Description
  • ## Related Issue
  • ## Types of changes
  • ## Checklist
  1. Update the PR with gh.

Prefer writing the body to a temporary file first, then:

gh pr edit --title "<new-title>" --body-file /tmp/pr-body.md
  1. Re-run validation and report whether the PR metadata is now compliant.
python3 .codex/skills/gh-pr-metadata/scripts/validate_pr_metadata.py

Body Guidance

  • Keep Description prose-first and specific to the branch.
  • Reflect the branch as it exists now, especially after rebases, cleanups, or partial reverts.
  • Summarize the real file-level themes from the live diff instead of copying commit messages mechanically.
  • Put issue references in Related Issue; if there is no issue, say so plainly instead of deleting the section.
  • In Types of changes, check only the boxes that actually apply.
  • In Checklist, preserve all repo checklist items and mark only the items that are true.
  • Do not remove required sections just because the PR is small.
  • Keep the body concise; do not turn it into a changelog dump.

Title Guidance

Good examples:

  • fix(node): normalize remote chunk parsing
  • chore(manifest): drop extra compat cleanup
  • docs(agents): prefer normalized webpack path requires

Bad examples:

  • update pr
  • fix stuff
  • [codex] cleanup

Validation

Use the helper script to detect:

  • non-conventional PR titles
  • missing or reordered template sections
  • missing repo checklist items

The script validates either the current PR from gh or explicit --title / --body-file input.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.01%
按下载量换算78

Claude

30.5%
按下载量换算66

Cursor

20.24%
按下载量换算44

Gemini CLI

9.21%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills