Skip to content

feat: add plugin CLAUDE.md for auto-loaded gw instructions - #42

Merged
jondeibel merged 1 commit into
mainfrom
feat/plugin-claude-md
Mar 10, 2026
Merged

jondeibel merged 1 commit into
mainfrom
feat/plugin-claude-md

Conversation

@jondeibel

Copy link
Copy Markdown
Owner

Summary

  • Adds plugins/gw/CLAUDE.md so gw rules are always loaded into context, not just when the skill is explicitly invoked
  • Narrows the skill trigger to complex workflows (splitting, conflicts, stacked PRs) since the CLAUDE.md handles basic operations
  • Bumps plugin version to 1.1.0

Problem

When users said "commit this" or "create a PR", Claude followed its built-in git instructions and never invoked the gw skill. The skill only fires when explicitly triggered via the Skill tool.

Fix

Plugin CLAUDE.md files are auto-loaded into every conversation. By putting the core rules there (~375 tokens), Claude always knows to use gw_push instead of git push, gw_branch_create instead of git checkout -b, etc.

Test plan

  • claude plugin validate plugins/gw passes
  • After updating plugin, "push this" uses gw_push not git push
  • Complex workflows like "split this branch" still trigger the skill

🤖 Generated with Claude Code

The gw skill only fires when explicitly invoked, so everyday operations
like "commit this" or "create a PR" bypassed gw entirely. Adding a
CLAUDE.md at the plugin root ensures gw rules are always loaded into
context. The skill description is narrowed to complex workflows
(splitting, conflict resolution, stacked PRs) since the CLAUDE.md
handles basic operations.

Bumps plugin version to 1.1.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jondeibel
jondeibel merged commit 50da7d3 into main Mar 10, 2026
1 check passed
@jondeibel
jondeibel deleted the feat/plugin-claude-md branch March 10, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant