Skip to content

Latest commit

Β 

History

History
27 lines (17 loc) Β· 1.45 KB

File metadata and controls

27 lines (17 loc) Β· 1.45 KB

Claude Code Guidelines

About

Logsmith is an automatic changelog generator that parses conventional commits and produces beautifully formatted output in Markdown, JSON, or HTML. It supports configurable commit type grouping with emojis, author filtering, breaking change detection, repository statistics with trend analysis, and a GitHub Action for CI integration. Available as both a CLI (logsmith) and a library (generateChangelog()).

Linting

  • Use pickier for linting β€” never use eslint directly
  • Run bunx --bun pickier . to lint, bunx --bun pickier . --fix to auto-fix
  • When fixing unused variable warnings, prefer // eslint-disable-next-line comments over prefixing with _

Frontend

  • Use stx for templating β€” never write vanilla JS (var, document.*, window.*) in stx templates
  • Use crosswind as the default CSS framework which enables standard Tailwind-like utility classes
  • stx <script> tags should only contain stx-compatible code (signals, composables, directives)

Dependencies

  • buddy-bot handles dependency updates β€” not renovatebot
  • better-dx provides shared dev tooling as peer dependencies β€” do not install its peers (e.g., typescript, pickier, bun-plugin-dtsx) separately if better-dx is already in package.json
  • If better-dx is in package.json, ensure bunfig.toml includes linker = "hoisted"

Commits

  • Use conventional commit messages (e.g., fix:, feat:, chore:)