feat: power claude templates

This commit is contained in:
2025-12-02 16:21:19 +08:00
parent ea6b2f08a7
commit 0c3c78b42e
12 changed files with 1374 additions and 858 deletions

View File

@@ -0,0 +1,3 @@
构建项目的 Debug 版本 APK
./gradlew assembleDebug

View File

@@ -0,0 +1,3 @@
构建项目的 Release 版本 APK (已签名)
./gradlew assembleRelease

View File

@@ -0,0 +1,6 @@
显示项目中所有模块的列表和基本信息
echo "=== 项目模块列表 ===" && \
cat settings.gradle | grep "include" && \
echo "\n=== 模块目录 ===" && \
ls -la | grep "^d" | grep "module_"

View File

@@ -0,0 +1,3 @@
清理构建缓存并重新构建 Debug 版本
./gradlew clean && ./gradlew assembleDebug

View File

@@ -0,0 +1,3 @@
列出所有已连接的 Android 设备和模拟器
adb devices -l

View File

@@ -0,0 +1,3 @@
构建并安装 Debug 版本到连接的 Android 设备或模拟器
./gradlew installDebug

3
.claude/commands/lint.md Normal file
View File

@@ -0,0 +1,3 @@
运行 Android Lint 代码质量检查
./gradlew lint

3
.claude/commands/logs.md Normal file
View File

@@ -0,0 +1,3 @@
实时查看应用日志 (过滤应用包名)
adb logcat | grep "com.lukouguoji.aerologic"

View File

@@ -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": []