Skip to content

2.0.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@steliosfran steliosfran released this 02 Nov 12:13
· 2 commits to main since this release
02bdbb7

Harmonize and AI agents

This release integrates Harmonize with AI agents. Each rule now contains a Rule value with a title, a category, a rationale, a fix, and a bad and a good example. From these values Harmonize generates an agent skill from your lint rules, including one page per layer and per rule. Agents read the skill before they implement a task, run the rules after the task, and self-correct their violations. A Claude Code plugin with two skills is also included. See Integrate Harmonize with AI agents in the README.

Breaking changes

  • Rule requires every field. description is now title, fixHint is now howToFix, and severity is removed.
  • The derived rule id is now kebab case: ViewModelsInheritBase.swift gives view-models-inherit-base.

Deprecated

  • The message: assertion overloads are deprecated. Pass rule: instead.

To try it, pin the version:

.package(url: "https://github.com/perrystreetsoftware/Harmonize.git", exact: "2.0.0-beta.2"),

What's Changed

New Contributors

Full Changelog: 1.3.0...2.0.0-beta.2