Communitygithub.com

cdcoonce/Portfolio_Website

현재 저장소에 pre-commit 훅을 설정합니다. 사용자가 pre-commit 훅 추가, 커밋 시점 린팅, 포매팅, 타입 검사 또는 테스트 설정을 원할 때 사용합니다. "pre-commit", "git hooks", "linting hooks" 또는 "/setup-pre-commit" 명령에 반응합니다.

Portfolio_Website란 무엇인가요?

이 스킬은 현재 Git 저장소에 pre-commit 훅을 자동으로 설정하는 Claude Code AI 에이전트용입니다. 사용자가 커밋 전에 린팅, 포매팅, 타입 검사, 테스트를 실행하도록 설정하려는 경우에 유용하며, 저장소 유형(Python 또는 JS/TS)을 자동 감지하고 적절한 설정 파일을 참조합니다. Python 프로젝트는 `uv`를, JS/TS 프로젝트는 `npx`를 필요로 하며, 두 유형이 모두 감지되면 사용자에게 선택권을 제공합니다. 설정 단계는 프로젝트 감지, 사용자 체크 선택, 프레임워크 설치, 설정 파일 생성, 훅 설치, 전체 코드베이스 검증, 자동 수정, 최종 커밋 순서로 진행되며, 오류 발생 시 사용자에게 안내합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/cdcoonce/Portfolio_Website/tree/HEAD/.claude/skills/setup-pre-commit

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Pre-Commit 훅 설정

사전 요구 사항

시작하기 전에 다음을 확인하세요:

  1. Git 저장소 존재 — .git/ 디렉토리를 확인합니다. 없으면 사용자에게 알리고 중단합니다.
  2. 패키지 관리자 사용 가능 — 아래 감지 단계 후 관련 도구가 설치되어 있는지 확인합니다:
    • Python: uv --version 명령어로 uv 사용 가능 여부 확인
    • JS/TS: npx --version 명령어로 npx 사용 가능 여부 확인

사전 요구 사항이 충족되지 않으면 사용자에게 무엇이 누락되었고 어떻게 설치해야 하는지 알립니다.

1단계: 프로젝트 유형 감지

프로젝트 루트에서 다음을 확인합니다:

신호결과
pyproject.toml 존재, package.json 없음Python → python-setup.md 파일 참조
package.json 존재, pyproject.toml 없음JS/TS → js-setup.md 파일 참조
둘 다 존재사용자에게 질문 (아래 참조)
둘 다 없음지원되는 프로젝트가 없다고 알리고 중단

둘 다 감지된 경우

AskUserQuestion을 사용하여 세 가지 옵션을 제공합니다:

  • A) Python만 — python-setup.md 참조
  • B) JS/TS만 — js-setup.md 참조
  • C) 둘 다 — "두 언어 모드" 섹션을 포함하여 python-setup.md 참조

2단계: 사용자에게 활성화할 체크 선택 요청

언어별 설정 파일에 위임합니다. 각 파일은 AskUserQuestion을 통해 사용 가능한 체크를 제공합니다.

사용자가 체크를 선택하지 않은 경우: 훅이 설치되지 않음을 알리고 정상 종료합니다.

3단계: 프레임워크 설치

언어별 설정 파일을 따릅니다.

4단계: 설정 파일 생성

언어별 설정 파일을 따라 사용자 선택에 기반한 설정 파일을 생성합니다.

5단계: 훅 설치

언어별 설정 파일을 따라 Git에서 훅을 활성화합니다.

6단계: 검증

전체 코드베이스에 대해 훅을 실행하여 정상 작동을 확인합니다.

7단계: 검증 실패 처리

  • 린트/포맷 위반이 발견되면 가능한 경우 자동 수정(ruff --fix, ruff format, prettier --write)하고 다시 실행합니다.
  • 타입 또는 테스트 실패가 발생하면 사용자에게 알리고 훅 설정 파일만 커밋합니다.

8단계: 커밋

생성되거나 수정된 모든 설정 파일을 스테이징하고 커밋합니다.

Individual skills in this repo

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

cdcoonce/Portfolio_Website

Git commit workflow with enforced conventional commit style. Use when Claude needs to stage and commit changes, craft commit messages, or the user asks to commit, make a commit, or save their work. Ensures consistent commit message format, proper scoping, and atomic commits across the project.

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

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.

관련 스킬