Guidance for AI coding agents (Claude Code, Codex, Warp, etc.) working in this repository.
A portable agent skill implemented entirely as Markdown. The runtime artifact is SKILL.md: the agent reads its YAML frontmatter and editor prompt. There is no build step, and the repo should avoid wording that limits support to one or two harnesses.
SKILL.md — the skill itself. Portable YAML frontmatter (name, description, license, metadata.version) followed by the canonical, numbered pattern list with before/after examples. This is the source of truth.README.md — for humans: installation, usage, a summary table of the patterns, and a version history..claude-plugin/plugin.json — optional Claude Code plugin manifest..claude-plugin/marketplace.json — optional single-repo marketplace entry so /plugin marketplace add blader/humanizer works.scripts/validate-package.py — dependency-free package and synchronization checks used locally and in CI.SKILL.md and README.md must stay in sync. When you change behavior or content:
SKILL.md frontmatter stores the version under metadata.version, README.md has a "Version History" section, and .claude-plugin/plugin.json has a version field. Bump them together so package metadata matches the skill. Keep the skill version under metadata; a top-level version key is not portable across Agent Skills hosts. (marketplace.json intentionally omits a version so plugin.json stays the package source of truth.)python3 scripts/validate-package.py, npx skills add . --list, and claude plugin validate . before publishing.