greppable/greppable-cc-plugin/managing-gdl-rules
Claude Code and agent skill by greppable/greppable-cc-plugin
- community
Checking that the SKILL.md file is still in the repository.
Use when creating, reviewing, or maintaining @rule records in rules.gdl files — provides format reference, quality criteria for what makes a rule worth writing, severity calibration, and the gdl_rules_for_file helper. Triggers on: rules.gdl files, 'add a rule', 'create a coding rule', 'enforce this convention', observing a strong codebase convention. NOT for @memory observations, .gdlm files, or general code review.
Install
npx vskill@latest install greppable/greppable-cc-plugin/managing-gdl-rulesSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as greppable/greppable-cc-plugin/managing-gdl-rules.
GDL Rules Reference
Current Rules
!bash -c 'if [ -f rules.gdl ]; then echo "From rules.gdl:"; echo ""; grep "^@rule" rules.gdl 2>/dev/null; else echo "No rules.gdl found in project root."; fi'
What Makes a Rule Worth Writing
A rule captures a project-specific convention with codebase evidence. Not a generic best practice.
| Good rule (project-specific) | Bad rule (generic) | |
|---|---|---|
| "API routes must validate input with zod schemas" | "Use descriptive variable names" | |
| "Never modify existing migrations — create new ones" | "Write clean code" | |
| "React components use PascalCase filenames" | "Follow naming conventions" |
The test: Can you point to 3+ files that follow this convention? If yes, it's a rule. If it's advice you'd give on any project, it's not.
When to Write vs Observe
- Write a @rule when: you've seen the convention in 3+ files, or the user explicitly confirms it
- Write a @memory observation when: you've noticed a pattern but aren't sure it's intentional
- Don't write anything when: it's a language-level best practice that any linter would catch
Format
| Field | Values | Meaning | |
|---|---|---|---|
scope | Glob pattern (*.ts, src/api/**, **/*.test.*) | Which files this rule applies to | |
severity | error | Will break things if violated — wrong behavior, data loss, security | |
warn | Convention that should be followed — consistency, maintainability | ||
info | Team preference — style, approach | ||
desc | Free text | What the rule requires (imperative form) |
Tool Function
Grep Patterns
Where Rules Live
<gdl_root>/data/rules.gdl or rules.gdl in the project root.
Lifecycle
- Discovery — agent proposes initial rules based on observed conventions, user confirms
- Sessions — Claude notices a strong convention while working, proposes a rule
- Review — user or agent adjusts severity, scope, or removes outdated rules
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/managing-gdl-rules/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/greppable/greppable-cc-plugin/managing-gdl-rules)