본문으로 건너뛰기
cccskills
무료GitHub에 공개

prettier-format

Run Prettier for the is-kit repository. Use when asked to format or check formatting in this project. Always consult AGENTS.md in the repo root before executing commands.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md1.5 KB
  • scripts/run_prettier.sh1.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Prettier Format (is-kit)

Overview

Format or check code using this repo's Prettier configuration and ignore rules. Prefer local binaries and the project's package manager.

Workflow

  1. Read repository instructions.
  • Open AGENTS.md in the repo root and follow all constraints (commands, formatting, tests, etc.).
  • If AGENTS.md is missing, ask how to proceed.
  1. Determine intent and scope.
  • Use --check for "verify formatting" requests.
  • Use --write for "format" or "fix" requests.
  • Ask for target paths when not specified; do not assume whole repo unless requested.
  1. Run Prettier with local tooling.
  • Prefer ./node_modules/.bin/prettier.
  • Alternative: pnpm prettier (repo uses pnpm).
  • Avoid npx unless the user explicitly approves network downloads.
  1. Report results.
  • Summarize changed files or confirm a clean check.
  • If a command fails, include the error and propose the next step.

Quick Commands

  • Format repo: ./node_modules/.bin/prettier --write .
  • Check formatting: ./node_modules/.bin/prettier --check .
  • Format paths: ./node_modules/.bin/prettier --write src tests
  • Check paths: pnpm prettier --check src tests

Resources

scripts/

  • run_prettier.sh: Run Prettier with --write or --check and auto-pick a runner.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

learn

무료

Extract reusable patterns from non-trivial work in the is-kit repository and store them as project knowledge. Use after meaningful API design, type-system work, debugging, or compatibility discoveries.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nyaomaru/is-kit1182026년 10월 21일 업데이트

Create, compose, migrate, and review TypeScript runtime type guards with is-kit. Use when adding reusable guards; replacing typeof, null checks, or handwritten type predicates; narrowing unknown values; validating JSON or API responses; building collection or object schemas with struct or typedStruct; or reviewing existing is-kit usage. Do not use for one-off environment checks or validation that requires data transformation or rich error reporting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

nyaomaru/is-kit1182026년 10월 21일 업데이트

nyaomaru의 스킬 모두 보기

이 스킬의 문제 신고