Skip to content

codedna 1.0.0

Choose a tag to compare

@hannsxpeter hannsxpeter released this 06 Jun 06:58

codedna 1.0.0, the initial release.

A file-only Claude Code skill that fingerprints a codebase's style so new or AI-written code is indistinguishable from the author's own.

Modes

  • Map: scan a repo and generate CODEDNA.md, and wire an idempotent pointer into CLAUDE.md so the profile loads automatically.
  • Match: write new code that follows the profile, deferring to the local file's dialect on conflicts.
  • Check: review a diff or file against the profile and report the AI tells with severity and concrete rewrites.

Also includes

  • A 15-entry AI-tells catalog (over-commenting, defensive boilerplate, vocabulary drift, and more), plus a pre-commit self-check list.
  • An inlined, stdlib-only stats helper that grounds the profile in real frequencies (naming casing, comment density including doc comments, indentation, quotes).
  • A fixed CODEDNA.md template that enforces specificity over generic filler.

Install

The codedna.md skill file is attached to this release. Drop it into your skills directory:

cp codedna.md ~/.claude/skills/codedna.md

See CHANGELOG.md for full details.