Hatch3r Ci Pipeline logo

Hatch3r Ci Pipeline

Organization
hatch3r
hatch3r-ci-pipeline

Designs and optimizes CI/CD pipelines. Covers stage design, test parallelization, artifact management, and pipeline performance.

Overview

Publisherhatch3r
Repositoryhatch3r
Skill namehatch3r-ci-pipeline
Stars
26
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by hatch3r on GitHub. Read the source before you install it.

Installation

Install the Hatch3r Ci Pipeline AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-ci-pipeline
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hatch3r/hatch3r.git /tmp/hatch3r
mkdir -p .claude/skills
cp -r /tmp/hatch3r/skills/hatch3r-ci-pipeline .claude/skills/hatch3r-ci-pipeline
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hatch3r Ci Pipeline in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hatch3r Ci Pipeline on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hatch3r Ci Pipeline is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

CI Pipeline Workflow

Quick Start

Task Progress:
- [ ] Step 0: Detect ambiguity (P8 B1)
- [ ] Step 1: Audit existing pipeline
- [ ] Step 2: Design stage structure
- [ ] Step 3: Optimize test parallelization
- [ ] Step 4: Configure artifact management
- [ ] Step 5: Implement and validate

Step 0 — Detect Ambiguity (P8 B1)

Before any work, scan the invocation for unresolved questions in scope, intent, acceptance criteria, target environment, or irreversibility. If any are found, ask the user via the platform-native question tool per agents/shared/user-question-protocol.md. Do not proceed under silent assumption. Default path, not an exception. Triggers for THIS skill: CI platform (GitHub Actions vs GitLab vs CircleCI vs Azure Pipelines), pipeline duration target, runner sizing budget, deploy gate (auto vs manual approval for prod), and artifact retention policy.

Fan-out Discipline (P8 B2)

Fan-out scales with task size; token cost never justifies serializing independent work (rules/hatch3r-fan-out-discipline.md P8 B2; agents/shared/efficiency-patterns.md). Emit sub_agents_spawned: { count, rationale, task_structure } in your output.

Step 1: Audit Existing Pipeline

  • Map the current pipeline stages, their dependencies, and execution times.
  • Identify bottlenecks: which stages take the longest? Which block others unnecessarily?
  • Check for flaky tests that cause unnecessary reruns.
  • Review resource usage: are runners appropriately sized? Are caches effective?
  • Measure total pipeline duration from push to deployable artifact.

Step 2: Design Stage Structure

  • Organize into logical stages: install, lint, typecheck, unit test, integration test, build, deploy.
  • Maximize parallelism: lint, typecheck, and unit tests can run in parallel after install.
  • Use fail-fast: if lint fails, skip tests. If unit tests fail, skip integration tests.
  • Gate deployments behind all quality checks.
  • Separate environment-specific deployment stages (staging, production) with manual approval gates for production.

Step 3: Optimize Test Parallelization

  • Split test suites across multiple runners using test file sharding or test duration-based splitting.
  • Use test timing data from previous runs to balance shard workloads.
  • Run unit tests and integration tests on separate runners in parallel.
  • For monorepos: only run tests for changed packages and their dependents.
  • Cache test results for unchanged code paths where the test framework supports it.

Step 4: Configure Artifact Management

  • Build artifacts once, deploy the same artifact to all environments.
  • Tag artifacts with commit SHA and build number for traceability.
  • Set retention policies: keep production artifacts longer, clean up PR artifacts after merge.
  • Store build metadata (git SHA, branch, build time, test results) alongside artifacts.
  • Use content-addressable storage or artifact registries appropriate to the project (npm, Docker, S3).

Step 5: Implement and Validate

  • Implement pipeline changes incrementally — test each stage change in a feature branch.
  • Verify caching works: first run populates cache, second run uses it (confirmed by cache hit log output).
  • Confirm parallel stages don't have hidden dependencies causing race conditions.
  • Measure pipeline duration improvement against the baseline from Step 1.
  • Document the pipeline architecture for the team.

Supply-Chain Floor

A CI/CD pipeline is the supply-chain attack surface — design the floor in, do not bolt it on. The glob-scoped floor rules attach when you edit a workflow or Dockerfile; this callout surfaces them at pipeline-design time so the controls are planned, not discovered. Apply both rules as authored — this section cross-references, it does not restate:

  • rules/hatch3r-dependency-management.md — SHA-pin every GitHub Action to a 40-char commit SHA (not a tag); npm ci / lockfile-only installs; CVE scan gate before merge; npm Trusted Publishing via GitHub OIDC with --provenance (no long-lived publish token), attestations signed by Sigstore.
  • rules/hatch3r-container-hardening.md — pin base images by @sha256: digest; generate an SBOM (CycloneDX or SPDX) in the build stage; cosign-sign images and verify by digest at deploy; distroless / Wolfi runtime, non-root user.

Gate releases on these the same way Step 2 gates deploys on quality checks: a release stage that publishes without provenance + SBOM, or pulls an unpinned action / untagged base image, fails the gate.

Pipeline Performance Targets

MetricTarget
Lint + typecheck< 2 minutes
Unit tests< 5 minutes
Integration tests< 10 minutes
Full pipeline (push to artifact)< 15 minutes
Cache hit ratio> 80%

Error Handling

  • Pipeline config syntax errors: Validate workflow YAML locally (e.g., actionlint for GitHub Actions) before pushing. Report the exact line and field causing the parse failure.
  • Flaky tests block pipeline: Identify the flaky test(s) by re-running the failing job. If confirmed flaky, quarantine the test with a tracking issue reference and unblock the pipeline.
  • Cache invalidation causes slow builds: Verify cache key patterns match the lockfile hash. If caches are stale, clear them and document the corrected key strategy.

Definition of Done

  • Pipeline stages optimized with maximum parallelism
  • Test parallelization configured and balanced
  • Artifact management with retention policies
  • Pipeline duration meets performance targets
  • Documentation updated with pipeline architecture

References

Frequently asked questions

What does the Hatch3r Ci Pipeline AI skill do?

Designs and optimizes CI/CD pipelines. Covers stage design, test parallelization, artifact management, and pipeline performance.

Why use Hatch3r Ci Pipeline on TypingMind?

Because you install it once and use it with any model. Hatch3r Ci Pipeline is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hatch3r Ci Pipeline in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-ci-pipeline. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hatch3r Ci Pipeline?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hatch3r Ci Pipeline?

As many as you like. As long as a model supports skills, you can use Hatch3r Ci Pipeline with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hatch3r Ci Pipeline AI skill free?

Yes. It is published on GitHub by hatch3r under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇