Skip to content
Agentmart
Submit a tool

AGENTS.md · phodal/auto-dev

AGENTS.md from phodal/auto-dev: 58 lines covering Core Rules, KMP Best Practices, Renderer System, Design System and more.

Template by phodal

IndexedMPL-2.0★ 4,561
Write a review

Install

Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.

curl -fsSL https://raw.githubusercontent.com/phodal/auto-dev/master/AGENTS.md -o AGENTS.md

Read it and adapt it to your project before use.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The AGENTS.md file that phodal/auto-dev (4,561 stars) keeps for coding agents. It has 58 lines in 5 sections: Core Rules; KMP Best Practices; Renderer System; Design System; Quick Commands. Use it as a model for your own project's instructions.

Use cases: prompt-engineering

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

What's in it

An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.

For
Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
Length
58 lines
File
AGENTS.md

Sections

  1. Core Rules
  2. KMP Best Practices
  3. Renderer System
  4. Design System
  5. Quick Commands

First lines (shown under the repo's MPL-2.0 license)

## Core Rules

- **Kotlin Multiplatform**: Always consider all platforms: JS, WASM, Desktop JVM, Android, iOS
- **Build & Test**: Always run build and tests before completing tasks
- **Preserve Intent**: If an existing solution doesn't work, preserve its intent
- **Module Clean**: Use `./gradlew :xxx:clean` instead of global clean, avoid polluting global caches.
- **Test Scripts**: Put temporary scripts under `docs/test-scripts`
- **Logs**: Check `~/.autodev/logs/autodev-app.log` for debugging
- Code comments should be in English, for documentation and user-facing strings should be followed user's langauge 

## KMP Best Practices

- Use `expect`/`actual` for platform-specific code, for example `Platform`
- Avoid emoji and UTF-8 in source code which **WASM** doesn't support
- **@JsExport**: Use concrete classes (not interfaces), `Promise` (not `Flow`)
- **i18n**: Run `./gradlew :mpp-ui:generateI18n4kFiles`

## Renderer System

When modifying `CodingAgentRenderer`, update ALL implementations:
- **Kotlin**: `DefaultCodingAgentRenderer`, `ComposeRenderer`, `JewelRenderer`, `ServerSideRenderer`, `JsRendererAdapter`
- **TypeScript**: `BaseRenderer.ts`, `CliRenderer.ts`, `ServerRenderer.ts`, `TuiRenderer.ts`
- **VSCode**: `mpp-vscode/src/bridge/mpp-core.ts`, `mpp-vscode/src/providers/chat-view.ts`
- **JVM CLI**: `CodingCliRenderer`, `ConsoleRenderer`

## Design System

- **CLI/TUI**: Use `semanticInk`/`semanticChalk` from `mpp-ui/src/jsMain/typescript/design-system/`
- **Compose**: Use `AutoDevColors` or `MaterialTheme.colorScheme`
- **NO hardcoded colors** - always use design tokens
- **Docs**: `docs/design-system-color.md`, `docs/design-system-compose.md`

## Quick Commands

**CLI Test:**
```bash
./gradlew :mpp-core:jsNodeProductionLibraryDistribution
cd mpp-ui && npm run build && npm run start
```

**IDEA Plugin:**

```bash
cd mpp-idea && ../gradlew compileKotlin
cd mpp-idea && ../gradlew test --tests "cc.unitmesh.devins.idea.renderer.JewelRendererTest"
cd mpp-idea && ../gradlew buildPlugin
```

**Release:**

```bash
# 1. Update version in gradle.properties
# 2. CLI: cd mpp-ui && npm publish:remote
# 3. Desktop: git tag compose-vX.X.X && git push origin compose-vX.X.X
# 4. gh release create compose-vX.X.X --draft
```

Signals

Stars
4,561
Forks
501
Open issues
4
Last commit (this folder)
Dec 28, 2025 (10 months ago)
Last release
Feb 7, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MPL-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

AGENTS.md · phodal/auto-dev. Agent Mart. https://agentmart.dev/templates/phodal-auto-dev-agents-md (last updated 2026-10-24)