Mandu agent workflow

From konamgil/mandu · View interactive version

Mandu agent workflow is an AI agent skill from the GitHub repository konamgil/mandu. Canonical Mandu workflow for safe agent-driven application changes.

How to use this skill

Skill file

Mandu Agent Workflow

Use this skill before changing a Mandu project. The canonical loop is:

context -> plan -> apply -> verify -> repair

Prefer the official MCP tools when available:

The CLI equivalents use mandu agent <step>. Domain skills are addenda and

must not replace this workflow. Do not edit .mandu/generated artifacts,

write outside the planned scope, or invoke deployment providers.

For writes, pass explicit typed operations to mandu.agent.plan. Preview is

the default. Execute only the resulting bound plan with mandu.agent.apply

using dryRun=false. CLI fallback:

mandu agent plan "<task>" --operations typed-operations.json --write --json
mandu agent apply --from .mandu/agent-plan.json --json
mandu agent apply --from .mandu/agent-plan.json --execute --write --json

Never weaken or remove baseRevision, content-hash, scope, permission,

idempotency, verification, or rollback fields. An intent-only plan is a

compatibility preview and must not be represented as an executed change.

If a completed receipt must be reverted, use

mandu agent repair --rollback <rollbackId> --apply.

End code-changing work with:

mandu agent verify --changed --json --write
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.