Communitygithub.com

umairmsm/wp-operate

워드프레스 사이트 출시 후 운영을 위한 8단계: 백업, 재해 복구, 자격 증명 관리, 업데이트 정책, 다중 머신 작업 등. "백업", "복원", "새 머신/서버로 이동", "플러그인 업데이트", "서버 장애 대비", "클라우드 박스 작업", "두 번째 머신 설정"에 사용합니다.

wp-operate란 무엇인가요?

이 스킬은 워드프레스 사이트 출시 이후의 모든 운영 작업을 체계적으로 관리합니다. 주간/위험 작업 전 자동 백업, 복원 훈련, 재해 복구 실행서, 자격 증명 인벤토리, 업데이트 정책 및 알림 설정 등 사이트 생존성을 보장하는 필수 절차를 제공합니다. 특히 다중 머신 환경을 지원하여 브릿지 파일, 워크스테이션 닥터 스크립트, 암호화된 상태 번들을 통해 여러 개발자가 안전하게 협업할 수 있도록 합니다. Claude Code, Cursor, Codex 등 AI 에이전트와 함께 사용하도록 설계되었으며, 모든 단계는 SITE_STATUS.md의 게이트 체크리스트로 완료 여부를 추적할 수 있습니다. 또한 실제 운영 경험에서 얻은 교훈(예: Claude 메모리 폴더 경로 오류, 클라우드 빌드 박스에서 git bundle으로 브랜치 백업, OS 간 시각적 기준선 차이 등)을 포함하여 실무에서 발생할 수 있는 문제를 사전에 방지합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/umairmsm/wp-site-kit/tree/HEAD/skills/wp-operate

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

8단계: 운영

목표: 노트북 분실, 서버 장애, 잘못된 업데이트, 머신 변경 등 어떤 상황에서도 사이트가 생존하며, 누구도 절차를 기억할 필요가 없습니다.

단계

  1. 백업.
    • 주 1회 및 위험한 작업 전에 scripts/backup.sh를 실행합니다. 데이터베이스, 업로드, 모든 git 브랜치와 스태시, Claude 메모리를 패킹합니다.
    • zip이 머신을 떠나기 전에 --encrypt를 사용하고, 사본 하나를 외부에 보관합니다.
    • 실시간: 호스트의 일일 백업과 배포 및 콘텐츠 스크립트가 생성하는 덤프를 함께 사용합니다.
  2. 모든 위치 기록 — 프로젝트의 docs/reference/DISASTER_RECOVERY.md 섹션 0에 기록합니다. 사진 원본 폴더를 포함하세요. 이 폴더는 git에 없습니다.
  3. 복원 훈련. 분기마다 여분의 머신이나 새 DDEV 프로젝트에서 복원을 수행하고, 시간을 측정한 후 섹션 5에 기록합니다. 한 번도 복원해보지 않은 백업은 희망일 뿐, 백업이 아닙니다.
  4. 자격 증명: 모든 비밀번호는 CREDENTIALS_INVENTORY.md에 한 줄씩 기록합니다 (이름, 위치, 소유자, 마지막 교체일). 에이전트가 본 것은 모두 교체합니다.
  5. 정기 작업: 주간, 월간, 연간 점검 사항과 업데이트 정책, 알림을 docs/reference/OPERATIONS.md에 기록합니다. 플러그인 업데이트는 먼저 스테이징에 적용합니다.
  6. 머신이 여러 대인가요? references/multi-machine.md를 따르세요:
    • docs/team/BRIDGE.md에는 역할, 규칙 및 인계 로그가 기록됩니다.
    • scripts/workstation-doctor.sh는 일관성을 확인합니다.
    • scripts/make-state-bundle.sh는 git에서 무시되는 설정을 암호화하여 번들로 만듭니다.

게이트 (SITE_STATUS.md에서 체크)

  • 백업이 예약되었고 외부 사본이 있음
  • 복원 훈련 완료 (날짜, 소요 시간)
  • 업데이트 및 알림 절차가 OPERATIONS.md에 기록됨

교훈

  • 백업 스크립트가 한 번 잘못된 Claude 메모리 폴더를 가리켰습니다. 세션이 상위 폴더에서 실행되어 메모리가 다른 경로에 있었습니다. 스크립트는 경로를 자동으로 유추하지만 이 경우를 위해 CLAUDE_MEM=을 허용합니다.
  • 클라우드 빌드 박스에 다른 곳에는 없는 브랜치와 스태시가 있었고, 푸시할 수 없었습니다. 박스가 중지되거나 삭제되기 전에 git bundle을 SSH를 통해 꺼내십시오.
  • 한 OS에서 만든 시각적 기준선이 다른 OS에서는 실패합니다. 고정된 Docker 이미지에 보관하십시오.
  • 만료일이 있는 무료 플랜이나 크레딧은 탈출 훈련의 마감일입니다: 만료 일주일 전에 git + 상태 번들 + 백업으로 다음 머신에서 재구축할 수 있음을 입증하십시오.

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

umairmsm/wp-build

Stage 3 of a wp-site-kit WordPress build - local DDEV site, the core must-use plugin (modules), the presentation-only child theme with skins, the content model (custom post types, meta, WP_Query, render functions), and the enquiry pipeline that saves leads before forwarding. Use when building or changing features, templates, content types, forms or plugin modules on a wp-site-kit site.

umairmsm/wp-content

Stage 4 of a wp-site-kit WordPress build - real copy and photos. Content truth (facts only from the owner), AI drafts and owner approval, claims audits, banned words and fake proof, legal pages, the photo pipeline (dedupe, real-only, EXIF strip, WebP sizes, alt text, AI image register), and recorded content changes. Use for "write the copy", "add photos", "the owner sent new photos", "check for duplicates", "update prices or text on the live site", "legal pages".

umairmsm/wp-design

Stage 2 of a wp-site-kit WordPress build - design direction, a static HTML/CSS prototype with design tokens, owner sign-off with screenshots, self-hosted fonts, and porting the approved look into a swappable WordPress skin. Use for "design the site", "new look", "redesign", "change colours or fonts", "make a new skin", "port the prototype to WordPress".

umairmsm/wp-kickoff

Stage 1 of a wp-site-kit WordPress build. Use when starting a new WordPress website or taking over or rebuilding an existing one - discovery brief, stack decision, creating the project with bin/wp-site-new, locked decisions, private repo and credentials inventory. Triggers - "new WordPress site", "start a client website", "rebuild this site", "take over this WordPress site".

umairmsm/wp-seo

Stage 5 of a wp-site-kit WordPress build - titles and descriptions, canonical URLs, one schema owner and JSON-LD, sitemaps, robots.txt and llms.txt, AI crawler access, redirects (301 vs 302), legacy URL maps, Search Console, and adding languages one pilot at a time with Polylang (hreflang, .po/.mo strings, native review). Use for "SEO", "schema", "redirect", "old URLs", "translate the site", "add French/Spanish", "hreflang", "canonical".

umairmsm/wp-ship

Stage 7 of a wp-site-kit WordPress build - staging behind Cloudflare Access, server hardening, safe deploys from a commit (scripts/deploy-safe.sh), database content changes, the launch audit, DNS cutover without breaking a running business, and the first week after launch. Use for "deploy", "set up staging", "go live", "launch", "cutover", "move DNS", "harden the server".

umairmsm/wp-site

Start here for any WordPress website built with wp-site-kit, from an empty folder to a live site. Use when someone says "build a WordPress site", "new website for a client", "where are we on the site", "what is next before launch", or asks to continue a site project. Finds the current stage from SITE_STATUS.md, applies the hard rules, and hands over to the right stage skill.

관련 스킬