Making the prefix optional matched every English word as a path.
Now requires either a path prefix (./ ../ / drive:) or contains / or \.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix PATH_REGEX in validate.py: The regex was incorrectly matching
relative paths like 'src/file.js' as 'rc/' instead of the full path.
Changed to use non-capturing group with optional prefix.
- Add safety check in compress.py: Prevent silent overwriting of
existing .original.md backup files. Now aborts with a warning
instead of overwriting potentially important backup content.
- Add proper module initialization in __init__.py: Previously empty,
now includes __all__ exports and __version__ for proper imports.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Update caveman-compress/SKILL.md name to 'compress' and trigger to '/caveman:compress'
- Create symlinks from compress/ (Claude Code) and plugins/caveman/skills/compress/ (Codex/npx) to caveman-compress/
- Single source of truth: caveman-compress/ holds all scripts and SKILL.md
- Update README to reflect compress as built-in skill
Fixes#33
Add skills/caveman-es/SKILL.md following the same structure as the
English caveman skill. Covers the same three intensity levels (lite,
full, ultra) with Spanish grammar rules and examples.
Technical terms stay in English (useMemo, connection pooling, etc.)
since that's how most Spanish-speaking devs use them. Only the
surrounding prose becomes terse Spanish caveman.
Fixes#8
Add project-level Cursor skill discovery support by introducing
`.cursor/skills/caveman/SKILL.md` as a copy of the canonical
`skills/caveman/SKILL.md`, without changing skill behavior.
Update the sync workflow to keep the new Cursor copy aligned with the
canonical source alongside existing synced targets, and include it in the
CI commit step. Also update CONTRIBUTING notes to document that this new
path is auto-synced and should not be edited directly.
Add Caveman Compress documentation to README (usage, how it works, preservation rules, benchmarks) and a new skills/caveman/SKILL.md defining caveman modes, intensity, and rules. Update .gitignore to more accurately ignore macOS .DS_Store files. Trim and adjust tests/caveman-compress fixtures to match compressed output format.
Update .github/workflows/sync-skill.yml to add a pre-change step that configures git user/email and runs git pull --rebase origin main before copying files, reducing risk of merge conflicts. Also rename the commit step to "Commit and push if changed" and remove redundant git config and pull from that step so it only commits and pushes the updated files.
Update GitHub Actions workflow to add concurrency controls, checkout the main ref, simplify ZIP creation (zip directly from skills/), and pull --rebase before committing; commit message now includes [skip ci]. Also update README to add an "Intensity Levels" nav link. Clarify skills/caveman/SKILL.md: document explicit /caveman lite|full|ultra triggers, expand the description of dropped filler/pleasantries/hedging, and apply small formatting tweaks.
Replace verbose two-table layout with compact 3-column side-by-side
table matching the existing Before/After HTML pattern. Remove chatty
intro and forced taglines in favor of natural caveman voice.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Show lite, full, and ultra side-by-side using the same React re-render
and auth middleware examples from the existing Before/After section.
Also fixes emoji encoding from prior edit.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add intensity levels section to README so feature is discoverable
- Document Codex trigger syntax ($caveman lite|full|ultra) in SKILL.md
- Sync plugin copy and rebuild .skill archive
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds three compression levels so users can dial caveman up or down:
- Lite: drops filler/pleasantries, keeps normal grammar
- Full: existing default behavior, unchanged
- Ultra: maximum telegraphic compression with abbreviations
Closes#10
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a benchmarks directory with prompts.json, requirements.txt, results/.gitkeep, and run.py to measure Claude output token counts (normal vs caveman) using the Anthropic client. run.py supports dry-run, multiple trials, saving JSON results, computing stats, and optionally updating the README benchmark table; it reads the caveman SKILL.md for the system prompt. Also add .gitignore entries and expand README.md with badges, a Benchmarks section, sample table, and usage instructions.
Add GitHub issue templates for bug reports and feature requests tailored to the caveman persona, and add CONTRIBUTING.md describing how to propose changes to skills/caveman/SKILL.md (fork, edit, PR with before/after examples and rationale). These files help standardize contributions and make it easier for maintainers to review small, focused changes; also points contributors to ‘good first issue’ tasks.