Rulebook

Claude Rules 관리

문서맵
  • component-design
  • entities-api
  • entities-layer
  • entities-model
  • error-handling
  • features-layer
  • fsd-architecture
  • react-hooks
    1
  • security
  • server-components
  • shared-layer
  • tailwind-css
  • tanstack-query
  • testing
  • views-layer
  • widget-layer
  • changelog
  • development-workflow
  • documentation
  • git-commit
  • marketing-seo
  • marketing-ux
  • naming-convention
  • security
  • typescript-standards
  • ux-copy-and-tone
  • api-design
  • database
  • nest
  • security
  • supabase
  • README
전체 룰 다운로드
common/documentation
activev12026. 4. 12.

description: "문서화 가이드라인"

Documentation Guidelines

JSDoc

복잡하거나 외부에서 사용하는 함수에만 JSDoc을 작성한다. 자명한 함수나 내부 구현 세부사항에는 불필요하다.

/**
 * 구독 날짜를 상대적인 문자열로 변환
 * @example formatRelativeDate('2024-01-01') // '1년 전'
 */
export function formatRelativeDate(dateStr: string): string { ... }

문서 업데이트

  • 기능 추가/변경 시 README.md 업데이트
  • 변경사항은 CHANGELOG.md에 기록 (changelog.md 규칙 참고)

피드백 0

아직 피드백이 없어요. 첫 번째로 의견을 남겨보세요!

목차

JSDoc문서 업데이트