code-archaeologist
Installation
SKILL.md
Code Archaeologist Skill
CRITICAL: This skill provides proactive intelligence BEFORE code changes to prevent bugs, maintain consistency, and learn from history.
When to Use This Skill (Auto-Invocation Guide)
🚨 ALWAYS Before Modifying Code
Trigger: User asks to fix, modify, refactor, or change any existing code
Commands to run:
# 1. Smart analysis - CRITICAL for risk assessment
python3 .claude/skills/code_archaeologist/skill.py smart <folder> --question "$ARGUMENTS"
# 2. File analysis - Check if function is a hotspot
python3 .claude/skills/code_archaeologist/skill.py file <file_path> --function <function_name>