lg-workflow

star 6

Performs full pre-commit hygiene (changelog, docs, deps, security, Vulture dead-code check), then stages, commits, and pushes to the current branch. Use when the user says "lg" or "LG"; do not commit or push on "go" or "implement" unless they also say LG.

dfirtnt By dfirtnt schedule Updated 3/16/2026

name: lg-workflow description: Performs full pre-commit hygiene (changelog, docs, deps, security, Vulture dead-code check), then stages, commits, and pushes to the current branch. Use when the user says "lg" or "LG"; do not commit or push on "go" or "implement" unless they also say LG.

LG (Looks Good) Workflow

When the user says lg or LG, run the full workflow yourself from hygiene through push to the current branch. Do not stop at commit or ask the user to push manually.

Order

  1. Full hygiene (so the commit includes these updates):
    • Deslop — Check diff against main and remove AI-generated slop (unnecessary comments, defensive checks, any casts, inconsistent patterns). Keep behavior unchanged.
    • Changelog — Update CHANGELOG (or docs/CHANGELOG.md) with this session's changes.
    • Docs — Ensure docs reflect changes (README, GETTING_STARTED, or touched features).
    • Deps — Verify dependency hygiene (e.g. pip check, lockfiles).
    • Security — Run pip-audit and safety scan (requires pip install -r requirements-test.txt).
    • Vulture — Run .venv/bin/vulture src scripts for dead-code detection. Fix or whitelist findings before commit.
  2. Stagegit add (or equivalent) so all changes are staged.
  3. Commit — Commit with a clear message (no auto-commit before user says LG).
  4. Push — Push the current branch (e.g. git push origin HEAD or git push). Complete the push; do not hand off to the user.

Fallback

If the environment's git wrapper breaks (e.g. unsupported --trailer), use the real git binary (e.g. /usr/local/bin/git) so the workflow completes.

Trigger

Only run this workflow when the user has said LG. Do not commit/push on "go" or "implement" unless they also say LG.

Install via CLI
npx skills add https://github.com/dfirtnt/Huntable-CTI-Studio --skill lg-workflow
Repository Details
star Stars 6
call_split Forks 1
navigation Branch main
article Path SKILL.md
More from Creator