Skip to content
Back to skills

Backstage Catalog Db Performance

ASecurity

Run and compare the Backstage catalog query performance battery against a safe database replica, capture PostgreSQL plans and buffers, detect regressions, and update the baseline. Use when changing catalog queries, indexes, schemas, or database performance behavior.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 4, 2026
ai-agentssqlgitdatabaseperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 4, 2026

npx -y skills add paulasilvatech/awesome-harness-primitives --skill backstage-catalog-db-performance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Backstage Catalog Db Performance?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Backstage Catalog Db Performance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/paulasilvatech-backstage-catalog-db-performance-awesome-harness-primitives/badge)](https://www.skillsdirectory.com/skills/paulasilvatech-backstage-catalog-db-performance-awesome-harness-primitives)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: backstage-catalog-db-performance
description: >-
  Run and compare the Backstage catalog query performance battery against a safe database replica,
  capture PostgreSQL plans and buffers, detect regressions, and update the baseline. Use when
  changing catalog queries, indexes, schemas, or database performance behavior.
license: Apache-2.0
metadata:
  source-repository: "https://github.com/backstage/backstage"
  source-commit: eeac444a9aba7c107525d2a726851e907418c181
---

<!-- Generated from harness/github-copilot/plugins/backstage-expert/skills/backstage-catalog-db-performance/SKILL.md by harness/claude-code/scripts/convert_from_copilot.py. Edit the source, not this file. -->

# Backstage catalog database performance

Use the pinned upstream procedure as detailed reference while protecting credentials and
production databases.

## When to invoke

- "Run the catalog query performance battery."
- "Compare catalog query plans to the baseline."
- "Check whether this catalog index change regressed performance."
- "Update the catalog database performance baseline."

## Procedure

1. Confirm Backstage core or close-fork mode and locate the catalog query battery and baseline.
2. Read [the pinned upstream procedure](references/upstream/catalog-db-performance.md).
3. Require a database replica or disposable test database. Do not run the battery against
   production.
4. Obtain connection details through environment configuration without writing or echoing them.
5. Establish catalog size and baseline comparability.
6. Run every documented scenario with its timeout, plan, timing, buffer, and anti-pattern capture.
7. Compare proportional timing and plan-shape changes to the previous baseline.
8. Update the baseline in its existing format only when the complete battery finished.
9. Report improvements, regressions, environment differences, and inconclusive scenarios.

## Output template

```markdown
## Catalog database performance result

**Database:** replica | disposable
**Baseline:** <path and date>

| Scenario | Plan change | Timing change | Buffers | Result |
| --- | --- | --- | --- | --- |

### Regressions
- <scenario, evidence, and recommendation>
```

## Quality gate

- [ ] The database is a replica or disposable test environment.
- [ ] Credentials were neither stored nor printed.
- [ ] Every scenario used the documented timeout and captured a plan.
- [ ] Catalog size differences are included in interpretation.
- [ ] The baseline changed only after a complete run.
- [ ] Regressions distinguish timing noise from plan-shape and index changes.

Files in this skill

  • SKILL.md2.5 KB
  • references/upstream/catalog-db-performance.md2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…