Smithery Logo
MCPsSkillsDocsPricing
Login
Smithery Logo

Accelerating the Agent Economy

Resources

DocumentationPrivacy PolicySystem Status

Company

PricingAboutBlog

Connect

© 2026 Smithery. All rights reserved.

    howells

    tidy

    howells/tidy
    Productivity
    9
    1 installs

    About

    SKILL.md

    Install

    Install via Skills CLI

    or add to your agent
    • Claude Code
      Claude Code
    • Codex
      Codex
    • OpenClaw
      OpenClaw
    • Cursor
      Cursor
    • Amp
      Amp
    • GitHub Copilot
      GitHub Copilot
    • Gemini CLI
      Gemini CLI
    • Kilo Code
      Kilo Code
    • Junie
      Junie
    • Replit
      Replit
    • Windsurf
      Windsurf
    • Cline
      Cline
    • Continue
      Continue
    • OpenCode
      OpenCode
    • OpenHands
      OpenHands
    • Roo Code
      Roo Code
    • Augment
      Augment
    • Goose
      Goose
    • Trae
      Trae
    • Zencoder
      Zencoder
    • Antigravity
      Antigravity
    ├─
    ├─
    └─

    About

    Clean up completed plans in docs/plans/...

    SKILL.md

    # MANDATORY Tool Restrictions

    REQUIRED TOOLS:

    • AskUserQuestion — Preserve the one-question-at-a-time interaction pattern for every question, including plan disposition and commit confirmation. In Claude Code, use the tool. In Codex, ask one concise plain-text question at a time unless a structured question tool is actually available in the current mode. Keep context before the question to 2-3 sentences max, and do not narrate missing tools or fallbacks to the user.

    Tidy Workflow

    Clean up the docs/arc/plans/ folder by analyzing which plans have been implemented. Archive what's done, keep what matters.

    Modes

    1. Full mode (default): Review all plans
    2. Quick mode (--quick): Only show implemented plans ready to archive

    Process

    Step 1: Discover Plans

    Use Glob tool: docs/arc/plans/*.md Fallback: docs/plans/*.md

    Handle empty states:

    • No docs/arc/plans/: "No plans folder found. Nothing to tidy!"
    • Empty folder: "Your plans folder is already spotless!"

    Preview:

    Let me tidy up your plans folder...
    
    Found [N] plans in docs/arc/plans/
    

    Step 2: Analyze Each Plan

    For each plan file:

    1. Parse metadata from filename:

    • Date: YYYY-MM-DD prefix
    • Topic: middle slug
    • Type: -design.md or -implementation.md suffix

    2. Extract signals from plan content:

    • File paths in "Create:", "File:", "Modify:" sections
    • Function/component/type names mentioned
    • Test file paths

    3. Check implementation status:

    Use Glob tool: Check if planned files exist (use paths from plan)

    Use Bash for git history:

    git log --after="YYYY-MM-DD" --oneline -- [file-paths]
    

    Use Grep tool: Pattern identifier in [file-paths] — check for key identifiers

    4. Determine status:

    Condition Status
    70%+ signals positive Implemented
    30-70% signals positive Partial
    0 signals positive Outstanding
    Cannot parse/analyze Unknown

    Step 3: Present to User (One at a Time)

    Present the plan summary as context, then ask:

    ## Plan: [Topic] ([YYYY-MM-DD])
    
    [1-3 sentence summary from plan]
    
    **Status:** [status]
    
    **Evidence:**
    - [file] exists (planned to create)
    - [file] modified after plan date
    - [N] commits after plan date
    - OR: No activity found on planned files
    
    AskUserQuestion:
      question: "What should I do with this plan?"
      header: "[Topic]"
      options:
        - label: "Archive"
          description: "Move to docs/arc/archive/"
        - label: "Delete"
          description: "Remove the file and associated assets"
        - label: "Keep"
          description: "Leave in place"
        - label: "Skip"
          description: "Decide later"
    

    Wait for user response before proceeding to next plan.

    Step 4: Execute Actions

    Archive:

    mkdir -p docs/arc/archive/
    mv docs/arc/plans/[plan].md docs/arc/archive/
    # Move associated assets if they exist
    mv docs/arc/specs/assets/[topic]/ docs/arc/archive/assets/ 2>/dev/null
    

    Delete:

    rm docs/arc/plans/[plan].md
    rm -rf docs/arc/specs/assets/[topic]/ 2>/dev/null
    

    Keep/Skip: No action, continue to next plan.

    Step 5: Summary

    After all plans processed:

    ## Tidy Complete!
    
    | Action | Count |
    |--------|-------|
    | Archived | X |
    | Deleted | Y |
    | Kept | Z |
    | Skipped | W |
    
    Your plans folder is now tidy!
    

    Offer to commit:

    AskUserQuestion:
      question: "Want me to commit these changes?"
      header: "Commit"
      options:
        - label: "Yes, commit"
          description: "Stage and commit the tidy changes"
        - label: "No, not yet"
          description: "Leave changes uncommitted"
    

    If yes:

    git add docs/arc/plans/ docs/arc/archive/
    git commit -m "docs: tidy up completed plans"
    

    Edge Cases

    Paired design + implementation:

    • If both exist for same topic, analyze implementation plan
    • Offer to archive/delete both together

    Plans with assets:

    • Check docs/arc/specs/assets/YYYY-MM-DD-topic/
    • Include in archive/delete actions

    Very old plans (>60 days, no activity):

    • Add note: "This plan is [N] days old with no activity"

    Unparseable plans:

    • Show filename and first few lines
    • Let user decide: Keep or Delete

    Personality

    Friendly, unobtrusive:

    • "Let me tidy up around here..."
    • "This one looks done. Ready to archive it?"
    • "Your plans folder is now spotless!"

    NOT: overly cute, emoji-heavy, or verbose.

    What Tidy Does NOT Do

    • Modify plan contents
    • Create new plans
    • Touch anything outside docs/arc/plans/
    • Make decisions without asking
    • Auto-delete without confirmation

    Interop

    • /arc:ideate creates design plans
    • /arc:implement creates implementation plans
    • /arc:implement executes plans
    • /arc:tidy cleans up after implementation
    Recommended Servers
    Docfork
    Docfork
    Google Docs
    Google Docs
    Google Tasks
    Google Tasks
    Repository
    howells/arc
    Files