进入工程文件夹,启动 claude code | codex ,先/init 。然后开始改 CLAUDE.md|AGENTS.md 。
改为类似
`
# Ben Admin Template - Claude Code Gateway
> 长期红线与稳定偏好由 Memory 负责,当前项目规则由 `.claude/rules/*` 负责。
## Highest Priority Guardrails
- Never run `rm` or `rm -rf`.
- Never modify Git state unless the user explicitly asks, including `git add`, `git commit`, `git push`, `git reset`, and `git checkout`.
- Before shell commands, check Memory `critical_rules.md`.
- Do not claim completion, fixed, or passing without fresh verification evidence.
- Ask before any irreversible or high-risk action.
## Project Rules
@.claude/rules/coding-standards.md
@.claude/rules/project-context.md
@.claude/rules/collaboration-contract.md
@.claude/rules/workflow-triggers.md
## Skills
- Prefer project skills over user/global skills.
- Matt skills are on-demand capabilities; they do not replace project rules.
- Use `planning-with-files` only for long-lived, cross-session, or explicitly requested planning work.
- Run `linus-review` before delivery when `.claude/rules/workflow-triggers.md` says it is required.
## Local Constraints
- `.claude/rules/` owns project collaboration, coding standards, project context, and workflow triggers.
- When deeper local `*.md` files exist, read their local constraints first and apply them without violating higher-priority guardrails.
## Agent skills
### Issue tracker
Issues and PRDs live as local markdown files in `.scratch/`. See `docs/agents/issue-tracker.md`.
### Triage labels
Uses the default five-role vocabulary: needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix. See `docs/agents/triage-labels.md`.
### Domain docs
Single-context layout — one `CONTEXT.md` + `docs/adr/` at the repo root. See `docs/agents/domain.md`.
`
再加上一些对应语言的 skills