feat: power claude templates
This commit is contained in:
3
.claude/commands/build-debug.md
Normal file
3
.claude/commands/build-debug.md
Normal file
@@ -0,0 +1,3 @@
|
||||
构建项目的 Debug 版本 APK
|
||||
|
||||
./gradlew assembleDebug
|
||||
3
.claude/commands/build-release.md
Normal file
3
.claude/commands/build-release.md
Normal file
@@ -0,0 +1,3 @@
|
||||
构建项目的 Release 版本 APK (已签名)
|
||||
|
||||
./gradlew assembleRelease
|
||||
6
.claude/commands/check-modules.md
Normal file
6
.claude/commands/check-modules.md
Normal file
@@ -0,0 +1,6 @@
|
||||
显示项目中所有模块的列表和基本信息
|
||||
|
||||
echo "=== 项目模块列表 ===" && \
|
||||
cat settings.gradle | grep "include" && \
|
||||
echo "\n=== 模块目录 ===" && \
|
||||
ls -la | grep "^d" | grep "module_"
|
||||
3
.claude/commands/clean-build.md
Normal file
3
.claude/commands/clean-build.md
Normal file
@@ -0,0 +1,3 @@
|
||||
清理构建缓存并重新构建 Debug 版本
|
||||
|
||||
./gradlew clean && ./gradlew assembleDebug
|
||||
3
.claude/commands/devices.md
Normal file
3
.claude/commands/devices.md
Normal file
@@ -0,0 +1,3 @@
|
||||
列出所有已连接的 Android 设备和模拟器
|
||||
|
||||
adb devices -l
|
||||
3
.claude/commands/install.md
Normal file
3
.claude/commands/install.md
Normal file
@@ -0,0 +1,3 @@
|
||||
构建并安装 Debug 版本到连接的 Android 设备或模拟器
|
||||
|
||||
./gradlew installDebug
|
||||
3
.claude/commands/lint.md
Normal file
3
.claude/commands/lint.md
Normal file
@@ -0,0 +1,3 @@
|
||||
运行 Android Lint 代码质量检查
|
||||
|
||||
./gradlew lint
|
||||
3
.claude/commands/logs.md
Normal file
3
.claude/commands/logs.md
Normal file
@@ -0,0 +1,3 @@
|
||||
实时查看应用日志 (过滤应用包名)
|
||||
|
||||
adb logcat | grep "com.lukouguoji.aerologic"
|
||||
@@ -24,7 +24,14 @@
|
||||
"WebSearch",
|
||||
"Bash(chmod:*)",
|
||||
"Bash(xargs ls:*)",
|
||||
"Bash(xargs rm -rf)"
|
||||
"Bash(xargs rm -rf)",
|
||||
"Bash(for module in module_gnc module_gnj module_gjc module_gjj module_hangban module_cargo module_mit module_p Printer MPChartLib)",
|
||||
"Bash(do echo '=== $module ===' ls -la /Users/kid/Development/Fusion/Projects/aerologic-app/$module/)",
|
||||
"Bash(git -C /Users/kid/Development/Fusion/Projects/aerologic-app log --oneline)",
|
||||
"Bash(git -C /Users/kid/Development/Fusion/Projects/aerologic-app branch -a)",
|
||||
"Bash(adb:*)",
|
||||
"Bash(emulator:*)",
|
||||
"Bash(logcat:*)"
|
||||
],
|
||||
"deny": [],
|
||||
"ask": []
|
||||
|
||||
Reference in New Issue
Block a user