fix-false-positives
Skill by solana-foundation
Helps Solana developers reduce false positives from the program_autofixer by ranking rules by dismissal telemetry from Databricks. It then diagnoses root causes in rule visitors and implements fixes after user approval.
Install fix-false-positives
Built from the published package, never by AI.
git clone --depth 1 https://github.com/solana-foundation/solana-mcp /tmp/solana-mcp && mkdir -p ~/.claude/skills && cp -r /tmp/solana-mcp/.claude/skills/fix-false-positives ~/.claude/skills/fix-false-positivesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/solana-foundation/solana-mcp /tmp/solana-mcp && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/solana-mcp/.claude/skills/fix-false-positives ~/.gemini/antigravity-cli/skills/fix-false-positivesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install fix-false-positives in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill reduces false positives in the program_autofixer, a tool that flags issues in Solana programs. It queries 90 days of dismissal telemetry from Databricks and ranks rules by how often their findings get dismissed. For a chosen rule, it breaks dismissals down by which false_positive_hints entry the model matched, then reads the rule's visitor source to confirm a root cause.
The skill works as a step-by-step conversation. It proposes the narrowest fix, names the false-negative risk, and waits for the user to approve before editing code. It adds fixtures for both the false-positive pattern and a near-miss unsafe variant, runs pnpm test, and commits only with approval. It is aimed at maintainers of the autofixer who want to cut dismissal rates.
Written from the project's SKILL.md and checked against it.
What it can do
- Rank rules by dismissal burdenQueries the last 90 days of program_autofixer telemetry and ranks rules by absolute dismissals.
- Break down dismissals by hintShows which false_positive_hints index the model matched for a chosen rule, or whether it matched none.
- Diagnose root causeReads the rule's visitor and shared helper files to confirm why a false positive happens.
- Propose a scoped fixDescribes the change, expected dismissals removed, what it leaves uncovered, and the false-negative risk.
- Add paired fixturesAdds test fixtures for the false-positive pattern and a near-miss unsafe variant to the autofixer tests.
- Grade past fixesChecks recent visitor commits and re-runs the query after a fix deployed to show before and after results.
What you need
- Databricks access with the mcp__databricks__execute_sql_read_only tool
- Deployed bundle values for catalog and schema from databricks.yml
- A git repository containing the program_autofixer source
- pnpm to run the test suite
Try asking
- Fix false positives in the autofixer and rank rules by dismissal burden.
- Why is the arbitrary-cpi rule getting dismissed so often?
- Triage autofixer false positives for the last 90 days and recommend one rule.
Good to know
- Dismissal reason text and fingerprints are not logged, so telemetry shows which condition matched but not the specific code.
- Telemetry arrives weeks after a change, so passing tests do not prove a fix worked.
- Changes are committed only with user approval, and nothing is pushed or opened as a PR unless the user asks.
- Catalog and schema values are not committed, so the user must supply them if they cannot be resolved.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/fix-false-positives/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to fix-false-positives
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
fix-false-positives: common questions
What does the fix-false-positives skill change in the autofixer?
It edits the rule visitor and shared helpers when the user approves a proposed fix. It also adds fixtures and updates false_positive_hints if needed.
Does the skill commit or push code on its own?
No. It shows the diff and asks before committing, stages only the touched files, and does not push or open a PR unless the user asks.
How does the skill decide which rule to fix first?
It ranks rules by absolute dismissal count rather than percentage and ignores rules with fewer than about 20 fires.
How do I install fix-false-positives?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is fix-false-positives free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is fix-false-positives safe to use?
It scores 68 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to fix-false-positives?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
