Communitygithub.com

cdcoonce/Portfolio_Website

Git-Commit-Workflow mit erzwungenem Conventional-Commit-Stil. Verwende dies, wenn Claude Änderungen bereitstellen und committen, Commit-Nachrichten erstellen oder der Benutzer darum bittet, zu committen, einen Commit zu machen oder seine Arbeit zu speichern. Stellt einheitliches Commit-Nachrichtenformat, korrektes Scoping und atomare Commits im gesamten Projekt sicher.

Was ist Portfolio_Website?

Diese Skill definiert einen strengen Git-Commit-Workflow, der auf dem Conventional-Commit-Standard basiert. Sie stellt sicher, dass alle Commits in einem Projekt ein einheitliches Format (`<type>(<scope>): <summary>`) und atomare Prinzipien befolgen. Sie ist besonders nützlich für Entwicklerteams, die eine saubere und nachvollziehbare Commit-Historie anstreben. Die Skill unterstützt die Durchsetzung von Commit-Typen wie `feat`, `fix`, `refactor` und anderen, die Verwendung von optionale Scopes aus der Projektstruktur, die Erstellung von imperativen Zusammenfassungen (max. 50 Zeichen) sowie die Einhaltung von Regeln wie keine Secrets, keine generierten Artefakte und keine übersprungenen Hooks. Sie automatisiert Schritte wie das Überprüfen von Änderungen, das Ausführen von CI-Checks und das Erstellen von Commits mit klaren Nachrichten. Sie kann auf jeder Plattform verwendet werden, die Git und Claude unterstützt (z. B. Claude Code, Cursor, Codex), und verbessert die Konsistenz und Qualität der Versionskontrolle erheblich.

Funktioniert mit✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cdcoonce/Portfolio_Website/tree/HEAD/.claude/skills/commit

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Commit-Skill

Änderungen bereitstellen und committen – nach dem Conventional-Commit-Stil und den Prinzipien atomarer Commits.

Commit-Nachrichtenformat

<type>(<optionaler scope>): <kurze zusammenfassung>
  • Alles kleinschreiben – Type, Scope und Zusammenfassung
  • Kein Punkt am Ende der Zusammenfassung
  • Imperativ – „add feature“ nicht „added feature“ oder „adds feature“
  • Maximal 50 Zeichen für die Zusammenfassungszeile (weiches Limit, 72 striktes Limit)
  • Die Zusammenfassung beschreibt das Warum, nicht das Was (der Diff zeigt das Was)

Typen

TypVerwendungBeispiel
featNeue Funktion oder Fähigkeitfeat: add user authentication flow
fixFehlerbehebungfix: resolve null pointer on empty input
refactorCodeänderung, die weder Fehler behebt noch Funktion hinzufügtrefactor: extract parser into standalone module
styleFormatierung, Leerzeichen, Semikolons – keine Logikänderungstyle: apply formatter to config files
docsNur Dokumentationdocs: add API usage examples to readme
testHinzufügen oder Aktualisieren von Teststest: add edge case coverage for validator
choreBuild-Prozess, Tooling, Abhängigkeiten, Konfigurationchore: update dependency lockfile
perfLeistungsverbesserungperf: cache repeated database lookups
ciCI/CD-Pipeline-Änderungenci: add lint step to PR workflow

Scope (Optional)

Verwende Scope, um den Kontext einzugrenzen, wenn der Typ allein mehrdeutig ist. Leite Scopes aus der Verzeichnisstruktur des Projekts oder aus Fachbereichen ab:

feat(auth): add OAuth2 token refresh
fix(api): handle timeout on large payloads
docs(contributing): add setup instructions

Workflow

  1. Änderungen überprüfen – Führe git status und git diff (bereitgestellt + nicht bereitgestellt) aus, um zu verstehen, was geändert wurde
  2. Letzte Historie prüfen – Führe git log --oneline -10 aus, um den bestehenden Commit-Stil des Projekts zu erkennen
  3. Absicht bestätigen – Stelle sicher, dass die Änderungen eine einzelne logische Einheit bilden; falls nicht, schlage vor, sie in mehrere Commits aufzuteilen
  4. CI-Checks ausführen – Führe vor dem Bereitstellen die Linter, Formatierer und Testsuiten des Projekts aus, um Probleme früh zu erkennen. Überprüfe package.json-Skripte, Makefile oder CI-Konfiguration auf verfügbare Befehle. Behebe alle Fehler, bevor du fortfährst.
  5. Dateien bereitstellen – Füge bestimmte Dateien namentlich hinzu (git add datei1 datei2), niemals git add -A oder git add .
  6. Nachricht verfassen – Wähle den richtigen Typ, füge bei Bedarf einen Scope hinzu, schreibe eine imperative Zusammenfassung
  7. Commit ausführen – Verwende einen Here-Doc für die Nachricht, um saubere Formatierung sicherzustellen
  8. Überprüfen – Führe nach dem Commit git status aus, um zu bestätigen, dass der Commit erfolgreich war

Mehrzeilige Commits

Für Commits, die einen Body benötigen (selten – bevorzuge präzise einzeilige Nachrichten):

<type>(<scope>): <zusammenfassung>

<body erklärt das warum, nicht das was>
  • Leerzeile zwischen Zusammenfassung und Body
  • Body bei 72 Zeichen umbrechen
  • Body nur verwenden, wenn die Zusammenfassung allein die Begründung nicht vermitteln kann

Regeln

  • Atomare Commits – Eine logische Änderung pro Commit. Eine Funktion und ihre Tests können ein Commit sein. Eine nicht zusammenhängende Formatierungskorrektur sollte ein separater Commit sein.
  • Keine Secrets – Niemals .env, Anmeldeinformationen, API-Schlüssel oder Tokens committen. Warne den Benutzer, wenn diese bereitgestellt wurden.
  • Keine generierten Artefakte – Baue Ausgaben, Abhängigkeitsverzeichnisse oder kompilierte Dateien nicht committen. Überprüfe die .gitignore-Abdeckung vor dem Bereitstellen.
  • Nur neue Commits – Erstelle immer einen neuen Commit. Ändere niemals einen bestehenden Commit (amend), es sei denn, der Benutzer fordert es explizit an.
  • Keine Hooks überspringen – Verwende niemals --no-verify. Wenn ein Hook fehlschlägt, behebe das zugrunde liegende Problem.
  • Co-Author-Zeile – Füge den Co-Author-Trailer hinzu, wenn Claude die Änderungen verfasst oder mitverfasst hat:
Co-Authored-By: Claude <[email protected]>

Beispiele

# Feature – neue Fähigkeit
feat: add webhook notification system

# Feature mit Scope
feat(api): add rate limiting middleware

# Fix – Fehlerkorrektur
fix: prevent crash on malformed JSON input

# Style – nur Formatierung
style: apply consistent indentation across modules

# Docs – Dokumentation
docs: add architecture decision records

# Chore – Tooling/Konfiguration
chore: broaden gitignore to cover build artifacts

# Test mit Scope
test(auth): add integration tests for token refresh

# Refactor mit Scope
refactor(db): replace raw queries with query builder

Referenzdokumentation

  • conventional-commits.md – Typauswahl-Leitfaden, Breaking Changes, Scope-Strategien, Entscheidungen bei mehreren Dateien, Body-Formatierung, Trailer und häufige Fehler

Individual skills in this repo

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

cdcoonce/Portfolio_Website

AI-powered code quality analysis for Python, Markdown, and Mermaid diagrams. Use this skill when: (1) reviewing code for quality issues, (2) checking Python files for PEP8 violations, unused code, missing type hints, docstring problems, complexity issues, or potential runtime errors, (3) validating Markdown documentation for broken links, heading structure, or formatting issues, (4) validating Mermaid diagram syntax, (5) the user asks for a "code review" or "quality check", (6) analyzing code snippets pasted in conversation, or (7) suggesting and applying fixes for code quality issues.

cdcoonce/Portfolio_Website

Deploy the portfolio chat agent Lambda function to AWS. Use when the user asks to deploy, redeploy, push to Lambda, update the chat agent, or after updating context files or lambda_function.py. Rebuilds the knowledge base, packages dependencies, and deploys to AWS Lambda.

cdcoonce/Portfolio_Website

Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

cdcoonce/Portfolio_Website

Orchestrate the full GitHub-issues-driven development lifecycle. 7-phase pipeline from brainstorm through PR with state tracking and cross-conversation resume. Use when user says "dev cycle", "development workflow", "full development pipeline", or invokes /dev-cycle.

cdcoonce/Portfolio_Website

Production Python coding standards with automatic version detection (3.10-3.13). Use when writing, reviewing, or refactoring Python to ensure adherence to modern type syntax, LBYL exception handling, pathlib operations, ABC-based interfaces, and production-tested patterns. Not Dagster-specific - applies to any Python project.

cdcoonce/Portfolio_Website

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

cdcoonce/Portfolio_Website

GitHub CLI (gh) integration for managing issues, pull requests, branches,

cdcoonce/Portfolio_Website

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

cdcoonce/Portfolio_Website

Explore a codebase to find opportunities for architectural improvement, focusing on making the codebase more testable by deepening shallow modules. Use when user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more AI-navigable.

cdcoonce/Portfolio_Website

CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Three modes: SCOPE EXPANSION (dream big), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials). Use when the user asks for a plan review, CEO review, mega review, or wants a plan challenged/stress-tested before implementation.

cdcoonce/Portfolio_Website

Break a PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices. Use when user wants to convert a PRD to issues, create implementation tickets, or break down a PRD into work items.

cdcoonce/Portfolio_Website

Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in docs/plans/. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions "tracer bullets".

cdcoonce/Portfolio_Website

Generate or update the `.claude/docs/project.md` file that gives Claude project-specific context. Use this skill when the user asks to create, update, regenerate, or refresh project context, or says things like "update project.md", "generate project context", "this repo needs a project.md", or "Claude doesn't know about this project". Also trigger when onboarding Claude to a new repository for the first time.

cdcoonce/Portfolio_Website

Generate comprehensive, high-quality README.md files for code repositories. Use this skill whenever the user asks to create, write, generate, update, or improve a README for any project or repository. Also trigger when the user says things like "document this project", "write docs for this repo", "this repo needs a README", "help me onboard developers to this codebase", or asks for project documentation in markdown. Even if the user just says "README" or "readme" in the context of a codebase, use this skill.

cdcoonce/Portfolio_Website

Create a detailed refactor plan with tiny commits via user interview, then file it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.

cdcoonce/Portfolio_Website

Set up pre-commit hooks for the current repo. Use when user wants to add pre-commit hooks, configure commit-time linting, formatting, type checking, or testing. Triggers on "pre-commit", "git hooks", "linting hooks", or /setup-pre-commit.

cdcoonce/Portfolio_Website

Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development.

cdcoonce/Portfolio_Website

Triage a bug or issue by exploring the codebase to find root cause, then create a GitHub issue with a TDD-based fix plan. Use when user reports a bug, wants to file an issue, mentions "triage", or wants to investigate and plan a fix for a problem.

cdcoonce/Portfolio_Website

Rewrites the prose sections of wiki pages in-place. Reads source files to understand current context, then updates only the content inside <!-- claude:prose --> ... <!-- claude:prose:end --> markers. Never touches <!-- generated:start --> ... <!-- generated:end --> blocks. Supports targeting a single page with /update-wiki {PageName}.

cdcoonce/Portfolio_Website

Create a PRD through user interview, codebase exploration, and module design, then submit as a GitHub issue. Use when user wants to write a PRD, create a product requirements document, or plan a new feature.

Verwandte Skills