Nm Attune Dorodango

v1.0.0

Iteratively polish code through successive quality passes run in fresh subagents

0· 95·1 current·1 all-time
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (iterative polishing) align with the declared artifacts: pass-definitions, state persistence, and subagent-driven passes. The declared config dependency (night-market.modules/pass-definitions.md) is present and matches the described pass types.
Instruction Scope
SKILL.md instructs running tests (bash/pytest), reading and editing target files, and creating .attune/dorodango-state.json. These actions are expected for a code-polishing workflow but do mean the skill will execute test commands and modify source files in the target directory — review changes or run in a sandbox if you need to be cautious.
Install Mechanism
Instruction-only skill with no install spec and no code files. Lowest-risk install posture — nothing is downloaded or written by an installer beyond the described state file when run.
Credentials
No environment variables, credentials, or unrelated config paths are requested. The single declared config file is the included pass-definitions.md, which is appropriate for the skill's behavior.
Persistence & Privilege
Does not request always:true, does not modify other skills, and only persists a local state file (.attune/dorodango-state.json) to resume sessions. Autonomous invocation is allowed by default but is not combined with elevated privileges or extra credentials.
Assessment
This skill appears to do what it says: run iterative passes (tests, clarity, consistency, polish) and edit code until convergence, recording progress in .attune/dorodango-state.json. Before running: back up your code or run in a disposable branch/worktree, ensure tests can be executed safely in your environment, and review the edits produced by the skill. Note the skill may invoke other installed skills (e.g., pensive:code-refinement) for certain passes — those skills may introduce additional behavior you should review. If you require absolute isolation, run the workflow in a sandbox or CI environment rather than on a live repository.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🦞 Clawdis
Confignight-market.modules/pass-definitions.md
latestvk97dvjme4s38yktqxy240xyvyn84jm87
95downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

Night Market Skill — ported from claude-night-market/attune. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

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 that finds issues_found: 0 marks that dimension as converged
  • Convergence is irreversible per run; a converged dimension is not re-run
  • When all 4 dimensions converge, polishing is complete
  • Maximum 10 total passes (hard limit)
  • If not converged after 10 passes, surface state to human with recommendation to split into smaller units

State Persistence

State 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.

Subagent Isolation

Each pass dispatches a self-contained subagent to prevent context accumulation. The subagent receives:

  • Target directory/files
  • Pass type and scope (from pass-definitions module)
  • Previous pass results (summary only, not full context)

Subagent dispatch is optional for targets under 100 lines of code; in-session review is sufficient for small files.

Workflow

  1. Initialize state file (or load existing)
  2. Determine next unconverged dimension
  3. Dispatch subagent for that dimension
  4. Record results in state file
  5. If dimension converged (0 issues), mark it
  6. If all dimensions converged or 10 passes reached, stop
  7. Otherwise, proceed to next dimension

Cross-References

  • pensive:code-refinement - used in clarity pass
  • conserve:code-quality-principles - KISS/YAGNI/SOLID
  • imbue:latent-space-engineering - frame pass prompts with emotional framing for better results

Comments

Loading comments...