[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CX1WK8GNM3769T42SJT5DA":3,"skill-same:01M6CX1WK8GNM3769T42SJT5DA":61},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":60},"01M6CX1WK8GNM3769T42SJT5DA","dot-ai-generate-cicd",null,"Generate intelligent CI\u002FCD workflows through interactive conversation by analyzing repository structure and user preferences","vfarcic\u002Fdot-ai-headlamp","vfarcic","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5716227?v=4","01M6C41XBA7GK0NJG2D4GV11SC","Viktor Farcic","01M6CX1QQ81N9D052KA5HJE8YS",3,"MIT","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-generate-cicd\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"generate","cicd","dot","dot ai generate cicd","dot ai","workflows","repository","ci","analyzing","preferences","interactive","user","conversation","structure","2026-11-10 10:12:30",false,"---\nname: dot-ai-generate-cicd\ndescription: Generate intelligent CI\u002FCD workflows through interactive conversation by analyzing repository structure and user preferences\nuser-invocable: true\n---\n\n# Generate CI\u002FCD Workflows\n\nGenerate appropriate CI\u002FCD workflows for the current project through an interactive conversation. This prompt analyzes your entire repository, presents findings, asks about workflow preferences, and generates workflows based on your confirmed choices.\n\n## Instructions\n\nYou are helping a developer set up CI\u002FCD workflows for their project. Unlike template-based generators, you will:\n\n1. **Analyze** the entire repository - source code, automation, configs, docs, existing CI\n2. **Present findings** and workflow options to the user for decision-making\n3. **Generate** workflows based on confirmed user choices\n\nThis interactive model is essential because CI\u002FCD workflows involve **policy decisions** (PR vs direct push, release triggers, deployment strategy) that cannot be deduced from code alone—they reflect team preferences and organizational policies.\n\n### Key Rules\n\n**Verify everything**: Before adding any step, secret, or configuration, verify it by examining the actual codebase. Never assume. Ask when uncertain.\n\n**Always present workflow choices**: CI\u002FCD involves policy decisions that require user input. Even if you detect tests and a Dockerfile, you cannot know whether tests should run on PR or main, what triggers releases, which registry to use, or how to deploy. These are workflow choices that require user input.\n\n---\n\n## Best Practices\n\nApply these practices when generating workflows.\n\n### Use Project Automation, Not Inline Commands\n\nCI workflows should call project automation, not contain inline command logic.\n\n```yaml\n# ❌ BAD - Logic in CI, can't run locally the same way\n- run: |\n    jest --coverage --ci\n    eslint src\u002F --format=stylish\n\n# ✅ GOOD - CI calls project automation\n- run: npm test\n- run: npm run lint\n```\n\n**Why**: Local\u002FCI parity, CI platform portability, easier debugging, single source of truth.\n\n**When project automation doesn't exist**, ask the user:\n\n```text\nI didn't find automation for [operation]. Would you like me to:\n1. Add it to the project (recommended for local\u002FCI parity)\n2. Use inline command in workflow\n```\n\n### Actions for Infrastructure, Project Commands for Logic\n\n| Category | Examples | Approach |\n|----------|----------|----------|\n| **CI Infrastructure** | checkout, setup runtime, cache, registry login | ✅ Use actions |\n| **Project Logic** | build, test, lint, docker build, deploy | ✅ Use project automation |\n\n### Secret Handling\n\nSecrets are only accessible from the org\u002Fowner that has them configured. Fork PRs cannot access base repo secrets.\n\nUse conditional to skip steps when secrets unavailable:\n\n```yaml\n- name: Run integration tests\n  if: secrets.API_KEY != ''\n  run: npm run test:integration\n  env:\n    API_KEY: ${{ secrets.API_KEY }}\n```\n\nWhen the generated workflow requires secrets, document them clearly:\n\n```markdown\n## Required Secrets\n\n| Secret Name | Description | How to Create |\n|-------------|-------------|---------------|\n| `REGISTRY_USERNAME` | Container registry username | Your registry account username |\n| `REGISTRY_TOKEN` | Container registry access token | Registry settings > Access Tokens |\n\n**To create secrets via CLI:**\ngh secret set REGISTRY_USERNAME\ngh secret set REGISTRY_TOKEN\n```\n\nShow the `gh secret set` commands as guidance, but do NOT execute them.\n\n### Security\n\n| Practice | Description |\n|----------|-------------|\n| **Minimal permissions** | Use `permissions:` block, grant only what's needed |\n| **OIDC over long-lived tokens** | For cloud providers, prefer OIDC federation |\n| **Pin action versions** | Use SHA or version tags, never `@latest` |\n| **Disable credential persistence** | Use `persist-credentials: false` on `actions\u002Fcheckout` |\n| **Prevent script injection** | Never interpolate untrusted inputs (branch names, PR titles) directly into `run:` commands |\n| **Avoid `pull_request_target`** | This trigger has access to secrets but can checkout fork code - dangerous combination |\n| **Environment protection** | Use GitHub environments with required reviewers for production deployments |\n\n### Testing\n\n| Practice | Description |\n|----------|-------------|\n| **Fail fast** | Run quick checks (lint) before slow ones (tests) |\n| **Test before build** | Don't waste time building if tests fail |\n| **Parallel jobs** | Run independent checks concurrently |\n| **Test matrix** | Consider multiple versions\u002Fplatforms if relevant |\n\n### Caching\n\nImplement appropriate caching based on detected package manager and lock files.\n\n---\n\n## Process\n\n**IMPORTANT**: Execute this process SEQUENTIALLY. Each step may change the direction of the conversation. Do NOT batch all questions upfront - ask questions one phase at a time and wait for user responses before proceeding.\n\nThe workflow follows three phases:\n\n```text\n┌─────────────────────────────────────────────────────────────────┐\n│ PHASE 1: ANALYZE                                                │\n│ Discover what CAN be built\u002Ftested\u002Fdeployed                      │\n└─────────────────────────────────────────────────────────────────┘\n                              ↓\n┌─────────────────────────────────────────────────────────────────┐\n│ PHASE 2: PRESENT & ASK                                          │\n│ Show findings + present workflow choices for user decision      │\n└─────────────────────────────────────────────────────────────────┘\n                              ↓\n┌─────────────────────────────────────────────────────────────────┐\n│ PHASE 3: GENERATE                                               │\n│ Create workflows based on confirmed user choices                │\n└─────────────────────────────────────────────────────────────────┘\n```\n\n### Step 0: Determine CI Platform (BLOCKING GATE)\n\n**CRITICAL**: This is a blocking gate. Ask about CI platform FIRST and ALONE. Do NOT ask any other questions or perform any analysis until the user confirms they want GitHub Actions.\n\nAsk the user which CI\u002FCD platform they use. Present ONLY these options:\n\n1. **GitHub Actions**\n2. **Other**\n\n**If GitHub Actions** → Proceed to Step 1 (analysis)\n\n**If Other** → STOP. Ask which platform they use, then respond:\n\n```text\n[Platform] is not yet supported. Would you like me to open a feature\nrequest issue at https:\u002F\u002Fgithub.com\u002Fdot-ai-app\u002Fdot-ai\u002Fissues so we\ncan prioritize adding it?\n\n1. Yes, open a feature request\n2. No, I'll use a different approach\n```\n\nThen handle the user's response (create issue or end conversation). Do NOT proceed to repository analysis for unsupported platforms.\n\n### Step 1: Comprehensive Repository Analysis\n\n**Analyze everything. The entire repository is context.**\n\n#### 1.1 Language and Framework Detection\n\n- Identify primary language(s) from source files and dependency manifests\n- Detect frameworks from dependencies\n- Note version requirements\n\n#### 1.2 Discover and Understand Existing Automation\n\nFind what automation exists and **read scripts to understand how they work** - what arguments they accept, what they handle internally, how they should be called. Don't just note that a script exists; understand it.\n\n- If automation exists for a task → use it in the generated workflow\n- Only generate raw commands if no existing automation found\n- When multiple automation options exist → ask the user\n\n**Why this matters**: Existing automation often handles setup, fixtures, environment variables, and cleanup that raw commands would miss. The maintainers chose their build system for a reason.\n\n#### 1.3 Existing CI Analysis\n\nCheck for existing CI configuration. If found:\n- Analyze what's already configured and why\n- During Step 2, ask user whether to update existing workflows or create new ones\n\n#### 1.4 Container and Registry Detection\n\n- Check for Dockerfile and container configuration\n- Search for registry references in existing CI, automation, or docs\n- If no Dockerfile but project could benefit from containerization, suggest using `\u002Fgenerate-dockerfile` prompt\n\n#### 1.5 Branching and Release Strategy\n\n- Check for patterns in existing CI triggers\n- Look at git tags for versioning patterns\n- Check documentation for workflow hints\n\n#### 1.6 Environment and Secrets\n\n- Find environment variable documentation or examples\n- Search code for required environment variables\n- Identify what secrets the workflow will need\n\n#### 1.7 App Definition Detection\n\nIdentify how the application is packaged for deployment:\n- Helm charts\n- Kustomize configurations\n- Plain Kubernetes manifests\n- Container-only (no K8s deployment)\n\n#### 1.8 Deployment Mechanism Detection\n\nIdentify how the application is deployed:\n- GitOps (ArgoCD, Flux)\n- Direct deployment (Helm, kubectl)\n- Manual deployment\n- External system\n\n**For GitOps**:\n- CI must NOT deploy directly - it updates manifests, GitOps controller syncs\n- Determine if GitOps resources (ArgoCD Application, Flux Kustomization) exist\n- If not, may need to create them (same repo or separate cluster-config repo)\n- Determine where manifests live for image tag updates\n\nIf unclear, ask user during Step 2.\n\n#### 1.9 Tool Manager Detection\n\nCheck for existing tool\u002Fenvironment managers (DevBox, mise, asdf, etc.). If found, use them automatically. If none, will ask user during interactive Q&A.\n\n### Step 2: Present Findings for Confirmation\n\n**Before generating workflows, present analysis summary.** Include only what's relevant to this project - the example below is illustrative, not a template to fill out:\n\n```markdown\n## Analysis Summary\n\nI analyzed your repository and found:\n\n**Language\u002FFramework**: Node.js 20 with Express\n**Build Command**: `npm run build` (from package.json)\n**Test Command**: `npm test` (from package.json)\n**Existing CI**: GitHub Actions workflow found (ci.yml)\n\n**App Definition**: Helm chart in `charts\u002Fmyapp\u002F`\n**Deployment Mechanism**: GitOps with ArgoCD\n\nIs this correct? Would you like to change anything?\n```\n\n**User can**:\n- Confirm findings → proceed to workflow choices\n- Correct mistakes\n- Clarify ambiguities\n\n### Step 3: Present Workflow Choices\n\n**Present choices relevant to this project based on analysis.** These are policy decisions that require user input. Only ask about what's applicable - for example, don't ask about container registry if there's no Dockerfile, or deployment strategy if it's a library.\n\nCommon choices include:\n- **PR Workflow**: What should run on pull requests?\n- **Release Trigger**: What triggers a release build?\n- **Release Validation**: Should release workflow re-run checks that already passed in PR? (Re-run all = safest\u002Fslowest, Skip validation = fastest, Security scans only = compromise)\n- **Container Registry**: Where to push images? (if containerized)\n- **Environment Setup**: Native GitHub Actions or DevBox?\n- **Deployment Strategy**: GitOps, direct, or manual? (if deployed)\n\nAsk clarifying questions as needed:\n- If branching strategy unclear: \"Do you use feature branches with pull requests, or push directly to main?\"\n- If multiple automation options exist: \"I found multiple ways to run tests. Which is the primary test command?\"\n- If GitOps detected but repo location unclear: \"Where are your GitOps manifests stored - same repository or separate?\"\n\n### Step 4: Generate Workflow(s)\n\nGenerate appropriate workflow(s) based on analysis and confirmed user choices.\n\n### Step 5: Validate Generated Workflow\n\nBefore presenting to user:\n\n1. **Syntax validation**: Ensure valid YAML and GitHub Actions syntax\n2. **Reference check**: Verify referenced automation exists\n3. **Secret documentation**: List required secrets clearly\n4. **Permission check**: Ensure permissions block is minimal\n5. **Deployment check**: Verify deployment steps match selected mechanism\n\n### Step 6: Present to User\n\nProvide:\n\n1. **Generated workflow file(s)** with explanatory comments\n2. **Summary** of what was detected and decisions made\n3. **Required secrets** to configure (with setup guidance)\n4. **Required permissions and settings** - Based on what the workflow does, identify what permissions or repository settings are needed and provide instructions to configure them. Don't wait for the workflow to fail - tell users upfront what to configure.\n\n### Step 7: Validate\n\nAfter user approves, commit the workflows following the project's established process. Trigger the workflows, monitor runs, and iterate on any failures until they pass.\n\n","# Generate CI\u002FCD Workflows\n\nGenerate appropriate CI\u002FCD workflows for the current project through an interactive conversation. This prompt analyzes your entire repository, presents findings, asks about workflow preferences, and generates workflows based on your confirmed choices.\n\n## Instructions\n\nYou are helping a developer set up CI\u002FCD workflows for their project. Unlike template-based generators, you will:\n\n1. **Analyze** the entire repository - source code, automation, configs, docs, existing CI\n2. **Present findings** and workflow options to the user for decision-making\n3. **Generate** workflows based on confirmed user choices\n\nThis interactive model is essential because CI\u002FCD workflows involve **policy decisions** (PR vs direct push, release triggers, deployment strategy) that cannot be deduced from code alone—they reflect team preferences and organizational policies.\n\n### Key Rules\n\n**Verify everything**: Before adding any step, secret, or configuration, verify it by examining the actual codebase. Never assume. Ask when uncertain.\n\n**Always present workflow choices**: CI\u002FCD involves policy decisions that require user input. Even if you detect tests and a Dockerfile, you cannot know whether tests should run on PR or main, what triggers releases, which registry to use, or how to deploy. These are workflow choices that require user input.\n\n---\n\n## Best Practices\n\nApply these practices when generating workflows.\n\n### Use Project Automation, Not Inline Commands\n\nCI workflows should call project automation, not contain inline command logic.\n\n```yaml\n# ❌ BAD - Logic in CI, can't run locally the same way\n- run: |\n    jest --coverage --ci\n    eslint src\u002F --format=stylish\n\n# ✅ GOOD - CI calls project automation\n- run: npm test\n- run: npm run lint\n```\n\n**Why**: Local\u002FCI parity, CI platform portability, easier debugging, single source of truth.\n\n**When project automation doesn't exist**, ask the user:\n\n```text\nI didn't find automation for [operation]. Would you like me to:\n1. Add it to the project (recommended for local\u002FCI parity)\n2. Use inline command in workflow\n```\n\n### Actions for Infrastructure, Project Commands for Logic\n\n| Category | Examples | Approach |\n|----------|----------|----------|\n| **CI Infrastructure** | checkout, setup runtime, cache, registry login | ✅ Use actions |\n| **Project Logic** | build, test, lint, docker build, deploy | ✅ Use project automation |\n\n### Secret Handling\n\nSecrets are only accessible from the org\u002Fowner that has them configured. Fork PRs cannot access base repo secrets.\n\nUse conditional to skip steps when secrets unavailable:\n\n```yaml\n- name: Run integration tests\n  if: secrets.API_KEY != ''\n  run: npm run test:integration\n  env:\n    API_KEY: ${{ secrets.API_KEY }}\n```\n\nWhen the generated workflow requires secrets, document them clearly:\n\n```markdown\n## Required Secrets\n\n| Secret Name | Description | How to Create |\n|-------------|-------------|---------------|\n| `REGISTRY_USERNAME` | Container registry username | Your registry account username |\n| `REGISTRY_TOKEN` | Container registry access token | Registry settings > Access Tokens |\n\n**To create secrets via CLI:**\ngh secret set REGISTRY_USERNAME\ngh secret set REGISTRY_TOKEN\n```\n\nShow the `gh secret set` commands as guidance, but do NOT execute them.\n\n### Security\n\n| Practice | Description |\n|----------|-------------|\n| **Minimal permissions** | Use `permissions:` block, grant only what's needed |\n| **OIDC over long-lived tokens** | For cloud providers, prefer OIDC federation |\n| **Pin action versions** | Use SHA or version tags, never `@latest` |\n| **Disable credential persistence** | Use `persist-credentials: false` on `actions\u002Fcheckout` |\n| **Prevent script injection** | Never interpolate untrusted inputs (branch names, PR titles) directly into `run:` commands |\n| **Avoid `pull_request_target`** | This trigger has access to secrets but can checkout fork code - dangerous combination |\n| **Environment protection** | Use GitHub environments with required reviewers for production deployments |\n\n### Testing\n\n| Practice | Description |\n|----------|-------------|\n| **Fail fast** | Run quick checks (lint) before slow ones (tests) |\n| **Test before build** | Don't waste time building if tests fail |\n| **Parallel jobs** | Run independent checks concurrently |\n| **Test matrix** | Consider multiple versions\u002Fplatforms if relevant |\n\n### Caching\n\nImplement appropriate caching based on detected package manager and lock files.\n\n---\n\n## Process\n\n**IMPORTANT**: Execute this process SEQUENTIALLY. Each step may change the direction of the conversation. Do NOT batch all questions upfront - ask questions one phase at a time and wait for user responses before proceeding.\n\nThe workflow follows three phases:\n\n```text\n┌─────────────────────────────────────────────────────────────────┐\n│ PHASE 1: ANALYZE                                                │\n│ Discover what CAN be built\u002Ftested\u002Fdeployed                      │\n└─────────────────────────────────────────────────────────────────┘\n                              ↓\n┌─────────────────────────────────────────────────────────────────┐\n│ PHASE 2: PRESENT & ASK                                          │\n│ Show findings + present workflow choices for user decision      │\n└─────────────────────────────────────────────────────────────────┘\n                              ↓\n┌─────────────────────────────────────────────────────────────────┐\n│ PHASE 3: GENERATE                                               │\n│ Create workflows based on confirmed user choices                │\n└─────────────────────────────────────────────────────────────────┘\n```\n\n### Step 0: Determine CI Platform (BLOCKING GATE)\n\n**CRITICAL**: This is a blocking gate. Ask about CI platform FIRST and ALONE. Do NOT ask any other questions or perform any analysis until the user confirms they want GitHub Actions.\n\nAsk the user which CI\u002FCD platform they use. Present ONLY these options:\n\n1. **GitHub Actions**\n2. **Other**\n\n**If GitHub Actions** → Proceed to Step 1 (analysis)\n\n**If Other** → STOP. Ask which platform they use, then respond:\n\n```text\n[Platform] is not yet supported. Would you like me to open a feature\nrequest issue at https:\u002F\u002Fgithub.com\u002Fdot-ai-app\u002Fdot-ai\u002Fissues so we\ncan prioritize adding it?\n\n1. Yes, open a feature request\n2. No, I'll use a different approach\n```\n\nThen handle the user's response (create issue or end conversation). Do NOT proceed to repository analysis for unsupported platforms.\n\n### Step 1: Comprehensive Repository Analysis\n\n**Analyze everything. The entire repository is context.**\n\n#### 1.1 Language and Framework Detection\n\n- Identify primary language(s) from source files and dependency manifests\n- Detect frameworks from dependencies\n- Note version requirements\n\n#### 1.2 Discover and Understand Existing Automation\n\nFind what automation exists and **read scripts to understand how they work** - what arguments they accept, what they handle internally, how they should be called. Don't just note that a script exists; understand it.\n\n- If automation exists for a task → use it in the generated workflow\n- Only generate raw commands if no existing automation found\n- When multiple automation options exist → ask the user\n\n**Why this matters**: Existing automation often handles setup, fixtures, environment variables, and cleanup that raw commands would miss. The maintainers chose their build system for a reason.\n\n#### 1.3 Existing CI Analysis\n\nCheck for existing CI configuration. If found:\n- Analyze what's already configured and why\n- During Step 2, ask user whether to update existing workflows or create new ones\n\n#### 1.4 Container and Registry Detection\n\n- Check for Dockerfile and container configuration\n- Search for registry references in existing CI, automation, or docs\n- If no Dockerfile but project could benefit from containerization, suggest using `\u002Fgenerate-dockerfile` prompt\n\n#### 1.5 Branching and Release Strategy\n\n- Check for patterns in existing CI triggers\n- Look at git tags for versioning patterns\n- Check documentation for workflow hints\n\n#### 1.6 Environment and Secrets\n\n- Find environment variable documentation or examples\n- Search code for required environment variables\n- Identify what secrets the workflow will need\n\n#### 1.7 App Definition Detection\n\nIdentify how the application is packaged for deployment:\n- Helm charts\n- Kustomize configurations\n- Plain Kubernetes manifests\n- Container-only (no K8s deployment)\n\n#### 1.8 Deployment Mechanism Detection\n\nIdentify how the application is deployed:\n- GitOps (ArgoCD, Flux)\n- Direct deployment (Helm, kubectl)\n- Manual deployment\n- External system\n\n**For GitOps**:\n- CI must NOT deploy directly - it updates manifests, GitOps controller syncs\n- Determine if GitOps resources (ArgoCD Application, Flux Kustomization) exist\n- If not, may need to create them (same repo or separate cluster-config repo)\n- Determine where manifests live for image tag updates\n\nIf unclear, ask user during Step 2.\n\n#### 1.9 Tool Manager Detection\n\nCheck for existing tool\u002Fenvironment managers (DevBox, mise, asdf, etc.). If found, use them automatically. If none, will ask user during interactive Q&A.\n\n### Step 2: Present Findings for Confirmation\n\n**Before generating workflows, present analysis summary.** Include only what's relevant to this project - the example below is illustrative, not a template to fill out:\n\n```markdown\n## Analysis Summary\n\nI analyzed your repository and found:\n\n**Language\u002FFramework**: Node.js 20 with Express\n**Build Command**: `npm run build` (from package.json)\n**Test Command**: `npm test` (from package.json)\n**Existing CI**: GitHub Actions workflow found (ci.yml)\n\n**App Definition**: Helm chart in `charts\u002Fmyapp\u002F`\n**Deployment Mechanism**: GitOps with ArgoCD\n\nIs this correct? Would you like to change anything?\n```\n\n**User can**:\n- Confirm findings → proceed to workflow choices\n- Correct mistakes\n- Clarify ambiguities\n\n### Step 3: Present Workflow Choices\n\n**Present choices relevant to this project based on analysis.** These are policy decisions that require user input. Only ask about what's applicable - for example, don't ask about container registry if there's no Dockerfile, or deployment strategy if it's a library.\n\nCommon choices include:\n- **PR Workflow**: What should run on pull requests?\n- **Release Trigger**: What triggers a release build?\n- **Release Validation**: Should release workflow re-run checks that already passed in PR? (Re-run all = safest\u002Fslowest, Skip validation = fastest, Security scans only = compromise)\n- **Container Registry**: Where to push images? (if containerized)\n- **Environment Setup**: Native GitHub Actions or DevBox?\n- **Deployment Strategy**: GitOps, direct, or manual? (if deployed)\n\nAsk clarifying questions as needed:\n- If branching strategy unclear: \"Do you use feature branches with pull requests, or push directly to main?\"\n- If multiple automation options exist: \"I found multiple ways to run tests. Which is the primary test command?\"\n- If GitOps detected but repo location unclear: \"Where are your GitOps manifests stored - same repository or separate?\"\n\n### Step 4: Generate Workflow(s)\n\nGenerate appropriate workflow(s) based on analysis and confirmed user choices.\n\n### Step 5: Validate Generated Workflow\n\nBefore presenting to user:\n\n1. **Syntax validation**: Ensure valid YAML and GitHub Actions syntax\n2. **Reference check**: Verify referenced automation exists\n3. **Secret documentation**: List required secrets clearly\n4. **Permission check**: Ensure permissions block is minimal\n5. **Deployment check**: Verify deployment steps match selected mechanism\n\n### Step 6: Present to User\n\nProvide:\n\n1. **Generated workflow file(s)** with explanatory comments\n2. **Summary** of what was detected and decisions made\n3. **Required secrets** to configure (with setup guidance)\n4. **Required permissions and settings** - Based on what the workflow does, identify what permissions or repository settings are needed and provide instructions to configure them. Don't wait for the workflow to fail - tell users upfront what to configure.\n\n### Step 7: Validate\n\nAfter user approves, commit the workflows following the project's established process. Trigger the workflows, monitor runs, and iterate on any failures until they pass.\n\n",{"name":5,"description":7,"user-invocable":38},true,"main","6faa9f452f568fc9aa9b1c17ee728de11b760cb7",".claude\u002Fskills\u002Fdot-ai-generate-cicd",1,"https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp","https:\u002F\u002Fgithub.com\u002Fvfarcic","https:\u002F\u002Fyoutube.com\u002Fc\u002Fdevopstoolkit","Developer Advocate @Upbound","2026-06-19 10:10:13",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":38},[50,53,56],{"tool":51,"command":52},"npx","npx skills add vfarcic\u002Fdot-ai-headlamp --skill dot-ai-generate-cicd",{"tool":54,"command":55},"bunx","bunx skills add vfarcic\u002Fdot-ai-headlamp --skill dot-ai-generate-cicd",{"tool":57,"command":58},"pnpm","pnpm dlx skills add vfarcic\u002Fdot-ai-headlamp --skill dot-ai-generate-cicd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-generate-cicd\u002FSKILL.md",[],[62,87,104,120,134,144],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":33},"01M6CX45JYT898C3M792AXA5HS","dot-ai","Kubernetes cluster operations via dot-ai CLI - natural language cluster queries, AI-powered deployment recommendations, issue troubleshooting and remediation, Day 2 operations (scale, update, rollback, delete), resources, namespaces, events, logs, organizational knowledge base (ingest, search, query), organizational patterns\u002Fpolicies\u002Fcapabilities management, project scaffolding and repo audit, and session history and visualization. Run `dot-ai --help` for commands.","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai\u002FSKILL.md",[],[21,23,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86],"visualization","delete","repo","deployment","kubernetes","capabilities","search","logs","knowledge","history","project","session","ingest","queries","natural language","query","scaffolding","knowledge base",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":33},"01M6CX42HR85829TGFQ95E7283","dot-ai-write-docs","Write documentation with real, validated examples. Executes commands through the user to capture actual output. Use for any new documentation or major doc updates.","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-write-docs\u002FSKILL.md",[],[21,94,23,95,96,97,98,99,100,101,102,103,30],"docs","write","dot ai write docs","write documentation","commands","use","documentation","examples","doc","capture",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":33},"01M6CX4023QEXSVV5C22GG68XW","dot-ai-worktree-prd","Create a git worktree for PRD work with a descriptive branch name. Infers PRD from context or asks user.","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-worktree-prd\u002FSKILL.md",[],[111,112,21,113,23,114,115,116,117,118,119,30],"prd","worktree","dot ai worktree prd","create","git","git worktree","work","branch","context",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":33},"01M6CX3YETQD0A9BPXXQABX0MW","dot-ai-version","Get comprehensive system health and diagnostics","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-version\u002FSKILL.md",[],[23,127,21,128,129,130,131,132,133],"dot ai version","version","diagnostics","health","system","system health","get",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":33},"01M6CX3X07RSJTPNSFEQRX9ACY","dot-ai-users","Manage users (create, list, delete)","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-users\u002FSKILL.md",[],[23,141,21,114,70,142,143],"dot ai users","list","manage",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":33},"01M6CX3T6YE6PVSBJGP2WSXM9J","dot-ai-tag-release","Create a release tag based on accumulated changelog fragments. Run when ready to cut a release.","https:\u002F\u002Fgithub.com\u002Fvfarcic\u002Fdot-ai-headlamp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdot-ai-tag-release\u002FSKILL.md",[],[23,151,21,152,114,153,154,155],"dot ai tag release","release","run","changelog","ready"]