brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
git-pushing-fastUse when committing and pushing current changes on one branch with a Conventional Commit message. Supports diff-based type/scope/message generation, staged or requested change handling, segmented commit bodies for non-trivial changes, and safe single-branch push handling.
Independent GitHub snapshot · Automated classification · Original documentation governs
Commit and push the current repository's local changes on the current branch with a fast, safe single-branch workflow.
The default output is one focused Conventional Commit plus a push to the tracked remote branch. Analyze the actual diff, stage the requested change set, generate the commit message from the change content, and write a segmented body for non-trivial changes so reviewers can quickly see what changed by topic.
This workflow handles ordinary single-branch handoff requests such as saving current work to the remote, without branch merging, history rewriting, or PR creation.
Base format:
<type>[optional scope]: <description>
[body: optional only for trivial changes; required and segmented for non-trivial changes]
[footer(s): required for breaking changes; optional for relevant issue references]
For this skill, the body is optional only for trivial commits. For non-trivial changes, write a segmented body and include a Tests: or localized equivalent section when tests, validators, hooks, or manual verification ran.
Types:
| Type | Use for |
|---|---|
feat | New user-facing or product capability |
fix | Bug fix |
docs | Documentation-only change |
style | Formatting/style change with no logic impact |
refactor | Code restructure with no feature or bug fix |
perf | Performance improvement |
test | Test-only or test coverage change |
build | Build system, dependency, or packaging change |
ci | CI or automation config change |
chore | Maintenance or miscellaneous change |
revert | Revert a previous commit |
Breaking changes:
! after the type or scope, such as feat(api)!: remove legacy field.BREAKING CHANGE: footer when the behavioral contract changes.Message style:
fix login redirect.Closes #123 or Refs #456.Use this skill when the user asks to:
Do not use this skill for:
git reset --hard or git checkout -- <file>Follow this workflow in order. Stop and report the blocker instead of guessing when the target repository, branch, or push destination is unclear.
Inspect the repository.
git status --short, git branch --show-current, and git remote -v.git rev-parse --abbrev-ref --symbolic-full-name @{u} when possible.git diff --cached --stat and git diff --cached; if nothing is staged, review git diff --stat and git diff.git status --porcelain when script-friendly status parsing is useful.Stage changes.
git add -A.git add -p only when the requested scope requires logical grouping.git status --short and verify the intended files are staged..env, credential files, private keys, or tokens.Build the commit message.
type(scope): concise summary in the repository's existing commit language.Tests: or localized equivalent section when tests, validators, hooks, or manual verification ran.Example segmented body:
fix(module): update component behavior
Behavior:
- Adjust the default state for the affected component.
- Keep existing behavior unchanged for unsupported input.
Implementation:
- Move repeated logic into a small helper.
- Update related configuration to use the new helper.
Tests:
- Add coverage for the updated behavior.
- Run the relevant validator before pushing.
Commit.
git commit with multiple -m arguments or an editor-free equivalent so the body is preserved.--no-verify.Push.
git push.git push -u origin <current_branch> unless the repository or user specifies another remote.git fetch and inspect before retrying.main or master.Report.
git reset --hard or git checkout -- <file> unless explicitly requested.