Skip to content

Commit 2c1265f

Browse files
committed
docs(agent): update AGENTS.md for clarity and best practices
1 parent aa223c1 commit 2c1265f

File tree

5 files changed

+9
-340
lines changed

5 files changed

+9
-340
lines changed

AGENTS.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
## Core Rules
22

3-
- Always run build and tests before finishing a task.
4-
- If the original request/solution is not working well, do not change its intent. Propose a minimal fix or report issues.
5-
- Never run `./gradlew clean`. Clean only the specific module, e.g., `./gradlew :mpp-core:clean`.
3+
- Always run the build and tests before completing a task, making sure they pass.
4+
- Put test scripts under `docs/test-scripts`.
5+
- If an existing request/solution does not work, preserve its intent.
6+
- Do not run `./gradlew clean`. Clean only the specific module, e.g., `./gradlew :mpp-core:clean`.
67

78
## Summary
89

910
- Omit a summary if the problem is simple.
1011
- For bug fixes, summarize as: Problem → Root Cause → Solution.
11-
- Keep it short. Use Mermaid for visual summaries.
12+
- Keep summary short if need. Use Mermaid for long chat only.
1213

1314
## Kotlin Multiplatform \(KMP\) Best Practices for `mpp-core` and `mpp-ui`
1415

@@ -23,10 +24,8 @@
2324

2425
## AutoDev CLI Quick Test
2526

26-
- Test scripts for CLI put at mpp-ui/test-scripts
27-
- Test CLI
28-
1. Build MPP Core:
29-
- `cd /Volumes/source/ai/autocrud && ./gradlew :mpp-core:assembleJsPackage`
30-
2. Build and run MPP CLI:
31-
- `cd mpp-ui && npm run build:ts && node dist/index.js`
27+
1. Build MPP Core:
28+
- `cd /Volumes/source/ai/autocrud && ./gradlew :mpp-core:assembleJsPackage`
29+
2. Build and run MPP CLI:
30+
- `cd mpp-ui && npm run build:ts && node dist/index.js`
3231

mpp-ui/test-scripts/test-agent.sh

Lines changed: 0 additions & 28 deletions
This file was deleted.

mpp-ui/test-scripts/test-empty-lines.js

Lines changed: 0 additions & 113 deletions
This file was deleted.

mpp-ui/test-scripts/test-full-render.js

Lines changed: 0 additions & 62 deletions
This file was deleted.

mpp-ui/test-scripts/test-render-blocks.js

Lines changed: 0 additions & 127 deletions
This file was deleted.

0 commit comments

Comments
 (0)