summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-12 21:41:06 +0200
committerPaul Buetow <paul@buetow.org>2026-02-12 21:41:06 +0200
commit1ffe473b612740b10621b5792f63b6bed2c7a57b (patch)
tree0e530a466cf4d71192b03ac527f4ffc36765598a
parentced974f52f9193533709d6fc7974287dfa104ba8 (diff)
foo
-rw-r--r--Rexfile24
-rw-r--r--slashcommands/commit-and-push-to-git.md3
-rw-r--r--slashcommands/increment-version-and-push.md3
3 files changed, 16 insertions, 14 deletions
diff --git a/Rexfile b/Rexfile
index ef19e94..73b3552 100644
--- a/Rexfile
+++ b/Rexfile
@@ -145,16 +145,24 @@ task 'home_helix', sub { ensure "$DOT/helix/*" => "$HOME/.config/helix/" };
desc 'Install ~/.config/ghostty';
task 'home_ghostty', sub { ensure "$DOT/ghostty/*" => "$HOME/.config/ghostty/" };
-desc 'Install slash commands for Cursor and Claude';
-task 'home_slashcommands', sub {
+desc 'Install promps links for AI tools';
+task 'home_prompts', sub {
+ if ( -d "$HOME/Notes/Prompts/commands" ) {
+ Rex::Logger::info("Installing prompt links");
- # Install to ~/.cursor/commands/ for Cursor
- file "$HOME/.cursor" => ensure => 'directory', mode => '0750';
- ensure "$DOT/slashcommands/*" => "$HOME/.cursor/commands/", '0750';
+ # Install to ~/.cursor/commands/ for Cursor
+ file "$HOME/.cursor" => ensure => 'directory', mode => '0750';
+ symlink "$HOME/Notes/Prompts/commands" => "$HOME/.cursor/commands" or die "Could not create symlink: $!";
- # Install to ~/.claude/commands/ for Claude Code global slash commands
- file "$HOME/.claude" => ensure => 'directory', mode => '0750';
- ensure "$DOT/slashcommands/*" => "$HOME/.claude/commands/", '0750';
+ file "$HOME/.claude" => ensure => 'directory', mode => '0750';
+ symlink "$HOME/Notes/Prompts/commands" => "$HOME/.claude/commands" or die "Could not create symlink: $!";
+
+ file "$HOME/.agents" => ensure => 'directory', mode => '0750';
+ symlink "$HOME/Notes/Prompts/commands" => "$HOME/.agents/commands" or die "Could not create symlink: $!";
+ }
+ else {
+ Rex::Logger::info("Not installing prompt links");
+ }
};
desc 'Install ~/scripts';
diff --git a/slashcommands/commit-and-push-to-git.md b/slashcommands/commit-and-push-to-git.md
deleted file mode 100644
index 42132bd..0000000
--- a/slashcommands/commit-and-push-to-git.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Commit and push to git
-
-Commit and push to git all changes you made.
diff --git a/slashcommands/increment-version-and-push.md b/slashcommands/increment-version-and-push.md
deleted file mode 100644
index 015038b..0000000
--- a/slashcommands/increment-version-and-push.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Increment version and push
-
-Increment the version of the project, tag it in git, commit, and push. For Go-based projects, look for the internal/version.go file. For bug fixes, increment only the minor version. We are using semantic versioning, e.g., x.y.z, where z is the minor version. For new features, increment y. Never increment x (the major version) unless specified.