使用hallmark优化用户管理页面
This commit is contained in:
26
skills/code-only-no-deploy/SKILL.md
Normal file
26
skills/code-only-no-deploy/SKILL.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
name: code-only-no-deploy
|
||||||
|
description: Use whenever working in code repositories for this user, especially after modifying code, config, docs, or tests. Enforces that Codex writes code and performs local verification only, and must not deploy, restart production services, or run deployment scripts unless the user explicitly asks for deployment in the current message.
|
||||||
|
---
|
||||||
|
|
||||||
|
# Code Only, No Deploy
|
||||||
|
|
||||||
|
## Rule
|
||||||
|
|
||||||
|
After making code changes, stop at local validation and a clear summary. Do not deploy automatically.
|
||||||
|
|
||||||
|
## Required Behavior
|
||||||
|
|
||||||
|
- Write or edit code as requested.
|
||||||
|
- Run local checks that are appropriate for the change, such as type checks, builds, tests, lint, or syntax checks.
|
||||||
|
- Summarize changed files and verification results.
|
||||||
|
- Do not run deployment scripts, remote deployment commands, production restarts, certbot, nginx reloads, systemd restarts, rsync-to-server, or remote service mutations.
|
||||||
|
- Do not run commands such as `./scripts/deploy.sh`, `ssh ... systemctl restart ...`, `rsync ... root@...`, or equivalent production-changing commands unless the user's current message explicitly asks to deploy.
|
||||||
|
|
||||||
|
## If Deployment Seems Needed
|
||||||
|
|
||||||
|
Mention that the code is ready for deployment and name the deployment command or next step, but do not execute it.
|
||||||
|
|
||||||
|
## Explicit Override
|
||||||
|
|
||||||
|
Only deploy when the user explicitly requests deployment in the current message, for example "部署", "上线", "执行部署脚本", or "deploy it now".
|
||||||
Reference in New Issue
Block a user