---
name: "tekton-pipelines-cloud-native-ci"
description: "Execute modular, serverless CI/CD workflows natively on Kubernetes with Tekton Pipelines."
metadata:
  author: "Tekton"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "write tekton pipeline"
  - "create tekton task"
  - "run tekton pipelinerun"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Tekton Pipelines Kubernetes-Native CI/CD Tasks

Constructs Tekton CI pipelines: defining reusable Tasks and Pipelines, PipelineRuns with workspaces and volumeClaimTemplates, integrating git-clone and kaniko tasks, and monitoring with Tekton Dashboard.

## When to Invoke
Invoke this skill whenever you need to:
- write tekton pipeline
- create tekton task
- run tekton pipelinerun

## Execution SOP & Rules
1. Define Task manifests with spec.steps declaring container images and commands.
2. Define Pipeline manifests stitching Tasks together with runAfter dependencies.
3. Trigger pipeline execution: tkn pipeline start my-pipeline --showlog.
4. Inspect pipeline task execution and step statuses via Tekton Dashboard UI.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
