Coding Standards
SkillDocs & knowledgeRepository 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.
No other account needed.
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 usingruff(supports--checkand recursive directory scanning).scripts/shell-format: Format and lint shell scripts (POSIX/Bash) usingshfmtandshellcheck(supports--checkand recursive directory scanning; Fish scripts usefish_indent).scripts/markdown-format: Format Markdown files usingmdformatwith GFM and frontmatter preservation (supports--checkfor drift detection).scripts/command-index-format: Refresh generated--helpblocks incommand-index.mdfiles (marker comments; supports--checkand--all).scripts/kotlin-format: Format Kotlin files usingktfmtwith kotlinlang style.scripts/json-format: Format JSON files usingjq.scripts/xml-format: Format XML files usingxmllint.
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
- Markdown Standards — GFM rules, frontmatter handling, and heading conventions.
- Python Standards — Code style, typing, and packaging practices.
- Shell Standards — POSIX/Bash scripting rules, error handling, and linters.
- CLI Design — Universal CLI UI/UX standards, output streams, and exit codes.
- Caching & Offline — Network caching patterns and offline-mode variables.
- Git Operations — Conventional Commits syntax and commit message rules.
- Android Conventions — Android development and tooling standards.
- Web Guidelines — State management and web frontend guidelines.
Signals
- GitHub stars
- 48
- Forks
- 10
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
coding-standards-ithinkihaveacat- Source
- github.com/ithinkihaveacat/dotfiles