kibana-privilege-deprecation
Skill by elastic
Guides Kibana developers through implementing and reviewing backward-compatible feature privilege deprecations. It covers renames, splits, consolidations and the replacedBy mapping system.
Install kibana-privilege-deprecation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.claude/skills && cp -r /tmp/kibana/.agents/skills/kibana-privilege-deprecation ~/.claude/skills/kibana-privilege-deprecationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install kibana-privilege-deprecation in Claude Code
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kibana/.agents/skills/kibana-privilege-deprecation ~/.gemini/antigravity-cli/skills/kibana-privilege-deprecationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install kibana-privilege-deprecation in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides the implementation and review of backward-compatible Kibana feature privilege deprecations. It uses the deprecated privilege mapping framework. It applies when a feature is renamed, split or consolidated, when capabilities move between features or sub-features, and when reviewing deprecation pull requests.
The skill explains the steps. Developers register replacement features, mark the old feature as deprecated with a localized notice while keeping its ID, and define replacedBy on every privilege. It also lists startup validation rules and a PR review checklist. Roles are not auto-migrated. Deprecated privileges are replaced when an admin saves through the UI. It is intended for Kibana developers.
Written from the project's SKILL.md and checked against it.
What it can do
- Register replacement featuresShows how to register new features with deps.features.registerKibanaFeature().
- Mark a feature as deprecatedAdds a deprecated property with a localized notice and keeps the original feature ID.
- Define replacedBy mappingsCovers the simple array form and the default and minimal form for features with sub-features.
- Update routes and client codeCovers API privileges, UI capability checks, alerting consumers and cases owners.
- PR review checklistLists checks for deprecation PRs that startup validation does not catch.
What you need
- Kibana source repository
Try asking
- Review this PR that deprecates a Kibana feature and check its replacedBy mapping
- Show me how to split a Kibana feature into two with a deprecated original
- Write the deprecated property with a localized notice for feature_x
Good to know
- Roles are not auto-migrated; deprecated privileges change only when an admin saves via the UI
- Kibana refuses to start if the listed replacedBy validation rules are violated
- Deprecated features are frozen for backward compatibility
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/kibana-privilege-deprecation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/reference.md6 KB
Alternatives to kibana-privilege-deprecation
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
kibana-privilege-deprecation: common questions
Does it migrate existing roles automatically?
No. Roles are not auto-migrated. Deprecated privileges are replaced with current ones when an admin saves a role through the UI.
What happens if a replacedBy mapping is missing?
Kibana will refuse to start. Deprecated features must define replacedBy on every privilege, and the referenced replacement features must exist and not be deprecated.
Does the deprecated feature ID change?
No. The skill states that the feature ID must stay the same as the original when a feature is marked deprecated.
How do I install kibana-privilege-deprecation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is kibana-privilege-deprecation free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is kibana-privilege-deprecation safe to use?
It scores 81 of 100. Grades: maintenance A, licence F, 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 kibana-privilege-deprecation?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
