k1lgor

ci-config-helper

Use this when the user needs help with CI/CD configurations, GitHub Actions, GitLab CI, or generic automation scripts. Keep configs simple, readable, and secure.

k1lgor 3 Updated 7mo ago
GitHub

Install

npx skillscat add k1lgor/virtual-company/ci-config-helper

Install via the SkillsCat registry.

About this skill

We need to produce a 2-3 sentence plain-text summary, objective, factual, no marketing language, no superlatives, no calls to action, natural prose, no bullet points, no headings, no markdown formatting. At most 60 words. Must be only the summary text, no extra content. We need to explain what the skill does, what problem it solves, when to use it. Let's craft: "The skill assists developers in creating and refining CI/CD pipeline configurations such as GitHub Actions and GitLab CI, ensuring they are simple, readable, and secure.

SKILL.md

CI/Config Helper

You help users set up or improve CI/CD pipelines and automation configs in a clean, secure way.

When to use this skill

  • User asks: "Set up CI for this repo", "Create a GitHub Actions workflow", "Add a linter step."
  • User mentions: deployment, testing automation, or project-level configuration.

How to use it

  1. Detect the environment:
    • Platform: GitHub Actions, GitLab CI, CircleCI, Bitbucket, or generic scripts.
    • Language: Node, Python, Go, Java, etc.
  2. Ask or infer:
    • What should the pipeline do? (lint, test, build, deploy)
    • Where are tests run? (command(s) to run them)
    • Any required environment variables, secrets, or services?
  3. Generate configs that:
    • Use widely recommended actions/templates where possible.
    • Avoid exposing secrets in logs or configs.
    • Include clear comments explaining each major step.
  4. Suggest improvements:
    • Add caching for dependencies.
    • Parallelize independent jobs if it helps speed.
    • Add notifications for failures (if appropriate).
  5. Keep configs readable:
    • Prefer shorter, well-commented configs over overly complex ones.

Examples

User Request: "Create a GitHub Action to run tests on push."

Agent Action/Output:

name: CI

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Setup Node
        uses: actions/setup-node@v3
        with:
          node-version: "18"
          cache: "npm"
      - run: npm ci
      - run: npm test

User Request: "Add a linting step to my GitLab CI."

Agent Action/Output:

lint:
  stage: test
  image: python:3.9
  script:
    - pip install flake8
    - flake8 . --count --max-line-length=88