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:
parent
44b3722a79
commit
ef63055b58
15 changed files with 11 additions and 12 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,3 +1 @@
|
|||
.idea/
|
||||
node_modules/
|
||||
dist/
|
||||
|
|
|
|||
|
|
@ -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
2
google/gemini-cli/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
node_modules/
|
||||
dist/
|
||||
4
google/gemini-cli/commands/code/remember.toml
Normal file
4
google/gemini-cli/commands/code/remember.toml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
prompt = """
|
||||
Remembering fact: {{args}}
|
||||
!{${extensionPath}/../../claude/code/scripts/capture-context.sh "{{args}}" "user"}
|
||||
"""
|
||||
|
|
@ -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
1
skills
|
|
@ -1 +0,0 @@
|
|||
claude/code/skills
|
||||
Loading…
Add table
Reference in a new issue