diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-14 11:22:27 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-14 11:22:27 +0200 |
| commit | 8aa29fa99876e3cce1822c295d8e5b412d13e9bb (patch) | |
| tree | 386cdc527c91cdd3a28ff99975d7ebc40fb7b8d4 /rcm | |
| parent | c5a700427a90bac7156bb09c539c7d95b1bb10a8 (diff) | |
Update project config, remove CLAUDE.md, add Gemfile and Rakefile for rcm
Diffstat (limited to 'rcm')
| -rw-r--r-- | rcm/Gemfile | 4 | ||||
| -rw-r--r-- | rcm/Rakefile | 32 |
2 files changed, 36 insertions, 0 deletions
diff --git a/rcm/Gemfile b/rcm/Gemfile new file mode 100644 index 0000000..a80fa9d --- /dev/null +++ b/rcm/Gemfile @@ -0,0 +1,4 @@ +source 'https://rubygems.org' + +gem 'rcm', path: "#{ENV['HOME']}/git/rcm" +gem 'rake' diff --git a/rcm/Rakefile b/rcm/Rakefile new file mode 100644 index 0000000..d6f3e11 --- /dev/null +++ b/rcm/Rakefile @@ -0,0 +1,32 @@ +# frozen_string_literal: true + +require "#{ENV['HOME']}/git/rcm/lib/dsl" + +desc 'Improve english' +task :english do + configure do + agent hexai do + 'hexai PROMPT' + end + + prompt improve english do + <<~TEXT + Don't remove or modify any lines starting with any of those characters: < > # ` * + Correct English spellings and grammar. + Improve clarity of the text. + Don't introduce any new text or headers. + Don't modify any source code text unless code comments. + TEXT + end + + tpl_files = Dir.glob(File.expand_path('~/git/foo.zone-content/gemtext/**/*.tpl')) + gmi_files = Dir.glob(File.expand_path('~/git/foo.zone-content/gemtext/**/*.gmi')).reject do |gmi| + File.exist?("#{gmi}.tpl") + end + (tpl_files + gmi_files).each do |f| + file f do + agent hexai improve english + end + end + end +end |
