static-analysis
Skill2 starsChanged 10 days agoMITView on GitHub
Triage and fix static analysis findings across any programming language. Use this skill when running linters (ruff, eslint, clippy, shellcheck), analyzing lint output, fixing warnings or errors, or managing cross-language static analysis results in a project — even if they just say "run the linter" or "fix the lint warnings". Trigger on "lint", "static analysis", "triage warnings", "fix findings". Not for code-review-assistant, security-code-auditor.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- Nox-Lumen-tech/combo-skillstheir own version, first seen Nov 2, 2026
- ROCm/rocprofiler-systems-skillstheir own version, first seen Oct 27, 2026
- ZhongYecheng/stm32_skillstheir own version, first seen Oct 15, 2026
- kdy1/kdy1-scriptstheir own version, first seen Oct 13, 2026
- Z3Prover/z3their own version, first seen Oct 8, 2026
- felvieira/claude-skills-fvtheir own version, first seen Sep 2, 2026
Used with
Projects with it also use build-keil, can-debug and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ZhongYechengSkillbuild-keil
当需要通过 Keil MDK 命令行编译嵌入式工程,调用自带脚本解析工程文件、执行构建并定位固件产物时使用。
Also in 3 projects that use this
ZhongYechengSkillcan-debug
当需要调试 CAN 总线通信时使用,支持通过 USB-CAN 适配器监听、发送 CAN 帧和扫描节点。
Also in 3 projects that use this
iPlug2Skillbuild-cmake
Build an iPlug2 plugin project using CMake with Ninja, Xcode, or Visual Studio generators
Also in 3 projects that use this
- +9 more from ZhongYecheng
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- Z3Prover/z3★ 13ksame name
- 0x-Shashi/WEB3-AUDIT-SKILLS★ 61same name
- kdy1/kdy1-scripts★ 33same name
- felvieira/claude-skills-fv★ 27same name
- ZhongYecheng/stm32_skills★ 8same name
- zycdzh/stm32_skills★ 8same name
- ROCm/rocprofiler-systems-skills★ 5same name
- Nox-Lumen-tech/combo-skills★ 4same name
- squall-chua/skills★ 2same name
- LiTianYun/claude-skills★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository63 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/avoid-ai-writing/AGENTS.mdAGENTS.md
- .agents/skills/do-web-doc-resolver/AGENTS.mdAGENTS.md
- .agents/skills/skill-evaluator/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- accessibility-auditorSkill
- agent-browserSkill
- agentic-abstentionSkill
- agents-mdSkill
- api-design-firstSkill
- architecture-diagramSkill
- avoid-ai-writingSkill
- cicd-pipelineSkill
- cloudflare-worker-apiSkill
- codacySkill
- codeberg-apiSkill
- code-review-assistantSkill
- css-render-performanceSkill
- database-devopsSkill
- debuggerSkill
- delegateSkill
- dependency-upgradesSkill
- dist-channel-selectionSkill
- docs-hookSkill
- document-rendering-and-locatorsSkill
- dogfoodSkill
- dora-reportSkill
- do-web-doc-resolverSkill
- durable-objectsSkill
- eu-ai-act-complianceSkill
- git-github-workflowSkill
- goap-agentSkill
- implementerSkill
- intent-classifierSkill
- iterative-refinementSkill
- jules-delegatorSkill
- learnSkill
- lifecycle-managementSkill
- local-context-sanitizationSkill
- memory-contextSkill
- migration-refactoringSkill
- nested-build-isolationSkill
- privacy-firstSkill
- progressive-deliverySkill
- pwa-offline-syncSkill
- reader-ui-uxSkill
- readme-best-practicesSkill
- secrets-managementSkill
- secure-invite-and-accessSkill
- security-code-auditorSkill
- shell-script-qualitySkill
- skill-creatorSkill
- skill-evaluatorSkill
- testing-strategySkill
- test-runnerSkill
- triz-solverSkill
- turso-dbSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 13 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Before committing changes (local linting).
- Distinctive: line 27
When CI quality gates or linting workflows fail.
- Distinctive: line 29
When integrating new languages or linters into a project.
- Distinctive: line 33
Always run local linters before pushing to minimize CI round-trips.
- Very specific: line 36
Run Targeted Linters: Use tools like markdownlint, shellcheck, or language-specific linters (e.g., eslint, ruff) on changed files.
- Very specific: line 37
Verify Quality Gate: Run ./scripts/quality_gate.sh (if available) to ensure all local checks pass.
- Distinctive: line 41
Read linter output from CI artifacts and PR annotations to identify regressions.
- Very specific: line 43
Check CI Summary: Read ci-summary.md or GitHub Action logs.
- Distinctive: line 44
Inspect Annotations: Look for line-specific comments from automated tools (Codacy, SonarCloud, GitHub Actions).
- Distinctive: line 49
Follow this structured process when responding to analysis findings:
- Distinctive: line 52
Error: Must be fixed or formally suppressed.
- Distinctive: line 53
Warning: Should be fixed if possible.
- Distinctive: line 57
If a fix is non-trivial or requires architectural changes, file a follow-up issue and document the technical debt.
- Distinctive: line 59
Never suppress an error without documenting *why*.
- Distinctive: line 60
Use the Required Comment Format.
- Distinctive: line 76
Use the Codacy Analysis CLI for targeted pre-commit and PR-scoped analysis:
- Very specific: line 109
If codacy.yml or a Codacy project exists:
- Very specific: line 112
Triage via CLI: Use codacy pull-request to fetch and ignore false positives if the dashboard is not accessible.
- Very specific: line 113
Configuration: Check .codacy.yml in the root for project-specific rules.
- Very specific: line 117
When suppressing a linter finding (e.g., via eslint-disable, noqa, or # shellcheck disable), you MUST include a comment in the following …
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Static Analysis & Linter Triage
Expert skill for managing static analysis, PR triage, and linting feedback loops across any programming language.
Quick Check
- Run pre-commit linters locally
- Classify CI lint failures by severity
- Auto-fix safe style/formatting issues
- Document every suppression with a valid reason
- File issues for complex architectural findings
When to Use
- Before committing changes (local linting).
- When CI quality gates or linting workflows fail.
- During PR reviews to triage static analysis findings.
- When integrating new languages or linters into a project.
Pre-commit Workflow
Always run local linters before pushing to minimize CI round-trips.
- Detect Changes: Identify files modified in the current session.
- Run Targeted Linters: Use tools like
markdownlint,shellcheck, or language-specific linters (e.g.,eslint,ruff) on changed files. - Verify Quality Gate: Run
./scripts/quality_gate.sh(if available) to ensure all local checks pass.
CI Integration
Read linter output from CI artifacts and PR annotations to identify regressions.
- Check CI Summary: Read
ci-summary.mdor GitHub Action logs. - Inspect Annotations: Look for line-specific comments from automated tools (Codacy, SonarCloud, GitHub Actions).
- Match to Source: Map CI errors back to local files and line numbers.
Agent Triage Workflow
Follow this structured process when responding to analysis findings:
- Classify Severity:
- Error: Must be fixed or formally suppressed. Blocks merge.
- Warning: Should be fixed if possible. Indicates potential future issues.
- Auto-fix Safe Findings:
- Immediately apply automated fixes for formatting (Prettier,
gofmt), imports (ruff,isort), or simple style rules.
- Immediately apply automated fixes for formatting (Prettier,
- Handle Complex Findings:
- If a fix is non-trivial or requires architectural changes, file a follow-up issue and document the technical debt.
- Suppressions:
- Never suppress an error without documenting why.
- Use the Required Comment Format.
Linter Tool Registry
| Language/Type | Recommended Linter | Local Command |
| Markdown | markdownlint-cli2 | npx markdownlint-cli2 "**/*.md" |
| Shell | shellcheck | shellcheck scripts/*.sh |
| JS / TS | eslint | npm run lint or npx eslint . |
| Python | ruff | ruff check . |
| Rust | clippy | cargo clippy |
| Go | golangci-lint | golangci-lint run |
| Secrets | gitleaks | gitleaks detect --source . -v |
Codacy Git-Aware Analysis
Use the Codacy Analysis CLI for targeted pre-commit and PR-scoped analysis:
# Pre-commit: analyze only staged files
codacy-analysis analyze --staged --output-format json
# Branch analysis: all changes vs merge base
codacy-analysis analyze --diff --output-format json
# PR analysis: changes vs PR target branch
codacy-analysis analyze --pr --output-format json
# Combine with specific tools
codacy-analysis analyze --staged --tool Ruff --tool ESLint9 --output-format jsonWhen to use:
--staged— Before committing; catches issues in exactly the code you're about to commit--diff— During development; sees all uncommitted + committed changes on the branch--pr— During PR review; compares against the PR's target branch
Parse results with jq for triage:
# Count issues by severity
codacy-analysis analyze --staged --output-format json | jq '.issues | group_by(.severity) | map({severity: .[0].severity, count: length})'
# Get critical/high only
codacy-analysis analyze --staged --output-format json | jq '[.issues[] | select(.severity == "Error" or .severity == "High")]'Codacy Integration
If codacy.yml or a Codacy project exists:
- Read PR Comments: Codacy posts findings as PR comments. Treat these as blocking if they are categorized as "Issues".
- Triage via CLI: Use
codacy pull-requestto fetch and ignore false positives if the dashboard is not accessible. - Configuration: Check
.codacy.ymlin the root for project-specific rules.
Suppression Guidelines
When suppressing a linter finding (e.g., via eslint-disable, noqa, or # shellcheck disable), you MUST include a comment in the following format:
[tool-disable] <rule-id>: <reason> -- <agent-id> (<date>)
Example:
# shellcheck disable=SC2034: Variable is used in sourced lib -- Jules (2025-05-15)
UNUSED_VAR="internal"Rationalizations
| Rationalization | Reality |
| "Linting slows me down" | Automated linting prevents 80% of trivial PR feedback, saving time in the long run. |
| "It's just a warning" | Warnings today are bugs tomorrow. Fixing them early maintains a "broken window" free codebase. |
| "I'll fix it in the next PR" | Technical debt starts with a single "I'll fix it later." Fix it now while the context is fresh. |
Red Flags
- Suppressing lint errors without a documented reason.
- Pushing code that fails local
./scripts/quality_gate.sh. - Ignoring "style" findings that affect readability (e.g., inconsistent naming).
- Manually fixing formatting instead of using automated tools.
See Also
code-review-assistant— PR review workflow with code smell detectioncodacy— Local Codacy Analysis CLI for static analysiscodacy— Codacy CLI for local analysis and cloud data queries
Voice & Context
- Default:
professional+blog - Reference:
voice-profilesskill for definitions and auto-detection.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

