Imported from Zezolas2798/stackblitz-starters-lvhktmos (
domainspec/.claude/skills/commit-message/SKILL.md). Install upstream withnpx skills add Zezolas2798/stackblitz-starters-lvhktmos --skill commit-message. Copyright stays with the author.
Commit Message Skill
Authority:
docs/vault/constitution/commit-message-constitution.md
Prefix (required)
Pick exactly one: fix: | feat: | refactor:
Subject (required)
- Imperative mood ("add", "remove", "strip" — not "added", "removes")
- Max 72 characters (prefix included)
- No trailing period
- Right abstraction level — not too vague, not too granular
Body (required for non-trivial commits)
Blank line after subject. Answer:
- What changed — concrete description
- Why — motivation or problem solved
- Impact — quantify when possible ("~80% smaller payload", "eliminates N+1")
Wrap at 72 characters.
Files (include when 2+ code files changed)
List production code only. No tests, docs, or config.
Mark each (created) or (modified). Relative paths from repo root.
Files:
- domains/aquisicao/interfaces/views.py (modified)
- frontend/src/pages/contratos-tabs/BulkImportTab.jsx (modified)
Tests (include when test suite changed)
Summarize what was validated, added, or removed. Focus on what, not file paths.
Tests:
- Added negative assertions confirming stripped fields are absent
- Deleted test_document_includes_ocr_text_field
Ref (only when the commit directly implements a planned item)
Include only when the work was explicitly described in a spec, discovery, or backlog item and you can point to the specific section. Do not add a Ref for standalone fixes, ad-hoc improvements, or work that wasn't pre-planned.
Relative path, optional §Section anchor.
Ref: specs/refactor/docs/frontend-page-load/page-load-discovery.md §Fix 1
