code-config-ci
Configure, debug, and optimize CI/CD pipelines.
Process
-
Identify context:
- Identify the CI provider (GitHub Actions, GitLab CI, Jenkins, etc.)
- Locate the config files (
.github/workflows/*.yml,.gitlab-ci.yml, etc.)
-
Research and analyze:
- Lookup latest syntax/versions for the CI provider (use WebSearch/WebFetch)
- Check pipeline configuration for secret leaks, script injection, and insecure permissions
-
Execute based on goal:
- New Pipeline: Generate a standard pipeline (Lint -> Test -> Build -> Deploy)
- Debug: Analyze logs (via WebFetch if URL provided) or error descriptions to fix steps
- Optimize: Suggest caching strategies, parallelism, or container optimization
Output
- Pipeline Configuration (YAML/Groovy content)
- Security Checks (Permissions, Secrets usage)
- Optimization Notes (Cache keys, Docker image sizes)
More from sirn/dotfiles
code-commit
Commit current changes using jj. Analyzes changes, suggests commit messages following repository conventions, proposes splits if needed, and creates commits. Use ONLY when user explicitly asks to commit changes or create commits.
18gemini-reference
Reference for calling the Gemini CLI agent from other agents. ALWAYS read BEFORE invoking Gemini to ensure correct JSON protocol, session management, and subtask delegation patterns.
18code-quality
Run comprehensive quality checks by orchestrating review, verification, testing, and linting. Use when user asks to check code quality, run full checks, or verify code health.
18context7
Retrieve up-to-date documentation context for libraries using the Context7 API. Use when needing current library documentation (React, Python stdlib, Rust, etc.) BEFORE implementing or writing code.
17code-setup-project
Sets up project development environment (wrapper scripts and/or Nix flake). Use when user wants to set up a development environment, create wrapper scripts, or add a Nix flake.
17code-debug
Debug issues by researching errors and proposing minimal fixes. Use when user asks to troubleshoot or debug a failure.
17