From attune
Iteratively polishes working code through subagent passes on correctness, clarity, consistency, and polish until all dimensions converge. Resumable via state file for multi-session refinement.
How this skill is triggered — by the user, by Claude, or both
Slash command
/attune:dorodangoThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Named after the Japanese art of polishing a ball of
Named after the Japanese art of polishing a ball of dirt into a high-gloss sphere. Applied to code: take the initial implementation (the "mud ball") and refine it through successive quality passes until it shines.
Four quality dimensions, each a self-contained pass:
See modules/pass-definitions.md for detailed scope
of each pass type.
issues_found: 0 marks that
dimension as convergedState tracked in .attune/dorodango-state.json:
{
"target": "plugins/foo",
"started_at": "2026-03-18T12:00:00Z",
"pass_count": 3,
"passes": [
{
"type": "correctness",
"issues_found": 2,
"issues_fixed": 2
},
{
"type": "clarity",
"issues_found": 5,
"issues_fixed": 5
},
{
"type": "consistency",
"issues_found": 0
}
],
"converged_dimensions": ["consistency"],
"converged": false
}
This file enables resume across sessions. On resume, skip converged dimensions and continue from the next unconverged dimension.
Each pass dispatches a self-contained subagent to prevent context accumulation. The subagent receives:
Subagent dispatch is optional for targets under 100 lines of code; in-session review is sufficient for small files.
pensive:code-refinement - used in clarity passconserve:code-quality-principles - KISS/YAGNI/SOLIDimbue:latent-space-engineering - frame pass prompts
with emotional framing for better resultsnpx claudepluginhub athola/claude-night-market --plugin attuneApplies automated refinement loop to audit, optimize, and reduce entropy in codebase artifacts via iterative contraction mapping and fixed-point convergence.
Reviews and cleans up code using Codex with adversarial challenge (critic-audit), applies fixes directly, then runs cleanup. For quick code polishing and removing slop.
Provides a structured approach to refining and improving code quality, architecture, and implementation patterns across projects.