ワンクリックで
create-release
Prepare a DRAW release — bump version, update docs, generate release notes
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Prepare a DRAW release — bump version, update docs, generate release notes
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Fix a bug in DRAW's text tool using the state machine diagram, source code, and QB64-PE MCP. Follows a structured workflow: diagnose → fix → verify → update diagram.
Create an automated QA test script for a DRAW feature or tool. Generates a bash test script in QA/tests/ using the QA harness helpers, derived from state diagrams, keyboard/mouse bindings, source code, and project instructions.
Create a manual QA test checklist for a DRAW feature or tool. Generates a hierarchical checklist in PLANS/TESTS/ with test cases derived from state diagrams, keyboard/mouse bindings, source code, and project instructions.
Analyze the visual output of a QB64PE program by saving a screenshot and describing what is rendered.
Write a new QB64PE program for a given task, validating syntax and compiling iteratively until clean.
Generate a multi-sheet .xmind mind map from a hierarchical feature tree using the xmind-sdk-js toolchain in DEV/. Supports cross-sheet hyperlinks, back-links, and themes.
| name | create-release |
| description | Prepare a DRAW release — bump version, update docs, generate release notes |
When the user invokes this skill (e.g. "do a release", "prep a release", "release skill"), execute the following steps in order. Do not skip steps. Do not batch steps that require user input.
Ask the user:
"Is this a major, minor, or patch release?" (major = breaking/large new features, minor = new features, patch = bug fixes / polish)
Parse the current version from _COMMON.BI:
CONST APP_VERSION$ = "X.Y.Z"
Compute the new version:
(X+1).0.0X.(Y+1).0X.Y.(Z+1)Show the user: Current: X.Y.Z → New: A.B.C and confirm before proceeding.
Run:
git log --oneline --no-merges $(git describe --tags --abbrev=0 2>/dev/null || git rev-list --max-parents=0 HEAD)..HEAD
If no tags exist, compare against the very first commit.
Also check merged pull requests since the last tag to capture feature-chunk descriptions:
gh pr list --repo grymmjack/DRAW --state merged --limit 20 --json number,title,body,mergedAt,headRefName --jq '.[] | "PR #\(.number): \(.title) | Branch: \(.headRefName) | Merged: \(.mergedAt[0:10])\n\(.body)\n---"'
Filter to only PRs merged after the last tag date (git log --format="%ci" -1 <tag>). PR descriptions often contain richer change details than commit messages — use them to supplement the git log.
Also review the current conversation history (the chat context above this message) for any features, fixes, or changes discussed and implemented during this session that may not yet be in git log (e.g. uncommitted work).
Produce a deduplicated, categorised list of changes:
_COMMON.BIIn _COMMON.BI, replace:
CONST APP_VERSION$ = "X.Y.Z"
with:
CONST APP_VERSION$ = "A.B.C"
CHEATSHEET.mdReview CHEATSHEET.md against the collected changes list from Step 2.
For each change that affects keyboard shortcuts, hotkeys, mouse behaviour, tool names, or controls:
Preserve the existing formatting and table structure. Only edit sections that need updating.
README.MDReview README.MD against the collected changes list from Step 2.
Update:
Review each file in .claude/instructions/ against the collected changes list from Step 2. Update only the files affected by this release — skip files whose content is still accurate.
| File | Update when… |
|---|---|
draw-project.md | Architecture changes, new directories, new/changed gotchas, new tools in key files table, updated adding-tools checklist, new QB64-PE APIs used |
draw-undo.md | Undo system changes, new undo callers, new bug patterns |
draw-rendering.md | Render pipeline step changes, new blend modes, layer type field changes, cache invalidation rule changes |
draw-mouse.md | MOUSE_OBJ field additions, new DEFERRED_ACTION% values, processing flow changes |
draw-ui.md | New action IDs or ranges, new menu items, toolbar row/column layout changes, new organizer slots |
draw-sound.md | New sound constants, new playback wiring, new config keys, music system changes |
draw-fileformat.md | New .draw binary sections or version bump, new config fields, new theme fields |
For each file that needs updating:
Run the build to confirm the version bump and all doc changes haven't introduced any issues:
cd /home/grymmjack/git/DRAW && /home/grymmjack/git/qb64pe/qb64pe -w -x DRAW.BAS -o DRAW.run 2>&1 | tail -5
Confirm Output: .../DRAW.run appears. Report any errors and fix before continuing.
Print the following markdown block in chat so the user can copy it directly to GitHub Releases:
## DRAW vA.B.C
> Released YYYY-MM-DD
### New Features
- ...
### Improvements
- ...
### Bug Fixes
- ...
### Internal / Refactoring
- ...
### Breaking Changes
- ...
YYYY-MM-DD format.