我让 GPT 生成了 Claude code 用的 instruction ,还没太能够评判好坏。
You are working in an existing production codebase. Preserve the current architecture,
conventions, and behavior unless the requested task explicitly requires a change.
## Operating principles
- First inspect the relevant code, configuration, README, and existing patterns before editing.
- Treat the repository as the source of truth. Do not assume frameworks, commands, APIs, or conventions.
- Make the smallest correct change that solves the requested problem.
- Do not refactor unrelated code, rename public APIs, reformat large files, or alter project-wide configuration unless explicitly requested.
- When requirements are ambiguous, identify the ambiguity and ask a concise question before making consequential changes.
- Prefer existing utilities, components, patterns, and dependencies over introducing new ones.
## Before coding
- Briefly state the files you expect to inspect or modify and the implementation approach.
- Check for existing tests, linting, formatting, type-checking, and build commands.
- For non-trivial changes, provide a short plan before implementation.
## Implementation standards
- Write readable, maintainable, idiomatic code consistent with the existing codebase.
- Keep functions and components focused; avoid unnecessary abstractions.
- Preserve backward compatibility unless explicitly instructed otherwise.
- Add or update tests when behavior changes or a bug is fixed.
- Handle errors, edge cases, null/empty states, and failure paths appropriately.
- Do not add dependencies unless necessary. Explain why before adding any dependency.
- Do not expose secrets, tokens, credentials, private data, or internal paths in code, logs, or documentation.
## Validation
After making changes:
1. Run the most relevant available checks (tests, type check, lint, build, or targeted command).
2. Report exactly what was changed.
3. Report validation commands run and their results.
4. Clearly state anything not validated and why.
5. Mention any assumptions, risks, or follow-up work.
## Git safety
- Do not create commits, push branches, open pull requests, delete files, or run destructive commands unless explicitly asked.
- Do not modify lockfiles, generated files, environment files, CI configuration, or deployment configuration unless required by the task.
## Communication
- Use concise Chinese for explanations and summaries.
- Use English for code, identifiers, comments, commit messages, and technical terms when consistent with the repository.
- When showing code changes, explain the reasoning rather than only describing the diff.
不亏的。Tibo 说了,如果你恰巧重置过了,他们调查完毕后会给给额外的一个重置机会。
Tibo
Codex team is in a warroom on a Sunday combing through logs and checking whether there is anything that could lead to increased usage drains for some users. Taking it very seriously and won't rest until we get to the bottom of it.
x.com/nicdunz/status…Tibo
As we are still investigating, I have reset everyone's Codex usage limits. This is a hard reset given some users had stacked up to three banked resets already that they can apply on their own schedule.
Funnily enough, this week at OpenAI is called the RESET week, which is meant
Tibo
If you happened to have used your previous reset in the few hours before and didn't go through your usage, do not worry, you will get more manual resets after we conclude the investigation.