Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rules and instructions for agentic coding tools like Cursor, Claude CLI, Gemini CLI, Qodo, Cline and more

License

Notifications You must be signed in to change notification settings

lirantal/agent-rules

agent-rules

Rules and instructions for agentic coding tools like Cursor, GitHub Copilot, Claude CLI and Gemini CLI.

npm version license downloads build codecov Known Vulnerabilities Responsible Disclosure Policy

agent-rules logo

Usage

Interactive Mode

npx agent-rules

This will start an interactive session where you can select the AI app and topics.

Supported AI Apps

AI App Supported
GitHub Copilot
Cursor
Claude CLI
Gemini CLI

Command Line Interface

You can also use command line flags to skip the interactive prompts:

# Generate rules for a specific AI app and topic
npx agent-rules --app cursor --topics secure-code

# Generate rules for multiple topics
npx agent-rules --app github-copilot --topics secure-code --topics testing

# Use short flags
npx agent-rules -a claude-code -t security-vulnerabilities

# Show help
npx agent-rules --help

# Show version
npx agent-rules --version

Available Options

AI Apps:

  • github-copilot - GitHub Copilot
  • cursor - Cursor
  • claude-code - Claude Code
  • gemini - Gemini CLI

Topics:

  • secure-code - Secure coding practices
  • security-vulnerabilities - Security vulnerability scanning and fixes
  • testing - Testing strategy and guidelines

Rules

Current category of rules available:

Contributing

Please consult CONTRIBUTING for guidelines on contributing to this project.

Author

agent-rules © Liran Tal, Released under the Apache-2.0 License.

About

Rules and instructions for agentic coding tools like Cursor, Claude CLI, Gemini CLI, Qodo, Cline and more

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •