
Dorodango
Run the dorodango multi-pass polish loop—correctness, clarity, consistency—with defined agent focus and convergence criteria per pass.
Overview
Dorodango is an agent skill most often used in Ship (also Build backend, Ship testing) that defines correctness, clarity, and consistency passes for the dorodango code-polishing workflow.
Install
npx skills add https://github.com/athola/claude-night-market --skill dorodangoWhat is this skill?
- Pass 1 Correctness: pytest/runner, fix failures only—convergence 0 test failures
- Pass 2 Clarity: naming, function length, dead code—convergence 0 clarity issues
- Pass 3 Consistency: naming conventions, imports, error/logging patterns vs codebase
- Per-pass agent prompt focus and tool hints (Bash, Edit, Read, style-gene-transfer)
- Child definition skill for attune:dorodango parent workflow
- 3 defined pass types: Correctness, Clarity, Consistency
Adoption & trust: 1 installs on skills.sh; 304 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
What problem does it solve?
Your agent refactors everything at once and breaks tests or drifts from team conventions because polish passes lack boundaries.
Who is it for?
Solo developers using pytest-backed repos who want a repeatable polish ritual after implementation, with parent skill attune:dorodango.
Skip if: Greenfield scaffolding with no tests yet, or projects that only need a one-off lint fix without a multi-pass workflow.
When should I use this skill?
Executing or scoping a pass within the parent attune:dorodango polishing workflow.
What do I get? / Deliverables
You run ordered passes with explicit convergence (0 failures, 0 clarity issues, convention alignment) and scoped agent instructions per pass.
- Pass-scoped polish with stated convergence metric
- Convention-aligned codebase segment after Pass 3
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Ship → review is the canonical shelf because dorodango is a polishing workflow applied after implementation, with explicit reviewer convergence on later passes. Review subphase fits pass-by-pass quality gates (tests green, clarity review, convention alignment) rather than greenfield feature coding.
Where it fits
After implementing an API module, run Pass 1 only until pytest is green before any readability edits.
Gate release prep on Pass 1 convergence with 0 test failures on CI-parity commands.
Use Pass 2 and Pass 3 as separate agent invocations on a PR branch without mixing behavior changes.
Polish hotfix branches under consistency pass to match logging and error patterns in production code.
How it compares
Defines pass boundaries for a polishing stack, not a single-shot “fix all code review comments” prompt.
Common Questions / FAQ
Who is dorodango for?
Builders running the attune dorodango workflow who need crisp pass definitions so agents fix tests first, then clarity, then consistency.
When should I use dorodango?
After build backend work when tests exist, during ship review before merge, and during ship testing when you want correctness pass before style passes.
Is dorodango safe to install?
Passes assume Bash test runs and file edits; review the Security Audits panel on this Prism page and sandbox test commands appropriately.
SKILL.md
READMESKILL.md - Dorodango
# Pass Type Definitions ## Pass 1: Correctness **Goal**: Code works as intended. **Scope**: - Run test suite, identify failures - Fix failing tests - Check for runtime errors - Verify edge cases specified in requirements **Agent prompt focus**: "Run all tests. For each failure, identify the root cause and fix it. Do not refactor; focus only on making tests pass." **Tools**: Bash (pytest/test runner), Edit **Convergence**: 0 test failures ## Pass 2: Clarity **Goal**: Code is readable and well-structured. **Scope**: - Variable and function naming - Function length and complexity - Comment quality (helpful vs. noise) - Dead code removal - Single-responsibility adherence **Agent prompt focus**: "Review for readability. Rename unclear variables, break up long functions, remove dead code. Do not change behavior." **Tools**: Read, Edit, pensive:code-refinement **Convergence**: 0 clarity issues found by reviewer ## Pass 3: Consistency **Goal**: Code follows project conventions. **Scope**: - Naming conventions (snake_case, camelCase, etc.) - Import ordering - Error handling patterns - Logging patterns - File organization **Agent prompt focus**: "Compare against codebase conventions. Flag deviations from established patterns. Use style-gene-transfer if exemplar available." **Tools**: Read, Grep, Edit **Convergence**: 0 convention deviations found ## Pass 4: Polish **Goal**: Code is production-ready. **Scope**: - Error messages are user-friendly - Documentation is accurate and complete - Edge cases have graceful handling - Configuration is well-documented **Agent prompt focus**: "Review error messages, docs, and edge cases. Ensure each error message helps the user understand what went wrong and how to fix it." **Tools**: Read, Edit **Convergence**: 0 polish issues found ## Pass Ordering Passes run in order: correctness, clarity, consistency, polish. This ordering is intentional: 1. Fix bugs before cleaning up code 2. Clean up code before checking conventions 3. Check conventions before polishing edges If a pass in a later dimension discovers a bug (correctness regression), surface to human rather than re-running the converged correctness pass. --- name: dorodango description: Polishes working code through successive quality passes in fresh subagents. Use after tests pass when code needs multi-dimension refinement before release. alwaysApply: false category: workflow tags: - polishing - iterative-refinement - code-quality - convergence progressive_loading: true dependencies: hub: [] modules: - modules/pass-definitions.md complexity: intermediate model_hint: standard estimated_tokens: 400 --- # Dorodango Polishing Workflow 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. ## When To Use - After initial implementation is complete and tests pass - Code works but needs refinement across multiple quality dimensions - Preparing code for review or release - Resuming a previous polishing session ## When NOT To Use - Code does not compile or pass basic tests (fix first) - Single-dimension improvement needed (use the specific skill directly: pensive:code-refinement, etc.) - Greenfield design phase (use brainstorming instead) ## Pass Sequence Four quality dimensions, each a self-contained pass: 1. **Correctness** - run tests, fix failures 2. **Clarity** - code readability and structure 3. **Consistency** - naming, patterns, style alignment 4. **Polish** - documentation, error messages, edges See `modules/pass-definitions.md` for detailed scope of each pass type. ## Convergence Model - Each pass targets one dimension - A pass