Introducing /consistency

2 min read
Published

/consistency is a seed skill that evolves into a durable record of your project’s major design choices and the principles behind them.

Download /consistency at https://github.com/thehale/skills

To be abundantly clear, /consistency is NOT a skill for your global .agents/skills directory.

Rather, /consistency is a seed skill that you put in your <project>/.agents/skills directory. As you work in your project and make design calls, /consistency will self-update to record those calls and their backing principles so that far-future agents have a salient record of what humans care about in the project and why.

/consistency specifically does not record/rehash the implementation details already recorded in the executable code. Neither is it a replacement for proper testing/linting. It’s only for the intent you express as a human engineer.

For example, in this blog’s theme repository (the birthplace of this skill), /consistency has evolved to include my design decisions about color theming, the finessed interactions for footnotes/tables-of-contents, code blocks, progressive enhancment (below), etc.

.agents/skills/consistency/progressive-enhancement.md
Markdown
- Reach for HTML and CSS before JavaScript, such as the page's target or a
  scroll-driven animation.
- The navigation drawer and the footnote sheet open as the page's target, so
  both work without JavaScript. See `6ead847c`.
- Nothing waits for JavaScript. It loads without blocking the page, and acts
  once the document is ready. See `6d4129a0`.
The exact design decisions /consistency has recorded about this blog’s approach to progressive enhancement.

So, drop the skill into a new/existing project today and watch your agents follow your guidance more consistently going forward.