[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75JKJZK3CHPN3Q0EYVC80HX":3,"skill-same:01M75JKJZK3CHPN3Q0EYVC80HX":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M75JKJZK3CHPN3Q0EYVC80HX","create-trigger",null,"Generate Harness Trigger YAML for automated pipeline execution and create via MCP. Use when user says \"create trigger\", \"webhook trigger\", \"cron trigger\", \"scheduled build\", \"artifact trigger\", or wants pipelines to run automatically.","AdmiralGallade\u002Fharness-repository","AdmiralGallade","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F59243621?v=4","01M759AG0891RDPWNGJBX1Y2TG","01M759AG10MS924J53ZWJ60AEC",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fcreate-trigger\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: create-trigger\ndescription: Generate Harness Trigger YAML for automated pipeline execution and create via MCP. Use when user says \"create trigger\", \"webhook trigger\", \"cron trigger\", \"scheduled build\", \"artifact trigger\", or wants pipelines to run automatically.\nmetadata:\n  author: Harness\n  version: 2.0.0\n  mcp-server: harness-mcp-v2\nlicense: Apache-2.0\ncompatibility: Requires Harness MCP v2 server (harness-mcp-v2)\n---\n\n# Create Trigger\n\nGenerate Harness Trigger YAML and push to Harness via MCP.\n\n## Instructions\n\n1. **Identify trigger type** - Webhook (Git events), Scheduled (cron), Artifact (registry updates), or Manifest (Helm chart updates)\n2. **Configure conditions** - Branch filters, payload conditions, cron expression, or artifact path\n3. **Generate YAML** using the templates below, referencing the target pipeline\n4. **Create via MCP** using `harness_create` with resource_type `trigger`\n5. **Verify webhook registration** - For webhook triggers, confirm the webhook is registered in the Git provider\n\n## Trigger Types\n\n- **Webhook** - GitHub, GitLab, Bitbucket, Azure Repos, Custom\n- **Scheduled** - Cron-based scheduling\n- **Artifact** - Docker Hub, ECR, GCR, ACR, Nexus\n- **Manifest** - Helm chart updates\n\n## Webhook Trigger (GitHub)\n\n```yaml\ntrigger:\n  name: PR Trigger\n  identifier: pr_trigger\n  orgIdentifier: default\n  projectIdentifier: my_project\n  pipelineIdentifier: ci_pipeline\n  source:\n    type: Webhook\n    spec:\n      type: Github\n      spec:\n        type: PullRequest\n        spec:\n          connectorRef: github_connector\n          autoAbortPreviousExecutions: true\n          payloadConditions:\n            - key: targetBranch\n              operator: Equals\n              value: main\n          headerConditions: []\n          jexlCondition: \"\"\n          actions:\n            - Open\n            - Reopen\n            - Synchronize\n  inputYaml: |\n    pipeline:\n      identifier: ci_pipeline\n      properties:\n        ci:\n          codebase:\n            build:\n              type: PR\n              spec:\n                number: \u003C+trigger.prNumber>\n```\n\n### GitHub Event Types\n- `Push` - Code pushed to branch\n- `PullRequest` - PR events (Open, Close, Reopen, Synchronize, Edit)\n- `IssueComment` - PR comments (Create, Edit, Delete)\n- `Release` - Release events (Create, Publish, Edit)\n\n## Webhook Trigger (GitLab)\n\n```yaml\ntrigger:\n  name: GitLab Push\n  identifier: gitlab_push\n  pipelineIdentifier: ci_pipeline\n  source:\n    type: Webhook\n    spec:\n      type: Gitlab\n      spec:\n        type: Push\n        spec:\n          connectorRef: gitlab_connector\n          payloadConditions:\n            - key: ref\n              operator: Contains\n              value: main\n```\n\n## Scheduled (Cron) Trigger\n\n```yaml\ntrigger:\n  name: Nightly Build\n  identifier: nightly_build\n  orgIdentifier: default\n  projectIdentifier: my_project\n  pipelineIdentifier: ci_pipeline\n  source:\n    type: Scheduled\n    spec:\n      type: Cron\n      spec:\n        expression: \"0 2 * * *\"    # 2 AM daily\n  inputYaml: |\n    pipeline:\n      identifier: ci_pipeline\n      properties:\n        ci:\n          codebase:\n            build:\n              type: branch\n              spec:\n                branch: main\n```\n\nCron format: `\u003Cminute> \u003Chour> \u003Cday-of-month> \u003Cmonth> \u003Cday-of-week>`\n\n## Artifact Trigger (Docker Registry)\n\n```yaml\ntrigger:\n  name: New Image Trigger\n  identifier: new_image\n  pipelineIdentifier: deploy_pipeline\n  source:\n    type: Artifact\n    spec:\n      type: DockerRegistry\n      spec:\n        connectorRef: dockerhub\n        imagePath: myorg\u002Fmyimage\n        tag: \u003C+trigger.artifact.build>\n  inputYaml: |\n    pipeline:\n      identifier: deploy_pipeline\n      stages:\n        - stage:\n            identifier: deploy\n            spec:\n              service:\n                serviceRef: my_service\n```\n\n### Artifact Source Types\n- `DockerRegistry` - Docker Hub\n- `Ecr` - AWS ECR\n- `Gcr` - Google Container Registry\n- `Acr` - Azure Container Registry\n- `Nexus3Registry` - Nexus\n- `AmazonS3` - S3 artifacts\n\n## Creating via MCP\n\n```\nCall MCP tool: harness_create\nParameters:\n  resource_type: \"trigger\"\n  org_id: \"\u003Corganization>\"\n  project_id: \"\u003Cproject>\"\n  body: \u003Ctrigger YAML>\n```\n\nTo list existing triggers:\n\n```\nCall MCP tool: harness_list\nParameters:\n  resource_type: \"trigger\"\n  org_id: \"\u003Corganization>\"\n  project_id: \"\u003Cproject>\"\n```\n\n## Payload Conditions\n\nFilter triggers by webhook payload:\n\n```yaml\npayloadConditions:\n  - key: targetBranch\n    operator: Equals        # Equals, NotEquals, In, NotIn, StartsWith, EndsWith, Contains, Regex\n    value: main\n  - key: sourceBranch\n    operator: StartsWith\n    value: feature\u002F\n```\n\nCommon keys: `sourceBranch`, `targetBranch`, `ref`, `action`, `tag`\n\n## Examples\n\n- \"Create a GitHub PR trigger for CI\" - Webhook trigger with PullRequest type\n- \"Set up nightly builds at 2 AM\" - Scheduled trigger with cron\n- \"Trigger deploy when new Docker image is pushed\" - Artifact trigger with DockerRegistry\n- \"Create a release trigger for tags\" - Webhook with Push type, tag filter\n\n## Performance Notes\n\n- Verify payload conditions match actual webhook payloads from the Git provider.\n- For cron triggers, double-check the expression — cron uses UTC timezone.\n- Confirm the target pipeline identifier and inputYaml match the pipeline's expected inputs.\n\n## Troubleshooting\n\n### Trigger Not Firing\n- Verify webhook is registered in Git provider\n- Check payload conditions match actual payload\n- Ensure connector has correct permissions\n- Test with `harness_get` on the trigger to verify config\n\n### Duplicate Executions\n- Enable `autoAbortPreviousExecutions` for PR triggers\n- Check for overlapping trigger conditions\n\n### Cron Not Running\n- Verify cron expression syntax (5 fields, UTC timezone)\n- Check pipeline identifier is correct\n- Ensure trigger is enabled\n","# Create Trigger\n\nGenerate Harness Trigger YAML and push to Harness via MCP.\n\n## Instructions\n\n1. **Identify trigger type** - Webhook (Git events), Scheduled (cron), Artifact (registry updates), or Manifest (Helm chart updates)\n2. **Configure conditions** - Branch filters, payload conditions, cron expression, or artifact path\n3. **Generate YAML** using the templates below, referencing the target pipeline\n4. **Create via MCP** using `harness_create` with resource_type `trigger`\n5. **Verify webhook registration** - For webhook triggers, confirm the webhook is registered in the Git provider\n\n## Trigger Types\n\n- **Webhook** - GitHub, GitLab, Bitbucket, Azure Repos, Custom\n- **Scheduled** - Cron-based scheduling\n- **Artifact** - Docker Hub, ECR, GCR, ACR, Nexus\n- **Manifest** - Helm chart updates\n\n## Webhook Trigger (GitHub)\n\n```yaml\ntrigger:\n  name: PR Trigger\n  identifier: pr_trigger\n  orgIdentifier: default\n  projectIdentifier: my_project\n  pipelineIdentifier: ci_pipeline\n  source:\n    type: Webhook\n    spec:\n      type: Github\n      spec:\n        type: PullRequest\n        spec:\n          connectorRef: github_connector\n          autoAbortPreviousExecutions: true\n          payloadConditions:\n            - key: targetBranch\n              operator: Equals\n              value: main\n          headerConditions: []\n          jexlCondition: \"\"\n          actions:\n            - Open\n            - Reopen\n            - Synchronize\n  inputYaml: |\n    pipeline:\n      identifier: ci_pipeline\n      properties:\n        ci:\n          codebase:\n            build:\n              type: PR\n              spec:\n                number: \u003C+trigger.prNumber>\n```\n\n### GitHub Event Types\n- `Push` - Code pushed to branch\n- `PullRequest` - PR events (Open, Close, Reopen, Synchronize, Edit)\n- `IssueComment` - PR comments (Create, Edit, Delete)\n- `Release` - Release events (Create, Publish, Edit)\n\n## Webhook Trigger (GitLab)\n\n```yaml\ntrigger:\n  name: GitLab Push\n  identifier: gitlab_push\n  pipelineIdentifier: ci_pipeline\n  source:\n    type: Webhook\n    spec:\n      type: Gitlab\n      spec:\n        type: Push\n        spec:\n          connectorRef: gitlab_connector\n          payloadConditions:\n            - key: ref\n              operator: Contains\n              value: main\n```\n\n## Scheduled (Cron) Trigger\n\n```yaml\ntrigger:\n  name: Nightly Build\n  identifier: nightly_build\n  orgIdentifier: default\n  projectIdentifier: my_project\n  pipelineIdentifier: ci_pipeline\n  source:\n    type: Scheduled\n    spec:\n      type: Cron\n      spec:\n        expression: \"0 2 * * *\"    # 2 AM daily\n  inputYaml: |\n    pipeline:\n      identifier: ci_pipeline\n      properties:\n        ci:\n          codebase:\n            build:\n              type: branch\n              spec:\n                branch: main\n```\n\nCron format: `\u003Cminute> \u003Chour> \u003Cday-of-month> \u003Cmonth> \u003Cday-of-week>`\n\n## Artifact Trigger (Docker Registry)\n\n```yaml\ntrigger:\n  name: New Image Trigger\n  identifier: new_image\n  pipelineIdentifier: deploy_pipeline\n  source:\n    type: Artifact\n    spec:\n      type: DockerRegistry\n      spec:\n        connectorRef: dockerhub\n        imagePath: myorg\u002Fmyimage\n        tag: \u003C+trigger.artifact.build>\n  inputYaml: |\n    pipeline:\n      identifier: deploy_pipeline\n      stages:\n        - stage:\n            identifier: deploy\n            spec:\n              service:\n                serviceRef: my_service\n```\n\n### Artifact Source Types\n- `DockerRegistry` - Docker Hub\n- `Ecr` - AWS ECR\n- `Gcr` - Google Container Registry\n- `Acr` - Azure Container Registry\n- `Nexus3Registry` - Nexus\n- `AmazonS3` - S3 artifacts\n\n## Creating via MCP\n\n```\nCall MCP tool: harness_create\nParameters:\n  resource_type: \"trigger\"\n  org_id: \"\u003Corganization>\"\n  project_id: \"\u003Cproject>\"\n  body: \u003Ctrigger YAML>\n```\n\nTo list existing triggers:\n\n```\nCall MCP tool: harness_list\nParameters:\n  resource_type: \"trigger\"\n  org_id: \"\u003Corganization>\"\n  project_id: \"\u003Cproject>\"\n```\n\n## Payload Conditions\n\nFilter triggers by webhook payload:\n\n```yaml\npayloadConditions:\n  - key: targetBranch\n    operator: Equals        # Equals, NotEquals, In, NotIn, StartsWith, EndsWith, Contains, Regex\n    value: main\n  - key: sourceBranch\n    operator: StartsWith\n    value: feature\u002F\n```\n\nCommon keys: `sourceBranch`, `targetBranch`, `ref`, `action`, `tag`\n\n## Examples\n\n- \"Create a GitHub PR trigger for CI\" - Webhook trigger with PullRequest type\n- \"Set up nightly builds at 2 AM\" - Scheduled trigger with cron\n- \"Trigger deploy when new Docker image is pushed\" - Artifact trigger with DockerRegistry\n- \"Create a release trigger for tags\" - Webhook with Push type, tag filter\n\n## Performance Notes\n\n- Verify payload conditions match actual webhook payloads from the Git provider.\n- For cron triggers, double-check the expression — cron uses UTC timezone.\n- Confirm the target pipeline identifier and inputYaml match the pipeline's expected inputs.\n\n## Troubleshooting\n\n### Trigger Not Firing\n- Verify webhook is registered in Git provider\n- Check payload conditions match actual payload\n- Ensure connector has correct permissions\n- Test with `harness_get` on the trigger to verify config\n\n### Duplicate Executions\n- Enable `autoAbortPreviousExecutions` for PR triggers\n- Check for overlapping trigger conditions\n\n### Cron Not Running\n- Verify cron expression syntax (5 fields, UTC timezone)\n- Check pipeline identifier is correct\n- Ensure trigger is enabled\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":27},{"author":24,"version":25,"mcp-server":26},"Harness","2.0.0","harness-mcp-v2","Requires Harness MCP v2 server (harness-mcp-v2)","main","f3af6b6781621109871cca9e2989364afc509f3d","harnesses\u002Fharness-skills\u002Fskills\u002Fcreate-trigger","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository","https:\u002F\u002Fgithub.com\u002FAdmiralGallade","Eager to learn!\r\nI'll do anything for more knowledge anywhere.","2026-06-06 07:34:31",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add AdmiralGallade\u002Fharness-repository --skill create-trigger",{"tool":41,"command":42},"bunx","bunx skills add AdmiralGallade\u002Fharness-repository --skill create-trigger",{"tool":44,"command":45},"pnpm","pnpm dlx skills add AdmiralGallade\u002Fharness-repository --skill create-trigger","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fcreate-trigger\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M75JSM6WGJ71BTHM6VC8CJ1X","verify-sign","Add an Artifact Verification (SscaArtifactVerification) step to an existing Harness pipeline to verify Cosign signatures on container or local-stage artifacts. Supports CI, Security, and CD Deploy (containerized step group). Supports Third-Party registries (Docker, ECR, GCR, GAR, ACR), Harness Artifact Registry (HAR), and Harness Local Stage artifacts. Only works with existing pipelines. Use when asked to verify signed artifacts, verify artifact signature, verify-sign, validate Cosign signature, or configure SscaArtifactVerification. Trigger phrases: verify sign, verify artifact, artifact verification, verify signature, verify-sign, SscaArtifactVerification, verify signed image, verify Cosign, HAR verification.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fverify-sign\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M75JSDSTP77TFM3JFGBB8QKP","template-usage","Track Harness template dependencies, usage, and adoption via MCP v2 tools. Find which pipelines or other templates reference a given template, analyze update impact, identify unused templates, and compare version adoption. Use when asked about template usage, template references, template dependencies, impact analysis before updating a template, finding unused templates, or tracking template adoption across projects. Trigger phrases: template usage, who uses template, template references, template dependencies, template impact, unused templates, template adoption. Do NOT use for creating or updating templates (use create-template instead).","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Ftemplate-usage\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M75JS76Q2KC8PD598H2DZZRA","sign-artifact","Add an Artifact Signing (SscaArtifactSigning) step to an existing Harness pipeline to Cosign-sign container or local-stage artifacts with keyless, key-based, or Vault signing. Supports Third-Party registries (Docker, ECR, GCR, GAR, ACR), Harness Artifact Registry (HAR), and Harness Local Stage artifacts. Place after image build\u002Fpush; optionally upload .sig to the registry. Only works with existing pipelines. Use when asked to sign artifacts, add artifact signing, Cosign sign image, attach signature to registry, or configure SscaArtifactSigning. Trigger phrases: sign artifact, artifact signing, sign image, Cosign sign, add signing step, SscaArtifactSigning, attach signature, sign container image, HAR signing.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fsign-artifact\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M75JS16EEFFHA44EBNE8KWNT","sei-analytics","Advanced engineering analytics via Harness Software Engineering Insights (SEI) MCP. Configure sprint velocity and estimation accuracy tracking, engineering investment allocation breakdowns, sprint planning with capacity forecasts, and release readiness assessments. Use when asked about sprint analytics, investment allocation, sprint planning, capacity forecasting, or release readiness. Do NOT use for DORA metrics (use dora-metrics instead). Trigger phrases: sprint velocity, sprint analytics, investment allocation, capacity planning, sprint forecast, release readiness, engineering productivity, estimation accuracy, sprint planning, scope creep, code quality trends.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fsei-analytics\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M75JRWE3X3E7V9JFQ4ENZYZM","security-report","Generate security compliance reports using Harness SCS and STO via MCP. Analyze vulnerabilities, SBOMs, and manage exemptions. Use when user says \"security report\", \"vulnerabilities\", \"SBOM\", \"security scan\", \"compliance check\", or asks about application security.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fsecurity-report\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M75JRSFJSNZFZRFKX8MSPCS2","scorecard-review","Review service maturity scorecards and compliance using Harness IDP via MCP. Check production readiness, security, and documentation scores. Use when user says \"scorecard\", \"service maturity\", \"production readiness\", \"compliance score\", or asks about service health scores.","https:\u002F\u002Fgithub.com\u002FAdmiralGallade\u002Fharness-repository\u002Fblob\u002Fmain\u002Fharnesses\u002Fharness-skills\u002Fskills\u002Fscorecard-review\u002FSKILL.md",[],[]]