xiaohongshu
xiaohongshu
71-close-tidy-150
[71] CLOSE. Quick, safe cleanup after completing a milestone. Fix objective issues only (syntax errors, dead code, poor naming). Must be <5% of main task time, <30 seconds per fix, and reversible. Use after key points, not after every small change.
Full skill instructions
Core Principle: Clean as you go — but safely. After milestones, fix obvious issues quickly. Objective problems only. Time-boxed. Reversible. User-approved.
When you invoke this skill, you're asking AI to:
| Dimension | 100% Core | +50% Enhancement |
|---|---|---|
| Issues | Objective defects only | + Prove each is defect |
| Time | ≤5% of main task | + <30 sec per fix |
| Safety | All fixes reversible | + Tests still pass |
| Scope | No expansion | + User approves list |
✅ ALLOWED (Objective Defects)
├── Syntax Errors: Clear compilation issues
├── Dead Code: Unused, unreachable code
├── Poor Naming: Confusing variable/function names
├── Unused Imports: Import statements not used
├── Obvious Typos: Clear spelling mistakes
└── Simple Formatting: Obvious style violations
❌ NOT ALLOWED (Scope Creep)
├── Refactoring: Changing code structure
├── New Features: Adding functionality
├── Optimization: Performance improvements
├── Architecture: Changing design patterns
├── Complex Changes: Anything needing analysis
└── Debatable Issues: Subjective improvements
| Fix Type | Time Limit | Safety Check | Revert Ease |
|---|---|---|---|
| Syntax Fix | <10 sec | Auto-check | Instant |
| Naming Fix | <15 sec | Code review | Instant |
| Dead Code | <20 sec | Reference check | Instant |
| Unused Import | <10 sec | Compile check | Instant |
| Simple Format | <15 sec | Visual check | Instant |
| Complex Change | ❌ Forbidden | N/A | N/A |
Rule: If it takes >30 seconds to verify safety → NOT a tidy-up item.
TRIGGER: Only after Key Point Milestones:
NOT TRIGGER:
🏁 **MILESTONE VERIFICATION**
**Completed:** [What milestone was reached]
**Main Task Time:** [How long the main work took]
**Tidy Budget:** [5% of main task = X minutes]
Review for obvious issues:
🔍 **SCAN RESULTS**
**Issues Found:**
1. [Issue]: [Location] - [Fix time estimate]
2. [Issue]: [Location] - [Fix time estimate]
3. [Issue]: [Location] - [Fix time estimate]
**Total Fixes:** [N]
**Total Time Estimate:** [X minutes]
**Within Budget:** ✅ Yes | ❌ No (reduce scope)
For each issue:
🛡️ **SAFETY CHECK**
Issue: [Description]
├── Objective Defect: ✅ Provable | ❌ Subjective
├── Reversible: ✅ Easy revert | ❌ Complex
├── Tests Pass: ✅ Verified | ⚠️ Need to check
└── No Side Effects: ✅ Contained | ❌ Cascading
Safe to Fix: ✅ Yes | ❌ No
Present for approval:
🧹 **TIDY-UP PROPOSAL**
**Milestone:** [What was completed]
**Time Budget:** [X minutes] (5% of main task)
**Proposed Fixes:**
1. ✅ [Fix 1]: [Description] - [X sec]
2. ✅ [Fix 2]: [Description] - [X sec]
3. ✅ [Fix 3]: [Description] - [X sec]
**Total Time:** [Y minutes]
**All Reversible:** ✅ Yes
**All Objective:** ✅ Yes
**Approve cleanup?** (Yes / No / Modify list)
Apply fixes one by one:
🧹 **TIDY-UP 150 COMPLETE**
**Fixes Applied:**
✅ [Fix 1]: [What was done]
✅ [Fix 2]: [What was done]
✅ [Fix 3]: [What was done]
**Time Spent:** [X minutes] ([Y% of budget])
**Verification:**
├── Tests: ✅ Passing
├── Functionality: ✅ Preserved
├── Revert Ready: ✅ Yes
└── No Side Effects: ✅ Confirmed
**Impact:**
├── Code Quality: Improved
├── Technical Debt: Reduced
└── Future Benefit: [Description]
Proposal:
🧹 **TIDY-UP 150 PROPOSAL**
**After Milestone:** [What was completed]
**Budget:** [X min] (5% of [Y min] main task)
**Fixes:**
| # | Issue | Location | Time | Safe |
|---|-------|----------|------|------|
| 1 | [Issue] | [File:Line] | Xs | ✅ |
| 2 | [Issue] | [File:Line] | Xs | ✅ |
**Total:** [X sec] | **All Safe:** ✅
**Approve?** (Yes / No / Modify)
Report:
🧹 **TIDY-UP 150 DONE**
**Applied:** [N] fixes in [X] minutes
**Tests:** ✅ Passing
**Quality:** Improved
**Changes:**
- [File]: [What changed]
- [File]: [What changed]
| Failure | Detection | Recovery |
|---|---|---|
| Scope Creep | Fixing more than listed | Stop, create separate task |
| Time Overrun | Exceeding 5% budget | Pause, reschedule remaining |
| Safety Breach | Fix introduces issues | Immediate revert |
| Unapproved | Fixing without consent | Revert, get approval |
Milestone: Small bug fix (10 minutes)
"Tidy-up":
- Refactored entire module architecture
- Added new helper functions
- Changed error handling approach
Time: 3 hours (1800% of main task!)
Result: Introduced new bugs, delayed delivery
🧹 TIDY-UP 150 PROPOSAL
After Milestone: Feature implementation (2 hours)
Budget: 6 min (5% of 120 min)
Fixes:
| # | Issue | Location | Time | Safe |
|---|-------|----------|------|------|
| 1 | Unused import | auth.ts:3 | 5s | ✅ |
| 2 | Typo in var name | user.ts:45 | 10s | ✅ |
| 3 | Dead function | utils.ts:89 | 15s | ✅ |
Total: 30 sec | All Safe: ✅
User: "Yes"
🧹 TIDY-UP 150 DONE
Applied: 3 fixes in 30 seconds
Tests: ✅ Passing
Quality: Improved
Changes:
- auth.ts: Removed unused 'lodash' import
- user.ts: Renamed 'usrData' → 'userData'
- utils.ts: Removed unused 'legacyFormat()' function
Remember: Tidy-up is housekeeping, not renovation. Quick fixes for obvious issues. If you're thinking about it for more than 30 seconds, it's not a tidy-up item — it's a separate task.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience