academic-writing
Write or revise thesis and paper prose section by section (abstract, introduction, related work, method, results, discussion,…
Move a live domain from one host to another without downtime or lost sessions, with a rehearsal, a timed DNS switch, a soak and the old host removed. Use when migrating a production app between hosting platforms.
Claude Code
$ npx -y skills add KhaledSaeed18/dotclaude --skill live-domain-cutover --agent claude-code
Codex
$ npx skills add KhaledSaeed18/dotclaude --skill live-domain-cutover -a codex -y
Cursor
$ npx skills add KhaledSaeed18/dotclaude --skill live-domain-cutover -a cursor -y
Gemini CLI
$ npx skills add KhaledSaeed18/dotclaude --skill live-domain-cutover -a gemini-cli -y
GitHub Copilot
$ npx skills add KhaledSaeed18/dotclaude --skill live-domain-cutover -a github-copilot -y
OpenCode
$ npx skills add KhaledSaeed18/dotclaude --skill live-domain-cutover -a opencode -y
Windsurf
$ npx skills add KhaledSaeed18/dotclaude --skill live-domain-cutover -a windsurf -y
name: live-domain-cutover description: Move a live domain from one host to another without downtime or lost sessions, with a rehearsal, a timed DNS switch, a soak and the old host removed. Use when migrating a production app between hosting platforms. argument-hint: "(optional) the domain, the old host, the new host, and the DNS provider"
Move the name last. Everything about the new host is proven on a rehearsal name first; the cutover is then one DNS edit with a recorded rollback value, and the old host keeps serving stale caches until they expire. Sessions survive because cookies bind to the domain, not to the machine behind it.
dig +noall +answer <domain> # the rollback value and current TTL dig +short NS <zone> # authoritative servers to query later
Write both into the deployment doc together with the new host's address. Ask the owner to lower the TTL of that record to 1 min now; continue only after `dig +noall +answer <domain> @<ns>` shows the lower TTL.
Owner adds an A record `<name>-next` to the new host (TTL 1 min). Deploy the application with only `https://<name>-next.<zone>` as its domain. Run the whole `deploy-verification` skill there: certificate, container contract, rolling update, client address, signed-in pages in every locale. Compare response headers with the old host and add anything missing (a platform edge often adds `Strict-Transport-Security`). Fix and redeploy until every line passes. Nothing on the real domain has changed yet.
At a quiet time agreed with the owner, they replace the record: delete the old `<name>` record, add A `<name>` to the new host, TTL 1 min. Then, in this order:
1. Poll the authoritative server until it answers the new address (`dig +short <domain> @<ns>`), then 1.1.1.1 and 8.8.8.8. 2. Set `https://<domain>` as the application's only domain in Coolify (drop `<name>-next`), redeploy so the router re-registers, and watch the certificate: `openssl s_client ... -verify_return_error` until `Verify return code: 0`. 3. Switch the pipeline's probe variable (`SITE_URL` or `READINESS_URL`) to the real domain. 4. Run `deploy-verification` again on the real domain. The owner reloads their already signed-in tab: the session must survive.
Expected window: at most a couple of minutes during which some visitors still reach the old host, which still works. If anything fails, the owner restores the recorded value and the new host is debugged without pressure.
Soak for as long as the owner wants (a few days of normal use, or less when the data lives elsewhere and the app is stateless). Then, owner actions with exact steps:
Verify each: `dig` for the records, `gh api repos/<owner>/<repo>/environments`, `gh secret list` in each repository, a last `deploy-verification` pass.
Report the timeline with timestamps, the rollback value kept until removal, every verification result, and the follow-ups left in other repositories.
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.