tidy-first

Query a knowledge graph for code tidying best practices and trade-offs.

Updated May 20, 2026
One-click install
npx skills add https://github.com/munlucky/moonshotnote-skills --skill tidy-first-munlucky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tidy-first
Source: https://github.com/munlucky/moonshotnote-skills/tree/main/skills/tidy-first
Command: npx skills add https://github.com/munlucky/moonshotnote-skills --skill tidy-first-munlucky

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, scripts/query_graph.py, scripts/expand_context.py, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you make informed decisions about code tidying by providing a knowledge graph that outlines best practices and trade-offs.

Core Features & Use Cases

  • Code Tidying Guidance: Offers guidance on when and how to tidy code, including best practices and trade-offs.
  • Knowledge Graph: Provides a comprehensive knowledge graph of code tidying concepts, relationships, and economic considerations.
  • Use Case: When you're unsure whether to tidy a piece of code, this Skill can help you decide whether it's worth doing, when to do it, and how to approach it.

Quick Start

Use the tidy-first skill to get advice on tidying a function that handles sensitive user data.

Frequently Asked Questions about tidy-first

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decide when to refactor or tidy code?

Code tidying decisions are made by evaluating trade-offs and best practices using a knowledge graph. This approach outlines when to apply tidying techniques and whether the effort is economically worth doing.

What is a knowledge graph for code tidying and how does it work?

A knowledge graph for code tidying maps software design concepts and their relationships to provide structured guidance. It queries best practices and economic considerations to help you decide whether to tidy code.

How do I use a knowledge graph to get code quality advice for my software?

You query the knowledge graph using Python scripts to process and expand context. This extracts best practices and trade-offs to offer actionable code tidying guidance for your specific software design.

Do I need Python to run this code tidying decision aid?

Yes, Python is required to run the specific scripts that query and process the knowledge graph. These dependencies are necessary to generate code quality and software design recommendations.

What is the best way to evaluate trade-offs before tidying sensitive code?

The best way to evaluate tidying trade-offs is using a knowledge graph that outlines best practices and economic considerations. It helps you decide if and when to approach refactoring functions that handle sensitive data.

When should I not use an automated knowledge graph for code refactoring?

You should avoid relying solely on a knowledge graph for code tidying when you need context-specific architectural intuition. It serves as a decision aid for best practices and trade-offs, not a strict mandate for refactoring.