agentsclimarketplace

Dejavu rules

Skill cmg8431/claude-dejavu/plugin/skills/dejavu-rules

๐Ÿ”ฎ Claude Code antipattern detector & auto-patcher โ€” learns from session logs, patches CLAUDE.md, tracks rule effectiveness

Install
npx -y skills add cmg8431/claude-dejavu --skill dejavu-rules

Assembled 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

Manage dejavu rules manually. Use when user says "add a rule", "remember this", "edit rule", "remove rule", "์ด๊ฑฐ ๊ธฐ์–ตํ•ด", "๋ฃฐ ์ถ”๊ฐ€ํ•ด", or wants to manage CLAUDE.md rules through conversation.

SKILL.md

1.7 KB, as published. Nobody here has run it

Manage dejavu Rules

You can help the user manage their claude-dejavu rules through conversation.

Adding Rules

When the user states a preference or rule, use the add_rule MCP tool:

Examples:

  • "์ด ํ”„๋กœ์ ํŠธ์—์„œ๋Š” pnpm๋งŒ ์จ" โ†’ add_rule("This project uses pnpm, not npm.")
  • "ํ•ญ์ƒ ํ…Œ์ŠคํŠธ ๋จผ์ € ๋Œ๋ ค" โ†’ add_rule("Always run tests before committing.")
  • "Remember to use semantic HTML" โ†’ add_rule("Use semantic HTML tags instead of generic divs.")

Or via CLI:

claude-dejavu rules add "This project uses pnpm, not npm."

Editing Rules

When the user wants to modify a rule:

  1. First show current rules using list_rules
  2. Then use edit_rule with the rule ID and new text
claude-dejavu rules edit r-001 "Use pnpm for all package operations, including scripts."

Removing Rules

claude-dejavu rules remove r-001

Reviewing Rules with Feedback

Show the user which rules are working and which aren't:

claude-dejavu rules feedback

This shows:

  • Fire count per rule (how many times it prevented a mistake)
  • Quality grade (A/B/C/D)
  • Dormant rules that might need removal

Guidelines

  • When adding rules, write them as clear, actionable instructions
  • Translate user's natural language into concise rule text
  • If the user speaks Korean/Japanese, still write the rule in English (Claude reads CLAUDE.md in English)
  • After adding/editing, confirm what was done and show the rule ID
  • Suggest reviewing with /dejavu or rules feedback periodically

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.