add-optimizing-git-workflow
Git global cfg setup — colors, performance, merge conflicts, aliases for new machines
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Git global cfg setup — colors, performance, merge conflicts, aliases for new machines
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Consolidated view of the add-pro ecosystem - commands, skills, relationships and dependencies. Loaded by /add as source of truth.
Source of truth for ADD doc rules, depth floors, IDs, refs, validation gate. Load before any doc write.
Use when running agent-judged QA validation (read-PNG by default; the playwright plugin adds live driving) — the Level C judge rubric, severity taxonomy, dual-judge (@ux-agent review ∥ @qa-agent) method, report schema/template, and the config.json/screens.json formats. Consumed by /add.qa and both judges.
Use when a state-materializing command starts or is asked to upgrade — reads the setup receipt, compares the recorded contract against the shipped one, executes the declared upgrade deltas sequentially, and rewrites the receipt even on a verified-current no-op. Consumed by /add.qa-setup STEP 1.5 and STEP 11.
Internal skill for developing ADD framework artefacts (commands, skills, agents, scripts). Use when add-framework--plan analyzes viability of new framework features, when add-framework--build implements framework artefacts, or when creating/modifying commands, skills, or agents. Always use this skill before proposing or implementing changes to the framework itself.
Use when building, styling, or theming UI components, pages, layouts, dashboards, charts, tables, or forms for SaaS products.
| name | add-optimizing-git-workflow |
| description | Git global cfg setup — colors, performance, merge conflicts, aliases for new machines |
Complete Git cfg setup: colors, auto-correction, smart defaults, time-saving aliases.
{"triggers":["new machine setup","improve output readability","reduce repetitive typing","better merge conflicts","optimize pull/push"]}
--local instead of --global)git config --global color.ui auto && git config --global color.status.added green && git config --global color.status.changed yellow && git config --global color.status.untracked red && git config --global format.pretty "format:%C(yellow)%h%C(reset) %s %C(cyan)<%an>%C(reset) %C(green)(%cr)%C(reset)" && git config --global help.autocorrect 20 && git config --global pull.rebase true && git config --global push.default current && git config --global push.autoSetupRemote true && git config --global diff.algorithm histogram && git config --global core.pager "less -FRX" && git config --global merge.conflictstyle diff3 && git config --global rerere.enabled true && git config --global alias.st "status -sb" && git config --global alias.lg "log --graph --oneline --decorate --all" && git config --global alias.last "log -1 HEAD" && git config --global alias.undo "reset HEAD~1 --mixed" && git config --global alias.recent "branch --sort=-committerdate"
git config --global --list
git config --global --unset alias.lg
git config --global --remove-section alias
| Symptom | Fix |
|---|---|
| Alias not working | Check quotes in cfg cmd |
| No colors | Test: git -c color.ui=always status |
| Autocorrect annoying | Reduce: help.autocorrect 10 |
| Rebase problems | Disable: pull.rebase false |