Logo di Hatch3r Ci Pipeline

Hatch3r Ci Pipeline

Organizzazione
hatch3r
hatch3r-ci-pipeline

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

Panoramica

Pubblicato dahatch3r
Repositoryhatch3r
Nome della skillhatch3r-ci-pipeline
Stelle
26
Fork
7
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da hatch3r su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Hatch3r Ci Pipeline in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-ci-pipeline
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Hatch3r Ci Pipeline in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Hatch3r Ci Pipeline non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Hatch3r Ci Pipeline non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

Domande frequenti

Cosa fa la skill IA Hatch3r Ci Pipeline?

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

Perché usare Hatch3r Ci Pipeline su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Hatch3r Ci Pipeline è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Hatch3r Ci Pipeline in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-ci-pipeline. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Hatch3r Ci Pipeline?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Hatch3r Ci Pipeline?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Hatch3r Ci Pipeline: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Hatch3r Ci Pipeline è gratuita?

Sì. È pubblicata su GitHub da hatch3r con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇