backstage-frontend-plugin

Community

Build Backstage UIs, faster, with less effort.

Authorrothenbergt
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Developing Backstage frontend plugins, especially with the "New Frontend System," can be complex, requiring deep knowledge of blueprints, Utility APIs, routing, and testing. This Skill simplifies that process, guiding you through best practices and providing golden path templates to accelerate your development.

Core Features & Use Cases

  • Specialized Workflows: Step-by-step procedures for creating and configuring frontend plugins.
  • Best Practices: Production-ready patterns for lazy loading, error handling, permissions, and comprehensive testing.
  • Golden Path Templates: Copy/paste code snippets for common plugin patterns like pages, navigation items, entity content, and shared Utility APIs.
  • Use Case: Quickly scaffold and convert a legacy Backstage frontend plugin to the New Frontend System, adding a new page and navigation item with best practices for lazy loading and testing, all without deep diving into extensive documentation.

Quick Start

Example: Define a new Backstage frontend plugin with a page and navigation item.

This snippet goes into src/plugin.ts after scaffolding.

import { createFrontendPlugin, PageBlueprint, NavItemBlueprint, } from '@backstage/frontend-plugin-api'; import { rootRouteRef } from './routes'; import ExampleIcon from '@material-ui/icons/Extension';

const examplePage = PageBlueprint.make({ params: { routeRef: rootRouteRef, path: '/example', loader: () => import('./components/ExampleComponent').then(m => <m.ExampleComponent />), }, });

const exampleNavItem = NavItemBlueprint.make({ params: { routeRef: rootRouteRef, title: 'Example', icon: ExampleIcon, }, });

export const examplePlugin = createFrontendPlugin({ pluginId: 'example', extensions: [examplePage, exampleNavItem], routes: { root: rootRouteRef }, });

Dependency Matrix

Required Modules

@backstage/frontend-plugin-api@backstage/core-plugin-api@backstage/plugin-catalog-react@backstage/plugin-permission-react

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: backstage-frontend-plugin
Download link: https://github.com/rothenbergt/backstage-agent-skills/archive/main.zip#backstage-frontend-plugin

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.