/yd-skills-personal:dok3-finguardfrom yd-skills-personal
Runs FinGuard CLI (Semgrep-based) for source code vulnerability scanning with severity-based gates and limited fix-reverify loops. Does not replace SCA, dynamic analysis, or general code review.
Ships in yd-skills-personal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
FinGuard의 로컬 scan을 코드 변경 워크플로에 연결하는 보안 검토자다. 원본
도구와 룰의 계약은 LeeYudok/finguard가
단일 진실원천이며, 이 스킬은 탐지 규칙이나 금보원 근거 문구를 복제하지 않는다.
FinGuard는 Semgrep 기반 정적 분석으로 rules/와 mapping/rules.yaml에 포함된
항목만 찾는다. 다음을 결과에 반드시 반영한다.
점검 대상 저장소 경로와 차단 심각도를 확정한다. 차단 심각도 기본값은
ERROR이며, 사용자가 조직 정책을 주면 그대로 쓴다. finguard, semgrep,
FinGuard의 rules/, mapping/rules.yaml이 실행 가능한 위치에 있어야 한다.
없으면 설치를 추측하지 말고 누락 항목과 필요한 경로를 보고한다.
로컬 finguard scan은 발견 건수가 있어도 exit 0일 수 있다. 자동 게이트에는
반드시 이 스킬의 래퍼를 사용한다.
python3 <스킬경로>/scripts/run_gate.py \
--dir <저장소> --block-on ERROR
FinGuard 자산이 실행 파일 옆에 없으면 --rules와 --mapping을 명시한다.
git status와 대상 범위를 확인한다. 사용자 변경을 보안 수정이라는 이유로
되돌리거나 범위 밖 코드를 함께 정리하지 않는다.scan --dir은 저장소 전체 기준선이다.ignore 또는 block_on: []는 사용자가 승인한 정책 변경일 때만 사용한다.
테스트·예제 파일이라는 이유만으로 탐지를 일괄 제외하지 않는다. 시크릿으로
보이는 값은 출력이나 최종 보고에 원문을 복사하지 않는다.
pre-commit에서는 프로젝트가 쓰는 훅 프레임워크에 위 래퍼를 연결한다. 훅은
ERROR 등 합의한 심각도에서 실패해야 하며, 경고를 성공으로 바꾸는 || true를
붙이지 않는다. 구체적인 훅 예와 전체 파이프라인의 단계별 입출력·중단 조건은
references/ai-sdlc.md를 따른다.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
finguard, semgrep, security-gate, vulnerability-scanning, pre-commit
12 skills in this plugin
/dok3-agents-mem에이전트 메모리·전역 지침·설정을 GitLab agents-mem 레포에 백업하고 되돌린다. 전역 CLAUDE.md·infra-*.md·ref-*.md·프로젝트 메모리·스킬·에이전트·settings 를 고친 뒤 미러를 갱신할 때, 다른 호스트가 바꾼 전역 지침을 받을 때, 새 머신을 복원할 때 사용한다. "메모리 백업", "미러 갱신", "agents-mem 싱크", "sync_memory", "전역 지침 동기화" 요청에 쓴다. 메모리 내용이 맞는지 감사하는 일은 dok3-memory-factcheck 를 쓴다./dok3-claude-auth-sync한 PC 에서 claude login 으로 다시 인증한 Claude Code 로그인을, 사용자가 등록해 둔 다른 PC·서버에도 똑같이 맞춘다. 키체인·~/.claude/.credentials.json 의 claudeAiOauth 만 ssh 표준입력으로 넘기고 토큰은 출력하지 않는다. "클로드 인증 서버들에 공유", "claude 로그인 다른 PC 에도 맞춰", "인증값 똑같이" 요청에 쓴다. 저장소 동기화는 dok3-git-sync 가 맡는다./dok3-doksam-uidoksam 프로젝트의 UI 를 만들거나 수정할 때, 사용자가 "ui.doksam.com 참고" / "doksam-ui" / "독삼 표준 UI" 라고 말할 때, 프론트엔드 작업이 doksam 인프라를 대상으로 할 때 사용한다. ui.doksam.com 을 디자인 단일 진실원천(SSOT)으로 강제한다 — shadcn/ui 시맨틱 토큰(색상 하드코딩 금지), 브랜드 프로필, 자체 호스팅 shadcn 커스텀 레지스트리(npx shadcn add https://ui.doksam.com/r/<name>.json), Phosphor 아이콘 우선, 폐쇄망 셀프호스팅, 기계적 표준 준수 검증. 카탈로그 레포(doksam-ui) 자체를 확장할 때 — 컴포넌트·패턴·템플릿 추가, 데모 작성, 토큰·테마·폰트·프로필 변경, shadcn registry.json / llms.txt 갱신 — 도 이 스킬을 쓴다./dok3-git-shipGitLab 레포에 에이전트(Claude Code·Codex·Antigravity)가 작업을 올리는 절차 — 이슈 등록, batch/<agent>-<날짜>-<8자리 hex> 브랜치, "[<model>] <type>: <desc> (#N)" 커밋, Closes MR, merge commit(squash 금지), CI 추적, commit-msg hook 설치. "커밋", "푸시", "MR", "머지", "올려", "이슈 등록", "ship" 등 git/GitLab 에 뭔가 남길 때마다 사용./dok3-git-sync여러 호스트(맥·server1·doksam 등)에 클론해 둔 같은 저장소를 맞춘다 — 각 클론을 git pull --ff-only 로 origin 에 맞추고 추적 파일 수·목록 해시를 비교한 뒤, git 이 관리하지 않는 폴더(docs/원본자료 등)를 지우지 않고 합집합으로 채운다. "서버들 레포 동기화", "파일 갯수 같은지 확인", "server1 doksam 싱크", "합집합으로 맞춰" 요청에 쓴다. 작업을 커밋·MR 로 올리는 일은 dok3-git-ship 이 맡는다./dok3-hugo-tech-blogWrite, expand, validate, and safely publish Korean Hugo technical-course chapters in the dok123 Rocky Linux blog. Use `dok3-writer-kr` for sentence-level Korean style.npx claudepluginhub leeyudok/agents-scaffold --plugin yd-skills-personalOther plugins' skills for the same job