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"
|
||||
Reference in New Issue
Block a user