clean-code-refiner

Generate a clean-code standards document from an interactive interview.

176|13|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/techygarg/lattice --skill clean-code-refiner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code-refiner
Source: https://github.com/techygarg/lattice/tree/main/plugins/lattice/skills/clean-code-refiner
Command: npx skills add https://github.com/techygarg/lattice --skill clean-code-refiner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Teams often struggle to define and enforce consistent clean-code practices across repositories. This skill provides a structured interview-driven workflow to capture coding standards and produce a formal clean-code document that can be consumed by the clean-code atom.

Core Features & Use Cases

  • Generates a formal .lattice/standards/clean-code.md document that encodes your team's standards.
  • Supports overlay mode (apply only changes on top of embedded defaults) or override mode (replace defaults entirely) to match your team's workflow.
  • Reads an optional configuration at .lattice/config.yaml to determine the output path, with a default path if not present.
  • Guides teams through an interview-style process to tailor conventions for single-responsibility, function size, complexity, naming, error handling, testing, and more.

Quick Start

Start the clean-code-refiner interview to generate and apply a clean-code.md document at the path defined by .lattice/config.yaml (or the default) for your repository.

Frequently Asked Questions about clean-code-refiner

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

FAQPage Schema
How do I enforce consistent clean-code standards across a software repository?

You can enforce clean-code standards across a repository by generating a formal standards document through an interactive interview process, which captures conventions for naming, complexity, and testing to ensure consistent code quality.

What is the best way to define coding guidelines for single-responsibility and function size?

Defining coding guidelines for single-responsibility and function size is best achieved through a structured interview-driven workflow that tailors conventions and outputs a formal standards document for your team's specific engineering needs.

How do I generate a clean-code standards document using an interactive interview?

To generate a clean-code standards document, you start an interactive interview that guides you through tailoring conventions, producing a formal markdown file at the path defined by your repository configuration or a default location.

Can I apply only specific clean-code changes on top of default coding standards?

Yes, you can apply specific clean-code changes on top of default coding standards by using overlay mode, which preserves embedded defaults while adding your customizations, or use override mode to replace defaults entirely.

Does the clean-code standards generator require a specific configuration file path?

The clean-code standards generator reads an optional configuration at .lattice/config.yaml to determine the output path, and automatically uses a default path if the configuration file is not present in your repository.

When should I replace default engineering guidelines instead of overlaying them?

You should replace default engineering guidelines entirely using override mode when your team requires a completely bespoke standards document, rather than using overlay mode to simply apply changes on top of existing defaults.