🛡️
QualityRust

Encode Invariant

by hoangnb24

Encode Invariant is a Quality skill for Claude Code, published by hoangnb24 in repository-harness.

1.2K stars428 forkson hoangnb24/repository-harnessAdded 2026/08/20Repository updated 2026/08/13
agents-mdai-agentsai-assisted-developmentclaude-codecodexcoding-agentscontext-engineeringcursorharness-engineeringsoftware-engineeringtemplatesvibe-coding
Install in seconds
Install Encode Invariant
Copy Encode Invariant into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/hoangnb24/repository-harness/tree/main/.agents/skills/encode-invariant ~/.claude/skills/encode-invariant

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/hoangnb24/repository-harness.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.agents/skills/encode-invariant/SKILL.md in hoangnb24/repository-harness
Installs to
~/.claude/skills/encode-invariant
Collection
One of 5 skills cataloged from this repository
Category
Quality1354 skills

What Encode Invariant does

Encode Invariant converts accepted repository rules into the smallest repository-native mechanical validation with positive and negative proof and precise enforcement-level reporting. Use it to enforce architecture, reliability, security, or quality boundaries and prevent documented violations from recurring.

Encode Invariant is cataloged under Quality on DirSkills. Encode Invariant comes from a repository tagged agents-md, ai-agents, ai-assisted-development, claude-code and codex.

Documentation

README

Encode Invariant

Turn an accepted rule into a focused guard without creating new product policy.

1. Read The Owners

Read applicable AGENTS.md, docs/WORKFLOW.md, and the complete encoding pattern. Locate the repository's product or technical authority and its native validation owner.

2. Pass The Authority Gate

Cite the accepted source and restate the exact scope, allowed behavior, forbidden behavior, and authorized exceptions. Stop before edits if authority is absent or materially ambiguous.

Do not promote conventions, code patterns, tests, defaults, tool behavior, or undocumented preferences into policy. An existing check without accepted authority is a mismatch to report, not authority to expand.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Encode Invariant

  • What else does hoangnb24 publish alongside Encode Invariant?

    Encode Invariant is one of 5 skills that DirSkills catalogs from hoangnb24/repository-harness, the repository it ships in. Its siblings there include Audit Onboarding Proposal, Engineering Wisdom and Improve Harness. Each one is a separate skill with its own page in this directory, installs the same way Encode Invariant does, and is maintained by hoangnb24 in that same repository. The rest of the collection is listed on the hoangnb24/repository-harness page.

  • How does Encode Invariant compare to other Quality skills?

    Encode Invariant ranks #747 by stars among the 1354 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Encode Invariant against them. Open each page to compare what they document and how they install.