mirror of
https://github.com/HidemaruOwO/MicroRepository.git
synced 2025-06-28 21:52:18 +09:00
🔧 Update .clinerules
This commit is contained in:
parent
2316332309
commit
20d3019e49
1 changed files with 45 additions and 0 deletions
45
.clinerules
45
.clinerules
|
@ -9,3 +9,48 @@ When starting work on this project:
|
||||||
5. Update `docs/llm-context.md` with new insights when completing tasks
|
5. Update `docs/llm-context.md` with new insights when completing tasks
|
||||||
|
|
||||||
Always maintain context about the project's architecture and purpose.
|
Always maintain context about the project's architecture and purpose.
|
||||||
|
|
||||||
|
## Language and Communication Rules
|
||||||
|
|
||||||
|
- **回答は必ず日本語で返すこと** - All responses must be provided in Japanese language
|
||||||
|
|
||||||
|
## Workflow Efficiency Rules
|
||||||
|
|
||||||
|
- **After receiving tool results, carefully reflect on their quality and determine optimal next steps before proceeding.** Use your thinking to plan and iterate based on this new information, and then take the best next action.
|
||||||
|
- **For maximum efficiency, whenever you need to perform multiple independent operations, invoke all relevant tools simultaneously rather than sequentially.**
|
||||||
|
|
||||||
|
# Comment Writing Rules
|
||||||
|
|
||||||
|
## Comment Format
|
||||||
|
- Use language-standard comment symbols (JavaScript/TypeScript: `//`, Python: `#`, etc.)
|
||||||
|
- Non-standard symbols like `///` are prohibited
|
||||||
|
- All comments must be written in Japanese
|
||||||
|
- Translate English comments to Japanese
|
||||||
|
|
||||||
|
## Comment Content Rules
|
||||||
|
|
||||||
|
### Comments to Include
|
||||||
|
- **Why the code was written** - reasons and background
|
||||||
|
- Business logic and rule explanations
|
||||||
|
- External dependencies and constraint explanations
|
||||||
|
- Important notes for future developers
|
||||||
|
- Performance and security considerations
|
||||||
|
- Intent and purpose of complex algorithms
|
||||||
|
|
||||||
|
### Prohibited Comments
|
||||||
|
- Comments that simply describe what the code does
|
||||||
|
- Simple descriptions of implementation details
|
||||||
|
- Obviously unnecessary explanations
|
||||||
|
- Outdated or incorrect information
|
||||||
|
- Descriptions of content obviously clear from variable or function names
|
||||||
|
|
||||||
|
## Comment Quality Standards
|
||||||
|
- Write only information that can be understood without reading the code
|
||||||
|
- Focus on "why" rather than "what"
|
||||||
|
- Include only information that remains valid even when implementation changes
|
||||||
|
- Use concise and specific expressions
|
||||||
|
|
||||||
|
## Format Rules
|
||||||
|
- Place appropriate blank lines before and after comments
|
||||||
|
- Match indentation to code level
|
||||||
|
- Use consistent notation for multi-line comments
|
||||||
|
|
Loading…
Add table
Reference in a new issue