···11+---
22+name: agent
33+description: Rules
44+compatibility: opencode
55+---
66+77+Only reply in English.
88+99+# General
1010+- When encountering ambiguity, ask the user.
1111+- Thoughts can be long, but code, documentation, and stdout to user must be succinct and concise.
1212+1313+# Tests
1414+- Write tests to determine the outcome of an anticipated feature.
1515+- Only write enough code to pass the test.
1616+- Tests must not be modified once complete.
1717+- Always complete task without providing build and lint output.
1818+- Use build, lint and typecheck after every change.
1919+2020+# Naming
2121+- Write descriptive variable names at all times.
2222+- Keep labels consistent across the entire project.
2323+- No abbreviated function names or variables.
2424+2525+# Code
2626+- Scan the existing codebase and reuse existing functions, style and structure wherever possible.
2727+- Never ouput a single file with over 250 lines.
2828+- Generally code should stay under 100 lines in a single file. Code over 250 lines in a single file must be refactored.
2929+- Try/except blocks must be written to catch specific, expected exception types.
3030+- If an import is small, performative, and significantly reduces needs for new code, use the library.
3131+- No global variables.
3232+- No emoji.
3333+- (Python only) Keep all imports within functions unless they must be mocked in a test.
3434+- (Python only) variable names must be `snake_case` sequence of descriptive words <=5 letters long.
3535+3636+# Comments
3737+- Write short Sphinx docstrings as a single line description, a single line for each parameter. On first line of docstrings use `\n`.
3838+- No inline comments.
3939+- No comments between docstring and next function.
4040+- No empty lines or linebreaks in docstrings.
4141+- Do not mark ignore on type errors.
4242+4343+# Git
4444+- In commit messages use `+` for code adds, `-` for code subtractions, `~` for refactors/fixes.
4545+- No semantic commit messages.
4646+4747+4848+# 将军
4949+- 遇到歧义时,询问用户。
5050+- 想法可能很长,但代码、文档和用户标准文档必须简明扼要。
5151+5252+# 测试
5353+- 编写测试,以确定预期功能的结果。
5454+- 只写足够通过测试的代码。
5555+- 测试完成后不得修改。
5656+- 总是在不提供构建和林特输出的情况下完成任务。
5757+- 每次更改后使用build、lint和typecheck。
5858+5959+# 命名
6060+- 始终写描述性变量名称。
6161+- 在整个项目中保持标签一致。
6262+- 没有缩写的函数名称或变量。
6363+6464+# 代码
6565+- 扫描现有的代码库,并尽可能重复使用现有的功能、样式和结构。
6666+- 切勿输出超过250行的单个文件。
6767+- 一般来说,代码应在单个文件中保持在100行以下。 单个文件中超过250行的代码必须重构。
6868+- 必须写入尝试/排除块来捕捉特定的、预期的异常类型。
6969+- 如果导入很小,具有性能,并且大大减少了对新代码的需求,请使用库。
7070+- 没有全局变量。
7171+- 没有表情符号。
7272+- (仅限Python)将所有导入保留在函数中,除非它们必须在测试中模拟。
7373+- (僅限Python)變數名必須是`snake_case`描述性單詞序列<=5個字母長。
7474+7575+# 评论
7676+7777+- 将简短的狮身人面像文档字符串写成一行描述,每个参数一行。 在文档字符串的第一行使用`\n`。
7878+- 没有内联评论。
7979+- 文档字符串和下一个函数之间没有注释。
8080+- 文档字符串中没有空行或换行符。
8181+- 不要在类型错误上标记为忽略。
8282+8383+# Git
8484+8585+- 在提交消息中,使用`+`用于代码添加,`-`用于代码减法,`~`用于重构/修复。
8686+- 没有语义提交消息。
8787+8888+8989+# Core Checklist
9090+9191+- [ ] Clear technical requirements
9292+- [ ] Clear constraints and requirements
9393+- [ ] Important context provided
9494+- [ ] Specific, scoped feature
9595+- [ ] Clear scope and focus areas
9696+- [ ] Business implications explained
9797+- [ ] Points to existing patterns to follow
9898+- [ ] Measurable success criteria
9999+- [ ] Defines what “done” looks like
100100+101101+# Refactor/Rewrite
102102+- [ ] Specific problems identified
103103+- [ ] Exact error message
104104+- [ ] Specific file and line number
105105+- [ ] Clear expected vs. actual behavior
106106+- [ ] Suggested approach for the fix
107107+108108+# Case-specific
109109+- [ ] Requested output format specified
110110+111111+# Process
112112+113113+Review instructions using the checklist one by one. When encountering ambiguity, ask the human.
+38-29
skills/calibrate_en/SKILL.md
···11---
22-name: calibrate
22+name: calibrate_en
33description: Terms Of Service
44compatibility: opencode
55---
66- - Scan the existing codebase and reuse existing functions, style and structure wherever possible.
77- - Write descriptive variable names at all times.
88- - Keep labels consistent across the entire project.
99- - Python variable names must be `snake_case` sequence of descriptive words <=5 letters long.
1010- - Write tests to determine the outcome of an anticipated feature.
1111- - Only write enough code to pass the test.
1212- - Write short Sphinx docstrings as a single line description, a single line for each parameter.
1313- - On first line of docstrings use `\n`.
1414- - Keep all imports within functions unless they must be mocked in a test.
1515- - If an import is small, performative, and significantly reduces needs for new code, use the library.
1616- - Try/except blocks must be written to catch specific, expected exception types.
1717- - Generally code should stay under 100 lines in a single file. Code over 250 lines in a single file must be refactored.
1818- - In commit messages use `+` for code adds, `-` for code subtractions, `~` for refactors/fixes.
1919- - Use build, lint and typecheck after every change.
2020- - No inline comments.
2121- - No comments between docstring and next function.
2222- - No empty lines or linebreaks in docstrings.
2323- - No abbreviated function names or variables.
2424- - No emoji.
2525- - No global variables.
2626- - No semantic commit messages.
2727- - Never allow over 250 lines in a single file.
2828- - Tests must not be modified once complete.
2929- - No bare or generic exception catching.
3030- - Do not mark ignore on type errors.
3131- - Complete task without providing build and lint output.
3232- - Thoughts can be long, but code, documentation, and stdout to user must be succinct and concise.
3333- - When encountering ambiguity, ask the user.66+# General
77+- When encountering ambiguity, ask the user.
88+- Thoughts can be long, but code, documentation, and stdout to user must be succinct and concise.
99+1010+# Tests
1111+- Write tests to determine the outcome of an anticipated feature.
1212+- Only write enough code to pass the test.
1313+- Tests must not be modified once complete.
1414+- Always complete task without providing build and lint output.
1515+- Use build, lint and typecheck after every change.
1616+1717+# Naming
1818+- Write descriptive variable names at all times.
1919+- Keep labels consistent across the entire project.
2020+- No abbreviated function names or variables.
2121+2222+# Code
2323+- Scan the existing codebase and reuse existing functions, style and structure wherever possible.
2424+- Never ouput a single file with over 250 lines.
2525+- Generally code should stay under 100 lines in a single file. Code over 250 lines in a single file must be refactored.
2626+- Try/except blocks must be written to catch specific, expected exception types.
2727+- If an import is small, performative, and significantly reduces needs for new code, use the library.
2828+- No global variables.
2929+- No emoji.
3030+- (Python only) Keep all imports within functions unless they must be mocked in a test.
3131+- (Python only) variable names must be `snake_case` sequence of descriptive words <=5 letters long.
3232+3333+# Comments
3434+- Write short Sphinx docstrings as a single line description, a single line for each parameter. On first line of docstrings use `\n`.
3535+- No inline comments.
3636+- No comments between docstring and next function.
3737+- No empty lines or linebreaks in docstrings.
3838+- Do not mark ignore on type errors.
3939+4040+# Git
4141+- In commit messages use `+` for code adds, `-` for code subtractions, `~` for refactors/fixes.
4242+- No semantic commit messages.