|
| 1 | +--- |
| 2 | +# AI Catalog sample fixtures — one entity per AI asset category. |
| 3 | +# Used by the dev app for local development and testing. |
| 4 | + |
| 5 | +# --------------------------------------------------------------------------- |
| 6 | +# AiResource / skill |
| 7 | +# --------------------------------------------------------------------------- |
| 8 | +apiVersion: backstage.io/v1alpha1 |
| 9 | +kind: AiResource |
| 10 | +metadata: |
| 11 | + name: code-review-skill |
| 12 | + title: Code Review Skill |
| 13 | + description: Automated code review that checks for common issues, security vulnerabilities, and style violations. |
| 14 | + tags: |
| 15 | + - code-review |
| 16 | + - security |
| 17 | + - quality |
| 18 | + annotations: |
| 19 | + rhdh.io/ai-asset-category: skill |
| 20 | + rhdh.io/ai-asset-version: '1.2.0' |
| 21 | + rhdh.io/ai-asset-source: github |
| 22 | + backstage.io/techdocs-ref: dir:. |
| 23 | + links: |
| 24 | + - url: https://github.com/example/code-review-skill |
| 25 | + title: Source Repository |
| 26 | +spec: |
| 27 | + type: skill |
| 28 | + lifecycle: production |
| 29 | + owner: team-ai-platform |
| 30 | + disciplines: |
| 31 | + - software-engineering |
| 32 | + categories: |
| 33 | + - code-quality |
| 34 | + agents: |
| 35 | + - component:default/developer-assistant |
| 36 | + |
| 37 | +--- |
| 38 | +# --------------------------------------------------------------------------- |
| 39 | +# AiResource / rule |
| 40 | +# --------------------------------------------------------------------------- |
| 41 | +apiVersion: backstage.io/v1alpha1 |
| 42 | +kind: AiResource |
| 43 | +metadata: |
| 44 | + name: no-hardcoded-secrets-rule |
| 45 | + title: No Hardcoded Secrets |
| 46 | + description: Ensures that secrets, API keys, and credentials are never committed to source code repositories. |
| 47 | + tags: |
| 48 | + - security |
| 49 | + - compliance |
| 50 | + - secrets |
| 51 | + annotations: |
| 52 | + rhdh.io/ai-asset-category: rule |
| 53 | + rhdh.io/ai-asset-version: '2.0.1' |
| 54 | + rhdh.io/ai-asset-source: internal |
| 55 | +spec: |
| 56 | + type: rule |
| 57 | + lifecycle: production |
| 58 | + owner: team-security |
| 59 | + category: security |
| 60 | + rationale: Hardcoded secrets in source code can be extracted by attackers, leading to credential compromise and unauthorized access to systems. |
| 61 | + |
| 62 | +--- |
| 63 | +# --------------------------------------------------------------------------- |
| 64 | +# API / mcp-server |
| 65 | +# --------------------------------------------------------------------------- |
| 66 | +apiVersion: backstage.io/v1alpha1 |
| 67 | +kind: API |
| 68 | +metadata: |
| 69 | + name: github-mcp-server |
| 70 | + title: GitHub MCP Server |
| 71 | + description: Model Context Protocol server providing GitHub repository context, pull request data, and issue tracking integration. |
| 72 | + tags: |
| 73 | + - github |
| 74 | + - mcp |
| 75 | + - context |
| 76 | + annotations: |
| 77 | + rhdh.io/ai-asset-category: mcp-server |
| 78 | + rhdh.io/ai-asset-version: '0.9.0' |
| 79 | + rhdh.io/ai-asset-source: registry |
| 80 | +spec: |
| 81 | + type: mcp-server |
| 82 | + lifecycle: experimental |
| 83 | + owner: team-integrations |
| 84 | + definition: | |
| 85 | + openapi: 3.0.0 |
| 86 | + info: |
| 87 | + title: GitHub MCP Server |
| 88 | + version: 0.9.0 |
| 89 | + remotes: |
| 90 | + - url: https://mcp.example.com/github |
| 91 | + transport: streamable-http |
| 92 | + |
| 93 | +--- |
| 94 | +# --------------------------------------------------------------------------- |
| 95 | +# Component / ai-agent |
| 96 | +# --------------------------------------------------------------------------- |
| 97 | +apiVersion: backstage.io/v1alpha1 |
| 98 | +kind: Component |
| 99 | +metadata: |
| 100 | + name: developer-assistant |
| 101 | + title: Developer Assistant Agent |
| 102 | + description: An AI agent that helps developers with code generation, debugging, architecture decisions, and documentation. |
| 103 | + tags: |
| 104 | + - agent |
| 105 | + - developer |
| 106 | + - assistant |
| 107 | + annotations: |
| 108 | + rhdh.io/ai-asset-category: agent |
| 109 | + rhdh.io/ai-asset-version: '3.1.0' |
| 110 | + rhdh.io/ai-asset-source: internal |
| 111 | +spec: |
| 112 | + type: ai-agent |
| 113 | + lifecycle: production |
| 114 | + owner: team-ai-platform |
| 115 | + |
| 116 | +--- |
| 117 | +# --------------------------------------------------------------------------- |
| 118 | +# Resource / ai-model |
| 119 | +# --------------------------------------------------------------------------- |
| 120 | +apiVersion: backstage.io/v1alpha1 |
| 121 | +kind: Resource |
| 122 | +metadata: |
| 123 | + name: granite-3-code |
| 124 | + title: Granite 3 Code |
| 125 | + description: IBM Granite 3 code model optimized for code generation, completion, and explanation tasks. |
| 126 | + tags: |
| 127 | + - model |
| 128 | + - code-generation |
| 129 | + - ibm |
| 130 | + annotations: |
| 131 | + rhdh.io/ai-asset-category: model |
| 132 | + rhdh.io/ai-asset-version: '3.0.0' |
| 133 | + rhdh.io/ai-asset-source: model-registry |
| 134 | +spec: |
| 135 | + type: ai-model |
| 136 | + lifecycle: production |
| 137 | + owner: team-ml-ops |
| 138 | + |
| 139 | +--- |
| 140 | +# --------------------------------------------------------------------------- |
| 141 | +# Resource / ai-tool |
| 142 | +# --------------------------------------------------------------------------- |
| 143 | +apiVersion: backstage.io/v1alpha1 |
| 144 | +kind: Resource |
| 145 | +metadata: |
| 146 | + name: web-search-tool |
| 147 | + title: Web Search Tool |
| 148 | + description: A tool that performs web searches and returns structured results for AI agent consumption. |
| 149 | + tags: |
| 150 | + - tool |
| 151 | + - search |
| 152 | + - web |
| 153 | + annotations: |
| 154 | + rhdh.io/ai-asset-category: tool |
| 155 | + rhdh.io/ai-asset-version: '1.0.0' |
| 156 | + rhdh.io/ai-asset-source: kagenti |
| 157 | +spec: |
| 158 | + type: ai-tool |
| 159 | + lifecycle: experimental |
| 160 | + owner: team-integrations |
| 161 | + |
| 162 | +--- |
| 163 | +# --------------------------------------------------------------------------- |
| 164 | +# Resource / vector-store |
| 165 | +# --------------------------------------------------------------------------- |
| 166 | +apiVersion: backstage.io/v1alpha1 |
| 167 | +kind: Resource |
| 168 | +metadata: |
| 169 | + name: docs-vector-store |
| 170 | + title: Documentation Vector Store |
| 171 | + description: Vector store containing embeddings of internal documentation, runbooks, and knowledge base articles. |
| 172 | + tags: |
| 173 | + - vector-store |
| 174 | + - documentation |
| 175 | + - rag |
| 176 | + annotations: |
| 177 | + rhdh.io/ai-asset-category: vector-store |
| 178 | + rhdh.io/ai-asset-version: '1.1.0' |
| 179 | + rhdh.io/ai-asset-source: internal |
| 180 | +spec: |
| 181 | + type: vector-store |
| 182 | + lifecycle: production |
| 183 | + owner: team-ai-platform |
0 commit comments