Summary
The claude-plugins repo has a more comprehensive set of type aliases in its enforce-conventional-commits.yml workflow. These should be upstreamed into the reusable workflow so all callers benefit.
Extra aliases to add
Currently passed via extra_type_aliases input from laurigates/claude-plugins. These should be merged into the default TYPE_ALIASES in reusable-enforce-conventional-commits.yml:
feat
allow, allows, allowed, expose, exposes, exposed, extend, extends, extended, integrate, integrates, integrated, wire, wires, wired, register, registers, registered, accept, accepts, accepted, provide, provides, provided, include, includes, included, scaffold, scaffolds, scaffolded, generate, generates, generated, define, defines, defined
fix
suppress, suppresses, suppressed, prevent, prevents, prevented, avoid, avoids, avoided, handle, handles, handled, guard, guards, guarded, ensure, ensures, ensured, sanitize, sanitizes, sanitized, catch, catches, caught, address, addresses, addressed, mitigate, mitigates, mitigated
perf
cache, caches, cached, parallelize, parallelizes, parallelized, batch, batches, batched, prefetch, prefetches, prefetched, lazy, defer, defers, deferred, throttle, throttles, throttled, streamline, streamlines, streamlined, minimize, minimizes, minimized, accelerate, accelerates, accelerated
refactor
wrap, wraps, wrapped, inline, inlines, inlined, deduplicate, dedup, decouple, decouples, decoupled, encapsulate, encapsulates, encapsulated, modularize, modularizes, modularized, generalize, generalizes, generalized, isolate, isolates, isolated, separate, separates, separated, unify, unifies, unified, flatten, flattens, flattened, collapse, collapses, collapsed, drop, drops, dropped, deprecate, deprecates, deprecated, prune, prunes, pruned
docs
describe, describes, described, explain, explains, explained, annotate, annotates, annotated, clarify, clarifies, clarified
chore
sync, syncs, synced, align, aligns, aligned, adjust, adjusts, adjusted, tweak, tweaks, tweaked, set, sets, prepare, prepares, prepared, init, initialize, initializes, initialized, tidy, tidied, maintain, maintains, maintained
build
install, installs, installed, compile, compiles, compiled, bundle, bundles, bundled, lock, locks, locked
test
assert, asserts, asserted, verify, verifies, verified, check, checks, checked, cover, covers, covered, mock, mocks, mocked
ci
automate, automates, automated, deploy, deploys, deployed
Additional improvements
- Bump
actions/github-script from v7 to v8
- Consider
ubuntu-slim runner
Follow-up
Once merged, remove the extra_type_aliases input from claude-plugins/.github/workflows/enforce-conventional-commits.yml.
Summary
The
claude-pluginsrepo has a more comprehensive set of type aliases in itsenforce-conventional-commits.ymlworkflow. These should be upstreamed into the reusable workflow so all callers benefit.Extra aliases to add
Currently passed via
extra_type_aliasesinput fromlaurigates/claude-plugins. These should be merged into the defaultTYPE_ALIASESinreusable-enforce-conventional-commits.yml:feat
allow,allows,allowed,expose,exposes,exposed,extend,extends,extended,integrate,integrates,integrated,wire,wires,wired,register,registers,registered,accept,accepts,accepted,provide,provides,provided,include,includes,included,scaffold,scaffolds,scaffolded,generate,generates,generated,define,defines,definedfix
suppress,suppresses,suppressed,prevent,prevents,prevented,avoid,avoids,avoided,handle,handles,handled,guard,guards,guarded,ensure,ensures,ensured,sanitize,sanitizes,sanitized,catch,catches,caught,address,addresses,addressed,mitigate,mitigates,mitigatedperf
cache,caches,cached,parallelize,parallelizes,parallelized,batch,batches,batched,prefetch,prefetches,prefetched,lazy,defer,defers,deferred,throttle,throttles,throttled,streamline,streamlines,streamlined,minimize,minimizes,minimized,accelerate,accelerates,acceleratedrefactor
wrap,wraps,wrapped,inline,inlines,inlined,deduplicate,dedup,decouple,decouples,decoupled,encapsulate,encapsulates,encapsulated,modularize,modularizes,modularized,generalize,generalizes,generalized,isolate,isolates,isolated,separate,separates,separated,unify,unifies,unified,flatten,flattens,flattened,collapse,collapses,collapsed,drop,drops,dropped,deprecate,deprecates,deprecated,prune,prunes,pruneddocs
describe,describes,described,explain,explains,explained,annotate,annotates,annotated,clarify,clarifies,clarifiedchore
sync,syncs,synced,align,aligns,aligned,adjust,adjusts,adjusted,tweak,tweaks,tweaked,set,sets,prepare,prepares,prepared,init,initialize,initializes,initialized,tidy,tidied,maintain,maintains,maintainedbuild
install,installs,installed,compile,compiles,compiled,bundle,bundles,bundled,lock,locks,lockedtest
assert,asserts,asserted,verify,verifies,verified,check,checks,checked,cover,covers,covered,mock,mocks,mockedci
automate,automates,automated,deploy,deploys,deployedAdditional improvements
actions/github-scriptfrom v7 to v8ubuntu-slimrunnerFollow-up
Once merged, remove the
extra_type_aliasesinput fromclaude-plugins/.github/workflows/enforce-conventional-commits.yml.