coding-rules

Installation
SKILL.md

coding-rules — session loader

This skill loads the coding-rules guardrails into the current session and provides per-project install utilities. The skill does not contain the rules themselves — those live under ./resources/ (BOOTSTRAP.md plus references/, workflows/, hooks/, scripts/, templates/), bundled inside this skill folder.

Locating the bundled rule content

The skill is self-contained — BOOTSTRAP.md lives at ./resources/BOOTSTRAP.md relative to this SKILL.md. Resolve the absolute path via the first method that succeeds:

  1. Glob discovery (preferred). Use the Glob tool with pattern **/skills/coding-rules/resources/BOOTSTRAP.md. Common install locations are ~/.claude/skills/coding-rules/resources/BOOTSTRAP.md (global) or <project>/.claude/skills/coding-rules/resources/BOOTSTRAP.md (project-local). Use the first match that exists.
  2. CODING_RULES_DIR env var. If set, use ${CODING_RULES_DIR}/resources/BOOTSTRAP.md.
  3. Ask the user. If both fail: "Where is your coding-rules install? (Could not auto-locate BOOTSTRAP.md.)"

Once the BOOTSTRAP.md path is resolved, all other resource paths follow the same prefix — <install-root>/resources/references/..., <install-root>/resources/workflows/..., etc.


Harness engineering connection

coding-rules is the canonical implementation of harness-engineering primitives in this repo. The vocabulary lives in CLAUDE.md → "Harness vocabulary"; the working machinery lives here. Map:

Installs
7
GitHub Stars
1
First Seen
May 29, 2026
coding-rules — sorawit-w/agent-skills