Naftiko · Capability

Backstage Scaffolding Standard

A standard capability documenting the Naftiko Backstage scaffolding contract — required template inputs, naming, registry path.

Run with Naftiko NaftikoBackstageStandard

What You Can Do

GET
List templates
/templates

MCP Tools

list-templates

read-only
get-template

read-only

Capability Spec

backstage-scaffolding-standard.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  title: Backstage Scaffolding Standard
  description: A standard capability documenting the Naftiko Backstage scaffolding contract — required template inputs, naming, registry path.
  tags: [Naftiko, Backstage, Standard]
  created: '2026-05-01'
  modified: '2026-05-04'
binds:
- namespace: backstage-env
  keys: {BACKSTAGE_HOST: BACKSTAGE_HOST, BACKSTAGE_TOKEN: BACKSTAGE_TOKEN}
capability:
  consumes:
  - namespace: backstage
    type: http
    baseUri: https://{{BACKSTAGE_HOST}}
    authentication: {type: bearer, token: '{{BACKSTAGE_TOKEN}}'}
    resources:
    - {name: templates, path: /api/scaffolder/v2/templates, operations: [{name: list-templates, method: GET}]}
    - name: template
      path: /api/scaffolder/v2/templates/{{namespace}}/{{name}}
      operations:
      - {name: get-template, method: GET, inputParameters: [{name: namespace, in: path}, {name: name, in: path}]}
  exposes:
  - type: rest
    address: 0.0.0.0
    port: 8080
    namespace: backstage-scaffolding-standard-rest
    description: REST surface exposing the scaffolding standard's templates.
    resources:
    - {name: templates, path: /templates, operations: [{method: GET, name: list-templates, call: backstage.list-templates}]}
  - type: mcp
    address: 0.0.0.0
    port: 3010
    namespace: backstage-scaffolding-standard-mcp
    description: MCP exposing the scaffolding standard.
    tools:
    - {name: list-templates, hints: {readOnly: true}, call: backstage.list-templates}
    - name: get-template
      hints: {readOnly: true}
      inputParameters: [{name: namespace, type: string, required: true}, {name: name, type: string, required: true}]
      call: backstage.get-template
  - type: skill
    address: 0.0.0.0
    port: 3011
    namespace: backstage-scaffolding-standard-skills
    description: Skill for the scaffolding standard.
    skills:
    - name: backstage-scaffolding-standard
      description: Naftiko Backstage scaffolding standard.
      location: file:///opt/naftiko/skills/backstage-scaffolding-standard
      allowed-tools: list-templates,get-template
      tools:
      - {name: list-templates, from: {sourceNamespace: backstage-scaffolding-standard-mcp, action: list-templates}}
      - {name: get-template, from: {sourceNamespace: backstage-scaffolding-standard-mcp, action: get-template}}