Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

kiln-conventions

Skill by Kiln-AI

Gives AI assistants Kiln's code conventions and a diff gate for the Kiln repo. Use it before writing or reviewing Python, TypeScript or Svelte changes in libs/core, libs/server, app/desktop or app/web_ui.

  • Score 81
  • 5.3k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install kiln-conventions

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Kiln-AI/Kiln /tmp/Kiln && mkdir -p ~/.claude/skills && cp -r /tmp/Kiln/.agents/skills/kiln-conventions ~/.claude/skills/kiln-conventions

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install kiln-conventions in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

kiln-conventions is an agent skill that gives an AI assistant Kiln's code conventions for Python, TypeScript and Svelte code in the Kiln repo. It covers comments, startup and entry points, globals and module state, config reads, module layering, library-vs-app rules and async I/O. Before writing or reviewing a change, the assistant reads the rules and the reference for each area it touches.

The skill also ships a diff gate, conventions_gate.py, that checks the lines a change adds for the mechanical rules. It can run on uncommitted changes, a branch or PR range, or whole files for audits. FAIL hits must be fixed or justified, and WARN hits must be fixed or named in the summary. It is aimed at developers and reviewers working in the Kiln repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Rules referenceLoads the full set of Kiln code rules, each with a bad and good example.
  • Area referencesLoads the convention notes for libs/core, libs/server, app/desktop or app/web_ui based on the paths edited.
  • Diff gate on worktreeChecks uncommitted changes and untracked files for mechanical rule violations.
  • Diff gate on a rangeChecks a branch or PR, for example origin/main...HEAD, for added lines that break the rules.
  • Diff gate on filesAudits whole files or directories, including existing code, for convention issues.
  • Review self-checkLists the review-only rules the author must check by hand against their diff.
  • Reviewer guidanceTells reviewers to run the gate on a PR and treat rule violations in added code as findings.

What you need

  • uv, since gate commands run with uv run python
  • Python
  • A checkout of the Kiln repository
  • The kiln-ui skill for UI changes that render

Try asking

  • Check my branch against Kiln's conventions before I open the PR
  • Run the conventions gate on my uncommitted changes
  • Review this Svelte change in app/web_ui against Kiln's code rules

Good to know

  • The gate is not in CI, so a FAIL reported by hand blocks nothing.
  • Only added lines are checked in worktree and range modes.
  • Module-level checks are heuristics and are reported as WARN.
  • Python docstrings are not scanned for history phrases; only # comments are.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/kiln-conventions/SKILL.md, .agents/skills/kiln-conventions/scripts/conventions_gate.py, .agents/skills/kiln-conventions/scripts/test_conventions_gate.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Grep Glob Bash

  • SKILL.md7 KB
  • references/core.md7 KB
  • references/rules.md14 KB
  • references/server_desktop.md8 KB
  • references/web_ui.md5 KB
Show all 9 files
  • scripts/conventions_gate.py22 KB
  • scripts/gate_allow.txt657 B
  • scripts/gate_config.json2 KB
  • scripts/test_conventions_gate.py18 KB

Alternatives to kiln-conventions

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

kiln-conventions: common questions

Does the conventions gate run in CI?

No. The source says the gate is not in CI, so a FAIL reported by hand in the PR description blocks nothing.

Which parts of the Kiln repo does it cover?

It covers libs/core, libs/server, app/desktop and app/web_ui, with a separate reference for each area. Docs-only and spec-only changes do not need it.

Does it flag existing code problems?

Not in worktree or range mode, which check only added lines. Existing code is grandfathered, and the --files mode reports it for audits only.

How do I install kiln-conventions?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is kiln-conventions free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is kiln-conventions safe to use?

It scores 81 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to kiln-conventions?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

kiln-conventions Install

Add to stack

Loading.