Coding Standards

SkillDocs & knowledge

Repository coding standards, linters, formatters, CLI design rules, HTTP caching guidelines, and git commit message conventions (Conventional Commits). Includes scripts for formatting Python, shell, Markdown, Kotlin, JSON, and XML. Use when writing, reviewing, formatting, or linting code, verifying CLI ergonomics, implementing caching and offline modes, or formatting git commit messages.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Coding Standards skill

What this skill tells your AI

The instructions your AI receives, as published by ithinkihaveacat/dotfiles in skills/coding-standards/SKILL.md and read by ahel’s review.

This skill provides coding guidelines, linters, and formatters for making changes across languages and domains in this repository.

Formatting Scripts

Helper scripts in scripts/ encapsulate repository-wide style rules and lint checks. References to scripts/... are relative to this skill directory. All scripts support formatting multiple files in place, or reading from stdin and writing to stdout when no arguments are provided.

  • scripts/python-format: Format and lint Python files using ruff (supports --check and recursive directory scanning).
  • scripts/shell-format: Format and lint shell scripts (POSIX/Bash) using shfmt and shellcheck (supports --check and recursive directory scanning; Fish scripts use fish_indent).
  • scripts/markdown-format: Format Markdown files using mdformat with GFM and frontmatter preservation (supports --check for drift detection).
  • scripts/command-index-format: Refresh generated --help blocks in command-index.md files (marker comments; supports --check and --all).
  • scripts/kotlin-format: Format Kotlin files using ktfmt with kotlinlang style.
  • scripts/json-format: Format JSON files using jq.
  • scripts/xml-format: Format XML files using xmllint.

Always prefer the helper scripts in scripts/ over raw tool invocations to guarantee consistent repository formatting rules.

Core Standards & Guidelines

Markdown Quality

All Markdown files must be formatted and linted with scripts/markdown-format. Headings must use clean, unadorned ATX styles (## Heading) without numbers, manual bolding, or ALL CAPS. See references/markdown.md.

Python Development

All Python files must be linted and formatted with scripts/python-format. Follow type annotation conventions, structured CLI argument parsing with argparse, and error handling standards. See references/python.md.

Shell Script Quality

All shell scripts must pass scripts/shell-format (shellcheck and shfmt). Use POSIX or Bash idioms with strict error handling (set -euo pipefail or set -u), safe quoting, and discoverable help systems conforming to CLI design guidelines. See references/shell.md.

CLI Tool Design

Language-agnostic rules for designing predictable, discoverable command-line tools: clean command structures (tool [verb] [noun]), dual output streams (stdout for data, stderr for diagnostics), deterministic exit codes, and --help formatting. See references/cli-tools.md.

Caching and Offline Mode

Cross-cutting conventions for tools that fetch remote resources over the network: caching under $XDG_CACHE_HOME, strict offline mode enforcement via AGENT_OFFLINE=1 / <TOOL>_OFFLINE=1, and cache-age reporting. See references/caching.md.

Git Operations & Commit Messages

Agents must not commit changes automatically unless explicitly authorized. Commit messages must adhere strictly to Conventional Commits syntax (type(scope): description), keeping the subject under 50 characters and hard-wrapping body prose to 72 characters. See references/git.md.

Android Development

Conventions and tools for working with Android Jetpack libraries, ADB device operations, APK analysis, package management, Wear OS debugging, and emulator management. See references/android.md.

Web Development

Guidelines for web development focusing on resilient client-side state management, deep-linking, scroll-position preservation, and navigation behavior. See references/web.md.

Reference Material

Signals

GitHub stars
48
Forks
10
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
coding-standards-ithinkihaveacat
Source
github.com/ithinkihaveacat/dotfiles