Logo di Konflux Component

Konflux Component

Organizzazione
opendatahub-io
konflux-component

Gestisci un componente Konflux

Panoramica

Pubblicato daopendatahub-io
Repositoryai-helpers
Nome della skillkonflux-component
Stelle
39
Fork
76
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da opendatahub-io su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Konflux Component in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-konflux/skills/konflux-component
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opendatahub-io/ai-helpers.git /tmp/ai-helpers
mkdir -p .claude/skills
cp -r /tmp/ai-helpers/plugins/odh-konflux/skills/konflux-component .claude/skills/konflux-component
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Konflux Component in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Konflux Component non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Konflux Component non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Name

odh-ai-helpers:konflux-component

Synopsis

/konflux:component status <component>
/konflux:component build <components> [--wait duration] [--nudge] [--wait-for-release release-duration]

Description

The konflux:component command to manage Konflux component(s).

This command helps you:

  • Get status of a component - last build, commit message, snapshot and release
  • Trigger build of a component and wait until the build or release is done

Implementation

Subcommand: status

The command performs the following steps:

  1. Prerequisites Check:

    • Verify oc CLI is installed: which oc
    • Verify cluster access: oc whoami
    • If not installed or not authenticated, provide clear instructions
    • Verify git CLI is installed: which git
    • Verify the current directory is a Git repository: git remote -v
  2. Parse Arguments:

    • component: Component name (required)
  3. List components:

    • Get component
      bash
      kubeclt get component {component} -o yaml
    • The application name is provided .spec.application
    • The component name is provided .spec.componentName
    • The Git repository URL is provided .spec.source.git.url
    • The commit SHA is provided .status.lastBuiltCommit
    • The image is provided .status.lastPromotedImage
  4. Get Git information:

    • Use git branch -a --contains <commit-sha> to find the branch name
    • The Git repository should be in the current working directory. If it is not fail the command.
  5. Get Snapshots:

    • Get snapshots of the component and order by oldest
      bash
      kubectl get snapshot -l pac.test.appstudio.openshift.io/sha={commit},appstudio.openshift.io/component={component} --sort-by=.metadata.creationTimestamp
  6. Get Releases:

    • Get releases object for each snapshot
      bash
      kubectl get release -l pac.test.appstudio.openshift.io/sha={commit},appstudio.openshift.io/component={component}
    • The snapshot is specified in .spec.snapshot
    • The .status.conditions show if the release failed or succeeded
  7. Display result:

    • Display the result:
      | Component        | Built SHA | lastPromotedImage    |  Commit Message             | Git Branch   | Snapshots (oldest first) |
      |------------------|-----------|----------------------|-----------------------------|--------------|--------------------------|
      | {component}      | {commit}  | {lastPromotedImage}  | {commit-message}            | {git-branch} | {snapshots}              |
      | otel-bundle-main | 8ba2e60   |                      | Fix service account (#693)  | main         | otel-main-jnhfz          |
    • Display snapshot with release information for each snapshot
      Component: {component}
      | Snapshot        | Release                       | Release status                           |
      |-----------------|-------------------------------|------------------------------------------|
      | {snapshot}      | {release}                     | {release-status}                         |
      | otel-main-jnhfz | otel-main-jnhfz-8ba2e60-nnwnp | Failed (ManagedPipelineProcessed failed) |

Subcommand: build

The command performs the following steps:

  1. Prerequisites Check:

    • Verify oc CLI is installed: which oc
    • Verify cluster access: oc whoami
    • If not installed or not authenticated, provide clear instructions
    • Verify git CLI is installed: which git
    • Verify the current directory is a Git repository
  2. Parse Arguments:

    • $1: Component(s) (required): Konflux Component(s) name
    • $2: flag --wait <duration> (optional) wait duration for the build to finish
      • The duration can have suffix s for seconds, m for minutes or h for hours.
      • If other suffixes are specified fail the command
    • $3: flag --nudge (optional) nudge files after the build finishes
      • --nudge can be used only if --wait is used
    • $4: flag --wait-for-release <release-duration> (optional) wait until release is done
      • --wait-for-release can be used only if --wait is used
      • The duration can have suffix s for seconds, m for minutes or h for hours.
  3. Trigger the build:

    • Annotate each component to trigger the build
      bash
      kubectl annotate components/{compponent} build.appstudio.openshift.io/request=trigger-pac-build
  4. Get the build information:

    bash
    kubectl get pipelinerun -l appstudio.openshift.io/component={component}
    • Wait up to 5 minutes, it takes time for the PipelineRun to be created
    • The started pipeline name must have -on-push in the name
  5. Wait for the build to finish:

    • If --wait <duration> is provided wait for the PipelineRun to finish. The duration can be in s for seconds, m for minutes or h for hours.
    bash
    kubectl wait --for=condition=Suceeded=true pipelinerun/{pipelinerun} --timeout={duration}
    • Extract the nudge files specified in the .metadata.annotations["build.appstudio.openshift.io/build-nudge-files"] in the PipelineRun
    • The Snapshot object is created when the build finishes
    • Get the Snapshot object and extract container image .spec.components[?(@.name=="{component}")].containerImage
      bash
      kubectl get snapshot -l appstudio.openshift.io/build-pipelinerun={pipelinerun}
    • If the build fails use the troubleshooting instructions to explain the failure
  6. Wait for the release to finish:

    • If --wait-for-release <release-duration> is provided wait for the Release to finish. The release-duration can be in s for seconds, m for minutes or h for hours.
    bash
    kubectl wait --for=condition=Released=true --timeout={release-duration} -l appstudio.openshift.io/build-pipelinerun={pipelinerun}
  7. Nudge files:

    • If --wait <duration> and --nudge are provided nudge the files by repacing the containerImage in those files
  8. Display result:

    • Display the result:
      Component: {component} | PipelineRun: {pipelinerun-name} | Snapshot: {snapshot} | Container Image: {containerImage}

Return Value

  • status: Table of all components
  • build: PipelineRun custom resource name which is executing the build and snapshot if the build finished

Examples

  1. Get status of otel-collector-main component:

    bash
    /konflux:component status otel-collector-main
  2. Trigger build of the otel-collector-main component:

    bash
    /konflux:component build otel-collector-main
  3. Trigger build of the otel-collector-main and otel-operator-main component:

    bash
    /konflux:component build otel-collector-main otel-operator-main
  4. Trigger build of the otel-collector-main component and wait 30 minutes to finish:

    bash
    /konflux:component build otel-collector-main --wait 30m

Arguments

status

  • component (required): Name of the Konflux component

build

  • component (required): Name of the Konflux component
  • --wait (required): Duration how long to wait for the pipelinerun to finish

Troubleshooting

build

  • PipelineRun progress and failure:

    • The PipelineRun creates TaskRun(s) objects which create actuall pods to run the build.
    • The TaskRun for a specific PipelineRun can be found by kubectl get taskrun -l tekton.dev/pipelineRun={pipelinerun}
    • The pod for a specific TaskRun can be found by kubectl get pod -l tekton.dev/taskRun={taskrun}
    • Get the pod logs, kubernetes events, status and explain the failure
  • Release progress and failure

    • The release is executed as a PipelineRun. The release PipelineRun is defined in the Release object in .status.managedProcessing.pipelineRun
    • The example value is rhtap-releng-tenant/managed-vks2b. Which means the PipelineRun name is managed-vks2b and runs in rhtap-releng-tenant Kubernetes namespace.
    • The TaskRun for the release PipelineRun can be found by kubectl get taskrun -l tekton.dev/pipelineRun={pipelinerun} -n {namespace}
    • The pod for the release TaskRun can be found by kubectl get pod -l tekton.dev/taskRun={taskrun} -n {namespace}

Related Commands

  • /konflux:application status <application> - Show application status

Additional Resources

Domande frequenti

Cosa fa la skill IA Konflux Component?

Gestisci un componente Konflux

Perché usare Konflux Component su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Konflux Component è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Konflux Component in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-konflux/skills/konflux-component. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Konflux Component?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Konflux Component?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Konflux Component: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Konflux Component è gratuita?

Sì. È pubblicata su GitHub da opendatahub-io con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇