setup-semgrep-plugin作者: semgrep

Set up the Semgrep plugin by installing Semgrep, authenticating, and verifying compatibility

npx skills add https://github.com/semgrep/cursor-plugin --skill setup-semgrep-plugin

Setup Semgrep Plugin

Follow these steps to set up the Semgrep plugin:

1. Install Semgrep

Check if Semgrep is installed, and install it if not:

which semgrep || brew install semgrep

2. Authenticate with Semgrep

Log in to Semgrep (this will open a browser window):

semgrep login --force

3. Install Semgrep Pro Engine

Install the Pro engine for enhanced scanning capabilities:

semgrep install-semgrep-pro || true

4. Verify Installation

Confirm everything is working:

semgrep --pro --version

5. Check Version Compatibility

Verify your Semgrep version is >= 1.146.0:

semgrep --version

If your version is older than 1.146.0, please update:

brew upgrade semgrep

NotebookLM 网页导入器

一键将网页和 YouTube 视频导入 NotebookLM。超过 200,000 用户信赖。

安装 Chrome 扩展