Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zerosixty/samurai
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: zerosixty/samurai
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: skill/derive-version-from-release
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on May 21, 2026

  1. feat(claude-setup): derive skill version from release tag; port SKILL…

    ….md lazy-load guidance
    
    Replace the hand-maintained skill version (inline `<!-- samurai-skill-v3 -->`
    marker + `const version`) with a version derived at install time from the
    module release via runtime/debug.ReadBuildInfo. Cutting a git tag/release is
    now the only version action — nothing to keep in sync by hand.
    
    Removing the inline marker from skill/SKILL.md also fixes a latent double-marker
    bug: main.go appended a marker to content that already ended with one, so fresh
    installs wrote it twice.
    
    Port three generic SKILL.md improvements that had diverged in a downstream copy:
    a Good For/Bad For summary, a lazy-load resources heading, and per-file
    "read only when" guidance for api.md/pitfalls.md.
    
    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    stepan-romankov and claude committed May 21, 2026
    Configuration menu
    Copy the full SHA
    a51f55e View commit details
    Browse the repository at this point in the history
  2. refactor(claude-setup): extract skillMarker, build strings with fmt.S…

    …printf
    
    Replace string concatenation for the version marker with a small skillMarker
    helper and fmt.Sprintf; compute the version once per run.
    
    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    stepan-romankov and claude committed May 21, 2026
    Configuration menu
    Copy the full SHA
    47d1c66 View commit details
    Browse the repository at this point in the history
Loading