AI 工具指南

Claude Code Common Commands Checklist

一份 Claude Code 常用命令检查清单,帮助新手区分只读命令、本地验证命令、文件修改命令和高风险命令,再决定是否执行。

What is the problem?

一份 Claude Code 常用命令检查清单,帮助新手区分只读命令、本地验证命令、文件修改命令和高风险命令,再决定是否执行。

Quick solution

Treat this as a AI tools checklist issue. First confirm the environment, inputs, permissions, logs, and delivery boundary. Then use the linked deep guide for the full checklist before changing production code or promising a result.

Read the deep guide

Detailed steps

  1. 命令是否只读?如果只是查看文件、搜索文本、查看 git 状态,通常适合先运行。
  2. 命令是否会修改文件?格式化、生成代码、安装依赖、更新 lockfile 都要标记。
  3. 命令是否会联网?安装依赖、调用接口、拉取远程资源,都要确认网络和隐私风险。
  4. 命令是否会影响客户环境?部署、数据库、环境变量、后台配置都要单独确认授权。
  5. 命令是否可回滚?如果运行后不好恢复,就不要在小单里轻易执行。
  6. 命令输出是否含敏感信息?如果含有密钥、账号、真实用户资料,要先脱敏再记录。

Commands or code

只读:查看文件、搜索关键词、查看状态
本地验证:lint、test、build、dev server
会改文件:format、generate、install、update lockfile
高风险:deploy、migration、reset、delete、env change

Risk notes

Confirm the real project environment, account permissions, platform rules, and output quality before delivery. Do not ship AI-generated changes without human review, and do not claim indexing, income, deployment success, or ranking improvements without measured evidence.