Skip to content
Skills Library
Programming · Review & audit

codacy-issues-fetcher

/codacy-issues-fetcher

Retrieve and format Codacy analysis issues by running `scripts/codacy_issues.py` in the ExStruct workspace. Use when users ask to inspect repository or pull-request Codacy findings, filter by severity, or produce structured issue output for review and fix planning.

Repository
exstruct ↗
Licence
BSD-3-Clause
Last repository change
04.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 04.10.2026, without references to retired models or APIs.

Licence

BSD-3-Clause, otwarta.

What it does and when to use it

Retrieve and format Codacy analysis issues by running `scripts/codacy_issues.py` in the ExStruct workspace. Use when users ask to inspect repository or pull-request Codacy findings, filter by severity, or produce structured issue output for review and fix planning.

Original author description

Retrieve and format Codacy analysis issues by running `scripts/codacy_issues.py` in the ExStruct workspace. Use when users ask to inspect repository or pull-request Codacy findings, filter by severity, or produce structured issue output for review and fix planning.

How it works

  1. Workflow
  2. Error Handling
  3. Output Policy
Original SKILL.md headings · 51 lines, 276 words
SKILL.md preview
---
name: codacy-issues-fetcher
description: Retrieve and format Codacy analysis issues by running `scripts/codacy_issues.py` in the ExStruct workspace. Use when users ask to inspect repository or pull-request Codacy findings, filter by severity, or produce structured issue output for review and fix planning.
---

# Codacy Issues Fetcher

Run `scripts/codacy_issues.py` as the primary interface to Codacy issue retrieval.
Avoid reimplementing API calls unless the script itself must be changed.

## Workflow

1. Confirm prerequisites.
- Run from repository root so `scripts/codacy_issues.py` is reachable.
- Ensure `CODACY_API_TOKEN` is set and valid.
- Prefer explicit `org` and `repo` if user provides them; otherwise rely on Git `origin` auto-detection.

2. Choose scope and severity.
- Repository scope: omit `--pr`.
- Pull request scope: pass `--pr <number>`.
- Severity filter (`--min-level`): `Error`, `High`, `Warning`, `Info`.
- Provider (`--provider`): `gh`, `gl`, `bb` (default is effectively `gh`).

3. Run one of the command patterns.

```powershell
# Repository issues (explicit target)
python scripts/codacy_issues.py <org> <repo> --provider gh --min-level Warning

# Pull request issues (explicit target)
python scripts/codacy_issues.py <org> <repo> --pr <number> --provider gh --min-level Warning

# Pull request issues (auto-detect org/repo from git origin)
python scripts/codacy_issues.py --pr <number> --min-level Warning
```

4. Parse output JSON and respond with actionable summary.
- Trust payload fields: `scope`, `organization`, `repository`, `pullRequest`, `minLevel`, `total`, `issues`.
- `issues` entries are formatted as:
  `<level> | <file_path>:<line_no> | <rule> | <category> | <message>`
- Report high-severity findings first, then summarize counts.

## Error Handling

- `HTTP 401` / `Unauthorized`: token invalid or missing permissions. Ask user to set or refresh `CODACY_API_TOKEN`.
- `CODACY_API_TOKEN is not set`: export the environment variable before retrying.
- `Invalid --provider`: use only `gh`, `gl`, or `bb`.
- Segment validation errors (`Invalid org/repo/pr`): sanitize input and rerun.

## Output Policy

- Return concise triage-ready results, not raw command logs.
- Include the exact command you used when reproducibility matters.
- If no issues match the selected `--min-level`, state that explicitly.
Files in this package (2)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB

Versions

The database has no other skills named codacy-issues-fetcher.

Database snapshot: 13.11.2026 · package version 06e65d0dd2f8 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100codacy-cloud-cli
    Uses the Codacy Cloud CLI to query repositories, issues, security findings, pull requests, tools, and patterns on Codacy Cloud. Use whenever the user mentions Codacy, asks about code quality metrics, wants to check issues or findings in a repo, inspect a pull request analysis,…
  • 100codacy-code-review
    Enriches pull request code reviews with Codacy data — quality issues, security findings, coverage, and duplication. Use whenever the user asks to review a PR, check what a pull request introduced, verify PR coverage, look at PR quality, or find new issues in a PR. Also use when…
  • 100evo-gh-data-fetcher
    Fetches pull request and issue data from a GitHub repository using the GitHub REST API via curl/subprocess. Handles JSON output parsing, pagination, date range filtering, and error handling. Use when you need to retrieve structured PR or issue data from GitHub for analysis.
  • 90exstruct-cli
    Use ExStruct CLI to validate, inspect, create, and edit Excel workbooks safely. Trigger when an agent needs `exstruct patch`, `exstruct make`, `exstruct validate`, `exstruct ops list`, or `exstruct ops describe`, especially for create-vs-edit decisions, dry-run workflows,…
  • 90adr-drafter
    Draft a new ExStruct ADR or propose an update to an existing ADR from an issue, PR, diff, tests, and specs. Use when an ADR is required or recommended and you need a structured draft with context, decision, consequences, and evidence.
  • 100github-gh-cli
    Inspect GitHub pull requests, issues, workflow runs, and API data with the gh CLI. Use when the user wants repository facts from GitHub without opening the browser, especially for PR status, CI failures, issue lists, or structured JSON output.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.