skills/deploy-staging/SKILL.md
将当前分支部署到测试环境。当用户要求部署、发布到测试或在 staging 环境测试时使用
npx skillsauth add einverne/dotfiles deploy-stagingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
执行部署前,必须验证:
当前分支所有变更已提交
git status 检查所有测试通过
npm test代码已推送到远程仓库
git push构建生产版本
npm run build:staging
运行部署脚本
./scripts/deploy-staging.sh
等待部署完成
验证部署
curl -f https://staging.example.com/health
报告部署结果
如果部署失败:
.logs/deploy-staging-{timestamp}.log./scripts/rollback-staging.sh部署成功后,提醒用户验证:
development
生成符合项目规范的 React 组件。当用户要求创建组件、新建 React 组件或生成组件文件时使用
development
生成符合 Conventional Commits 规范的 Git 提交信息。当用户要求生成提交、创建 commit 或写提交信息时使用
development
进行系统化的代码审查,检查代码质量、安全性和性能。当用户要求审查代码、review 或检查代码时使用
development
Guide for implementing Turborepo - a high-performance build system for JavaScript and TypeScript monorepos. Use when setting up monorepos, optimizing build performance, implementing task pipelines, configuring caching strategies, or orchestrating tasks across multiple packages.