kiln-hygiene

Audit repositories against the Kiln structural-hygiene rubric and write a review preview to .kiln/logs.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/yoshisada/ai-repo-template --skill kiln-hygiene
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: kiln-hygiene
Source: https://github.com/yoshisada/ai-repo-template/tree/main/plugin-kiln/skills/kiln-hygiene
Command: npx skills add https://github.com/yoshisada/ai-repo-template --skill kiln-hygiene

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits the repository against the structural-hygiene rubric and surfaces a review preview in .kiln/logs/. It never applies edits.

Core Features & Use Cases

  • Audits the repository against the Kiln structural-hygiene rubric and writes a deterministic preview to .kiln/logs/structural-hygiene-<timestamp>.md.
  • Supports an optional override via .kiln/structural-hygiene.config and a backfill workflow to derive missing frontmatter, while never applying changes automatically.
  • Produces a structured signal summary with per-rule sections and a bundled merged-prd-not-archived block when applicable, enabling manual review and targeted fixes.

Quick Start

Run the structural hygiene audit to generate a deterministic review preview in .kiln/logs/structural-hygiene-<TIMESTAMP>.md and review the results.

Frequently Asked Questions about kiln-hygiene

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

FAQPage Schema
How do I audit repository hygiene against a structural rubric?▼

To audit repository hygiene, run a structural rubric evaluation that checks your codebase and writes a deterministic review preview to .kiln/logs/structural-hygiene-<timestamp>.md. The audit organizes signals into per-rule sections for manual review.

What is a structural hygiene audit and how does it work?▼

A structural hygiene audit evaluates your repository against the Kiln rubric, rendering an organized signal summary with per-rule sections and a bundled archive block for merged PRDs. It generates a deterministic review preview file without applying edits.

Can I customize the structural hygiene rubric for my repository?▼

Yes, you can customize the structural hygiene audit using an optional override via .kiln/structural-hygiene.config. This allows you to tailor the rubric evaluation while still generating the deterministic review preview in the logs directory.

Does the repository hygiene audit automatically fix code quality issues?▼

No, the repository hygiene audit never performs edits or applies changes automatically. It only writes a deterministic review preview to .kiln/logs/ to enable manual review and targeted fixes based on the structural rubric signals.

How do I backfill missing frontmatter during a code hygiene review?▼

The structural hygiene audit supports a backfill workflow to derive missing derived_from frontmatter. This process runs alongside the rubric evaluation, ensuring frontmatter completeness while still never applying automatic edits to your files.

What limitations should I expect when reviewing repo hygiene signals?▼

The audit reports gh availability and handles errors gracefully, but it is limited to generating a read-only review preview. You must manually address any structural rubric violations or missing frontmatter issues identified in the per-rule sections.