Dejavu scan
🔮 Claude Code antipattern detector & auto-patcher — learns from session logs, patches CLAUDE.md, tracks rule effectiveness
npx -y skills add cmg8431/claude-dejavu --skill dejavu-scanAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Trigger a manual scan for antipatterns. Use when user asks "scan for patterns", "dejavu scan", "check for mistakes".
SKILL.md
1.2 KB, as published. Nobody here has run it
claude-dejavu: Manual Scan
You are triggering a manual antipattern scan with claude-dejavu.
Steps
- Run the scan command:
claude-dejavu scan --path "$(pwd)"
-
Present the results to the user:
- How many sessions were analyzed
- New patterns detected (if any)
- Rules proposed or updated
- Any changes applied to CLAUDE.md
-
If new rules were proposed, show them and ask the user whether to approve:
Found 2 new patterns:
[proposed] "Always use pnpm, not npm, in this project."
confidence: 0.85 | evidence: 3 sessions
[proposed] "Run type-check before committing TypeScript changes."
confidence: 0.72 | evidence: 2 sessions
Approve these rules? [y/n/edit]
- If no new patterns were found, reassure the user:
No new antipatterns detected. Your current rules look good.
Important
- Always show what the scan found, even if it found nothing
- Let the user decide whether to approve proposed rules
- If the scan fails, show the error and suggest checking that claude-dejavu is installed correctly