[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6G9PQMZE153BVBXV58QSYA8":3,"skill-same:01M6G9PQMZE153BVBXV58QSYA8":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6G9PQMZE153BVBXV58QSYA8","create-pipeline-v1",null,"Generate Harness v1 simplified Pipeline YAML using the new concise syntax with flat structure, ${{ }} expressions, script field, and action steps. Supports CI stages (run, run-test, background), CD stages (service\u002Fenvironment with action steps for K8s, Helm, ECS), approval (stage-level and inline), parallel execution, matrix\u002Ffor\u002Fwhile strategies, caching, volumes, and templates. Use when asked for a v1 pipeline, simplified pipeline, new pipeline format, or when user specifically requests v1 syntax. Do NOT use for v0\u002Fstandard pipelines (use create-pipeline). Trigger phrases: v1 pipeline, simplified pipeline, new pipeline format, create v1, modern pipeline syntax.","zapabob\u002FSkills","zapabob","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130830376?v=4","01M6DBMYZAGRTFQDSQYW3W764P","峯岸 亮","01M6DBMZ3GKDSJ01NZ9XTZD7JD",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002F7d\u002F7d38a1e160db6763bd0e545a5f4d765428edc3aa12dbaa29ae9fd29a98d91248\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"create","create pipeline v1","create pipeline","pipeline","harness","server","ci","run","parallel","syntax","v0","environment","do","structure","caching","strategies","k8s","generate","ecs","MCP","2026-11-10 10:12:30",false,"---\r\nname: create-pipeline-v1\r\ndescription: >-\r\n  Generate Harness v1 simplified Pipeline YAML using the new concise syntax with flat structure, ${{ }}\r\n  expressions, script field, and action steps. Supports CI stages (run, run-test, background), CD stages\r\n  (service\u002Fenvironment with action steps for K8s, Helm, ECS), approval (stage-level and inline), parallel\r\n  execution, matrix\u002Ffor\u002Fwhile strategies, caching, volumes, and templates. Use when asked for a v1 pipeline,\r\n  simplified pipeline, new pipeline format, or when user specifically requests v1 syntax. Do NOT use for\r\n  v0\u002Fstandard pipelines (use create-pipeline). Trigger phrases: v1 pipeline, simplified pipeline, new\r\n  pipeline format, create v1, modern pipeline syntax.\r\nmetadata:\r\n  author: Harness\r\n  version: 3.1.0\r\n  mcp-server: harness-mcp-v2\r\nlicense: Apache-2.0\r\ncompatibility: Requires Harness MCP v2 server (harness-mcp-v2)\r\n---\r\n\r\n# Create Pipeline v1\r\n\r\nGenerate Harness v1 simplified Pipeline YAML and optionally push to Harness via MCP.\r\n\r\n**Alpha: This skill is currently in internal testing only.**\r\n\r\n## Instructions\r\n\r\n1. **Confirm v1 format** - User must specifically want v1 syntax. Default to v0 (`\u002Fcreate-pipeline`) if unclear.\r\n2. **Clarify requirements** - Pipeline type (CI, CD, or both), language\u002Fframework, deployment target\r\n3. **Consult the spec reference** - Use `references\u002Fv1-spec-schema.md` for the complete v1 schema, step types, action catalog, and examples\r\n4. **Select native actions** - Always prefer native action and template steps over `run:` steps. Consult `references\u002Fnative-actions.md` for the full mapping. Key rules:\r\n   - Docker build\u002Fpush → use `template: uses: buildAndPushToDocker` \u002F `buildAndPushToECR` \u002F `buildAndPushToGAR` (never `run: docker build && docker push`)\r\n   - K8s deploy → use `action: uses: kubernetes-rolling-deploy` or `template: uses: k8sRollingDeployStep` (never `run: kubectl apply`)\r\n   - Helm deploy → use `action: uses: helm-deploy` or `template: uses: helmDeployBasicStep` (never `run: helm upgrade --install`)\r\n   - ECS deploy → use `template: uses: ecsBluegreenDeployStep` (never `run: aws ecs update-service`)\r\n   - Terraform → use `template: uses: terraformStep` (never `run: terraform apply`)\r\n   - Security scanning → use native STO templates (`gitleaksStep`, `banditStep`, `sbomOrchestrationStep`)\r\n   - Uploads → use `template: uses: uploadArtifactsToS3` \u002F `uploadArtifactsToGCS` (never `run: aws s3 cp`)\r\n   - Approvals → use `approval: uses: harness` or `approval: uses: jira` (never polling scripts)\r\n   - Ticketing → use `action: uses: jira-create` \u002F `snow-create` (never `run: curl`)\r\n   - HTTP requests → use `action: uses: http` or `template: uses: httpStep` (never `run: curl`)\r\n   - Use `run:` steps only for custom build\u002Ftest\u002Flint commands with no native equivalent\r\n5. **Generate v1 YAML** using flat structure, `${{ }}` expressions, `script` field for run steps, and `action`\u002F`template` steps for deployments\r\n6. **Optionally create via MCP** using `harness_create` with resource_type `pipeline`\r\n\r\n## v1 Key Differences from v0\r\n\r\n| v0 Syntax | v1 Syntax |\r\n|-----------|-----------|\r\n| `\u003C+variable>` expressions | `${{ variable }}` expressions |\r\n| `type: CI` \u002F `type: Deployment` stage types | Flat stages -- no `type` field |\r\n| `command:` field in Run steps | `script:` field in `run:` steps |\r\n| Native steps (`K8sRollingDeploy`, `HelmDeploy`) | Action steps (`action: uses: kubernetes-rolling-deploy`) |\r\n| `failureStrategies:` | `on-failure:` |\r\n| `HarnessApproval` step type | `approval: uses: harness` (stage-level or inline) |\r\n| Deep nesting (`spec: execution: steps:`) | Flat structure (`steps:`) |\r\n| `strategy: matrix:` under stage `spec` | `strategy: matrix:` directly on stage or step |\r\n\r\n## Pipeline Structure\r\n\r\n```yaml\r\npipeline:\r\n  name: My Pipeline\r\n  repo:                          # optional: repository config\r\n    connector: account.github\r\n    name: myorg\u002Fmy-repo\r\n  clone:                         # optional: clone config\r\n    depth: 1\r\n  on:                            # optional: event triggers\r\n  - push:\r\n      branches: [main]\r\n  env:                           # optional: global env vars\r\n    NODE_ENV: production\r\n  inputs:                        # optional: pipeline inputs\r\n    branch:\r\n      type: string\r\n      default: main\r\n  stages:\r\n  - name: build\r\n    steps:\r\n    - run:\r\n        script: go build\r\n```\r\n\r\nNo `version:`, `kind:`, or `spec:` wrapper -- `pipeline:` is the root key.\r\n\r\n## Stages\r\n\r\nStages have no `type` field. Their purpose is determined by their keys.\r\n\r\n### CI Stage\r\n\r\n```yaml\r\n- name: build\r\n  runtime: cloud\r\n  platform:\r\n    os: linux\r\n    arch: arm\r\n  cache:\r\n    path: node_modules\r\n    key: npm.${{ branch }}\r\n  steps:\r\n  - run:\r\n      script: npm ci\r\n```\r\n\r\n### Deployment Stage\r\n\r\n```yaml\r\n- name: deploy\r\n  service: my-service\r\n  environment: staging\r\n  steps:\r\n  - action:\r\n      uses: kubernetes-rolling-deploy\r\n      with:\r\n        dry-run: false\r\n```\r\n\r\n### Approval (stage-level)\r\n\r\n```yaml\r\n- approval:\r\n    uses: harness\r\n    with:\r\n      timeout: 30m\r\n      message: \"Approve deployment?\"\r\n      groups: [admins, ops]\r\n      min-approvers: 1\r\n```\r\n\r\n## Step Types\r\n\r\n### Run Step\r\n\r\nUses `script:` field (not `command:` or `run:`).\r\n\r\n```yaml\r\n# long syntax\r\n- run:\r\n    script: npm test\r\n\r\n# short syntax\r\n- run: npm test\r\n\r\n# with container\r\n- run:\r\n    container: node:18\r\n    script: npm test\r\n\r\n# with shell and env\r\n- run:\r\n    shell: bash\r\n    script: |\r\n      npm ci\r\n      npm test\r\n    env:\r\n      NODE_ENV: test\r\n\r\n# with output variables\r\n- id: build\r\n  run:\r\n    script: echo \"TAG=v1\" >> $HARNESS_OUTPUT\r\n    output: [TAG]\r\n```\r\n\r\n### Run Test Step\r\n\r\n```yaml\r\n- run-test:\r\n    container: maven\r\n    script: mvn test\r\n    report:\r\n      type: junit\r\n      path: target\u002Fsurefire-reports\u002F*.xml\r\n    splitting:\r\n      concurrency: 4\r\n```\r\n\r\n### Action Step\r\n\r\nActions replace v0 native steps. See `references\u002Fv1-spec-schema.md` for the full action catalog.\r\n\r\n```yaml\r\n# Kubernetes deploy\r\n- action:\r\n    uses: kubernetes-rolling-deploy\r\n    with:\r\n      dry-run: false\r\n\r\n# Helm deploy\r\n- action:\r\n    uses: helm-deploy\r\n    with:\r\n      timeout: 10m\r\n\r\n# Terraform plan\r\n- action:\r\n    uses: terraform-plan\r\n    with:\r\n      command: apply\r\n      aws-provider: account.aws_connector\r\n\r\n# HTTP request\r\n- action:\r\n    uses: http\r\n    with:\r\n      method: GET\r\n      endpoint: https:\u002F\u002Facme.com\r\n```\r\n\r\n### Background Step\r\n\r\n```yaml\r\n- background:\r\n    container: redis\r\n- run:\r\n    script: npm test\r\n```\r\n\r\n### Template Step\r\n\r\n```yaml\r\n- template:\r\n    uses: account.docker@1.0.0\r\n    with:\r\n      push: true\r\n      tags: latest\r\n```\r\n\r\n### Approval Step (inline)\r\n\r\n```yaml\r\n- approval:\r\n    uses: jira\r\n    with:\r\n      connector: account.jira\r\n      project: PROJ\r\n```\r\n\r\n## Parallel and Group\r\n\r\n```yaml\r\n# parallel steps\r\n- parallel:\r\n    steps:\r\n    - run:\r\n        script: npm run lint\r\n    - run:\r\n        script: npm test\r\n\r\n# parallel stages\r\n- parallel:\r\n    stages:\r\n    - steps:\r\n      - run: go test\r\n    - steps:\r\n      - run: npm test\r\n\r\n# step group\r\n- group:\r\n    steps:\r\n    - run:\r\n        script: go build\r\n    - run:\r\n        script: go test\r\n```\r\n\r\n## Strategy\r\n\r\n```yaml\r\n# matrix (stage-level)\r\n- strategy:\r\n    matrix:\r\n      node: [16, 18, 20]\r\n      os: [linux, macos]\r\n    max-parallel: 3\r\n  steps:\r\n  - run:\r\n      container: node:${{ matrix.node }}\r\n      script: npm test\r\n\r\n# matrix (step-level)\r\n- strategy:\r\n    matrix:\r\n      go: [1.19, 1.20, 1.21]\r\n  run:\r\n    container: golang:${{ matrix.go }}\r\n    script: go test\r\n```\r\n\r\n## Failure Strategy\r\n\r\n```yaml\r\n# step-level\r\n- run:\r\n    script: go test\r\n  on-failure:\r\n    errors: all\r\n    action: ignore       # abort, ignore, retry, fail, success\r\n\r\n# retry with attempts\r\n- run:\r\n    script: go test\r\n  on-failure:\r\n    errors: [unknown]\r\n    action:\r\n      retry:\r\n        attempts: 5\r\n        interval: 10s\r\n        failure-action: fail\r\n\r\n# stage-level\r\n- steps:\r\n  - run:\r\n      script: go test\r\n  on-failure:\r\n    errors: all\r\n    action: abort\r\n```\r\n\r\n## Conditional Execution\r\n\r\n```yaml\r\n# stage conditional\r\n- if: ${{ branch == \"main\" }}\r\n  steps:\r\n  - run:\r\n      script: deploy.sh\r\n\r\n# step conditional\r\n- if: ${{ branch == \"main\" }}\r\n  run:\r\n    script: deploy.sh\r\n```\r\n\r\n## Complete CI Example\r\n\r\n```yaml\r\npipeline:\r\n  repo:\r\n    connector: account.github\r\n    name: myorg\u002Fmy-app\r\n  clone:\r\n    depth: 1\r\n  on:\r\n  - push:\r\n      branches: [main]\r\n  - pull_request:\r\n      branches: [main]\r\n  stages:\r\n  - name: build-and-test\r\n    runtime: cloud\r\n    platform:\r\n      os: linux\r\n      arch: arm\r\n    cache:\r\n      path: node_modules\r\n      key: npm.${{ branch }}\r\n    steps:\r\n    - run:\r\n        script: npm ci\r\n    - parallel:\r\n        steps:\r\n        - run:\r\n            script: npm run lint\r\n        - run-test:\r\n            script: npm test\r\n            report:\r\n              type: junit\r\n              path: junit.xml\r\n    - action:\r\n        uses: docker-build-push\r\n        with:\r\n          connector: dockerhub\r\n          repo: myorg\u002Fmy-app\r\n          tags: [${{ pipeline.sequenceId }}, latest]\r\n```\r\n\r\n## Complete CD Example\r\n\r\n```yaml\r\npipeline:\r\n  inputs:\r\n    skip_dry_run:\r\n      type: boolean\r\n      default: false\r\n  stages:\r\n  - name: deploy-staging\r\n    service: petstore\r\n    environment: staging\r\n    steps:\r\n    - action:\r\n        uses: manifest-download\r\n    - action:\r\n        uses: manifest-bake\r\n    - action:\r\n        uses: kubernetes-rolling-deploy\r\n        with:\r\n          dry-run: ${{ inputs.skip_dry_run }}\r\n  - approval:\r\n      uses: harness\r\n      with:\r\n        timeout: 1d\r\n        message: \"Approve production deployment?\"\r\n        groups: [prod-approvers]\r\n        min-approvers: 1\r\n  - name: deploy-prod\r\n    service: petstore\r\n    environment: prod\r\n    steps:\r\n    - action:\r\n        uses: manifest-download\r\n    - action:\r\n        uses: manifest-bake\r\n    - action:\r\n        uses: kubernetes-rolling-deploy\r\n        with:\r\n          dry-run: false\r\n```\r\n\r\n## Creating via MCP\r\n\r\n1. **Verify the project exists** — List projects with `harness_list` (resource_type: `project`, org_id) to confirm. If the project does not exist, create it first with `harness_create` (resource_type: `project`, body: `{ identifier, name }`) or ask the user.\r\n2. **Create the pipeline** — Use `harness_create` with the v1 pipeline YAML serialized as a **`yamlPipeline`** string in the body. Do not pass a nested JSON `pipeline` object; it causes serialization errors.\r\n\r\n```\r\nCall MCP tool: harness_create\r\nParameters:\r\n  resource_type: \"pipeline\"\r\n  org_id: \"\u003Corganization>\"\r\n  project_id: \"\u003Cproject>\"\r\n  body: { yamlPipeline: \"\u003Cfull v1 pipeline YAML string, including 'pipeline:' root key>\" }\r\n```\r\n\r\n## Examples\r\n\r\n### Create a v1 CI pipeline\r\n\r\n```\r\n\u002Fcreate-pipeline-v1\r\nCreate a v1 CI pipeline for a Node.js app with caching, parallel lint and test, and Docker push\r\n```\r\n\r\n### Create a v1 deployment pipeline\r\n\r\n```\r\n\u002Fcreate-pipeline-v1\r\nCreate a v1 Kubernetes deployment pipeline with staging approval and production stages\r\n```\r\n\r\n### Create a v1 matrix build\r\n\r\n```\r\n\u002Fcreate-pipeline-v1\r\nCreate a v1 pipeline that tests across Go 1.19, 1.20, and 1.21 using matrix strategy\r\n```\r\n\r\n## Performance Notes\r\n\r\n- Always check `references\u002Fnative-actions.md` before using a `run:` step. Native actions provide better error handling, rollback support, and UI integration.\r\n- Always consult `references\u002Fv1-spec-schema.md` for the complete v1 spec before generating YAML.\r\n- Use `script:` field in run steps, never `command:` or `run:` as the field name.\r\n- Use `action: uses:` or `template: uses:` for deployments, never v0 native step types like `K8sRollingDeploy`.\r\n- Do not mix v0 and v1 syntax. No `\u003C+...>` expressions, no `type:` on stages, no `spec:` wrapper.\r\n- Validate all expressions use `${{ }}` syntax before presenting.\r\n\r\n## Troubleshooting\r\n\r\n### Common v1 Syntax Errors\r\n\r\n- Using `\u003C+...>` instead of `${{ ... }}` expressions\r\n- Adding `type:` field on stages (v1 stages have no type)\r\n- Using `command:` or `run:` as the field name instead of `script:`\r\n- Wrapping pipeline in `version:`, `kind:`, `spec:` (v1 uses bare `pipeline:`)\r\n- Using v0 step types (`K8sRollingDeploy`) instead of actions (`action: uses: kubernetes-rolling-deploy`)\r\n- Using `failureStrategies:` instead of `on-failure:`\r\n\r\n### MCP Errors\r\n\r\n- **Project not found** — Verify the project exists with `harness_list` (resource_type: `project`, org_id). Create it first or confirm org_id\u002Fproject_id are correct.\r\n- **Missing required fields for pipeline: pipeline** — Pass the body as `{ yamlPipeline: \"\u003Cfull v1 pipeline YAML string>\" }` instead of a nested JSON `pipeline` object.\r\n- `DUPLICATE_IDENTIFIER` — Pipeline exists; use `harness_update`\r\n- `INVALID_REQUEST` — Check YAML structure matches v1 schema\r\n","# Create Pipeline v1\r\n\r\nGenerate Harness v1 simplified Pipeline YAML and optionally push to Harness via MCP.\r\n\r\n**Alpha: This skill is currently in internal testing only.**\r\n\r\n## Instructions\r\n\r\n1. **Confirm v1 format** - User must specifically want v1 syntax. Default to v0 (`\u002Fcreate-pipeline`) if unclear.\r\n2. **Clarify requirements** - Pipeline type (CI, CD, or both), language\u002Fframework, deployment target\r\n3. **Consult the spec reference** - Use `references\u002Fv1-spec-schema.md` for the complete v1 schema, step types, action catalog, and examples\r\n4. **Select native actions** - Always prefer native action and template steps over `run:` steps. Consult `references\u002Fnative-actions.md` for the full mapping. Key rules:\r\n   - Docker build\u002Fpush → use `template: uses: buildAndPushToDocker` \u002F `buildAndPushToECR` \u002F `buildAndPushToGAR` (never `run: docker build && docker push`)\r\n   - K8s deploy → use `action: uses: kubernetes-rolling-deploy` or `template: uses: k8sRollingDeployStep` (never `run: kubectl apply`)\r\n   - Helm deploy → use `action: uses: helm-deploy` or `template: uses: helmDeployBasicStep` (never `run: helm upgrade --install`)\r\n   - ECS deploy → use `template: uses: ecsBluegreenDeployStep` (never `run: aws ecs update-service`)\r\n   - Terraform → use `template: uses: terraformStep` (never `run: terraform apply`)\r\n   - Security scanning → use native STO templates (`gitleaksStep`, `banditStep`, `sbomOrchestrationStep`)\r\n   - Uploads → use `template: uses: uploadArtifactsToS3` \u002F `uploadArtifactsToGCS` (never `run: aws s3 cp`)\r\n   - Approvals → use `approval: uses: harness` or `approval: uses: jira` (never polling scripts)\r\n   - Ticketing → use `action: uses: jira-create` \u002F `snow-create` (never `run: curl`)\r\n   - HTTP requests → use `action: uses: http` or `template: uses: httpStep` (never `run: curl`)\r\n   - Use `run:` steps only for custom build\u002Ftest\u002Flint commands with no native equivalent\r\n5. **Generate v1 YAML** using flat structure, `${{ }}` expressions, `script` field for run steps, and `action`\u002F`template` steps for deployments\r\n6. **Optionally create via MCP** using `harness_create` with resource_type `pipeline`\r\n\r\n## v1 Key Differences from v0\r\n\r\n| v0 Syntax | v1 Syntax |\r\n|-----------|-----------|\r\n| `\u003C+variable>` expressions | `${{ variable }}` expressions |\r\n| `type: CI` \u002F `type: Deployment` stage types | Flat stages -- no `type` field |\r\n| `command:` field in Run steps | `script:` field in `run:` steps |\r\n| Native steps (`K8sRollingDeploy`, `HelmDeploy`) | Action steps (`action: uses: kubernetes-rolling-deploy`) |\r\n| `failureStrategies:` | `on-failure:` |\r\n| `HarnessApproval` step type | `approval: uses: harness` (stage-level or inline) |\r\n| Deep nesting (`spec: execution: steps:`) | Flat structure (`steps:`) |\r\n| `strategy: matrix:` under stage `spec` | `strategy: matrix:` directly on stage or step |\r\n\r\n## Pipeline Structure\r\n\r\n```yaml\r\npipeline:\r\n  name: My Pipeline\r\n  repo:                          # optional: repository config\r\n    connector: account.github\r\n    name: myorg\u002Fmy-repo\r\n  clone:                         # optional: clone config\r\n    depth: 1\r\n  on:                            # optional: event triggers\r\n  - push:\r\n      branches: [main]\r\n  env:                           # optional: global env vars\r\n    NODE_ENV: production\r\n  inputs:                        # optional: pipeline inputs\r\n    branch:\r\n      type: string\r\n      default: main\r\n  stages:\r\n  - name: build\r\n    steps:\r\n    - run:\r\n        script: go build\r\n```\r\n\r\nNo `version:`, `kind:`, or `spec:` wrapper -- `pipeline:` is the root key.\r\n\r\n## Stages\r\n\r\nStages have no `type` field. Their purpose is determined by their keys.\r\n\r\n### CI Stage\r\n\r\n```yaml\r\n- name: build\r\n  runtime: cloud\r\n  platform:\r\n    os: linux\r\n    arch: arm\r\n  cache:\r\n    path: node_modules\r\n    key: npm.${{ branch }}\r\n  steps:\r\n  - run:\r\n      script: npm ci\r\n```\r\n\r\n### Deployment Stage\r\n\r\n```yaml\r\n- name: deploy\r\n  service: my-service\r\n  environment: staging\r\n  steps:\r\n  - action:\r\n      uses: kubernetes-rolling-deploy\r\n      with:\r\n        dry-run: false\r\n```\r\n\r\n### Approval (stage-level)\r\n\r\n```yaml\r\n- approval:\r\n    uses: harness\r\n    with:\r\n      timeout: 30m\r\n      message: \"Approve deployment?\"\r\n      groups: [admins, ops]\r\n      min-approvers: 1\r\n```\r\n\r\n## Step Types\r\n\r\n### Run Step\r\n\r\nUses `script:` field (not `command:` or `run:`).\r\n\r\n```yaml\r\n# long syntax\r\n- run:\r\n    script: npm test\r\n\r\n# short syntax\r\n- run: npm test\r\n\r\n# with container\r\n- run:\r\n    container: node:18\r\n    script: npm test\r\n\r\n# with shell and env\r\n- run:\r\n    shell: bash\r\n    script: |\r\n      npm ci\r\n      npm test\r\n    env:\r\n      NODE_ENV: test\r\n\r\n# with output variables\r\n- id: build\r\n  run:\r\n    script: echo \"TAG=v1\" >> $HARNESS_OUTPUT\r\n    output: [TAG]\r\n```\r\n\r\n### Run Test Step\r\n\r\n```yaml\r\n- run-test:\r\n    container: maven\r\n    script: mvn test\r\n    report:\r\n      type: junit\r\n      path: target\u002Fsurefire-reports\u002F*.xml\r\n    splitting:\r\n      concurrency: 4\r\n```\r\n\r\n### Action Step\r\n\r\nActions replace v0 native steps. See `references\u002Fv1-spec-schema.md` for the full action catalog.\r\n\r\n```yaml\r\n# Kubernetes deploy\r\n- action:\r\n    uses: kubernetes-rolling-deploy\r\n    with:\r\n      dry-run: false\r\n\r\n# Helm deploy\r\n- action:\r\n    uses: helm-deploy\r\n    with:\r\n      timeout: 10m\r\n\r\n# Terraform plan\r\n- action:\r\n    uses: terraform-plan\r\n    with:\r\n      command: apply\r\n      aws-provider: account.aws_connector\r\n\r\n# HTTP request\r\n- action:\r\n    uses: http\r\n    with:\r\n      method: GET\r\n      endpoint: https:\u002F\u002Facme.com\r\n```\r\n\r\n### Background Step\r\n\r\n```yaml\r\n- background:\r\n    container: redis\r\n- run:\r\n    script: npm test\r\n```\r\n\r\n### Template Step\r\n\r\n```yaml\r\n- template:\r\n    uses: account.docker@1.0.0\r\n    with:\r\n      push: true\r\n      tags: latest\r\n```\r\n\r\n### Approval Step (inline)\r\n\r\n```yaml\r\n- approval:\r\n    uses: jira\r\n    with:\r\n      connector: account.jira\r\n      project: PROJ\r\n```\r\n\r\n## Parallel and Group\r\n\r\n```yaml\r\n# parallel steps\r\n- parallel:\r\n    steps:\r\n    - run:\r\n        script: npm run lint\r\n    - run:\r\n        script: npm test\r\n\r\n# parallel stages\r\n- parallel:\r\n    stages:\r\n    - steps:\r\n      - run: go test\r\n    - steps:\r\n      - run: npm test\r\n\r\n# step group\r\n- group:\r\n    steps:\r\n    - run:\r\n        script: go build\r\n    - run:\r\n        script: go test\r\n```\r\n\r\n## Strategy\r\n\r\n```yaml\r\n# matrix (stage-level)\r\n- strategy:\r\n    matrix:\r\n      node: [16, 18, 20]\r\n      os: [linux, macos]\r\n    max-parallel: 3\r\n  steps:\r\n  - run:\r\n      container: node:${{ matrix.node }}\r\n      script: npm test\r\n\r\n# matrix (step-level)\r\n- strategy:\r\n    matrix:\r\n      go: [1.19, 1.20, 1.21]\r\n  run:\r\n    container: golang:${{ matrix.go }}\r\n    script: go test\r\n```\r\n\r\n## Failure Strategy\r\n\r\n```yaml\r\n# step-level\r\n- run:\r\n    script: go test\r\n  on-failure:\r\n    errors: all\r\n    action: ignore       # abort, ignore, retry, fail, success\r\n\r\n# retry with attempts\r\n- run:\r\n    script: go test\r\n  on-failure:\r\n    errors: [unknown]\r\n    action:\r\n      retry:\r\n        attempts: 5\r\n        interval: 10s\r\n        failure-action: fail\r\n\r\n# stage-level\r\n- steps:\r\n  - run:\r\n      script: go test\r\n  on-failure:\r\n    errors: all\r\n    action: abort\r\n```\r\n\r\n## Conditional Execution\r\n\r\n```yaml\r\n# stage conditional\r\n- if: ${{ branch == \"main\" }}\r\n  steps:\r\n  - run:\r\n      script: deploy.sh\r\n\r\n# step conditional\r\n- if: ${{ branch == \"main\" }}\r\n  run:\r\n    script: deploy.sh\r\n```\r\n\r\n## Complete CI Example\r\n\r\n```yaml\r\npipeline:\r\n  repo:\r\n    connector: account.github\r\n    name: myorg\u002Fmy-app\r\n  clone:\r\n    depth: 1\r\n  on:\r\n  - push:\r\n      branches: [main]\r\n  - pull_request:\r\n      branches: [main]\r\n  stages:\r\n  - name: build-and-test\r\n    runtime: cloud\r\n    platform:\r\n      os: linux\r\n      arch: arm\r\n    cache:\r\n      path: node_modules\r\n      key: npm.${{ branch }}\r\n    steps:\r\n    - run:\r\n        script: npm ci\r\n    - parallel:\r\n        steps:\r\n        - run:\r\n            script: npm run lint\r\n        - run-test:\r\n            script: npm test\r\n            report:\r\n              type: junit\r\n              path: junit.xml\r\n    - action:\r\n        uses: docker-build-push\r\n        with:\r\n          connector: dockerhub\r\n          repo: myorg\u002Fmy-app\r\n          tags: [${{ pipeline.sequenceId }}, latest]\r\n```\r\n\r\n## Complete CD Example\r\n\r\n```yaml\r\npipeline:\r\n  inputs:\r\n    skip_dry_run:\r\n      type: boolean\r\n      default: false\r\n  stages:\r\n  - name: deploy-staging\r\n    service: petstore\r\n    environment: staging\r\n    steps:\r\n    - action:\r\n        uses: manifest-download\r\n    - action:\r\n        uses: manifest-bake\r\n    - action:\r\n        uses: kubernetes-rolling-deploy\r\n        with:\r\n          dry-run: ${{ inputs.skip_dry_run }}\r\n  - approval:\r\n      uses: harness\r\n      with:\r\n        timeout: 1d\r\n        message: \"Approve production deployment?\"\r\n        groups: [prod-approvers]\r\n        min-approvers: 1\r\n  - name: deploy-prod\r\n    service: petstore\r\n    environment: prod\r\n    steps:\r\n    - action:\r\n        uses: manifest-download\r\n    - action:\r\n        uses: manifest-bake\r\n    - action:\r\n        uses: kubernetes-rolling-deploy\r\n        with:\r\n          dry-run: false\r\n```\r\n\r\n## Creating via MCP\r\n\r\n1. **Verify the project exists** — List projects with `harness_list` (resource_type: `project`, org_id) to confirm. If the project does not exist, create it first with `harness_create` (resource_type: `project`, body: `{ identifier, name }`) or ask the user.\r\n2. **Create the pipeline** — Use `harness_create` with the v1 pipeline YAML serialized as a **`yamlPipeline`** string in the body. Do not pass a nested JSON `pipeline` object; it causes serialization errors.\r\n\r\n```\r\nCall MCP tool: harness_create\r\nParameters:\r\n  resource_type: \"pipeline\"\r\n  org_id: \"\u003Corganization>\"\r\n  project_id: \"\u003Cproject>\"\r\n  body: { yamlPipeline: \"\u003Cfull v1 pipeline YAML string, including 'pipeline:' root key>\" }\r\n```\r\n\r\n## Examples\r\n\r\n### Create a v1 CI pipeline\r\n\r\n```\r\n\u002Fcreate-pipeline-v1\r\nCreate a v1 CI pipeline for a Node.js app with caching, parallel lint and test, and Docker push\r\n```\r\n\r\n### Create a v1 deployment pipeline\r\n\r\n```\r\n\u002Fcreate-pipeline-v1\r\nCreate a v1 Kubernetes deployment pipeline with staging approval and production stages\r\n```\r\n\r\n### Create a v1 matrix build\r\n\r\n```\r\n\u002Fcreate-pipeline-v1\r\nCreate a v1 pipeline that tests across Go 1.19, 1.20, and 1.21 using matrix strategy\r\n```\r\n\r\n## Performance Notes\r\n\r\n- Always check `references\u002Fnative-actions.md` before using a `run:` step. Native actions provide better error handling, rollback support, and UI integration.\r\n- Always consult `references\u002Fv1-spec-schema.md` for the complete v1 spec before generating YAML.\r\n- Use `script:` field in run steps, never `command:` or `run:` as the field name.\r\n- Use `action: uses:` or `template: uses:` for deployments, never v0 native step types like `K8sRollingDeploy`.\r\n- Do not mix v0 and v1 syntax. No `\u003C+...>` expressions, no `type:` on stages, no `spec:` wrapper.\r\n- Validate all expressions use `${{ }}` syntax before presenting.\r\n\r\n## Troubleshooting\r\n\r\n### Common v1 Syntax Errors\r\n\r\n- Using `\u003C+...>` instead of `${{ ... }}` expressions\r\n- Adding `type:` field on stages (v1 stages have no type)\r\n- Using `command:` or `run:` as the field name instead of `script:`\r\n- Wrapping pipeline in `version:`, `kind:`, `spec:` (v1 uses bare `pipeline:`)\r\n- Using v0 step types (`K8sRollingDeploy`) instead of actions (`action: uses: kubernetes-rolling-deploy`)\r\n- Using `failureStrategies:` instead of `on-failure:`\r\n\r\n### MCP Errors\r\n\r\n- **Project not found** — Verify the project exists with `harness_list` (resource_type: `project`, org_id). Create it first or confirm org_id\u002Fproject_id are correct.\r\n- **Missing required fields for pipeline: pipeline** — Pass the body as `{ yamlPipeline: \"\u003Cfull v1 pipeline YAML string>\" }` instead of a nested JSON `pipeline` object.\r\n- `DUPLICATE_IDENTIFIER` — Pipeline exists; use `harness_update`\r\n- `INVALID_REQUEST` — Check YAML structure matches v1 schema\r\n",{"name":5,"license":15,"metadata":44,"description":7,"compatibility":48},{"author":45,"version":46,"mcp-server":47},"Harness","3.1.0","harness-mcp-v2","Requires Harness MCP v2 server (harness-mcp-v2)","main","0d1434f89f4bc6b07e9d272accd8c1013768820f","archive\u002Fskill-md-reviewed\u002Fsha256\u002F7d\u002F7d38a1e160db6763bd0e545a5f4d765428edc3aa12dbaa29ae9fd29a98d91248",0,"https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills","https:\u002F\u002Fgithub.com\u002Fzapabob","The Open University of JAPAN　2019-now\r\n\r\nTokyo University of Science　2007-2010","2026-10-26 16:29:01",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add zapabob\u002FSkills --skill create-pipeline-v1",{"tool":63,"command":64},"bunx","bunx skills add zapabob\u002FSkills --skill create-pipeline-v1",{"tool":66,"command":67},"pnpm","pnpm dlx skills add zapabob\u002FSkills --skill create-pipeline-v1","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Farchive\u002Fskill-md-reviewed\u002Fsha256\u002F7d\u002F7d38a1e160db6763bd0e545a5f4d765428edc3aa12dbaa29ae9fd29a98d91248\u002FSKILL.md",true,[],[72,98,122,146,170,186],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M6GJTE1GESGGF9K028Y7753E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","MIT","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fxurl\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[74,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,49,95,96,97],"openclaw","macos","cli","github","linux","windows","official","search","https","social-media","api","Media","hermes","hermes agent","twitter","social","via","post",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":39},"01M6GJT8S1PXQ8WPXT1HSNBWH2","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwriting-plans\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[105,106,107,108,81,109,84,110,85,111,112,113,114,115,116,117,118,119,120,121],"writing","writing plans","plans","design","review","workflow","documentation","tasks","development","code","planning","code-review","subagent","write","superpowers","paths","test-driven-development",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":39},"01M6GJST0H5X7WHBJ3BZK0DVKH","whisper","OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwhisper\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[124,81,84,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145],"openai","speech","multimodal","Transformers","ASR","Audio","text","model","speech recognition","use","general","multilingual","translation","english","identification","processing","Audio Processing",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":39},"01M6GJSMRQ8EETZTYMG72P70EA","weights-and-biases","W&B: log ML experiments, sweeps, model registry, dashboards.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fweights-and-biases\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[153,81,154,155,85,156,157,158,159,160,161,136,162,163,164,165,166,167,168,169],"weights and biases","tensorflow","experiments","pytorch","visualization","registry","real-time","tuning","dashboards","experiment","log","time","Experiment Tracking","Model Registry","Hyperparameter Tuning","WandB","Real-Time Visualization",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":39},"01M6GJS19KDPRY112JTR326S06","watchers","Poll RSS, JSON APIs, and GitHub with watermark dedup.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fwatchers\u002Fvariants\u002Fhermes-agent-optional\u002FSKILL.md",[],[172,81,177,83,84,178,179,180,181,182,183,92,93,184,185],"terminal","automation","http","monitoring","cron","json","rss","devops","with",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":39},"01M6GJRHJD2A6Q830SWF9W48BC","serving-llms-vllm","vLLM: high-throughput LLM serving, OpenAI API, quantization.","https:\u002F\u002Fgithub.com\u002Fzapabob\u002FSkills\u002Fblob\u002Fmain\u002Fregistry\u002Fskills\u002Fvllm\u002Fvariants\u002Fhermes-agent\u002FSKILL.md",[],[193,194,195,84,196,129,197,198,199,132,200,90,201,202,203,204,205,206,207,208],"llms","vLLM","serving llms vllm","research","openai api","tensor","Inference Serving","Production","llm serving","High Throughput","PagedAttention","Continuous Batching","Quantization","Tensor Parallelism","high-throughput","throughput"]