refactor: move Gemini CLI extension to google/gemini-cli

Restructure Gemini extension files that were incorrectly placed at repo
root. Updates script paths to reference shared claude/code/ scripts.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Snider 2026-02-01 23:35:08 +00:00
parent 44b3722a79
commit ef63055b58
15 changed files with 11 additions and 12 deletions

2
.gitignore vendored
View file

@ -1,3 +1 @@
.idea/
node_modules/
dist/

View file

@ -1,4 +0,0 @@
prompt = """
Remembering fact: {{args}}
!{${extensionPath}/claude/code/scripts/capture-context.sh "{{args}}" "user"}
"""

2
google/gemini-cli/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
node_modules/
dist/

View file

@ -0,0 +1,4 @@
prompt = """
Remembering fact: {{args}}
!{${extensionPath}/../../claude/code/scripts/capture-context.sh "{{args}}" "user"}
"""

View file

@ -6,7 +6,7 @@
"hooks": [
{
"type": "command",
"command": "${extensionPath}/claude/code/hooks/prefer-core.sh"
"command": "${extensionPath}/../../claude/code/hooks/prefer-core.sh"
}
],
"description": "Block destructive commands (rm -rf, sed -i, xargs rm) and enforce core CLI"
@ -16,7 +16,7 @@
"hooks": [
{
"type": "command",
"command": "${extensionPath}/claude/code/scripts/block-docs.sh"
"command": "${extensionPath}/../../claude/code/scripts/block-docs.sh"
}
],
"description": "Block random .md file creation"
@ -28,7 +28,7 @@
"hooks": [
{
"type": "command",
"command": "${extensionPath}/claude/code/scripts/go-format.sh"
"command": "${extensionPath}/../../claude/code/scripts/go-format.sh"
}
],
"description": "Auto-format Go files after edits"
@ -38,7 +38,7 @@
"hooks": [
{
"type": "command",
"command": "${extensionPath}/claude/code/scripts/php-format.sh"
"command": "${extensionPath}/../../claude/code/scripts/php-format.sh"
}
],
"description": "Auto-format PHP files after edits"
@ -48,7 +48,7 @@
"hooks": [
{
"type": "command",
"command": "${extensionPath}/claude/code/scripts/check-debug.sh"
"command": "${extensionPath}/../../claude/code/scripts/check-debug.sh"
}
],
"description": "Warn about debug statements (dd, dump, fmt.Println)"

1
skills
View file

@ -1 +0,0 @@
claude/code/skills