deepsource

Retrieve code quality issues, vulnerabilities, and report cards from DeepSource analysis runs.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/imrishuroy/algopatterns --skill deepsource-imrishuroy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deepsource
Source: https://github.com/imrishuroy/algopatterns/tree/main/.agents/skills/deepsource
Command: npx skills add https://github.com/imrishuroy/algopatterns --skill deepsource-imrishuroy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It gives you direct access to DeepSource code review results—issues, security vulnerabilities, report card grades, and analysis run status—without leaving your workflow or opening the DeepSource dashboard. ## Core Features & Use Cases - Issue Retrieval: Fetch code review issues filtered by severity, category, file path, PR, or branch in JSON format. - Security & Vulnerability Reports: List dependency CVEs and security findings scoped to a PR, commit, or the default branch. - Report Cards & Run Status: Get A-F grades for security, reliability, complexity, hygiene, and coverage, plus analysis run history. - Use Case: Before merging a pull request, ask for the critical security issues on PR 42 and the report card for that branch to decide whether the code is ready to ship. ## Quick Start Ask the assistant to show all critical and major issues on the current branch using the DeepSource CLI.

Frequently Asked Questions about deepsource

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get DeepSource issues for a pull request?

Run deepsource issues --pr 42 --output json to list issues scoped to a specific pull request. You can combine this with severity and category filters, such as --severity critical,major or --category security,bug-risk.

How to check code quality report card from DeepSource CLI?

Run deepsource report-card --output json to get A-F grades and scores for security, reliability, complexity, hygiene, coverage, and an aggregate. Scope it with --pr or --commit for a specific change.

Can DeepSource CLI filter vulnerabilities by severity?

Yes, deepsource vulnerabilities --severity critical,high --output json returns only the matching severity levels. You can also scope results to a PR or the default branch with --pr or --default-branch.

Does DeepSource CLI work outside a git repository?

Inside a git repo the CLI auto-detects the repository and current branch. Outside a repo, or when targeting a different one, pass --repo in the provider/owner/name format, where provider is gh, gl, bb, or ads.

Why can't I combine --pr and --commit flags in DeepSource CLI?

The scope flags --commit, --pr, and --default-branch are mutually exclusive and cannot be combined in one command. Omit all three to use automatic branch detection instead.