Communitygithub.com

ComeOnOliver/skillshub

Garantiza que los commits sigan las convenciones de commits convencionales, las normas de nomenclatura de ramas y las plantillas de PR. Úsalo al crear commits, ramas o PRs, o cuando el usuario mencione el flujo de trabajo de git.

¿Qué es skillshub?

Esta habilidad automatiza la aplicación de un flujo de trabajo Git estandarizado, centrándose en tres áreas clave: mensajes de commit convencionales, nomenclatura de ramas y procesos de pull request. Es útil para equipos de desarrollo que desean mantener un historial de Git limpio, consistente y fácil de navegar, evitando errores comunes y facilitando la generación automática de changelogs. Es compatible con cualquier flujo de trabajo que utilice Git, incluyendo plataformas como GitHub y GitLab. La habilidad funciona detectando primero las convenciones existentes en el repositorio (como plantillas en `.github/` o `.gitlab/`, o archivos `CONTRIBUTING.md`), y luego guía al usuario o agente para que genere commits con el formato `tipo(ámbito): descripción`, nombres de rama con prefijos como `feature/` o `bugfix/`, y plantillas de PR estandarizadas. Además, incluye instrucciones para validar commits existentes, instalar hooks de pre-commit y commit-msg, generar changelogs y configurar ramas protegidas, cubriendo así todo el ciclo de vida de un flujo de trabajo Git.

Compatible con~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/crazydubya/git-workflow-enforcer

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Aplicador de Flujo de Trabajo Git

Aplica flujos de trabajo Git consistentes, incluyendo mensajes de commit, nomenclatura de ramas y procesos de PR.

Cuándo Usarlo

  • Al crear commits o ramas
  • Durante revisiones de código o creación de PR
  • Cuando el usuario mencione "flujo de trabajo git", "mensaje de commit", "nomenclatura de ramas" o "pull request"

Instrucciones

1. Detectar Convenciones Existentes

Verifica:

  • Plantillas de .github/ o .gitlab/
  • CONTRIBUTING.md
  • Patrones de mensajes de commit existentes
  • Patrones de nomenclatura de ramas

2. Commits Convencionales

Formato: tipo(ámbito): descripción

Tipos:

  • feat: Nueva funcionalidad
  • fix: Corrección de errores
  • docs: Documentación
  • style: Formato, punto y coma faltantes
  • refactor: Reestructuración de código
  • perf: Mejora de rendimiento
  • test: Adición de pruebas
  • chore: Mantenimiento, dependencias

Ejemplos:

feat(auth): añadir soporte de inicio de sesión con OAuth2
fix(api): manejar respuesta nula en endpoint de usuario
docs(readme): actualizar instrucciones de instalación
refactor(utils): simplificar lógica de formato de fechas

3. Nomenclatura de Ramas

Patrones comunes:

feature/autenticacion-de-usuario
bugfix/manejo-de-error-de-inicio-sesion
hotfix/parche-de-seguridad-critico
release/v1.2.0
chore/actualizar-dependencias

Validar:

  • Minúsculas con guiones
  • Prefijado con tipo
  • Nombre descriptivo
  • Número de incidencia si aplica: feature/123-anadir-modo-oscuro

4. Validación de Mensajes de Commit

Buen commit:

feat(payments): integrar pasarela de pago Stripe

- Configurar SDK de Stripe
- Implementar creación de intención de pago
- Añadir manejador de webhook para eventos de pago
- Actualizar pruebas para flujo de pago

Cierra #456

Verificar:

  • Línea de asunto ≤50 caracteres
  • Cuerpo envuelto a 72 caracteres
  • Línea en blanco entre asunto y cuerpo
  • Modo imperativo ("añadir" no "añadido")
  • Referencia a incidencia/ticket

5. Plantilla de PR

Crear .github/PULL_REQUEST_TEMPLATE.md:

## Descripción
<!-- ¿Qué hace este PR? -->

## Tipo de Cambio
- [ ] Corrección de errores
- [ ] Nueva funcionalidad
- [ ] Cambio disruptivo
- [ ] Actualización de documentación

## Pruebas
<!-- ¿Cómo se probó esto? -->

## Lista de Verificación
- [ ] El código sigue las guías de estilo del proyecto
- [ ] Se realizó una autoevaluación
- [ ] Se añadieron comentarios para código complejo
- [ ] Se actualizó la documentación
- [ ] Se añadieron/actualizaron pruebas
- [ ] Todas las pruebas pasan
- [ ] No hay nuevas advertencias

## Incidencias Relacionadas
Cierra #

6. Hooks de Commit

Pre-commit:

#!/bin/sh
# .git/hooks/pre-commit

# Ejecutar linter
npm run lint

# Ejecutar pruebas
npm test

# Verificar datos sensibles
if git diff --cached | grep -i "password\|api_key\|secret"; then
  echo "Error: Posibles datos sensibles detectados"
  exit 1
fi

Commit-msg:

#!/bin/sh
# .git/hooks/commit-msg

commit_msg=$(cat "$1")

# Verificar formato de commit convencional
if ! echo "$commit_msg" | grep -qE "^(feat|fix|docs|style|refactor|perf|test|chore)(\(.+\))?: .+"; then
  echo "Error: El mensaje de commit debe seguir el formato de Commits Convencionales"
  echo "Ejemplo: feat(auth): añadir funcionalidad de inicio de sesión"
  exit 1
fi

7. Validar Commits Existentes

Revisa commits recientes para verificar adherencia al patrón:

git log --oneline -20 | grep -v "^[a-f0-9]\{7\} (feat|fix|docs|style|refactor|perf|test|chore)"

8. Generar Changelog

A partir de commits convencionales:

# Usando standard-version
npx standard-version

# O agrupar manualmente por tipo
git log --pretty=format:"%s" | grep "^feat" > features.txt
git log --pretty=format:"%s" | grep "^fix" > fixes.txt

9. Ramas Protegidas

Configuración de GitHub:

  • Requerir revisiones de PR
  • Requerir verificaciones de estado
  • Requerir commits firmados
  • Restringir quién puede hacer push
  • Requerir historial lineal

10. Mejores Prácticas

  • Commits atómicos: Un cambio lógico por commit
  • Mensajes descriptivos: Explicar el por qué, no el qué
  • Commits frecuentes: Pequeños y frecuentes sobre grandes y raros
  • Historial limpio: Squash/rebase antes de fusionar
  • Firmar commits: Firma GPG para seguridad
  • Referenciar incidencias: Vincular al sistema de seguimiento

Plantilla de Commit Git

Crear .gitmessage:

<tipo>(<ámbito>): <asunto>

<cuerpo>

<pie>

# Tipo: feat, fix, docs, style, refactor, perf, test, chore
# Ámbito: componente o archivo afectado
# Asunto: imperativo, minúsculas, sin punto final, ≤50 caracteres
# Cuerpo: explicar qué y por qué, no cómo, envuelto a 72 caracteres
# Pie: cambios disruptivos, referencias a incidencias

Establecer como plantilla:

git config --global commit.template ~/.gitmessage

Archivos de Soporte

  • templates/PULL_REQUEST_TEMPLATE.md
  • templates/commit-msg-hook.sh
  • templates/.gitmessage

Individual skills in this repo

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

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

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.

ComeOnOliver/skillshub

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.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

Skills relacionados