release
- Repo stars 1,396
- Author updated Live
- Author repo psd-tools
- Domain
- Engineering
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @psd-tools · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- Python
- Permissions
-
- Read-only
- Write / modify
- Network behavior
- External requests
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: release
description: Prepare a psd-tools release: update changelog, open release PR. Use when the user wants to cut a…
category: engineering
runtime: Python
---
# release output preview
## PART A: Task fit
- Use case: Prepare a psd-tools release: update changelog, open release PR. Use when the user wants to cut a new version. Validate it as a PEP 440 string (e.g. 1.2.3, 1.2.3a1, 1.2.3rc1, 1.2.3.post1). makes outbound network calls; runs on Python. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “Step 0 — Determine target version / If a version was provided (above is non-empty) / If no version was provided (above is empty)” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Prepare a psd-tools release: update changelog, open release PR. Use when the user wants to cut a new version. Validate it as a PEP 440 string (e.g. 1.2.3, 1.2.3a1, 1.2.3rc1, 1.2.3.post1). makes outbound network calls; runs on Python. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “Step 0 — Determine target version / If a version was provided (above is non-empty) / If no version was provided (above is empty)” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files; may access external network resources; usually needs no extra API key.
## Running Rules
- read files, write/modify files; may access external network resources; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files.
Start with a small task and check whether the result follows “Step 0 — Determine target version / If a version was provided (above is non-empty) / If no version was provided (above is empty)”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: release
description: Prepare a psd-tools release: update changelog, open release PR. Use when the user wants to cut a…
category: engineering
source: psd-tools/psd-tools
---
# release
## When to use
- Prepare a psd-tools release: update changelog, open release PR. Use when the user wants to cut a new version. Validate…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “Step 0 — Determine target version / If a version was provided (above is non-empty) / If no version was provided (above is empty)” and keep inference separate from source facts.
- read files, write/modify files; may access external network resources; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "release" {
input -> user goal + target files + boundaries + acceptance criteria
context -> Step 0 — Determine target version / If a version was provided (above is non-empty) / If no version was provided (above is empty)
rules -> SKILL.md triggers / order / output contract
runtime -> Python | read files, write/modify files | may access external network resources
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} Step 0 — Determine target version
Provided version: $ARGUMENTS
If a version was provided (above is non-empty)
Validate it as a PEP 440 string (e.g. 1.2.3, 1.2.3a1, 1.2.3rc1, 1.2.3.post1).
Note: PEP 440 versions must not start with v — that prefix belongs on the git tag, not
the version string.
Stop and ask the user to correct it if invalid. Store it as VERSION for all subsequent steps.
If no version was provided (above is empty)
Analyze the commits listed in Step 1 to recommend the correct next version.
The last tag shown in Step 1 uses a v prefix (e.g. v1.14.3); strip it when computing
the next version so the result is a bare PEP 440 string (e.g. 1.14.4, not v1.14.4).
Apply these semver rules:
- Major bump (
X+1.0.0) — any commit that breaks a public API or documented behaviour - Minor bump (
X.Y+1.0) — any new public feature or API addition, no breaking changes - Patch bump (
X.Y.Z+1) — bug fixes, security patches, chores, docs, or refactoring only
Show your reasoning and proposed version to the user, then ask them to confirm or override it. Store the confirmed version as VERSION for all subsequent steps.
Step 1 — Review commits since the last release
Fetch tags:
!git fetch --tags -q || echo "Warning: failed to fetch tags — check network/auth and consider retrying."
Last tag: !git describe --tags --abbrev=0 2>/dev/null || echo "(none)"
Today's date: !date +%Y-%m-%d
Now list the commits since the last release by running one of these commands:
- If "Last tag" above is
(none): rungit log --oneline - Otherwise: run
git log <LAST_TAG>..HEAD --oneline(substituting the actual tag)
You must run this command and review the output before proceeding to Step 0 or Step 2.
Step 2 — Draft changelog entry
Read docs/changelog.rst to understand the current format, then draft a new entry for VERSION
using this RST format:
VERSION (YYYY-MM-DD)
--------------------
- [category] Description (#PR)
Important: The - underline must be at least as long as the title line (RST requirement).
Count the exact characters in VERSION (YYYY-MM-DD) and use that many dashes.
Use these categories (pick the most specific one per bullet):
api— public API additions or changespsd— low-level PSD parsing/writingfix— bug fixesrefactor— internal restructuring, no behaviour changedocs— documentation onlyci— CI/CD, GitHub Actionschore— dependency bumps, tooling, housekeepingsecurity— security fixes
Group related changes. Omit purely internal churn that users won't care about. Reference PR numbers where available.
Show the draft to the user and ask for approval or edits before continuing.
Step 3 — Update docs/changelog.rst
Prepend the approved changelog entry directly after the Changelog header block and the
following blank line, leaving a blank line between the header and the new entry.
Step 4 — Create release branch and commit
git checkout -b release/vVERSION
Then update src/psd_tools/version.py using the Edit tool — replace the existing
__version__ line with:
__version__ = "VERSION"
VERSION is the bare PEP 440 string without the v prefix (e.g. 1.15.0, not v1.15.0).
Then stage both changed files and commit:
git add docs/changelog.rst src/psd_tools/version.py
git commit -m "docs: release vVERSION"
git push -u origin release/vVERSION
Replace VERSION with the actual version string (e.g. 1.15.0).
Step 5 — Open a pull request
Run gh pr create with --title "Release vVERSION" and a --body containing:
- A
## Release vVERSIONheading - A
### Changelogsection with the approved entry from Step 2 pasted in - A
### Release checklistsection with these items:[ ] Changelog entry reviewed and accurate[ ] Version follows PEP 440
- A closing note: "After this PR is merged, the
auto-tagworkflow will tag the merge commit asvVERSIONand thereleaseworkflow will build wheels and publish to PyPI automatically."
Replace VERSION with the actual version string throughout.
Step 6 — Done
Print the PR URL. Remind the user:
After the PR is approved and merged, the
auto-tagGitHub Actions workflow tags the merge commit asvVERSIONautomatically. That tag push triggers thereleaseworkflow to build wheels for all platforms and publish to PyPI. No manual tagging or publishing is needed.
Replace VERSION with the actual version string.
Decide Fit First
Design Intent
How To Use It
Boundaries And Review