workspace-hygiene

Redirect temporary scripts and logs away from the project root directory.

Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Come0520/L2C --skill workspace-hygiene-come0520
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workspace-hygiene
Source: https://github.com/Come0520/L2C/tree/main/.agent/skills/workspace-hygiene
Command: npx skills add https://github.com/Come0520/L2C --skill workspace-hygiene-come0520

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents clutter in the project's root directory by enforcing rules against temporary scripts, log files, and sensitive data, ensuring a clean and organized workspace.

Core Features & Use Cases

  • Prevents Root Clutter: Ensures temporary files, debug logs, and sensitive data are stored in appropriate locations.
  • Enforces Best Practices: Guides the agent on where to save scripts and logs, promoting a clean development environment.
  • Use Case: If the agent is about to save a debug script like temp_test.py in the project root, this skill will redirect it to a designated temporary directory.

Quick Start

Use the workspace-hygiene skill to ensure no temporary files are left in the project root.

Frequently Asked Questions about workspace-hygiene

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

FAQPage Schema
How do I keep my project root directory clean from temporary scripts and log files?

Keeping your project root directory clean requires preventing the creation of temporary scripts and log files in the root path. This skill enforces workspace hygiene by redirecting debug scripts and diagnostic outputs to designated temporary directories.

What is the best way to prevent sensitive data exposure in a project's root directory?

Preventing sensitive data exposure in the root directory involves enforcing rules against storing certificates and secrets in the root path. This skill ensures secure storage by guiding the agent to place sensitive data in appropriate, protected locations.

Why does my agent keep saving debug scripts like temp_test.py in the project root?

Agents save debug scripts in the project root when workspace hygiene rules are not enforced. This skill triggers during diagnostic tests to intercept and redirect temporary script creation away from the root directory into designated temporary folders.

How to enforce continuous self-cleaning of generated artifacts in a development workspace?

Enforcing continuous self-cleaning of generated artifacts requires adherence to core principles that prohibit saving temporary files in the root. This skill actively monitors for generated artifacts and triggers self-cleaning to maintain absolute workspace cleanliness.

Does this workspace hygiene skill require any dependencies or external components?

This workspace hygiene skill operates with no dependencies and no external components. It functions as a standalone set of rules to enforce cleanliness in the project root directory without requiring additional installation or setup.

When do I need to enforce rules against temporary files and logs in my project root?

You need to enforce rules against temporary files and logs when writing debug scripts, logging outputs, or performing diagnostic tests. This skill triggers during these activities to prevent clutter and ensure a clean, organized development environment.