Code Fingerprint

Code Fingerprinting (P13)

zedarvates 4b6920a 2 files · 8.1 KB Updated

File contents

Code Fingerprinting (P13)

Hash every function/method, only re-analyze changed code.

Trigger: Before every audit — check fingerprints, skip unchanged files.

Token savings: -80% on re-analysis of stable codebases

Usage:

from skills.code_fingerprint import CodeFingerprinter, skip_if_unchanged
fp = CodeFingerprinter()
result = skip_if_unchanged(fp, project_path, analyze_fn)
# If nothing changed: {"skipped": True, "reason": "no changes detected"}

Module: skills/code_fingerprint Cache: .botte-cache/fingerprints.json

zedarvates/botte-secrete/tree/main/skills/code_fingerprint commit 4b6920a37d

Frequently asked questions

npx skillmds@latest add zedarvates/code-fingerprint