[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7522AMMVRD0SB6ENVQZETNJ":3,"skill-same:01M7522AMMVRD0SB6ENVQZETNJ":57},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":36,"updatedAt":37,"install":38,"resources":50},"01M7522AMMVRD0SB6ENVQZETNJ","x-generate-ci",null,"Generate or update CI\u002FCD pipelines based on project stack: detect language, analyze existing workflows, generate CI\u002FCD\u002Frelease\u002Fsecurity pipelines, validate with actionlint, support monorepo triggers.","review-bench\u002Federcnj_ia-dev-environment","review-bench","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F286778065?v=4","01M7517F9NTEPDZDAXJBR30FWT","ReviewBench","01M7517FAC9F4P7TGWCNJ8VYVW",0,"MIT","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-quarkus\u002F.claude\u002Fskills\u002Fx-generate-ci\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: x-generate-ci\ndescription: \"Generate or update CI\u002FCD pipelines based on project stack: detect language, analyze existing workflows, generate CI\u002FCD\u002Frelease\u002Fsecurity pipelines, validate with actionlint, support monorepo triggers.\"\nuser-invocable: true\nallowed-tools: Read, Write, Edit, Glob, Grep, Bash, Agent\nargument-hint: \"[ci|cd|release|security|all] [--monorepo] [--force]\"\ncontext-budget: medium\nrequires-capabilities: []\n---\n\n## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n# Skill: CI\u002FCD Pipeline Generation\n\n## Purpose\n\nGenerates or updates CI\u002FCD pipeline configurations for {{PROJECT_NAME}} based on detected project stack. Analyzes existing workflows to avoid duplication, generates customized GitHub Actions workflows for CI, CD, release, and security scanning, validates generated YAML with actionlint, and supports monorepo path-based triggers.\n\n## Triggers\n\n- `\u002Fx-generate-ci` — generate all pipelines (default: all)\n- `\u002Fx-generate-ci ci` — generate CI pipeline (build + test + security scan)\n- `\u002Fx-generate-ci cd` — generate CD pipeline (deploy staging + production + rollback)\n- `\u002Fx-generate-ci release` — generate release pipeline (semantic versioning + changelog)\n- `\u002Fx-generate-ci security` — generate security scan pipeline (scheduled SAST + dependency audit)\n- `\u002Fx-generate-ci all` — generate all pipeline types\n- `\u002Fx-generate-ci ci --monorepo` — generate with path-based triggers for monorepo\n- `\u002Fx-generate-ci ci --force` — overwrite existing workflows\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `type` | Enum | `all` | Pipeline type: ci, cd, release, security, all |\n| `--monorepo` | Flag | false | Activate path-based triggers for monorepo |\n| `--force` | Flag | false | Overwrite existing workflow files |\n\n## Workflow\n\n```\n1. DETECT     -> Detect project stack from config files (pom.xml, package.json, etc.)\n2. ANALYZE    -> Check existing .github\u002Fworkflows\u002F for conflicts\n3. GENERATE   -> Generate workflow YAML files based on stack and type\n4. VALIDATE   -> Run actionlint (if available) on generated files\n5. REPORT     -> Report generated\u002Fupdated files and any validation issues\n```\n\n### Step 1 — Detect Stack\n\nAnalyze project root to identify language, build tool, and dependencies:\n\n| Config File | Language | Build Tool | Framework Detection |\n|-------------|----------|------------|-------------------|\n| `pom.xml` | Java | Maven | Spring Boot, Quarkus (from dependencies) |\n| `build.gradle` \u002F `build.gradle.kts` | Java\u002FKotlin | Gradle | Spring Boot, Ktor (from plugins) |\n| `package.json` | TypeScript\u002FJavaScript | npm\u002Fyarn\u002Fpnpm | NestJS, Express (from dependencies) |\n| `go.mod` | Go | go | Gin, Echo (from require) |\n| `Cargo.toml` | Rust | cargo | Axum, Actix (from dependencies) |\n| `pyproject.toml` \u002F `requirements.txt` | Python | pip\u002Fpoetry | FastAPI, Django (from dependencies) |\n\n```bash\n# Auto-detect language from project root\nls -la pom.xml build.gradle* go.mod Cargo.toml pyproject.toml package.json 2>\u002Fdev\u002Fnull\n```\n\nCross-reference with `.claude\u002Frules\u002F01-project-identity.md` (RULE-001 — Project Identity) if available for authoritative stack information.\n\nAdditionally detect:\n- **Dockerfile presence**: enables container build steps\n- **docker-compose.yml**: enables integration test services\n- **Helm charts \u002F k8s manifests**: enables deployment steps\n- **Terraform \u002F IaC**: enables infrastructure pipeline steps\n\n### Step 2 — Analyze Existing Workflows\n\nCheck `.github\u002Fworkflows\u002F` for existing pipeline files:\n\n```bash\n# List existing workflows\nls -la .github\u002Fworkflows\u002F*.yml .github\u002Fworkflows\u002F*.yaml 2>\u002Fdev\u002Fnull\n```\n\nFor each existing workflow:\n- Parse the `name:` field to identify purpose\n- Check trigger events (`on:` section)\n- Identify potential conflicts with requested generation\n\n**Conflict Resolution:**\n\n| Scenario | Without --force | With --force |\n|----------|----------------|--------------|\n| File exists, same purpose | Report \"exists, use --force\" | Overwrite |\n| File exists, different purpose | Skip (no conflict) | Skip (no conflict) |\n| File does not exist | Generate | Generate |\n\n### Step 3 — Generate Workflows\n\nReference the CI\u002FCD patterns knowledge pack (`knowledge\u002Fci-cd-patterns\u002F`) for pipeline templates and best practices.\n\n#### 3.1 — CI Pipeline (`ci.yml`)\n\nGenerate continuous integration workflow:\n\n```yaml\n# Git Flow: CI runs on integration (develop), release, and hotfix branches\nname: CI\non:\n  push:\n    branches: [develop, 'release\u002F**', 'hotfix\u002F**']\n  pull_request:\n    branches: [develop, main]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      # Language-specific setup (Java\u002FNode\u002FGo\u002FRust\u002FPython)\n      # Dependency caching\n      # Build step\n      # Unit tests with coverage\n      # Integration tests (if applicable)\n\n  security:\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      # SAST scanning\n      # Dependency vulnerability scan\n      # License compliance check\n```\n\n**Language-Specific Build Steps:**\n\n| Language | Setup Action | Cache | Build | Test |\n|----------|-------------|-------|-------|------|\n| Java\u002FMaven | `setup-java@v4` | `~\u002F.m2\u002Frepository` | `mvn package -DskipTests` | `mvn verify` |\n| Java\u002FGradle | `setup-java@v4` | `~\u002F.gradle\u002Fcaches` | `.\u002Fgradlew build -x test` | `.\u002Fgradlew test` |\n| Node.js | `setup-node@v4` | `node_modules` | `npm ci && npm run build` | `npm test` |\n| Go | `setup-go@v5` | `~\u002Fgo\u002Fpkg\u002Fmod` | `go build .\u002F...` | `go test .\u002F...` |\n| Rust | `dtolnay\u002Frust-toolchain@stable` | `target\u002F` | `cargo build` | `cargo test` |\n| Python | `setup-python@v5` | `~\u002F.cache\u002Fpip` | `pip install -e .` | `pytest` |\n\n#### 3.2 — CD Pipeline (`deploy-staging.yml`, `deploy-production.yml`, `rollback.yml`)\n\nGenerate continuous deployment workflows:\n\n**deploy-staging.yml:**\n- Triggered on push to `develop` branch (Git Flow integration branch)\n- Builds container image\n- Pushes to container registry\n- Deploys to staging environment\n- Runs smoke tests\n\n**deploy-production.yml:**\n- Triggered on push to `main` (via release\u002Fhotfix merge) or version tags (`v*`)\n- Also supports manual trigger (`workflow_dispatch`)\n- Requires approval gate\n- Promotes staging artifact to production\n- Runs production smoke tests\n- Includes health check validation\n\n**rollback.yml:**\n- Triggered manually with version input\n- Rolls back to specified previous version\n- Validates rollback health\n\n#### 3.3 — Release Pipeline (`release.yml`)\n\nGenerate release workflow:\n\n- Triggered on push of version tags (`v*.*.*`)\n- Generates changelog from conventional commits\n- Creates GitHub Release with notes\n- Publishes artifacts to registry\n- Updates version references\n\n#### 3.4 — Security Pipeline (`security-scan.yml`)\n\nGenerate scheduled security scanning:\n\n- Runs on schedule (weekly), on push to `develop` and `main`, and on-demand\n- SAST with CodeQL or Semgrep\n- Dependency audit (language-specific)\n- Container image scanning (if Dockerfile present)\n- Results uploaded as SARIF to GitHub Security tab\n\n#### 3.5 — Dependency Audit Pipeline (`dependency-audit.yml`)\n\nGenerate scheduled dependency audit:\n\n- Runs on schedule (daily)\n- Checks for known vulnerabilities\n- Reports outdated dependencies\n- Creates issues for critical findings\n\n### Step 4 — Validate with actionlint\n\nIf actionlint is available, validate all generated workflow files:\n\n```bash\n# Check if actionlint is available\nwhich actionlint 2>\u002Fdev\u002Fnull\n\n# Validate each generated file\nactionlint .github\u002Fworkflows\u002Fci.yml\n```\n\nIf actionlint is not installed, report:\n- \"actionlint not found. Install with: brew install actionlint (macOS) or go install github.com\u002Frhysd\u002Factionlint\u002Fcmd\u002Factionlint@latest\"\n- Continue without validation (non-blocking)\n\n### Step 5 — Report\n\nGenerate summary of actions taken:\n\n```\n============================================\n  CI\u002FCD Pipeline Generation Report\n  Project: {{PROJECT_NAME}}\n  Stack:   {detected language} \u002F {detected framework}\n============================================\n\n| Pipeline          | File                              | Status    |\n|-------------------|-----------------------------------|-----------|\n| CI                | .github\u002Fworkflows\u002Fci.yml          | GENERATED |\n| Deploy Staging    | .github\u002Fworkflows\u002Fdeploy-staging.yml | GENERATED |\n| Deploy Production | .github\u002Fworkflows\u002Fdeploy-production.yml | GENERATED |\n| Rollback          | .github\u002Fworkflows\u002Frollback.yml    | GENERATED |\n| Release           | .github\u002Fworkflows\u002Frelease.yml     | GENERATED |\n| Security Scan     | .github\u002Fworkflows\u002Fsecurity-scan.yml | GENERATED |\n| Dependency Audit  | .github\u002Fworkflows\u002Fdependency-audit.yml | GENERATED |\n\nValidation: PASSED (actionlint)\n```\n\n## Monorepo Support\n\nWhen `--monorepo` flag is active, generated workflows include path-based triggers:\n\n```yaml\non:\n  push:\n    paths:\n      - 'services\u002Fmy-service\u002F**'\n      - '.github\u002Fworkflows\u002Fci-my-service.yml'\n  pull_request:\n    paths:\n      - 'services\u002Fmy-service\u002F**'\n```\n\nPath detection strategy:\n1. Scan for service directories (`services\u002F`, `packages\u002F`, `apps\u002F`)\n2. Generate separate workflows per service or shared workflow with path matrix\n3. Include shared library paths in triggers\n\n## Generated Files\n\n| Type | File | Description |\n|------|------|-------------|\n| CI | `.github\u002Fworkflows\u002Fci.yml` | Build, test, security scan |\n| CD Staging | `.github\u002Fworkflows\u002Fdeploy-staging.yml` | Deploy to staging |\n| CD Production | `.github\u002Fworkflows\u002Fdeploy-production.yml` | Deploy to production |\n| Rollback | `.github\u002Fworkflows\u002Frollback.yml` | Rollback deployment |\n| Release | `.github\u002Fworkflows\u002Frelease.yml` | Semantic release |\n| Security | `.github\u002Fworkflows\u002Fsecurity-scan.yml` | Scheduled SAST scan |\n| Dependency | `.github\u002Fworkflows\u002Fdependency-audit.yml` | Scheduled dependency audit |\n\n## Error Handling\n\n| Scenario | Action |\n|----------|--------|\n| Language not detected | List supported languages, ask user to specify |\n| Workflow file exists (no --force) | Report \"file exists, use --force to overwrite\" |\n| actionlint not installed | Warn and skip validation (non-blocking) |\n| Invalid type argument | Default to \"all\", warn user |\n| No Dockerfile found (CD requested) | Generate CD without container steps, warn user |\n| No project config found | Report error with setup instructions |\n\n## Integration Notes\n\n| Skill | Relationship | Context |\n|-------|-------------|---------|\n| `devops-engineer` agent | calls | Used for advanced pipeline customization via Agent tool |\n| `ci-cd-patterns` KP | reads | Pipeline templates and best practices |\n| `x-audit-dependencies` | reads | Dependency audit pipeline references audit commands |\n| `x-generate-security-pipeline` | reads | Security pipeline references scanning configurations |\n\n## Knowledge Pack References\n\n| Pack | Files | Purpose |\n|------|-------|---------|\n| ci-cd-patterns | `knowledge\u002Fci-cd-patterns\u002Findex.md` | Pipeline templates and best practices |\n","## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n# Skill: CI\u002FCD Pipeline Generation\n\n## Purpose\n\nGenerates or updates CI\u002FCD pipeline configurations for {{PROJECT_NAME}} based on detected project stack. Analyzes existing workflows to avoid duplication, generates customized GitHub Actions workflows for CI, CD, release, and security scanning, validates generated YAML with actionlint, and supports monorepo path-based triggers.\n\n## Triggers\n\n- `\u002Fx-generate-ci` — generate all pipelines (default: all)\n- `\u002Fx-generate-ci ci` — generate CI pipeline (build + test + security scan)\n- `\u002Fx-generate-ci cd` — generate CD pipeline (deploy staging + production + rollback)\n- `\u002Fx-generate-ci release` — generate release pipeline (semantic versioning + changelog)\n- `\u002Fx-generate-ci security` — generate security scan pipeline (scheduled SAST + dependency audit)\n- `\u002Fx-generate-ci all` — generate all pipeline types\n- `\u002Fx-generate-ci ci --monorepo` — generate with path-based triggers for monorepo\n- `\u002Fx-generate-ci ci --force` — overwrite existing workflows\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `type` | Enum | `all` | Pipeline type: ci, cd, release, security, all |\n| `--monorepo` | Flag | false | Activate path-based triggers for monorepo |\n| `--force` | Flag | false | Overwrite existing workflow files |\n\n## Workflow\n\n```\n1. DETECT     -> Detect project stack from config files (pom.xml, package.json, etc.)\n2. ANALYZE    -> Check existing .github\u002Fworkflows\u002F for conflicts\n3. GENERATE   -> Generate workflow YAML files based on stack and type\n4. VALIDATE   -> Run actionlint (if available) on generated files\n5. REPORT     -> Report generated\u002Fupdated files and any validation issues\n```\n\n### Step 1 — Detect Stack\n\nAnalyze project root to identify language, build tool, and dependencies:\n\n| Config File | Language | Build Tool | Framework Detection |\n|-------------|----------|------------|-------------------|\n| `pom.xml` | Java | Maven | Spring Boot, Quarkus (from dependencies) |\n| `build.gradle` \u002F `build.gradle.kts` | Java\u002FKotlin | Gradle | Spring Boot, Ktor (from plugins) |\n| `package.json` | TypeScript\u002FJavaScript | npm\u002Fyarn\u002Fpnpm | NestJS, Express (from dependencies) |\n| `go.mod` | Go | go | Gin, Echo (from require) |\n| `Cargo.toml` | Rust | cargo | Axum, Actix (from dependencies) |\n| `pyproject.toml` \u002F `requirements.txt` | Python | pip\u002Fpoetry | FastAPI, Django (from dependencies) |\n\n```bash\n# Auto-detect language from project root\nls -la pom.xml build.gradle* go.mod Cargo.toml pyproject.toml package.json 2>\u002Fdev\u002Fnull\n```\n\nCross-reference with `.claude\u002Frules\u002F01-project-identity.md` (RULE-001 — Project Identity) if available for authoritative stack information.\n\nAdditionally detect:\n- **Dockerfile presence**: enables container build steps\n- **docker-compose.yml**: enables integration test services\n- **Helm charts \u002F k8s manifests**: enables deployment steps\n- **Terraform \u002F IaC**: enables infrastructure pipeline steps\n\n### Step 2 — Analyze Existing Workflows\n\nCheck `.github\u002Fworkflows\u002F` for existing pipeline files:\n\n```bash\n# List existing workflows\nls -la .github\u002Fworkflows\u002F*.yml .github\u002Fworkflows\u002F*.yaml 2>\u002Fdev\u002Fnull\n```\n\nFor each existing workflow:\n- Parse the `name:` field to identify purpose\n- Check trigger events (`on:` section)\n- Identify potential conflicts with requested generation\n\n**Conflict Resolution:**\n\n| Scenario | Without --force | With --force |\n|----------|----------------|--------------|\n| File exists, same purpose | Report \"exists, use --force\" | Overwrite |\n| File exists, different purpose | Skip (no conflict) | Skip (no conflict) |\n| File does not exist | Generate | Generate |\n\n### Step 3 — Generate Workflows\n\nReference the CI\u002FCD patterns knowledge pack (`knowledge\u002Fci-cd-patterns\u002F`) for pipeline templates and best practices.\n\n#### 3.1 — CI Pipeline (`ci.yml`)\n\nGenerate continuous integration workflow:\n\n```yaml\n# Git Flow: CI runs on integration (develop), release, and hotfix branches\nname: CI\non:\n  push:\n    branches: [develop, 'release\u002F**', 'hotfix\u002F**']\n  pull_request:\n    branches: [develop, main]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      # Language-specific setup (Java\u002FNode\u002FGo\u002FRust\u002FPython)\n      # Dependency caching\n      # Build step\n      # Unit tests with coverage\n      # Integration tests (if applicable)\n\n  security:\n    runs-on: ubuntu-latest\n    needs: build\n    steps:\n      # SAST scanning\n      # Dependency vulnerability scan\n      # License compliance check\n```\n\n**Language-Specific Build Steps:**\n\n| Language | Setup Action | Cache | Build | Test |\n|----------|-------------|-------|-------|------|\n| Java\u002FMaven | `setup-java@v4` | `~\u002F.m2\u002Frepository` | `mvn package -DskipTests` | `mvn verify` |\n| Java\u002FGradle | `setup-java@v4` | `~\u002F.gradle\u002Fcaches` | `.\u002Fgradlew build -x test` | `.\u002Fgradlew test` |\n| Node.js | `setup-node@v4` | `node_modules` | `npm ci && npm run build` | `npm test` |\n| Go | `setup-go@v5` | `~\u002Fgo\u002Fpkg\u002Fmod` | `go build .\u002F...` | `go test .\u002F...` |\n| Rust | `dtolnay\u002Frust-toolchain@stable` | `target\u002F` | `cargo build` | `cargo test` |\n| Python | `setup-python@v5` | `~\u002F.cache\u002Fpip` | `pip install -e .` | `pytest` |\n\n#### 3.2 — CD Pipeline (`deploy-staging.yml`, `deploy-production.yml`, `rollback.yml`)\n\nGenerate continuous deployment workflows:\n\n**deploy-staging.yml:**\n- Triggered on push to `develop` branch (Git Flow integration branch)\n- Builds container image\n- Pushes to container registry\n- Deploys to staging environment\n- Runs smoke tests\n\n**deploy-production.yml:**\n- Triggered on push to `main` (via release\u002Fhotfix merge) or version tags (`v*`)\n- Also supports manual trigger (`workflow_dispatch`)\n- Requires approval gate\n- Promotes staging artifact to production\n- Runs production smoke tests\n- Includes health check validation\n\n**rollback.yml:**\n- Triggered manually with version input\n- Rolls back to specified previous version\n- Validates rollback health\n\n#### 3.3 — Release Pipeline (`release.yml`)\n\nGenerate release workflow:\n\n- Triggered on push of version tags (`v*.*.*`)\n- Generates changelog from conventional commits\n- Creates GitHub Release with notes\n- Publishes artifacts to registry\n- Updates version references\n\n#### 3.4 — Security Pipeline (`security-scan.yml`)\n\nGenerate scheduled security scanning:\n\n- Runs on schedule (weekly), on push to `develop` and `main`, and on-demand\n- SAST with CodeQL or Semgrep\n- Dependency audit (language-specific)\n- Container image scanning (if Dockerfile present)\n- Results uploaded as SARIF to GitHub Security tab\n\n#### 3.5 — Dependency Audit Pipeline (`dependency-audit.yml`)\n\nGenerate scheduled dependency audit:\n\n- Runs on schedule (daily)\n- Checks for known vulnerabilities\n- Reports outdated dependencies\n- Creates issues for critical findings\n\n### Step 4 — Validate with actionlint\n\nIf actionlint is available, validate all generated workflow files:\n\n```bash\n# Check if actionlint is available\nwhich actionlint 2>\u002Fdev\u002Fnull\n\n# Validate each generated file\nactionlint .github\u002Fworkflows\u002Fci.yml\n```\n\nIf actionlint is not installed, report:\n- \"actionlint not found. Install with: brew install actionlint (macOS) or go install github.com\u002Frhysd\u002Factionlint\u002Fcmd\u002Factionlint@latest\"\n- Continue without validation (non-blocking)\n\n### Step 5 — Report\n\nGenerate summary of actions taken:\n\n```\n============================================\n  CI\u002FCD Pipeline Generation Report\n  Project: {{PROJECT_NAME}}\n  Stack:   {detected language} \u002F {detected framework}\n============================================\n\n| Pipeline          | File                              | Status    |\n|-------------------|-----------------------------------|-----------|\n| CI                | .github\u002Fworkflows\u002Fci.yml          | GENERATED |\n| Deploy Staging    | .github\u002Fworkflows\u002Fdeploy-staging.yml | GENERATED |\n| Deploy Production | .github\u002Fworkflows\u002Fdeploy-production.yml | GENERATED |\n| Rollback          | .github\u002Fworkflows\u002Frollback.yml    | GENERATED |\n| Release           | .github\u002Fworkflows\u002Frelease.yml     | GENERATED |\n| Security Scan     | .github\u002Fworkflows\u002Fsecurity-scan.yml | GENERATED |\n| Dependency Audit  | .github\u002Fworkflows\u002Fdependency-audit.yml | GENERATED |\n\nValidation: PASSED (actionlint)\n```\n\n## Monorepo Support\n\nWhen `--monorepo` flag is active, generated workflows include path-based triggers:\n\n```yaml\non:\n  push:\n    paths:\n      - 'services\u002Fmy-service\u002F**'\n      - '.github\u002Fworkflows\u002Fci-my-service.yml'\n  pull_request:\n    paths:\n      - 'services\u002Fmy-service\u002F**'\n```\n\nPath detection strategy:\n1. Scan for service directories (`services\u002F`, `packages\u002F`, `apps\u002F`)\n2. Generate separate workflows per service or shared workflow with path matrix\n3. Include shared library paths in triggers\n\n## Generated Files\n\n| Type | File | Description |\n|------|------|-------------|\n| CI | `.github\u002Fworkflows\u002Fci.yml` | Build, test, security scan |\n| CD Staging | `.github\u002Fworkflows\u002Fdeploy-staging.yml` | Deploy to staging |\n| CD Production | `.github\u002Fworkflows\u002Fdeploy-production.yml` | Deploy to production |\n| Rollback | `.github\u002Fworkflows\u002Frollback.yml` | Rollback deployment |\n| Release | `.github\u002Fworkflows\u002Frelease.yml` | Semantic release |\n| Security | `.github\u002Fworkflows\u002Fsecurity-scan.yml` | Scheduled SAST scan |\n| Dependency | `.github\u002Fworkflows\u002Fdependency-audit.yml` | Scheduled dependency audit |\n\n## Error Handling\n\n| Scenario | Action |\n|----------|--------|\n| Language not detected | List supported languages, ask user to specify |\n| Workflow file exists (no --force) | Report \"file exists, use --force to overwrite\" |\n| actionlint not installed | Warn and skip validation (non-blocking) |\n| Invalid type argument | Default to \"all\", warn user |\n| No Dockerfile found (CD requested) | Generate CD without container steps, warn user |\n| No project config found | Report error with setup instructions |\n\n## Integration Notes\n\n| Skill | Relationship | Context |\n|-------|-------------|---------|\n| `devops-engineer` agent | calls | Used for advanced pipeline customization via Agent tool |\n| `ci-cd-patterns` KP | reads | Pipeline templates and best practices |\n| `x-audit-dependencies` | reads | Dependency audit pipeline references audit commands |\n| `x-generate-security-pipeline` | reads | Security pipeline references scanning configurations |\n\n## Knowledge Pack References\n\n| Pack | Files | Purpose |\n|------|-------|---------|\n| ci-cd-patterns | `knowledge\u002Fci-cd-patterns\u002Findex.md` | Pipeline templates and best practices |\n",{"name":5,"description":7,"allowed-tools":24,"argument-hint":25,"context-budget":26,"user-invocable":27,"requires-capabilities":28},"Read, Write, Edit, Glob, Grep, Bash, Agent","[ci|cd|release|security|all] [--monorepo] [--force]","medium",true,[],"main","952a630c6f38d193a349d86fa18db1de8843e837","src\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-quarkus\u002F.claude\u002Fskills\u002Fx-generate-ci",1,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment","https:\u002F\u002Fgithub.com\u002Freview-bench","https:\u002F\u002Freview-bench.ai","An open benchmark for AI code review.","2026-10-27 06:56:37",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":27},[40,43,46],{"tool":41,"command":42},"npx","npx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-generate-ci",{"tool":44,"command":45},"bunx","bunx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-generate-ci",{"tool":47,"command":48},"pnpm","pnpm dlx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-generate-ci","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-quarkus\u002F.claude\u002Fskills\u002Fx-generate-ci\u002FSKILL.md",[51],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"README.md","REFERENCE","参考文档",2054,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-quarkus\u002F.claude\u002Fskills\u002Fx-generate-ci\u002FREADME.md",[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M757M8J48TQ1Y3X25GSJBXAS","x-parallel-eval","Detects and classifies file-collision risks between work units (tasks, stories, or epic phases) before parallel execution. Reads ## File Footprint blocks produced by x-task-plan \u002F x-story-plan, applies the parallelism-heuristics knowledge pack (hard \u002F regen \u002F soft categories + hotspot overrides), and emits a collision matrix + serialization recommendation in Markdown (default) or JSON.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fx-parallel-eval\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M757M57XMR9546S69466HDWT","parallelism-heuristics","Canonical catalog of file-collision heuristics for parallel task, story, and epic execution. Defines the File Footprint block format, the three Conflict Categories (hard \u002F regen \u002F soft), a hotspot list of high-contention paths, and the degrade-with-warning policy. Consumed by x-task-plan, x-story-plan, x-epic-map, x-parallel-eval, and x-dev-*-implement.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fparallelism-heuristics\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M757M11SZ8P1VCQABT08QVYA","x-watch-pr-ci","Polls a PR's CI checks and Copilot review status, blocking until checks complete or timeout. Returns one of 8 stable exit codes (SUCCESS=0, CI_PENDING_PROCEED=10, CI_FAILED=20, TIMEOUT=30, PR_ALREADY_MERGED=40, NO_CI_CONFIGURED=50, PR_CLOSED=60, PR_NOT_FOUND=70). Writes a versioned state-file for session resume.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-watch-pr-ci\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M757KW53K8KFPGADFB4PH949","x-validate-docs","Documentation freshness gate: validates 6 dimensions (readme, api-specs, grpc-proto, adr, skill-docs, system-architecture) against code changes in a PR. Stack-aware — only validates targets declared\u002Fauto-detected from ProjectConfig.documentation.targets. Returns exit non-zero on staleness; produces structured report.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-validate-docs\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M757KQZHSA10MKC0CR571D60","x-update-system-architecture","Incrementally updates docs\u002Farchitecture\u002Fsystem.md after an epic completes. Appends new entries to the Decision Log (§11) using x-internal-write-report --append (dedup by ## ID: marker) and surgically inserts component\u002Fintegration changes into sections 1-10 via Edit. Idempotent: re-running with the same epic produces a byte-identical system.md.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-system-architecture\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M757KKBT5Q1SVF8DMJBVF46M","x-update-architecture","Incrementally updates the service architecture document with changes from architecture plans. Adds new components, integrations, flows, and ADR references without rewriting existing content. Use after implementation to keep architecture documentation current.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-architecture\u002FSKILL.md",[],[]]