Quickly spin up isolated Claude Code sessions using git worktrees.
- Creates a git worktree for your feature branch
- Opens Claude Code with
--dangerously-skip-permissionsin that worktree - Tab completion for existing worktrees and branches
| #!/bin/bash | |
| # Check for Claude Code plugin updates | |
| # Compares installed plugin versions with latest available in marketplaces | |
| set -euo pipefail | |
| CLAUDE_DIR="$HOME/.claude" | |
| PLUGINS_FILE="$CLAUDE_DIR/plugins/installed_plugins_v2.json" | |
| MARKETPLACES_DIR="$CLAUDE_DIR/plugins/marketplaces" |
name: Hook Development description: >- This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "implement agent hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", "frontmatter hooks", "scoped hooks", "once: true", or mentions hook events (PreToolUse, PostToolUse, Stop,
| rules_version = '2'; | |
| service cloud.firestore { | |
| match /databases/{database}/documents { | |
| function isAuthenticated() { | |
| return request.auth != null; | |
| } | |
| function isDefined(field) { | |
| return field in request.resource.data |
| var get = Ember.get; | |
| DS.Model.reopen({ | |
| validate: function() { | |
| if (get(this, 'isDeleted')) { | |
| return; | |
| } | |
| get(this, 'validators').forEach(function(validator) { | |
| validator.fn.call(this, validator.meta.key(this.constructor), get(this, validator.attribute), validator.options); | |
| }, this); |
| var get = Ember.get; | |
| DS.Model.reopen({ | |
| validate: function() { | |
| if (get(this, 'isDeleted')) { | |
| return; | |
| } | |
| get(this, 'validators').forEach(function(validator) { | |
| validator.fn.call(this, validator.meta.key(this.constructor), get(this, validator.attribute), validator.options); | |
| }, this); |
| Loading ["spec"] | |
| ***************************************************************** | |
| DEPRECATION WARNING: you are using a deprecated constant that will | |
| be removed from a future version of RSpec. | |
| /Users/codeofficer/.rvm/gems/ruby-1.9.3-p125@worldbrain/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require' | |
| * Rspec is deprecated. | |
| * RSpec is the new top-level module in RSpec-2 | |
| ***************************************************************** |
| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| (function($){ | |
| $.each(["live", "die"], function( i, name ) { | |
| var method = $.fn[ name ]; | |
| $.fn[ name ] = function( types, data, fn, origSelector ) { | |
| if ( typeof types === "object" && !types.preventDefault ) { | |
| for ( var key in types ) { | |
| method.call( this, key, data, types[key], origSelector ); | |
| } |