[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AMXWPMNQR66NX0FFY1YHM1":3,"skill-same:01M7AMXWPMNQR66NX0FFY1YHM1":48},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7AMXWPMNQR66NX0FFY1YHM1","devsecops-pipeline",null,"Use whenever building or reviewing CI\u002FCD security pipelines, DevSecOps GitHub Actions workflows, SAST\u002FDAST\u002FSCA scanning, secrets scanning, container scanning, IaC scanning, or security gates in deployment pipelines. Essential for any security-in-pipeline work.","the-vibey-project\u002Fvibey","the-vibey-project","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F329298758?v=4","01M7AJHGZ9722CTJ4JNQZVRH0Q","the vibey project","01M7AJHGZVMG2K7TGXQ6XFHVG3",5,"MIT","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fdevsecops-cicd\u002Fskills\u002Fdevsecops-pipeline\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: devsecops-pipeline\ndescription: Use whenever building or reviewing CI\u002FCD security pipelines, DevSecOps GitHub Actions workflows, SAST\u002FDAST\u002FSCA scanning, secrets scanning, container scanning, IaC scanning, or security gates in deployment pipelines. Essential for any security-in-pipeline work.\n---\n\n# DevSecOps Pipeline: Security-in-CI\u002FCD Reference\n\n## The Full 6-Job GitHub Actions Pipeline\n\nThe complete DevSecOps pipeline integrates SAST, SCA, secrets scanning, container scanning, IaC scanning, and a deploy job that only runs if all security gates pass.\n\n```yaml\n# .github\u002Fworkflows\u002Fdevsecops.yml\nname: DevSecOps Pipeline\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\npermissions:\n  security-events: write\n  contents: read\n  id-token: write    # Required for OIDC Azure auth in deploy job\n\njobs:\n  # ── JOB 1: SAST — Static Application Security Testing ──────────────────────\n  sast-semgrep:\n    name: SAST (Semgrep)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: returntocorp\u002Fsemgrep-action@v1\n        with:\n          config: 'p\u002Fsecurity-audit p\u002Fowasp-top-ten p\u002Fcsharp p\u002Ftypescript p\u002Fsecrets'\n          generateSarif: true\n      - uses: github\u002Fcodeql-action\u002Fupload-sarif@v3\n        with:\n          sarif_file: semgrep.sarif\n        if: always()\n\n  sast-codeql:\n    name: SAST (CodeQL)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: github\u002Fcodeql-action\u002Finit@v3\n        with:\n          languages: 'csharp, javascript'   # CodeQL excels at C# and TypeScript\n          queries: security-extended\n      - uses: github\u002Fcodeql-action\u002Fautobuild@v3\n      - uses: github\u002Fcodeql-action\u002Fanalyze@v3\n        with:\n          output: codeql-results.sarif\n      - uses: github\u002Fcodeql-action\u002Fupload-sarif@v3\n        with:\n          sarif_file: codeql-results.sarif\n        if: always()\n\n  # ── JOB 2: SCA — Software Composition Analysis (dependencies) ─────────────\n  sca-snyk:\n    name: SCA (Snyk)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Run Snyk for .NET\n        uses: snyk\u002Factions\u002Fdotnet@master\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          args: '--severity-threshold=high --all-projects'\n      - name: Run Snyk for Node\n        uses: snyk\u002Factions\u002Fnode@master\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          args: '--severity-threshold=high'\n\n  # ── JOB 3: Secrets Scanning ─────────────────────────────────────────────────\n  secrets-scan:\n    name: Secrets Scan (Gitleaks)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n        with:\n          fetch-depth: 0    # Full history — scan all commits, not just latest\n      - uses: gitleaks\u002Fgitleaks-action@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}   # Required for org scans\n\n  # ── JOB 4: Container Scanning ───────────────────────────────────────────────\n  container-scan:\n    name: Container Scan (Trivy)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Build image\n        run: docker build -t myapp:${{ github.sha }} .\n      - name: Scan filesystem (catches IaC and deps in repo)\n        uses: aquasecurity\u002Ftrivy-action@master\n        with:\n          scan-type: 'fs'\n          scan-ref: '.'\n          severity: 'CRITICAL,HIGH'\n          exit-code: '1'\n          format: sarif\n          output: trivy-fs.sarif\n      - name: Scan container image\n        uses: aquasecurity\u002Ftrivy-action@master\n        with:\n          image-ref: 'myapp:${{ github.sha }}'\n          severity: 'CRITICAL,HIGH'\n          exit-code: '1'\n          format: sarif\n          output: trivy-image.sarif\n      - uses: github\u002Fcodeql-action\u002Fupload-sarif@v3\n        with:\n          sarif_file: trivy-image.sarif\n        if: always()\n\n  # ── JOB 5: IaC Scanning ─────────────────────────────────────────────────────\n  iac-scan:\n    name: IaC Scan (Checkov)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Checkov for Terraform\n        uses: bridgecrewio\u002Fcheckov-action@master\n        with:\n          directory: infra\u002F\n          framework: terraform\n          soft_fail: false\n          output_format: sarif\n          output_file_path: checkov-tf.sarif\n      - name: Checkov for Bicep\n        uses: bridgecrewio\u002Fcheckov-action@master\n        with:\n          directory: infra\u002F\n          framework: bicep\n          soft_fail: false\n      - uses: github\u002Fcodeql-action\u002Fupload-sarif@v3\n        with:\n          sarif_file: checkov-tf.sarif\n        if: always()\n\n  # ── JOB 6: Deploy — Only if ALL security gates pass ─────────────────────────\n  deploy:\n    name: Deploy to Production\n    needs: [sast-semgrep, sast-codeql, sca-snyk, secrets-scan, container-scan, iac-scan]\n    if: github.ref == 'refs\u002Fheads\u002Fmain' && github.event_name == 'push'\n    runs-on: ubuntu-latest\n    environment: production    # Requires environment protection rules\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Azure Login (OIDC — no stored secrets)\n        uses: azure\u002Flogin@v2\n        with:\n          client-id: ${{ secrets.AZURE_CLIENT_ID }}\n          tenant-id: ${{ secrets.AZURE_TENANT_ID }}\n          subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}\n      - name: Deploy\n        run: |\n          echo \"All ${{ needs.sast-semgrep.result }}, ${{ needs.sca-snyk.result }} security gates passed — deploying\"\n          # az deployment group create ...\n```\n\n---\n\n## Job-by-Job Breakdown\n\n### Job 1: SAST — Static Application Security Testing\n\nTwo tools for different strengths:\n\n**Semgrep** — best for custom rules and rapid rule authorship. Rulesets to enable:\n- `p\u002Fsecurity-audit` — broad security patterns\n- `p\u002Fowasp-top-ten` — OWASP Top 10 checks\n- `p\u002Fcsharp` — C#-specific patterns\n- `p\u002Ftypescript` — TypeScript\u002FReact patterns\n- `p\u002Fsecrets` — hardcoded credential detection\n\n**CodeQL** — best for C# and TypeScript deep semantic analysis. Finds:\n- SQL injection (including EF Core string interpolation)\n- Cross-site scripting\n- Path traversal\n- Insecure deserialization\n- Missing authorization\n\nUse `languages: csharp, javascript` and `queries: security-extended` for the most thorough analysis. `autobuild` handles .NET solution files automatically.\n\nBoth tools upload SARIF results to GitHub's Security tab. Results persist and can be reviewed even if the job fails — always use `if: always()` on SARIF upload steps.\n\n### Job 2: SCA — Software Composition Analysis\n\nSnyk scans dependency trees for known vulnerabilities (CVEs) in NuGet and npm packages.\n\n`--severity-threshold=high` fails the job on HIGH or CRITICAL findings. Use `--all-projects` for monorepo solutions with multiple `.csproj` files.\n\n**Complement with Dependabot** for automated PR-based updates:\n```yaml\n# .github\u002Fdependabot.yml\nversion: 2\nupdates:\n  - package-ecosystem: \"npm\"\n    directory: \"\u002Ffrontend\"\n    schedule:\n      interval: \"weekly\"\n    open-pull-requests-limit: 10\n  - package-ecosystem: \"nuget\"\n    directory: \"\u002Fbackend\"\n    schedule:\n      interval: \"weekly\"\n    open-pull-requests-limit: 10\n```\n\nAlso enable NuGet audit in `.csproj` to catch vulnerabilities at build time locally:\n```xml\n\u003CPropertyGroup>\n    \u003CNuGetAudit>true\u003C\u002FNuGetAudit>\n    \u003CNuGetAuditMode>all\u003C\u002FNuGetAuditMode>\n    \u003CNuGetAuditLevel>low\u003C\u002FNuGetAuditLevel>\n    \u003CTreatWarningsAsErrors>true\u003C\u002FTreatWarningsAsErrors>\n\u003C\u002FPropertyGroup>\n```\n\n### Job 3: Secrets Scanning with Gitleaks\n\n`fetch-depth: 0` is critical — scans the entire git history, not just the latest commit. A secret committed 6 months ago and \"deleted\" in a subsequent commit is still in history.\n\n**Pre-commit hook to catch secrets before they reach CI:**\n```yaml\n# .pre-commit-config.yaml\nrepos:\n  - repo: https:\u002F\u002Fgithub.com\u002Fgitleaks\u002Fgitleaks\n    rev: v8.18.0\n    hooks:\n      - id: gitleaks\n```\n\nInstall pre-commit: `pip install pre-commit && pre-commit install`\n\n**Custom Gitleaks rules** for organization-specific patterns:\n```toml\n# .gitleaks.toml\n[[rules]]\n  id = \"azure-connection-string\"\n  description = \"Azure Storage Connection String\"\n  regex = '''DefaultEndpointsProtocol=https;AccountName=[^;]+;AccountKey=[A-Za-z0-9+\u002F=]{88}'''\n  tags = [\"azure\", \"storage\"]\n```\n\n### Job 4: Container Scanning with Trivy\n\nTwo scan modes:\n\n**Filesystem scan** (`scan-type: fs`) — scans the repository for vulnerable packages declared in `package-lock.json`, `packages.lock.json`, etc. Runs without building the image, so it catches issues early.\n\n**Image scan** — scans the built container image including OS packages. This catches vulnerabilities in the base image that aren't visible in dependency files.\n\n**Container security best practices enforced by Trivy scanning:**\n\n```dockerfile\n# Use distroless (no shell, no package manager — minimal attack surface)\nFROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:8.0 AS base\n\n# Run as non-root user\nRUN addgroup --system appgroup && adduser --system --ingroup appgroup appuser\nUSER appuser\n\n# Read-only filesystem (use volume mounts for writable paths)\n# Enforced at pod level: readOnlyRootFilesystem: true\n\n# No SUID\u002FSGID binaries\nRUN find \u002F -perm \u002F6000 -type f -exec chmod a-s {} \\; 2>\u002Fdev\u002Fnull || true\n```\n\n**Trivy Operator** for continuous in-cluster scanning (deploy separately):\n```bash\nhelm install trivy-operator aquasecurity\u002Ftrivy-operator \\\n  --namespace trivy-system \\\n  --create-namespace \\\n  --set=\"trivy.ignoreUnfixed=true\"\n```\n\n### Job 5: IaC Scanning with Checkov\n\nCheckov covers 1000+ built-in policies for CIS benchmarks, HIPAA, PCI-DSS, and SOC2 across:\n- Terraform (Azure provider)\n- Bicep \u002F ARM templates\n- Kubernetes YAML manifests\n- Dockerfile\n- GitHub Actions workflows\n\n`soft_fail: false` makes the job fail on policy violations. Use `check` \u002F `skip-check` for exceptions:\n\n```yaml\n- uses: bridgecrewio\u002Fcheckov-action@master\n  with:\n    directory: infra\u002F\n    framework: terraform\n    soft_fail: false\n    skip-check: >\n      CKV_AZURE_88,\n      CKV2_AZURE_21\n```\n\nDocument every skipped check with justification in a comment or separate file. Unapproved exceptions require a security review.\n\n---\n\n## Semgrep PostToolUse Hook for Real-Time Scanning\n\nWire Semgrep to scan files immediately after Claude Code edits them:\n\n```json\n\u002F\u002F .claude\u002Fsettings.json\n{\n  \"hooks\": {\n    \"PostToolUse\": {\n      \"Edit\": \"semgrep scan --config p\u002Fsecrets --config p\u002Fowasp-top-ten --quiet ${CLAUDE_FILE_PATH}\",\n      \"Write\": \"semgrep scan --config p\u002Fsecrets --config p\u002Fowasp-top-ten --quiet ${CLAUDE_FILE_PATH}\"\n    }\n  }\n}\n```\n\nThis catches AI-generated security anti-patterns immediately during development, before they reach CI:\n- Hardcoded credentials (CWE-798)\n- SQL injection via string interpolation (CWE-89)\n- Missing authorization decorators (CWE-862)\n- XSS in React via `dangerouslySetInnerHTML` (CWE-79)\n\n---\n\n## Quality Gates and Exception Process\n\n**Gate thresholds:**\n- SAST: fail on HIGH or CRITICAL severity findings\n- SCA: fail on HIGH or CRITICAL CVEs\n- Secrets: fail on any detected secret\n- Container: fail on CRITICAL or HIGH CVEs in base image or installed packages\n- IaC: fail on HIGH severity policy violations (MEDIUM as warning only)\n\n**Exceptions process:**\n1. Security engineer reviews the finding\n2. Documents justification in code comment or exceptions file\n3. Uses tool-specific suppression annotation:\n\n```csharp\n\u002F\u002F Semgrep suppression\nvar query = $\"SELECT * FROM Users WHERE Id = {userId}\";  \u002F\u002F nosemgrep: sql-injection\n\u002F\u002F EXCEPTION: userId is validated as integer before this point — confirmed 2026-01-15\n\n\u002F\u002F Trivy suppression (in Trivy config file)\n\u002F\u002F trivy:ignore:CVE-2024-12345\n```\n\n```yaml\n# Checkov suppression inline\nresource \"azurerm_storage_account\" \"main\" {\n  # checkov:skip=CKV_AZURE_33: Public access needed for CDN static assets — reviewed 2026-01-15\n  allow_nested_items_to_be_public = true\n}\n```\n\n---\n\n## DAST: OWASP ZAP for Deployed Environments\n\nRun DAST against a deployed staging environment (not in the main PR pipeline — deploy first):\n\n```yaml\ndast-zap:\n  name: DAST (OWASP ZAP)\n  needs: [deploy-staging]\n  runs-on: ubuntu-latest\n  steps:\n    - name: ZAP Baseline Scan\n      uses: zaproxy\u002Faction-baseline@v0.10.0\n      with:\n        target: 'https:\u002F\u002Fstaging.myapp.example.com'\n        rules_file_name: '.zap\u002Frules.tsv'\n        cmd_options: '-a'    # Include alpha passive scan rules\n\n    - name: ZAP Full Scan (weekly only)\n      if: github.event_name == 'schedule'\n      uses: zaproxy\u002Faction-full-scan@v0.10.0\n      with:\n        target: 'https:\u002F\u002Fstaging.myapp.example.com'\n        rules_file_name: '.zap\u002Frules.tsv'\n```\n\nZAP rules file to suppress known false positives:\n```tsv\n# .zap\u002Frules.tsv\n10035\tIGNORE\t(Strict-Transport-Security Header Not Set)\n10038\tIGNORE\t(Content Security Policy Header Not Set)\n```\n\n---\n\n## Secrets Management — No Hardcoded Credentials\n\n**In GitHub Actions workflows:**\n- Use `${{ secrets.* }}` for sensitive values\n- Use OIDC federation for Azure, AWS, GCP (no stored cloud credentials)\n- Use `${{ vars.* }}` for non-sensitive configuration\n\n**Repository secrets vs environment secrets:**\n- Repository secrets are available to all workflows — use for non-environment-specific values\n- Environment secrets (under `environment: production`) are only injected when the job runs against that environment — use for production credentials\n\n```yaml\n# OIDC pattern — only tenant\u002Fsubscription IDs stored as secrets, no passwords\n- uses: azure\u002Flogin@v2\n  with:\n    client-id: ${{ secrets.AZURE_CLIENT_ID }}      # App registration client ID\n    tenant-id: ${{ secrets.AZURE_TENANT_ID }}      # Tenant ID\n    subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}\n    # No AZURE_CLIENT_SECRET — uses OIDC token exchange\n```\n\n---\n\n## Branch Protection Rules\n\nConfigure these on the main branch to enforce security gates before merge:\n\n```yaml\n# Via GitHub repository settings or Terraform:\nresource \"github_branch_protection\" \"main\" {\n  repository_id = github_repository.main.node_id\n  pattern       = \"main\"\n\n  required_status_checks {\n    strict   = true    # Require branch to be up to date\n    contexts = [\n      \"SAST (Semgrep)\",\n      \"SAST (CodeQL)\",\n      \"SCA (Snyk)\",\n      \"Secrets Scan (Gitleaks)\",\n      \"Container Scan (Trivy)\",\n      \"IaC Scan (Checkov)\",\n    ]\n  }\n\n  required_pull_request_reviews {\n    dismiss_stale_reviews           = true\n    require_code_owner_reviews      = true\n    required_approving_review_count = 1\n  }\n\n  enforce_admins = true    # Admins cannot bypass checks\n}\n```\n\n---\n\n## Reusable Security Workflow Pattern\n\nExtract scanning jobs into reusable workflows for consistent security across all repositories:\n\n```yaml\n# .github\u002Fworkflows\u002Fsecurity-scan.yml (in a central org repo)\non:\n  workflow_call:\n    inputs:\n      image-ref:\n        required: true\n        type: string\n      infra-directory:\n        required: false\n        type: string\n        default: 'infra\u002F'\n    secrets:\n      SNYK_TOKEN:\n        required: true\n\njobs:\n  sast:\n    uses: .\u002F.github\u002Fworkflows\u002Fsast.yml\n  sca:\n    uses: .\u002F.github\u002Fworkflows\u002Fsca.yml\n    secrets: inherit\n  container-scan:\n    uses: .\u002F.github\u002Fworkflows\u002Fcontainer-scan.yml\n    with:\n      image-ref: ${{ inputs.image-ref }}\n```\n\nCall from any repository:\n```yaml\nsecurity:\n  uses: myorg\u002Fshared-workflows\u002F.github\u002Fworkflows\u002Fsecurity-scan.yml@main\n  with:\n    image-ref: myapp:${{ github.sha }}\n    infra-directory: infrastructure\u002F\n  secrets: inherit\n```\n\n---\n\n## Security Policy as Code with OPA\u002FRego\n\nEnforce security policies across the stack using OPA with Conftest:\n\n```rego\n# policy\u002Fkubernetes.rego\npackage kubernetes.security\n\ndeny[msg] {\n  input.kind == \"Deployment\"\n  container := input.spec.template.spec.containers[_]\n  not container.securityContext.readOnlyRootFilesystem\n  msg := sprintf(\"Container '%s' must have readOnlyRootFilesystem: true\", [container.name])\n}\n\ndeny[msg] {\n  input.kind == \"Deployment\"\n  container := input.spec.template.spec.containers[_]\n  not container.resources.limits.memory\n  msg := sprintf(\"Container '%s' must have memory limits set\", [container.name])\n}\n\ndeny[msg] {\n  input.kind == \"Deployment\"\n  input.spec.template.spec.containers[_].image\n  endswith(input.spec.template.spec.containers[_].image, \":latest\")\n  msg := \"Images must not use :latest tag — pin by digest or semver\"\n}\n```\n\nRun in CI:\n```yaml\n- name: Policy check with Conftest\n  run: |\n    helm template .\u002Fcharts\u002Fmyapp | conftest test - \\\n      --policy policy\u002F \\\n      --namespace kubernetes.security\n```\n\n---\n\n## Dependency Management: Dependabot + Snyk + Renovate\n\n**Renovate bot** (more configurable than Dependabot) for automated dependency updates:\n```json\n\u002F\u002F renovate.json\n{\n  \"extends\": [\"config:base\", \":dependencyDashboard\"],\n  \"packageRules\": [\n    {\n      \"matchUpdateTypes\": [\"patch\"],\n      \"automerge\": true    \u002F\u002F Auto-merge patch updates\n    },\n    {\n      \"matchPackagePatterns\": [\"^Azure\\\\.\", \"^Microsoft\\\\.\"],\n      \"groupName\": \"Azure SDK packages\"\n    }\n  ],\n  \"prConcurrentLimit\": 5\n}\n```\n\n---\n\n## Pipeline Security Anti-Patterns to Avoid\n\n1. **`soft_fail: true` on security scans** — defeats the purpose of gates. Only acceptable during initial rollout.\n\n2. **Scanning only the PR diff** — use `fetch-depth: 0` for secrets scanning; scan the full image for container vulnerabilities, not just changed files.\n\n3. **Skipping SARIF upload on failure** — always `if: always()` on SARIF uploads so findings appear in GitHub Security tab even when the job fails.\n\n4. **Single SARIF for multiple scans** — upload separate SARIF files from each tool so findings are attributed correctly.\n\n5. **Environment secrets as repository secrets** — production credentials should be environment-scoped, not available to all workflows.\n\n6. **No exception process** — blanket `soft_fail: true` or skipping all checks is worse than no scanning. Build a documented, time-bound exception process with a required security review.\n\n7. **Building untrusted pull requests with access to secrets** — use `pull_request_target` only when necessary and keep secrets out of untrusted PR contexts.\n","# DevSecOps Pipeline: Security-in-CI\u002FCD Reference\n\n## The Full 6-Job GitHub Actions Pipeline\n\nThe complete DevSecOps pipeline integrates SAST, SCA, secrets scanning, container scanning, IaC scanning, and a deploy job that only runs if all security gates pass.\n\n```yaml\n# .github\u002Fworkflows\u002Fdevsecops.yml\nname: DevSecOps Pipeline\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\npermissions:\n  security-events: write\n  contents: read\n  id-token: write    # Required for OIDC Azure auth in deploy job\n\njobs:\n  # ── JOB 1: SAST — Static Application Security Testing ──────────────────────\n  sast-semgrep:\n    name: SAST (Semgrep)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: returntocorp\u002Fsemgrep-action@v1\n        with:\n          config: 'p\u002Fsecurity-audit p\u002Fowasp-top-ten p\u002Fcsharp p\u002Ftypescript p\u002Fsecrets'\n          generateSarif: true\n      - uses: github\u002Fcodeql-action\u002Fupload-sarif@v3\n        with:\n          sarif_file: semgrep.sarif\n        if: always()\n\n  sast-codeql:\n    name: SAST (CodeQL)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: github\u002Fcodeql-action\u002Finit@v3\n        with:\n          languages: 'csharp, javascript'   # CodeQL excels at C# and TypeScript\n          queries: security-extended\n      - uses: github\u002Fcodeql-action\u002Fautobuild@v3\n      - uses: github\u002Fcodeql-action\u002Fanalyze@v3\n        with:\n          output: codeql-results.sarif\n      - uses: github\u002Fcodeql-action\u002Fupload-sarif@v3\n        with:\n          sarif_file: codeql-results.sarif\n        if: always()\n\n  # ── JOB 2: SCA — Software Composition Analysis (dependencies) ─────────────\n  sca-snyk:\n    name: SCA (Snyk)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Run Snyk for .NET\n        uses: snyk\u002Factions\u002Fdotnet@master\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          args: '--severity-threshold=high --all-projects'\n      - name: Run Snyk for Node\n        uses: snyk\u002Factions\u002Fnode@master\n        env:\n          SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}\n        with:\n          args: '--severity-threshold=high'\n\n  # ── JOB 3: Secrets Scanning ─────────────────────────────────────────────────\n  secrets-scan:\n    name: Secrets Scan (Gitleaks)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n        with:\n          fetch-depth: 0    # Full history — scan all commits, not just latest\n      - uses: gitleaks\u002Fgitleaks-action@v2\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}   # Required for org scans\n\n  # ── JOB 4: Container Scanning ───────────────────────────────────────────────\n  container-scan:\n    name: Container Scan (Trivy)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Build image\n        run: docker build -t myapp:${{ github.sha }} .\n      - name: Scan filesystem (catches IaC and deps in repo)\n        uses: aquasecurity\u002Ftrivy-action@master\n        with:\n          scan-type: 'fs'\n          scan-ref: '.'\n          severity: 'CRITICAL,HIGH'\n          exit-code: '1'\n          format: sarif\n          output: trivy-fs.sarif\n      - name: Scan container image\n        uses: aquasecurity\u002Ftrivy-action@master\n        with:\n          image-ref: 'myapp:${{ github.sha }}'\n          severity: 'CRITICAL,HIGH'\n          exit-code: '1'\n          format: sarif\n          output: trivy-image.sarif\n      - uses: github\u002Fcodeql-action\u002Fupload-sarif@v3\n        with:\n          sarif_file: trivy-image.sarif\n        if: always()\n\n  # ── JOB 5: IaC Scanning ─────────────────────────────────────────────────────\n  iac-scan:\n    name: IaC Scan (Checkov)\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Checkov for Terraform\n        uses: bridgecrewio\u002Fcheckov-action@master\n        with:\n          directory: infra\u002F\n          framework: terraform\n          soft_fail: false\n          output_format: sarif\n          output_file_path: checkov-tf.sarif\n      - name: Checkov for Bicep\n        uses: bridgecrewio\u002Fcheckov-action@master\n        with:\n          directory: infra\u002F\n          framework: bicep\n          soft_fail: false\n      - uses: github\u002Fcodeql-action\u002Fupload-sarif@v3\n        with:\n          sarif_file: checkov-tf.sarif\n        if: always()\n\n  # ── JOB 6: Deploy — Only if ALL security gates pass ─────────────────────────\n  deploy:\n    name: Deploy to Production\n    needs: [sast-semgrep, sast-codeql, sca-snyk, secrets-scan, container-scan, iac-scan]\n    if: github.ref == 'refs\u002Fheads\u002Fmain' && github.event_name == 'push'\n    runs-on: ubuntu-latest\n    environment: production    # Requires environment protection rules\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - name: Azure Login (OIDC — no stored secrets)\n        uses: azure\u002Flogin@v2\n        with:\n          client-id: ${{ secrets.AZURE_CLIENT_ID }}\n          tenant-id: ${{ secrets.AZURE_TENANT_ID }}\n          subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}\n      - name: Deploy\n        run: |\n          echo \"All ${{ needs.sast-semgrep.result }}, ${{ needs.sca-snyk.result }} security gates passed — deploying\"\n          # az deployment group create ...\n```\n\n---\n\n## Job-by-Job Breakdown\n\n### Job 1: SAST — Static Application Security Testing\n\nTwo tools for different strengths:\n\n**Semgrep** — best for custom rules and rapid rule authorship. Rulesets to enable:\n- `p\u002Fsecurity-audit` — broad security patterns\n- `p\u002Fowasp-top-ten` — OWASP Top 10 checks\n- `p\u002Fcsharp` — C#-specific patterns\n- `p\u002Ftypescript` — TypeScript\u002FReact patterns\n- `p\u002Fsecrets` — hardcoded credential detection\n\n**CodeQL** — best for C# and TypeScript deep semantic analysis. Finds:\n- SQL injection (including EF Core string interpolation)\n- Cross-site scripting\n- Path traversal\n- Insecure deserialization\n- Missing authorization\n\nUse `languages: csharp, javascript` and `queries: security-extended` for the most thorough analysis. `autobuild` handles .NET solution files automatically.\n\nBoth tools upload SARIF results to GitHub's Security tab. Results persist and can be reviewed even if the job fails — always use `if: always()` on SARIF upload steps.\n\n### Job 2: SCA — Software Composition Analysis\n\nSnyk scans dependency trees for known vulnerabilities (CVEs) in NuGet and npm packages.\n\n`--severity-threshold=high` fails the job on HIGH or CRITICAL findings. Use `--all-projects` for monorepo solutions with multiple `.csproj` files.\n\n**Complement with Dependabot** for automated PR-based updates:\n```yaml\n# .github\u002Fdependabot.yml\nversion: 2\nupdates:\n  - package-ecosystem: \"npm\"\n    directory: \"\u002Ffrontend\"\n    schedule:\n      interval: \"weekly\"\n    open-pull-requests-limit: 10\n  - package-ecosystem: \"nuget\"\n    directory: \"\u002Fbackend\"\n    schedule:\n      interval: \"weekly\"\n    open-pull-requests-limit: 10\n```\n\nAlso enable NuGet audit in `.csproj` to catch vulnerabilities at build time locally:\n```xml\n\u003CPropertyGroup>\n    \u003CNuGetAudit>true\u003C\u002FNuGetAudit>\n    \u003CNuGetAuditMode>all\u003C\u002FNuGetAuditMode>\n    \u003CNuGetAuditLevel>low\u003C\u002FNuGetAuditLevel>\n    \u003CTreatWarningsAsErrors>true\u003C\u002FTreatWarningsAsErrors>\n\u003C\u002FPropertyGroup>\n```\n\n### Job 3: Secrets Scanning with Gitleaks\n\n`fetch-depth: 0` is critical — scans the entire git history, not just the latest commit. A secret committed 6 months ago and \"deleted\" in a subsequent commit is still in history.\n\n**Pre-commit hook to catch secrets before they reach CI:**\n```yaml\n# .pre-commit-config.yaml\nrepos:\n  - repo: https:\u002F\u002Fgithub.com\u002Fgitleaks\u002Fgitleaks\n    rev: v8.18.0\n    hooks:\n      - id: gitleaks\n```\n\nInstall pre-commit: `pip install pre-commit && pre-commit install`\n\n**Custom Gitleaks rules** for organization-specific patterns:\n```toml\n# .gitleaks.toml\n[[rules]]\n  id = \"azure-connection-string\"\n  description = \"Azure Storage Connection String\"\n  regex = '''DefaultEndpointsProtocol=https;AccountName=[^;]+;AccountKey=[A-Za-z0-9+\u002F=]{88}'''\n  tags = [\"azure\", \"storage\"]\n```\n\n### Job 4: Container Scanning with Trivy\n\nTwo scan modes:\n\n**Filesystem scan** (`scan-type: fs`) — scans the repository for vulnerable packages declared in `package-lock.json`, `packages.lock.json`, etc. Runs without building the image, so it catches issues early.\n\n**Image scan** — scans the built container image including OS packages. This catches vulnerabilities in the base image that aren't visible in dependency files.\n\n**Container security best practices enforced by Trivy scanning:**\n\n```dockerfile\n# Use distroless (no shell, no package manager — minimal attack surface)\nFROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:8.0 AS base\n\n# Run as non-root user\nRUN addgroup --system appgroup && adduser --system --ingroup appgroup appuser\nUSER appuser\n\n# Read-only filesystem (use volume mounts for writable paths)\n# Enforced at pod level: readOnlyRootFilesystem: true\n\n# No SUID\u002FSGID binaries\nRUN find \u002F -perm \u002F6000 -type f -exec chmod a-s {} \\; 2>\u002Fdev\u002Fnull || true\n```\n\n**Trivy Operator** for continuous in-cluster scanning (deploy separately):\n```bash\nhelm install trivy-operator aquasecurity\u002Ftrivy-operator \\\n  --namespace trivy-system \\\n  --create-namespace \\\n  --set=\"trivy.ignoreUnfixed=true\"\n```\n\n### Job 5: IaC Scanning with Checkov\n\nCheckov covers 1000+ built-in policies for CIS benchmarks, HIPAA, PCI-DSS, and SOC2 across:\n- Terraform (Azure provider)\n- Bicep \u002F ARM templates\n- Kubernetes YAML manifests\n- Dockerfile\n- GitHub Actions workflows\n\n`soft_fail: false` makes the job fail on policy violations. Use `check` \u002F `skip-check` for exceptions:\n\n```yaml\n- uses: bridgecrewio\u002Fcheckov-action@master\n  with:\n    directory: infra\u002F\n    framework: terraform\n    soft_fail: false\n    skip-check: >\n      CKV_AZURE_88,\n      CKV2_AZURE_21\n```\n\nDocument every skipped check with justification in a comment or separate file. Unapproved exceptions require a security review.\n\n---\n\n## Semgrep PostToolUse Hook for Real-Time Scanning\n\nWire Semgrep to scan files immediately after Claude Code edits them:\n\n```json\n\u002F\u002F .claude\u002Fsettings.json\n{\n  \"hooks\": {\n    \"PostToolUse\": {\n      \"Edit\": \"semgrep scan --config p\u002Fsecrets --config p\u002Fowasp-top-ten --quiet ${CLAUDE_FILE_PATH}\",\n      \"Write\": \"semgrep scan --config p\u002Fsecrets --config p\u002Fowasp-top-ten --quiet ${CLAUDE_FILE_PATH}\"\n    }\n  }\n}\n```\n\nThis catches AI-generated security anti-patterns immediately during development, before they reach CI:\n- Hardcoded credentials (CWE-798)\n- SQL injection via string interpolation (CWE-89)\n- Missing authorization decorators (CWE-862)\n- XSS in React via `dangerouslySetInnerHTML` (CWE-79)\n\n---\n\n## Quality Gates and Exception Process\n\n**Gate thresholds:**\n- SAST: fail on HIGH or CRITICAL severity findings\n- SCA: fail on HIGH or CRITICAL CVEs\n- Secrets: fail on any detected secret\n- Container: fail on CRITICAL or HIGH CVEs in base image or installed packages\n- IaC: fail on HIGH severity policy violations (MEDIUM as warning only)\n\n**Exceptions process:**\n1. Security engineer reviews the finding\n2. Documents justification in code comment or exceptions file\n3. Uses tool-specific suppression annotation:\n\n```csharp\n\u002F\u002F Semgrep suppression\nvar query = $\"SELECT * FROM Users WHERE Id = {userId}\";  \u002F\u002F nosemgrep: sql-injection\n\u002F\u002F EXCEPTION: userId is validated as integer before this point — confirmed 2026-01-15\n\n\u002F\u002F Trivy suppression (in Trivy config file)\n\u002F\u002F trivy:ignore:CVE-2024-12345\n```\n\n```yaml\n# Checkov suppression inline\nresource \"azurerm_storage_account\" \"main\" {\n  # checkov:skip=CKV_AZURE_33: Public access needed for CDN static assets — reviewed 2026-01-15\n  allow_nested_items_to_be_public = true\n}\n```\n\n---\n\n## DAST: OWASP ZAP for Deployed Environments\n\nRun DAST against a deployed staging environment (not in the main PR pipeline — deploy first):\n\n```yaml\ndast-zap:\n  name: DAST (OWASP ZAP)\n  needs: [deploy-staging]\n  runs-on: ubuntu-latest\n  steps:\n    - name: ZAP Baseline Scan\n      uses: zaproxy\u002Faction-baseline@v0.10.0\n      with:\n        target: 'https:\u002F\u002Fstaging.myapp.example.com'\n        rules_file_name: '.zap\u002Frules.tsv'\n        cmd_options: '-a'    # Include alpha passive scan rules\n\n    - name: ZAP Full Scan (weekly only)\n      if: github.event_name == 'schedule'\n      uses: zaproxy\u002Faction-full-scan@v0.10.0\n      with:\n        target: 'https:\u002F\u002Fstaging.myapp.example.com'\n        rules_file_name: '.zap\u002Frules.tsv'\n```\n\nZAP rules file to suppress known false positives:\n```tsv\n# .zap\u002Frules.tsv\n10035\tIGNORE\t(Strict-Transport-Security Header Not Set)\n10038\tIGNORE\t(Content Security Policy Header Not Set)\n```\n\n---\n\n## Secrets Management — No Hardcoded Credentials\n\n**In GitHub Actions workflows:**\n- Use `${{ secrets.* }}` for sensitive values\n- Use OIDC federation for Azure, AWS, GCP (no stored cloud credentials)\n- Use `${{ vars.* }}` for non-sensitive configuration\n\n**Repository secrets vs environment secrets:**\n- Repository secrets are available to all workflows — use for non-environment-specific values\n- Environment secrets (under `environment: production`) are only injected when the job runs against that environment — use for production credentials\n\n```yaml\n# OIDC pattern — only tenant\u002Fsubscription IDs stored as secrets, no passwords\n- uses: azure\u002Flogin@v2\n  with:\n    client-id: ${{ secrets.AZURE_CLIENT_ID }}      # App registration client ID\n    tenant-id: ${{ secrets.AZURE_TENANT_ID }}      # Tenant ID\n    subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}\n    # No AZURE_CLIENT_SECRET — uses OIDC token exchange\n```\n\n---\n\n## Branch Protection Rules\n\nConfigure these on the main branch to enforce security gates before merge:\n\n```yaml\n# Via GitHub repository settings or Terraform:\nresource \"github_branch_protection\" \"main\" {\n  repository_id = github_repository.main.node_id\n  pattern       = \"main\"\n\n  required_status_checks {\n    strict   = true    # Require branch to be up to date\n    contexts = [\n      \"SAST (Semgrep)\",\n      \"SAST (CodeQL)\",\n      \"SCA (Snyk)\",\n      \"Secrets Scan (Gitleaks)\",\n      \"Container Scan (Trivy)\",\n      \"IaC Scan (Checkov)\",\n    ]\n  }\n\n  required_pull_request_reviews {\n    dismiss_stale_reviews           = true\n    require_code_owner_reviews      = true\n    required_approving_review_count = 1\n  }\n\n  enforce_admins = true    # Admins cannot bypass checks\n}\n```\n\n---\n\n## Reusable Security Workflow Pattern\n\nExtract scanning jobs into reusable workflows for consistent security across all repositories:\n\n```yaml\n# .github\u002Fworkflows\u002Fsecurity-scan.yml (in a central org repo)\non:\n  workflow_call:\n    inputs:\n      image-ref:\n        required: true\n        type: string\n      infra-directory:\n        required: false\n        type: string\n        default: 'infra\u002F'\n    secrets:\n      SNYK_TOKEN:\n        required: true\n\njobs:\n  sast:\n    uses: .\u002F.github\u002Fworkflows\u002Fsast.yml\n  sca:\n    uses: .\u002F.github\u002Fworkflows\u002Fsca.yml\n    secrets: inherit\n  container-scan:\n    uses: .\u002F.github\u002Fworkflows\u002Fcontainer-scan.yml\n    with:\n      image-ref: ${{ inputs.image-ref }}\n```\n\nCall from any repository:\n```yaml\nsecurity:\n  uses: myorg\u002Fshared-workflows\u002F.github\u002Fworkflows\u002Fsecurity-scan.yml@main\n  with:\n    image-ref: myapp:${{ github.sha }}\n    infra-directory: infrastructure\u002F\n  secrets: inherit\n```\n\n---\n\n## Security Policy as Code with OPA\u002FRego\n\nEnforce security policies across the stack using OPA with Conftest:\n\n```rego\n# policy\u002Fkubernetes.rego\npackage kubernetes.security\n\ndeny[msg] {\n  input.kind == \"Deployment\"\n  container := input.spec.template.spec.containers[_]\n  not container.securityContext.readOnlyRootFilesystem\n  msg := sprintf(\"Container '%s' must have readOnlyRootFilesystem: true\", [container.name])\n}\n\ndeny[msg] {\n  input.kind == \"Deployment\"\n  container := input.spec.template.spec.containers[_]\n  not container.resources.limits.memory\n  msg := sprintf(\"Container '%s' must have memory limits set\", [container.name])\n}\n\ndeny[msg] {\n  input.kind == \"Deployment\"\n  input.spec.template.spec.containers[_].image\n  endswith(input.spec.template.spec.containers[_].image, \":latest\")\n  msg := \"Images must not use :latest tag — pin by digest or semver\"\n}\n```\n\nRun in CI:\n```yaml\n- name: Policy check with Conftest\n  run: |\n    helm template .\u002Fcharts\u002Fmyapp | conftest test - \\\n      --policy policy\u002F \\\n      --namespace kubernetes.security\n```\n\n---\n\n## Dependency Management: Dependabot + Snyk + Renovate\n\n**Renovate bot** (more configurable than Dependabot) for automated dependency updates:\n```json\n\u002F\u002F renovate.json\n{\n  \"extends\": [\"config:base\", \":dependencyDashboard\"],\n  \"packageRules\": [\n    {\n      \"matchUpdateTypes\": [\"patch\"],\n      \"automerge\": true    \u002F\u002F Auto-merge patch updates\n    },\n    {\n      \"matchPackagePatterns\": [\"^Azure\\\\.\", \"^Microsoft\\\\.\"],\n      \"groupName\": \"Azure SDK packages\"\n    }\n  ],\n  \"prConcurrentLimit\": 5\n}\n```\n\n---\n\n## Pipeline Security Anti-Patterns to Avoid\n\n1. **`soft_fail: true` on security scans** — defeats the purpose of gates. Only acceptable during initial rollout.\n\n2. **Scanning only the PR diff** — use `fetch-depth: 0` for secrets scanning; scan the full image for container vulnerabilities, not just changed files.\n\n3. **Skipping SARIF upload on failure** — always `if: always()` on SARIF uploads so findings appear in GitHub Security tab even when the job fails.\n\n4. **Single SARIF for multiple scans** — upload separate SARIF files from each tool so findings are attributed correctly.\n\n5. **Environment secrets as repository secrets** — production credentials should be environment-scoped, not available to all workflows.\n\n6. **No exception process** — blanket `soft_fail: true` or skipping all checks is worse than no scanning. Build a documented, time-bound exception process with a required security review.\n\n7. **Building untrusted pull requests with access to secrets** — use `pull_request_target` only when necessary and keep secrets out of untrusted PR contexts.\n",{"name":5,"description":7},"develop","ae32736a1aabddabca5d2c96d665aa0ebc7d8700","src\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fdevsecops-cicd\u002Fskills\u002Fdevsecops-pipeline",3,"https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey","https:\u002F\u002Fthe-vibey-project.github.io\u002Fvibey\u002F","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project","https:\u002F\u002Fvibewithadam.matthewsteinberger.com","freedom for software engineers","2026-11-15 05:47:42",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add the-vibey-project\u002Fvibey --skill devsecops-pipeline",{"tool":40,"command":41},"bunx","bunx skills add the-vibey-project\u002Fvibey --skill devsecops-pipeline",{"tool":43,"command":44},"pnpm","pnpm dlx skills add the-vibey-project\u002Fvibey --skill devsecops-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fdevsecops-cicd\u002Fskills\u002Fdevsecops-pipeline\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7AT1FQJAE1FQYAMDTF490Y4","white-paper-writing","Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks \"how should I structure this\" for a long-form document.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fwhite-paper-writing\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AT16BJRJJKK2MASXRZS76G","prose-technical-mechanics","Use when editing or writing prose at a technical\u002Fmechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-technical-mechanics\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AT0W9HT0ZZ9Y287NW99MR3","prose-mechanics","Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate\u002FJamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix \"AI-sounding\" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-mechanics\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AT0KR635JX66X2X6F3E2CP","narrative-structure","Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or \"how should I structure this story\u002Fpitch\u002Fpresentation\" request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fnarrative-structure\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7AT0AKGW09NKKZDYBT8VRDE","legal-brief-writing","Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic\u002Fneurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Flegal-brief-writing\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7AT00VWPS4Q8B5VEMXX9NQT","journal-publishability-criteria","Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs\u002Fpaper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fjournal-publishability-criteria\u002FSKILL.md",[],[]]