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

gspdev-publishgspdev 发布

Agent Skill

gspdev-publish 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

259

周安装

11

GitHub Stars

29

下载量

91
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:gspdev-publish(gspdev 发布)
来源仓库:https://github.com/jubscodes/get-shit-pretty
仓库路径:skills/gspdev-publish
安装命令:
npx skills add https://github.com/jubscodes/get-shit-pretty --skill gspdev-publish
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jubscodes/get-shit-pretty --skill gspdev-publish

简介

gspdev-publish 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合整理项目状态和变更事项。

  • 适用于围绕仓库状态、代码变更或协作事项进行信息组织和分析。
  • 通过 npx skills add 命令从 GitHub 仓库安装并使用。
  • 安装前需确认权限范围和维护状态,注意可能触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Repository: jubscodes/get-shit-pretty

Version is tracked in two files that must agree:

  • VERSION — single version string (no v prefix)
  • package.json"version"

GitHub releases use v-prefixed tags (e.g., v0.5.2).

Step 1: Resolve version

If $ARGUMENTS contains a version string, use it. Otherwise, use AskUserQuestion to ask for the target version.

Read the current version from VERSION. Validate that the new version is higher than the current one (semver comparison).

Show:

─── Publish ────────────────────────────

  Current: {current version}
  Target:  {new version}

Step 2: Pre-flight checks

Run these checks before changing anything. Abort on failure.

2a: Clean working tree

git status --short

If there are uncommitted changes, tell the user to commit or stash first. Abort.

2b: On main branch

git branch --show-current

If not on main, switch to main and pull: git checkout main && git pull origin main. The release commit will go through a PR branch anyway (main is protected).

2c: Up to date with remote

git fetch origin main && git rev-list HEAD..origin/main --count

If behind, tell the user to pull first.

Step 3: Bump versions

Update all three files:

  1. VERSION — write the new version string
  2. package.json — update "version" field

Step 4: Changelog

4a: Update Unreleased from commits

Read CHANGELOG.md. If the [Unreleased] section is empty, populate it from git history since the last release tag:

git log v{current_version}..HEAD --oneline --no-merges

Categorize commits using the Keep a Changelog convention:

  • feat: → Added
  • fix: → Fixed
  • refactor: / perf: → Changed
  • Skip docs:, chore: unless user-facing

Group related commits. Present to user for review.

4b: Promote to versioned release

Replace ## [Unreleased] content → ## [{new version}] — {today's date}. Insert fresh empty ## [Unreleased] above it.

Show the promoted changelog section to the user for review.

Step 5: Run audits

bash dev/scripts/audit-tests.sh

If any tests fail, show the failures and abort. The user must fix issues before publishing.

If warnings only, show them and continue.

Step 6: Changelog site entry

Check if src/content/changelog/ exists. If so, create a new MDX entry:

File: src/content/changelog/v{version-with-dashes}.mdx (e.g., v0-5-2.mdx)

Read the previous changelog site entry for format reference. Generate the MDX from the CHANGELOG.md entry:

---
title: "v{version} -- {milestone title or short summary}"
date: "{today YYYY-MM-DD}"
excerpt: "{1-2 sentence summary of the release}"
tags: [{relevant tags}]
slug: "v{version-with-dashes}"
---

{Prose version of the changelog — more narrative than the bullet list, grouped by theme}

Present to the user for review before writing.

Step 7: Commit, PR, and merge

Main is protected — all changes require a PR. Create a release branch, PR it, merge, and pull.

# Stage and commit
git add VERSION package.json CHANGELOG.md gsp/templates/branding/config.json gsp/templates/projects/config.json src/content/changelog/v{version}.mdx
git commit -m "release: v{version}"

# Create release branch and push
git checkout -b release/v{version}
git push -u origin release/v{version}

# Create and merge PR (label as release)
gh pr create --title "release: v{version}" --body "Version bump, changelog, and site entry for v{version}." --label "release"
gh pr merge --squash --subject "release: v{version}"

# Return to main and pull
git checkout main
git reset --hard origin/main

Step 8: Create GitHub release

Fetch the milestone for this version (if one exists) to use as release context:

gh api repos/jubscodes/get-shit-pretty/milestones --jq '.[] | select(.title | test("{version}")) | {title, number, description}'

Create the GitHub release using the changelog section as the body:

gh release create v{version} --title "v{version} — {milestone title or summary}" --notes "{changelog section}"

Step 9: Close milestone issues and milestone

If a milestone was found in Step 8:

# Close all open issues in the milestone
gh issue list --milestone "{milestone title}" --state open --json number --jq '.[].number'

For each open issue, close it:

gh issue close {number} --comment "Shipped in v{version}"

Then close the milestone:

gh api repos/jubscodes/get-shit-pretty/milestones/{milestone_number} -X PATCH -f state=closed

Step 10: Prompt npm publish

Show the final checklist:

─── Release Ready ──────────────────────

  ✅ Versions bumped: {version}
  ✅ CHANGELOG.md updated
  ✅ Audits passed ({N} pass, {N} warn)
  ✅ Changelog site entry created
  ✅ Committed and pushed
  ✅ GitHub release: v{version}
  ✅ Milestone closed

─── npm publish ────────────────────────

  Run this command to publish to npm:

    npm publish

  Verify on npmjs.com/package/get-shit-pretty

Use AskUserQuestion: "Ready to publish? Run npm publish when you're ready. I'll wait."

After the user confirms they've published, optionally verify:

npm view get-shit-pretty version

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.79%
按下载量换算32

Claude

32.24%
按下载量换算29

Cursor

17.58%
按下载量换算16

Gemini CLI

8.57%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills