Communitygithub.com

bg-szy/TOP-SKILLS

CI en panne ? Appelez-nous. Les pompiers de la pipeline interviennent. Utilisez lorsque l'utilisateur mentionne des échecs CI, erreurs de build, échecs de test ou problèmes de pipeline. Ne PAS charger pour : les builds locaux, le travail d'implémentation standard, les revues ou la configuration.

Qu'est-ce que TOP-SKILLS ?

Cette compétence est conçue pour diagnostiquer et résoudre les problèmes de pipeline CI/CD, en particulier lorsque l'utilisateur signale des échecs CI, des erreurs de build ou des tests qui ne passent pas. Elle intègre un processus en plusieurs étapes : d'abord, une analyse de cause racine (étape 0) pour déterminer si le problème vient de l'implémentation, des tests obsolètes ou de l'environnement. Ensuite, selon la classification, elle lit des fichiers de référence dédiés (comme analyzing-failures.md ou fixing-tests.md) ou lance un sous-agent ci-cd-fixer pour gérer les cas complexes impliquant plusieurs fichiers. La compétence inclut des garde-fous stricts (interdiction de modifier les tests en les skippant ou en supprimant des assertions) et nécessite une approbation explicite de l'utilisateur pour toute modification de test ou de configuration. Elle supporte également l'analyse des commits via `git log` avec des drapeaux avancés (--format, --topo-order, --raw) pour identifier le commit responsable de l'échec. Cette compétence est principalement destinée aux assistants IA comme Claude Code (CC), Cursor ou Codex, et s'active sur mention d'échecs CI, d'erreurs de build ou de tests.

Compatible avec✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bg-szy/TOP-SKILLS/tree/HEAD/skills/marketplace/ci

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Compétences CI/CD

Ensemble de compétences pour résoudre les problèmes liés aux pipelines CI/CD.


Conditions de déclenchement

  • « CI est tombé », « GitHub Actions a échoué »
  • « Erreur de build », « Les tests ne passent pas »
  • « Répare le pipeline »

Détails des fonctionnalités

FonctionnalitéDétailDéclencheur
Analyse des échecsVoir references/analyzing-failures.md« Regarde les logs », « Trouve la cause »
Correction des testsVoir references/fixing-tests.md« Corrige les tests », « Propose une correction »

Procédure d'exécution

  1. Jugement test vs implémentation (Étape 0)
  2. Classer l'intention de l'utilisateur (analyse ou correction)
  3. Évaluer la complexité (voir ci-dessous)
  4. Lire le fichier de référence approprié depuis les « Détails des fonctionnalités » ci-dessus, ou lancer le sous-agent ci-cd-fixer
  5. Vérifier le résultat et réexécuter si nécessaire

Étape 0 : Jugement test vs implémentation (Porte qualité)

Lors d'un échec CI, commencez par identifier la cause :

Rapport d'échec CI
    ↓
┌─────────────────────────────────────────┐
│        Jugement test vs implémentation   │
├─────────────────────────────────────────┤
│  Analyser la cause de l'erreur :        │
│  ├── Implémentation erronée → Corriger l'implémentation          │
│  ├── Test obsolète → Demander confirmation à l'utilisateur      │
│  └── Problème d'environnement → Corriger l'environnement                │
└─────────────────────────────────────────┘

Interdictions (anti-falsification)

⚠️ Interdictions en cas d'échec CI

Les « solutions » suivantes sont interdites :

| Interdiction | Exemple | Bonne pratique |
|------|-----|-----------|
| Saut de test | `it.skip(...)` | Corriger l'implémentation |
| Suppression d'assertion | Supprimer `expect()` | Vérifier les valeurs attendues |
| Contournement CI | `continue-on-error` | Corriger la cause racine |
| Assouplissement des règles lint | `eslint-disable` | Corriger le code |

Flux de décision

🔴 Le CI a échoué

**Décision nécessaire** :

1. **L'implémentation est erronée** → Corriger l'implémentation ✅
2. **Les valeurs attendues du test sont obsolètes** → Demander confirmation à l'utilisateur
3. **Problème d'environnement** → Corriger la configuration de l'environnement

⚠️ La falsification des tests (saut, suppression d'assertion) est interdite

À quelle catégorie appartenez-vous ?

Cas nécessitant une approbation

Si la modification de test/configuration est inévitable :

## 🚨 Demande d'approbation de modification test/configuration

### Raison
[Pourquoi cette modification est nécessaire]

### Contenu de la modification
[Diff]

### Examen des alternatives
- [ ] A vérifié que la modification de l'implémentation ne peut pas résoudre le problème

Attendre l'approbation explicite de l'utilisateur

Utilisation des drapeaux étendus de git log (CC 2.1.49+)

Utilisez les logs structurés pour identifier le commit responsable de l'échec CI.

Identification du commit responsable

# Analyse des commits au format structuré
git log --format="%h|%s|%an|%ad" --date=short -10

# Analyse chronologique avec ordre topologique
git log --topo-order --oneline -20

# Association des fichiers modifiés et des causes
git log --raw --oneline -5

Principaux cas d'usage

UsageDrapeauEffet
Identification de la cause`--format="%h%s"`
Suivi chronologique--topo-orderSuivi en tenant compte de l'ordre de fusion
Compréhension de l'impact des modifications--rawAffichage détaillé des modifications de fichiers
Analyse hors fusion--cherry-pick --no-mergesExtraction des seuls commits réels

Exemple de sortie

🔍 Analyse de la cause de l'échec CI

Commits récents (structurés) :
| Hash | Sujet | Auteur | Date |
|------|---------|--------|------|
| a1b2c3d | feat: update API | Alice | 2026-02-04 |
| e4f5g6h | test: add tests | Bob | 2026-02-03 |

Fichiers modifiés (--raw) :
├── src/api/endpoint.ts (Modifié) ← Erreur de type survenue
├── tests/api.test.ts (Modifié)
└── package.json (Modifié)

→ Le commit a1b2c3d est probablement responsable
   Erreur de type : src/api/endpoint.ts:42

Collaboration avec sous-agent

Lorsque les conditions suivantes sont remplies, lancez ci-cd-fixer avec l'outil Task :

  • Correction → Réexécution → Échec en boucle 2 fois ou plus
  • Ou, cas complexe impliquant plusieurs fichiers

Schéma de lancement :

Task tool :
  subagent_type="ci-cd-fixer"
  prompt="Diagnostiquez et corrigez l'échec CI. Log d'erreur : {error_log}"

ci-cd-fixer fonctionne en mode sécurisé (mode dry-run par défaut). Voir agents/ci-cd-fixer.md pour plus de détails.


Pour VibeCoder

🔧 Comment parler quand le CI est cassé

1. **« Le CI est tombé », « Il est devenu rouge »**
   - L'état où les tests automatisés échouent

2. **« Pourquoi ça échoue ? »**
   - Demander de trouver la cause

3. **« Répare-le »**
   - Essayer une correction automatique

💡 Important : les corrections qui « trichent » sur les tests sont interdites
   - ❌ Supprimer ou sauter des tests
   - ⭕ Corriger correctement le code

Si vous pensez que « le test a l'air faux »,
   demandez confirmation avant de décider de l'action

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

bg-szy/TOP-SKILLS

Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens — use frontend-design instead.

bg-szy/TOP-SKILLS

Fill out Microsoft Azure Landing Zone (ALZ) Accelerator checklists by interviewing the user, mapping their Azure subscriptions, integrating IP addressing documentation, and applying Microsoft Cloud Adoption Framework best practices. Produces a completed Excel checklist (.xlsx) ready for ALZ deployment. Use this skill whenever the user mentions Azure Landing Zone, ALZ checklist, landing zone accelerator, platform landing zone configuration, ALZ bootstrap, hub-and-spoke setup, Azure network topology planning, or wants to fill out any ALZ-related checklist or configuration file. Also trigger when the user uploads an Excel file that contains tabs like "Accelerator - Bootstrap", "Accelerator - Bicep", or "Accelerator - Terraform".

bg-szy/TOP-SKILLS

Compose a premium, animated landing page section by section in Next.js + Tailwind + Motion (Framer Motion) — built on a real design system, with editorial copy and motion that feels human-crafted, not template-generated. Use when building or rebuilding a landing page, marketing site, or hero/feature/pricing/CTA sections that need to look production-ready and bespoke from day one.

bg-szy/TOP-SKILLS

Write high-converting landing page copy using proven frameworks like PAS (Problem-Agitate-Solution), AIDA, and StoryBrand. Creates headlines, value propositions, CTAs, and full page sections optimized for conversion. Use when users need landing page copy, sales page content, or marketing website text.

bg-szy/TOP-SKILLS

Optimize landing pages for conversions, performance, and SEO. Use when improving landing pages, increasing conversions, or optimizing page performance.

bg-szy/TOP-SKILLS

Review investment portfolios for risk, diversification, fees. Asset allocation recommendations, tax-loss harvesting, rebalancing.

bg-szy/TOP-SKILLS

Beads Viewer - Graph-aware triage engine for Beads projects. Computes PageRank, betweenness, critical path, and cycles. Use --robot-* flags for AI agents.

bg-szy/TOP-SKILLS

CASS Memory System - procedural memory for AI coding agents. Three-layer cognitive architecture with confidence decay, anti-pattern learning, cross-agent knowledge transfer, trauma guard safety system. Bun/TypeScript CLI.

bg-szy/TOP-SKILLS

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

bg-szy/TOP-SKILLS

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

bg-szy/TOP-SKILLS

Use when the user asks to "pre-launch check the landing page", "run a Quality-Score preflight", or "verify ad-to-page message match before launch"; produces an ad↔page continuity report — message-match gaps, above-the-fold check, page-speed read, form-friction count, mobile-render flags — as a pass/fix punch list. Not for redesigning or rewriting the page — use landing-optimizer; not for scoring the account or the RQS — use ad-account-auditor. 落地页体验预检/广告落地页一致性检查

bg-szy/TOP-SKILLS

Use when the user asks to "optimize our landing page for influencer traffic", "fix our promo-code landing page", or "improve conversion from a creator campaign"; produces a message-match audit, page-structure and social-proof recommendations, a promo-code/CTA conversion plan, and an A/B test roadmap. Not for measuring campaign results after launch — use performance-analyzer.

bg-szy/TOP-SKILLS

Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review, critique or improve a landing page, sales page, opt-in page, product page or checkout flow, when conversion rate is low, when paid traffic is not converting, or when someone asks "why isn't this page converting" or wants a CRO / landing page review.

bg-szy/TOP-SKILLS

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

bg-szy/TOP-SKILLS

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

bg-szy/TOP-SKILLS

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

bg-szy/TOP-SKILLS

Account assets, equity and fund positions, P&L, cash flow records, account statements, margin ratios, buy-power estimates, order management, and DCA recurring investments via Longbridge (most require Trade permission). Frameworks: portfolio diagnosis, rebalancing, asset allocation, risk analysis (VaR/CVaR), performance attribution, and tax-loss harvesting. Triggers: "持仓", "账户", "盈亏", "资产", "对账单", "下单", "买入", "卖出", "撤单", "定投", "组合诊断", "再平衡", "资产配置", "风险分析", "绩效归因", "税损收割", "持倉", "賬戶", "盈虧", "對賬單", "下單", "買入", "賣出", "組合診斷", "再平衡", "稅損收割", "positions", "portfolio", "P&L", "order", "buy", "sell", "DCA", "statement", "risk analysis", "rebalancing", "tax harvesting", "我的风险", "持仓风险", "风险敞口", "資產", "資產配置", "風險分析", "績效歸因", "撤單

bg-szy/TOP-SKILLS

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

bg-szy/TOP-SKILLS

Process video files with audio extraction, format conversion (mp4, webm), and Whisper transcription. Use when user mentions video conversion, audio extraction, transcription, mp4, webm, ffmpeg, or whisper transcription.

bg-szy/TOP-SKILLS

Using the Wonda CLI to generate images, videos, music, and audio from the terminal — plus LinkedIn, Reddit, and X/Twitter research and automation

Skills associés