summaryrefslogtreecommitdiff
path: root/prompts/skills/increment-version-and-push
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-17 08:22:30 +0200
committerPaul Buetow <paul@buetow.org>2026-02-17 08:22:30 +0200
commit7f16c98bdc95ebbbd59130eecf65233fda3ea86c (patch)
tree892670f5ba26065cf944c3ae54c362ae334c7563 /prompts/skills/increment-version-and-push
parent917fd57eb2fe597eafb4ae6e714250b9c1d02c16 (diff)
Convert commands and context to skills, add skills symlinks to Rexfile
Move purge-file-from-git, compose-blog-post, increment-version-and-push from commands to skills format, and convert go-best-practices from context to a skill. Update Rexfile home_prompts task to symlink both commands and skills directories for cursor, claude, agents, and opencode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'prompts/skills/increment-version-and-push')
-rw-r--r--prompts/skills/increment-version-and-push/SKILL.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/prompts/skills/increment-version-and-push/SKILL.md b/prompts/skills/increment-version-and-push/SKILL.md
new file mode 100644
index 0000000..81b8729
--- /dev/null
+++ b/prompts/skills/increment-version-and-push/SKILL.md
@@ -0,0 +1,21 @@
+---
+name: increment-version-and-push
+description: Increment the project version, tag it in git, commit, and push.
+---
+
+# Increment version and push
+
+Increment the version of the project, tag it in git, commit, and push.
+
+## When to Use
+
+- Use this skill when the user wants to bump the version and release/push a project.
+
+## Instructions
+
+- For Go-based projects, look for the `internal/version.go` file.
+- We use semantic versioning: `x.y.z`.
+ - For bug fixes, increment only `z` (the patch version).
+ - For new features, increment `y` (the minor version) and reset `z` to 0.
+ - Never increment `x` (the major version) unless explicitly specified.
+- Commit the version change, create a git tag matching the new version, and push both the commit and the tag.