upgrade-fab-provider
Skill by apache
Upgrades the pinned Flask-AppBuilder dependency in the Apache Airflow FAB provider. It covers the version pin, uv.lock, the alignment test and the security manager review, for maintainers of that provider.
Install upgrade-fab-provider
Built from the published package, never by AI.
git clone --depth 1 https://github.com/apache/airflow /tmp/airflow && mkdir -p ~/.claude/skills && cp -r /tmp/airflow/.agents/skills/upgrade-fab-provider ~/.claude/skills/upgrade-fab-providerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/apache/airflow /tmp/airflow && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/airflow/.agents/skills/upgrade-fab-provider ~/.gemini/antigravity-cli/skills/upgrade-fab-providerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install upgrade-fab-provider in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides a developer through bumping the exact flask-appbuilder pin in Airflow's FAB provider at providers/fab/. It updates the pin and the matching EXPECTED_FAB_VERSION constant, regenerates uv.lock with the repo's pinned uv version, and runs the test_fab_alignment.py drift test. It also explains how to review the vendored security manager override.py against the new upstream FAB.
The source says a version bump is not a one-line change, because the provider vendors large parts of FAB's security manager. Static assets and DB migrations are re-vendored only when the new FAB release changes them. The skill is written for Airflow FAB provider maintainers and uses PR #66841 as the reference bump.
Written from the project's SKILL.md and checked against it.
What it can do
- Bump the FAB pinUpdates the flask-appbuilder version in providers/fab/pyproject.toml and the matching constant in the alignment test.
- Regenerate uv.lockRebuilds the lock file using the repo's pinned uv version so the diff stays limited to the FAB bump.
- Run the alignment testRuns test_fab_alignment.py to detect drift between installed FAB and the vendored override.py.
- Review override.pyGuides a manual comparison of the vendored security manager against the new upstream FAB source.
- Re-vendor static assetsDescribes when and how to rebuild www assets and regenerate www-hash.txt after FAB template or static changes.
- Add DB migrationsDescribes when to add migrations for new FAB security-model tables and which prek hooks to run.
- Run static checks and testsRuns the pre-commit stage and the FAB auth manager unit tests before committing.
- Prepare the commitChecks the diff scope and gives commit subject and body conventions for the bump.
What you need
- uv
- prek
- pytest
- Python environment for the providers/fab project
- pnpm, for the asset compile hook
Try asking
- Upgrade FAB in the Airflow FAB provider to the latest release
- Bump flask-appbuilder to 5.2.2 and run the alignment test
- Review override.py against the new upstream FAB security manager
Good to know
- The alignment test checks method presence and required parameters, not behavioural parity.
- uv.lock must be regenerated with the pinned uv version, or it drifts.
- Do not hand-edit README.rst or the changelog; they are generated.
- Major or minor bumps should be confirmed with the user before editing.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/upgrade-fab-provider/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB
Alternatives to upgrade-fab-provider
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
upgrade-fab-provider: common questions
Why is bumping flask-appbuilder more than changing one line?
The source says Airflow vendored FAB's security-manager code into override.py, so each bump must be reconciled against that code. The alignment test enforces this in CI.
Does a passing alignment test mean the upgrade is complete?
No. The source says a green test proves structural alignment only, and a manual review of behavioural changes is still required.
Should I edit the FAB provider changelog for the bump?
No. The source says not to edit providers/fab/docs/changelog.rst, because the release manager regenerates it from git log and the commit subject is the entry.
How do I install upgrade-fab-provider?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is upgrade-fab-provider free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is upgrade-fab-provider safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. 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 upgrade-fab-provider?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
