Audits code against convention files (AGENTS.md, CLAUDE.md, .cursorrules) and auto-fixes violations with approval: 'convention audit'. Audits codebase against project convention files (AGENTS.md, CLAUDE.md, .cursorrules, copilot-instructions.md, .windsurfrules, .clinerules) and auto-fixes violations with user approval. Detects convention files automatically or accepts manual paths. Supports changed-files-only or full-directory scan. Use when user says 'convention audit', 'convention check', 'convention fix', '컨벤션 감사', '컨벤션 검사', '규칙 준수 확인', 'code convention', 'coding standards check'.
Ships in toolkit. 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.
Convention file detection. Claude Code executes the three !ls lines below at load time and
the results land here; other runtimes leave them as literal text, which means nothing has been
detected yet and Step 1 has to run them.
!ls AGENTS.md CLAUDE.md .cursorrules .windsurfrules .clinerules 2>/dev/null
!ls .github/copilot-instructions.md 2>/dev/null
!ls .github/instructions/*.instructions.md 2>/dev/null
Audit codebase against AI convention files, report violations, and fix with user approval.
Ask the user with the host's question tool (question in OpenCode, AskUserQuestion in Claude Code;
a plain numbered question if the runtime has neither). Interactive means a human is there to answer,
not that a particular tool exists.
Question 1 — Detection Mode:
Search project root (and common subdirectories) for these files in order. For full file format details, see convention-files.md.
| Priority | File | Platform |
|---|---|---|
| 1 | AGENTS.md | OpenCode, Codex CLI |
| 2 | CLAUDE.md | Claude Code |
| 3 | .cursorrules | Cursor |
| 4 | .github/copilot-instructions.md | GitHub Copilot |
| 5 | .github/instructions/*.instructions.md | GitHub Copilot (distributed) |
| 6 | .windsurfrules | Windsurf |
| 7 | .clinerules | Cline/Roo Code |
If the block at the top of this file shows real ls output, use it. If it shows the !ls lines
themselves, or the output is empty, nothing was injected: run the detection yourself.
ls AGENTS.md CLAUDE.md .cursorrules .windsurfrules .clinerules 2>/dev/null
ls .github/copilot-instructions.md 2>/dev/null
ls .github/instructions/*.instructions.md 2>/dev/null
Display found files to user. If none found, ask for manual path.
Accept one or more file paths from the user. Validate each file exists before proceeding.
Ask the user with question tool:
Question 2 — Scan Scope:
# 기본: main 브랜치 대비 변경 파일
git diff --name-only main...HEAD -- '*.ts' '*.tsx' '*.js' '*.jsx' '*.py' '*.go'
# 스테이징된 파일 포함
git diff --name-only --cached -- '*.ts' '*.tsx' '*.js' '*.jsx' '*.py' '*.go'
# Uncommitted 변경 포함
git diff --name-only -- '*.ts' '*.tsx' '*.js' '*.jsx' '*.py' '*.go'
If no base branch found, fall back to git diff --name-only HEAD or ask user.
Ask user for target directory (default: src/ or apps/). Exclude: node_modules/, dist/, build/, .git/, *.spec.ts, *.test.ts.
Read each convention file and extract auditable rules into 4 categories:
Extract rules that contain explicit code patterns:
Forbidden Patterns — Code blocks preceded by keywords:
Required Patterns — Code blocks preceded by keywords:
For each pattern rule, extract:
Rules about file/directory organization:
Rules expressed in natural language that require code comprehension:
Rules too abstract or subjective to verify:
Log skipped rules in report for transparency.
Execute validation in order of automation reliability:
For each forbidden pattern:
# Grep으로 금지 패턴 탐색
grep -rn "PATTERN" TARGET_FILES
# AST-grep으로 구조적 패턴 탐색 (더 정확)
sg --pattern "PATTERN" --lang typescript TARGET_DIR
For each required pattern, verify presence in relevant files.
# 디렉토리 구조 확인
ls -d EXPECTED_DIR 2>/dev/null || echo "MISSING: EXPECTED_DIR"
Verify file naming, barrel exports (index.ts), and module organization.
For each semantic rule:
Limit: Analyze max 20 files per semantic rule to avoid token explosion. Prioritize changed files.
Generate a report following templates/audit-report.md.
Required variables: project name, date, convention source files, scan scope, total files scanned, violations by severity (with found/expected code pairs), skipped rules with reasons, convention coverage stats by category.
Deduplicate: Same pattern across files = 1 violation with file list.
Present report to user, then ask with question tool:
Question 3 — Fix Option:
For each auto-fixable violation:
lsp_diagnostics on changed fileNon-auto-fixable violations: Provide detailed guidance for manual fix.
After fixes applied, re-run validation ONLY on fixed files. Use the re-verification template in templates/audit-report.md.
If residual violations remain, list them with manual fix guidance.
***REDACTED***lsp_diagnostics after every fix. Revert if new errors introduced| Failure | Action |
|---|---|
| No convention files found (auto-detect) | Ask user for manual path |
| Convention file is empty or unparseable | Report "0 rules extracted" and stop |
| Git not available (changed files mode) | Fall back to full directory scan |
| Too many violations (100+) | Show top 30 by severity, note total count |
| Fix introduces new LSP errors | Revert fix, mark as "manual fix needed" |
| Target files are binary/minified | Skip with note in report |
| Convention file references external files | Follow 1 level deep (e.g., CLAUDE.md → @COMMANDS.md) |
What SKILL.md sets; muted values are Claude Code's defaults
/toolkit:convention-auditfrom toolkit
npx claudepluginhub siu9068/ggyul-skills --plugin toolkit49 skills in this plugin
/artifact-build디자인 소스 링크 하나(Claude 아티팩트, Claude Design 캔버스, Claude Docs, Figma, Open Design)를 받아 앱을 처음부터 완성까지 끌고 가는 오케스트레이터. claude.ai 채팅 링크(`claude.ai/chat/...?artifact=...`)나 아티팩트 링크를 붙여넣고 그대로 만들어 달라는 요청이면 링크가 문서인지 캔버스인지 확인하는 일까지 이 스킬이 맡으니 docs 도구로 먼저 가지 말고 이 스킬을 켠다. 모든 페이지를 읽어 스펙을 만들고, 프로젝트가 아직 없으면 project-setup 질문지만 사용자에게 묻고 세팅한 뒤, 나머지 결정은 자동승인 게이트가 내리며 api-creator, screen-creator, android-screen-creator, ios-screen-creator로 병렬 구현하고, 아티팩트 기준 검증에서 FAIL이 0이 될 때까지 갭을 고치고 다시 검증하기를 반복한다. 트리거: "이 아티팩트 링크대로 앱 만들어줘", "claude.ai/artifact/... 이거 보고 완성까지 자동으로 개발해줘", "피그마 링크 줄게 백엔드랑 안드로이드 iOS까지 다 만들어", "디자인 캔버스에 작업목록까지 있으니 끝까지 구현하고 검증해줘", "Open Design 시안대로 처음부터 끝까지". Do NOT use for: 링크 없이 스택만 세팅 (`project-setup`), 이미 있는 스펙 문서 구현 (`spec-implementer`), 한 줄 요청 구체화 후 구현 (`feature-builder`), 아티팩트에서 스펙만 뽑기 (`artifact-build-ingest`), 검증만 (`artifact-build-verify`), 레퍼런스로 토큰만 (`design-system-import`)./artifact-build-ingest디자인 소스 링크(Claude 아티팩트, Claude Design 캔버스, Claude Docs 문서, Figma 파일, Open Design 같은 웹 디자인 도구)의 모든 페이지를 로컬로 받아, 페이지 묶음마다 서브에이전트를 병렬로 돌려 요구사항을 뽑고, 출처 페이지가 달린 spec-creator 형식의 스펙(`docs/specs/` 아래 마크다운)과 소스 매니페스트로 만든다. 아티팩트에 작업목록 페이지가 있으면 그 목록을 작업 표의 뼈대로 쓴다. 트리거: "이 아티팩트 읽어서 스펙으로 뽑아줘", "피그마 링크 전체 페이지 요구사항 정리해줘", "claude.ai/artifact 링크 화면 목록이랑 작업 표로 만들어줘", "이 디자인 캔버스 모든 페이지 보고 docs/specs에 정리". 링크를 받아 세팅, 구현, 검증까지 끝까지 가는 전체 요청이면 `artifact-build` 경유. Do NOT use for: 인터뷰로 스펙을 새로 쓰는 일 (`spec-creator`), 이미 있는 스펙을 구현하는 일 (`spec-implementer`), 구현이 아티팩트를 충족하는지 판정하는 일 (`artifact-build-verify`), 레퍼런스로 디자인 토큰만 뽑는 일 (`design-system-import`, `native-design-system-import`).Other plugins' skills for the same job