define-hypothesis
Defines a testable hypothesis with clear success metrics and a validation approach. Use when forming assumptions to test or…
Checks for newer pm-skills releases, compares local vs. latest version, previews what would change, and updates local files after user confirmation. Generates a structured update report documenting changed files, new capabilities, and the value delta between versions. Use when
Claude Code
$ npx -y skills add product-on-purpose/pm-skills --skill utility-update-pm-skills --agent claude-code
Codex
$ npx skills add product-on-purpose/pm-skills --skill utility-update-pm-skills -a codex -y
Cursor
$ npx skills add product-on-purpose/pm-skills --skill utility-update-pm-skills -a cursor -y
Gemini CLI
$ npx skills add product-on-purpose/pm-skills --skill utility-update-pm-skills -a gemini-cli -y
GitHub Copilot
$ npx skills add product-on-purpose/pm-skills --skill utility-update-pm-skills -a github-copilot -y
OpenCode
$ npx skills add product-on-purpose/pm-skills --skill utility-update-pm-skills -a opencode -y
Windsurf
$ npx skills add product-on-purpose/pm-skills --skill utility-update-pm-skills -a windsurf -y
name: utility-update-pm-skills description: Checks for newer pm-skills releases, compares local vs. latest version, previews what would change, and updates local files after user confirmation. Generates a structured update report documenting changed files, new capabilities, and the value delta between versions. Use when you want to bring a local pm-skills installation up to date. license: Apache-2.0 metadata: classification: utility version: "1.0.1" updated: 2026-07-04 category: coordination frameworks: [triple-diamond] author: product-on-purpose
<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->
This skill updates a local pm-skills installation to the latest public release. It validates connectivity, compares versions, previews changes, and produces a structured report documenting what was updated and what new capabilities are available.
| Flag | Behavior | |------|----------| | *(none)* | Full update flow: pre-flight → preview → confirm → update → report | | `--report-only` | Pre-flight → preview → report (no files written) | | `--status` | Lightweight version check - prints current and latest version, then stops |
When `--status` is provided, run only the pre-flight checks and display:
pm-skills v{local} (installed, from {source})
pm-skills v{latest} (latest, released {date})
{Status: up to date | update available ({type})}
Run utility-update-pm-skills for details, or utility-update-pm-skills --report-only for a preview.No report file is generated. No files are written.
When asked to update pm-skills (without `--status`), follow these steps:
Run three checks before proceeding:
1. **Network access**: Reach the GitHub API or repository URL (`https://github.com/product-on-purpose/pm-skills`). Use any available method: `curl`, `wget`, GitHub CLI (`gh`), or MCP tools.
2. **Latest version**: Query the latest release using this fallback chain (try each in order, use the first that succeeds): 1. GitHub API: `GET /repos/product-on-purpose/pm-skills/releases/latest` 2. GitHub CLI: `gh release list --repo product-on-purpose/pm-skills --limit 1` 3. Git: `git ls-remote --tags https://github.com/product-on-purpose/pm-skills.git`
If all three fail (rate limiting, 404, malformed response, no network), enter degraded mode (see below).
Record: version string, release date, release notes URL, release notes body.
3. **Local version**: Read from the first available source:
**Version parsing:** Normalize by stripping an optional `v` prefix and trimming whitespace. If a source is present but yields an empty, non-semver, or malformed string (invalid JSON, missing field), skip it with a warning and try the next source. Only fall back to `0.0.0` after all four sources fail.
**If network access fails** (degraded mode):
> Visit https://github.com/product-on-purpose/pm-skills/releases to > download the latest release. Extract the archive and copy the > `skills/`, `commands/`, `_workflows/`, and other content directories > to your local pm-skills installation.
Compare the local version against the latest release using semver.
**If local version >= latest version:**
**If local version < latest version:**
Local version: v{local}
Latest version: v{latest}
Update type: {major | minor | patch}to v3.x), show a prominent warning: > This is a major version update. It may include breaking changes to > skill contracts. Review the release notes before proceeding.
Show the user what the update includes:
1. **Version delta**: local version, latest version, update type.
2. **Value summary**: Derive from CHANGELOG entries between the two versions, GitHub release notes, and directory diffs (new skills/, new _workflows/ files):
3. **File manifest**: List of files and folders that will be written, grouped by directory with counts:
Files to be written:
skills/ 31 files (2 new, 29 updated)
commands/ 38 files (2 new, 36 updated)
_workflows/ 9 files (1 new, 8 updated)
other 7 files
Total: 85 files**If `--report-only`:** Generate the report using `references/TEMPLATE.md` with the banner "Report only - update was not applied." Save to `_pm-skills/updates/update-report_v{latest}_report-only_{YYYY-MM-DD_HHMMSS}.md`. Stop execution.
Prompt the user for two decisions:
1. **Update confirmation**: "These files will be overwritten. Proceed? [yes / no]"
68 plug-and-play, best-practice product management skills for AI agents: 30 Triple Diamond phase + 11 foundation + 12 utility + 15 tool (Foundation Sprint + Design Sprint). Plus 6 sub-agents, workflows, 200+ output samples, guides, and CI-enforced contracts. Apache 2.0.
Defines a testable hypothesis with clear success metrics and a validation approach. Use when forming assumptions to test or…
Creates a Jobs to be Done canvas capturing the functional, emotional, and social dimensions of a customer job. Use when deeply…
Creates an opportunity solution tree connecting a desired outcome to customer opportunities and candidate solutions, preventing…
Run applicable prioritization frameworks (RICE, ICE, MoSCoW, Weighted Scoring, Kano) against a list of features or initiatives.…
Creates a clear problem framing document with user impact, business context, and success criteria. Use when starting a new…
Generates structured Given/When/Then acceptance criteria for a user story or feature slice, covering the happy path, key failure…
Your board of directors. Puts a business idea in front of a three-member board, each a sub-agent reading the idea through one…
Manage Codex Taskboard issues and taskctl setup when the request names Codex Taskboard, e-taskboard, or taskctl, or the…
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision…
Help users identify unique distribution advantages and master the lifecycle of acquisition channels to build a sustainable engine…