Imported from easyhooon/dari (
AGENTS.md). Install upstream withnpx skills add easyhooon/dari. Copyright stays with the author.
Project Guidelines
Commit & PR Rules
- Do NOT include
Co-Authored-Bylines referencing Codex in commit messages. - Do NOT include "Generated with Codex" or similar AI attribution in PR descriptions.
- Do NOT use a
codex/branch prefix. Follow the existing type-based convention, such asfeat/,fix/,chore/,docs/, orrefactor/. - Keep commit messages compact. Subject ≤ 72 chars. Body only when the "why" isn't obvious from the diff — 1–3 short lines, no multi-paragraph essays. Don't restate what the diff already shows.
- Write commit subjects and bodies in English. Write PR titles in English too. Keep code, documentation, quoted user content, and existing history in their original language.
Code Style
- Do NOT use fully-qualified names (FQN) inline in Kotlin code. Always add a proper
importstatement at the top of the file and reference the type by its simple name. This applies to both production and test code. - Keep comments compact. Explain non-obvious intent in one or two lines. No multi-paragraph KDoc unless the API is genuinely complex. Skip comments that just restate the code.
Code Style
- Do NOT use fully-qualified names (FQN) inline in Kotlin code. Always add a proper
importstatement at the top of the file and reference the type by its simple name. This applies to both production and test code.
Issues
- Write all issues in English.
- Use clear section headers:
## Summary,## Problem/## Motivation,## Proposed Approach/## Proposed Behavior, etc. - Include relevant code snippets, color values, or architecture details where helpful.
Release
- Always run
./gradlew cleanbeforepublishAllPublicationsToMavenCentralRepositoryto ensure freshly compiled artifacts are uploaded (not stale build cache).
Skills
- Code review follow-up: use the
/resolve-coderabbit-reviewskill to triage and apply CodeRabbit comments on the current PR. - Release: use the
/releaseskill to publish to Maven Central and draft GitHub release notes.
