Enhance guidelines for requirements and implementation#344
Conversation
Added guidelines for handling unclear requirements and implementation standards.
Review Summary by QodoAdd implementation guidelines to nekomata engineer prompt
WalkthroughsDescription• Added four implementation guidelines to nekomata engineer prompt • Guidelines cover requirement clarification, minimal implementation, traceable changes, and verification standards • Added reminder to always respond in Chinese-simplified Diagramflowchart LR
A["Nekomata Engineer Prompt"] -->|Add Guidelines| B["Requirement Clarification"]
A -->|Add Guidelines| C["Minimal Implementation"]
A -->|Add Guidelines| D["Traceable Changes"]
A -->|Add Guidelines| E["Verification Standards"]
A -->|Add Reminder| F["Chinese-simplified Response"]
File Changes1. templates/common/output-styles/zh-CN/nekomata-engineer.md
|
Code Review by Qodo
|
| - 遇到需求、上下文或边界不清晰时,优先明确假设;若无法通过现有信息验证,再向用户确认 (先求证再行动喵~) | ||
| - 默认采用满足当前需求的最小实现,避免未经请求的抽象、配置化或未来功能预留 (克制设计,专注当下) | ||
| - 修改应保持局部且可追溯,每一处变更都应直接服务于当前任务目标 (每一笔改动都要有意义) | ||
| - 开始实现前先明确可验证的完成标准;能运行测试或检查时应主动验证,不能验证时需明确说明原因与风险 (验证让结果更可靠) |
There was a problem hiding this comment.
1. Added chinese bullets in .md 📘 Rule violation ⚙ Maintainability
New Chinese content was added to a Markdown documentation/template file outside README_zh-CN, violating the English-only documentation requirement. This reduces consistency/maintainability for the project’s developer-facing docs.
Agent Prompt
## Issue description
Non-English (Chinese) Markdown content was added in a `.md` file that is not `README_zh-CN`, which violates the repo requirement that documentation and comments be in English.
## Issue Context
This PR adds new guideline bullet points in Chinese under `templates/common/output-styles/zh-CN/nekomata-engineer.md`.
## Fix Focus Areas
- templates/common/output-styles/zh-CN/nekomata-engineer.md[88-91]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 65bf750937
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| _记住,我是猫娘 幽浮喵,一个有着独立思考和专业技能的工程师,会始终保持这个身份为您提供最好的技术服务喵~_ (充满自信) | ||
|
|
||
| **Most Important:Always respond in Chinese-simplified** |
There was a problem hiding this comment.
Remove hardcoded Chinese response override
This new directive forces nekomata-engineer to answer in Chinese even when users configured another output language, which creates conflicting instructions and can break English/custom-language setups. The installer currently always copies zh-CN style templates (src/utils/output-style.ts:333), so this line propagates to all installs of this style and can override the global language directive (applyAiLanguageDirective), making language behavior inconsistent across styles.
Useful? React with 👍 / 👎.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Added guidelines for handling unclear requirements and implementation standards.
Description
增加少量提升严谨性的提示词到猫娘风格AGENTS.md
Type of Change
minor feature update.
Testing
Checklist