academic-writing
Write or revise thesis and paper prose section by section (abstract, introduction, related work, method, results, discussion,…
Recover safely from Git mistakes such as discard, unstage, amend, reset, revert, restore lost commits via reflog, recover deleted branches, and fix bad rebases. Chooses the least-destructive fix and protects against data loss. Use when something in Git went wrong and needs
Claude Code
$ npx -y skills add KhaledSaeed18/dotclaude --skill git-undo --agent claude-code
Codex
$ npx skills add KhaledSaeed18/dotclaude --skill git-undo -a codex -y
Cursor
$ npx skills add KhaledSaeed18/dotclaude --skill git-undo -a cursor -y
Gemini CLI
$ npx skills add KhaledSaeed18/dotclaude --skill git-undo -a gemini-cli -y
GitHub Copilot
$ npx skills add KhaledSaeed18/dotclaude --skill git-undo -a github-copilot -y
OpenCode
$ npx skills add KhaledSaeed18/dotclaude --skill git-undo -a opencode -y
Windsurf
$ npx skills add KhaledSaeed18/dotclaude --skill git-undo -a windsurf -y
name: git-undo description: Recover safely from Git mistakes such as discard, unstage, amend, reset, revert, restore lost commits via reflog, recover deleted branches, and fix bad rebases. Chooses the least-destructive fix and protects against data loss. Use when something in Git went wrong and needs undoing. argument-hint: "(optional) what went wrong, e.g. 'committed to main', 'lost my commits'"
Undo the mistake with the *least-destructive* tool that fits, after establishing two facts that change everything: has the work been **committed**, and has it been **pushed/shared**. Get those wrong and you either lose work or rewrite history other people depend on.
Match the situation to the safest tool:
**Uncommitted work**
**The last commit (not yet pushed)**
**Already pushed / shared branch**
**Wrong-branch / structural mistakes**
**Recovering things that look lost**
Snapshot the current tip so the operation is reversible regardless of outcome:
git branch backup/before-undo # or: git tag backup/before-undo
Note the current `HEAD` SHA too. This costs nothing and turns "irreversible" into "recoverable."
1. State plainly: what command runs, what it changes, and **what (if anything) is lost forever**. 2. For destructive or shared-history operations, get an explicit yes. For force-pushes, use `--force-with-lease` and confirm no one else's work is being overwritten. 3. Run it.
Reusable Claude Code extension registry. skills, subagents, slash commands, and hooks for engineering, git, testing, and security workflows. Distributed as a shadcn GitHub registry and as installable plugins.
Write or revise thesis and paper prose section by section (abstract, introduction, related work, method, results, discussion,…
Report computational benchmarks and experimental comparisons the way examiners and reviewers expect: fair baselines run under the…
Maintain the thesis .bib file as a single source of truth: fetch verified BibTeX from a DOI, arXiv id, or title via CrossRef and…
Expand a set of key papers into the literature around them by walking the citation graph with the Semantic Scholar and OpenAlex…
Audit every citation in a chapter, paper, or proposal against the .bib file and the real world: each cite key must exist, each…
Structure a thesis whose contribution is a built artifact (tool, system, method, model) using design science research: explicit…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.