Community코딩 & 개발github.com

FSWP DevOps 엔지니어

풀스택 WP 개발자를 위한 WordPress 개발 도구 도메인 스킬입니다. 로컬 환경(wp-env, Docker, WordPress Playground, Blueprint), 명령줄 사이트 운영(플러그인/테마 관리, 데이터베이스 내보내기, 검색-바꾸기, 크론, 스캐폴딩), 코딩 표준 및 정적 분석(PHPCS, PHPStan), PHP/JS 테스트 설정, @wordpress/scripts 도구 체인을 다룹니다. WordPress 개발 또는 테스트 환경을 설정, 실행 또는 자동화할 때 사용하세요.

FSWP DevOps 엔지니어란 무엇인가요?

FSWP DevOps 엔지니어는 Full-Stack WP Developer 에이전트가 WordPress 프로젝트의 개발 환경, 도구 체인, 테스트 파이프라인을 전문적으로 관리할 수 있게 해주는 도메인 스킬입니다. 주로 wp-env(Docker 기반)와 WordPress Playground(Blueprint 설정 포함) 두 가지 로컬 환경 옵션을 지원하며, 사용자가 이미 실행 중인 기존 로컬 스택도 존중합니다. 명령줄에서는 WP-CLI를 통해 플러그인/테마 관리, 데이터베이스 작업, 검색-바꾸기, 크론 이벤트, 스캐폴딩 등 사이트 운영 작업을 안전하게 수행하도록 지침을 제공합니다 (예: 파괴적 명령 전 `wp db export`, `search-replace` 시 `--dry-run`). 코딩 표준 측면에서는 Composer로 설치된 PHPCS(WordPress 표준), PHPStan(WordPress stubs), phpcs.xml.dist 설정을 다루며, fswp-qa-engineer/scripts/setup_toolchain.sh 스크립트를 통해 Composer 없이도 도구를 설치할 수 있습니다. 테스트는 PHP 단위/통합 테스트(wp-phpunit, yoast/phpunit-polyfills), JavaScript(`@wordpress/scripts`), E2E 테스트(Playwright + WordPress e2e 헬퍼)를 wp-env에서 실행합니다. CI/CD는 GitHub 워크플로우 생성을 위한 예비 개요를 제공하며, 실제 생성은 GitHub 통합이 활성화된 후에 이루어집니다.

지원 대상~Claude Code~Codex CLI~Cursor
Part ofMobile
npx skills add https://github.com/syncwin/fswp-developer/tree/main/skills/fswp-devops-engineer

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

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

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

문서

FSWP DevOps 엔지니어은(는) 무엇을 하나요?

주장을 증명할 수 있는 가장 가벼운 도구를 선호합니다. 여기서 실행할 수 없는 검사는 사용자가 실행할 수 있는 명령어(fswp-qa-engineer)와 함께 실행되지 않음으로 보고합니다.

로컬 환경

필요도구
Docker에서 전체 WordPress, PHP 테스트, 여러 플러그인/테마 마운트@wordpress/env (wp-env)
브라우저 또는 Node를 통한 즉시 폐기 가능 사이트, 스모크 테스트, 공유 가능 데모WordPress Playground, Blueprint로 구성
사용자가 이미 실행 중인 기존 로컬 스택사용자의 것을 사용; 두 번째를 추가하지 않음

wp-env (Docker 및 Node 필요): 프로젝트 루트에서 npx @wordpress/env start를 실행합니다. .wp-env.json으로 구성:

{
  "core": null,
  "phpVersion": "8.2",
  "plugins": [ "." ],
  "themes": [],
  "config": { "WP_DEBUG": true, "WP_DEBUG_LOG": true }
}

유용한 명령어: npx @wordpress/env run cli wp plugin list, ... stop, ... clean, ... destroy. 이를 사용하여 fswp-qa-engineer가 정적으로 확인할 수 없는 활성화, 비활성화, 제거 및 업그레이드 경로를 검증합니다.

Playground: Blueprint는 사이트를 설명하는 JSON입니다:

{
  "$schema": "https://playground.wordpress.net/blueprint-schema.json",
  "landingPage": "/wp-admin/",
  "preferredVersions": { "php": "8.3", "wp": "latest" },
  "steps": [ { "step": "login" } ]
}

플러그인 또는 테마 설치, 파일 쓰기, 옵션 설정 등의 단계를 추가합니다. 작성 전에 Playground 문서에서 현재 단계 이름을 읽으십시오. Playground는 빠르지만 완전한 서버가 아닙니다: 크론, 메일 또는 파일시스템 집약적 동작의 증거로 사용하지 마십시오.

단계 목록, 리소스 유형 및 전체 명령어 표: references/blueprints-and-cli.md.

명령줄 작업 (WP-CLI)

셸에서 사이트 작업: wp plugin install|activate|deactivate|delete, wp theme ..., wp option get|update, wp post ..., wp user ..., wp cron event list|run, wp db export|import, wp search-replace old new --dry-run, wp eval-file, wp scaffold plugin-tests <plugin>, wp i18n make-pot. 규칙: 파괴적 명령 전에 wp db export 실행; 항상 search-replace를 먼저 --dry-run으로 실행; 로드 오류 디버깅 시 --skip-plugins --skip-themes 사용; 웹 사용자로 실행하거나 일회용 환경에서만 --allow-root 사용. (WP-CLI는 WordPress Foundation 프로젝트입니다; 이 플러그인은 이를 설명적으로 참조합니다.)

코딩 표준 (PHPCS)

Composer로 설치: wp-coding-standards/wpcs, dealerdirect/phpcodesniffer-composer-installer, phpcompatibility/phpcompatibility-wp. 최소 .phpcs.xml.dist:

<?xml version="1.0"?>
<ruleset name="Project">
  <file>.</file>
  <exclude-pattern>vendor/*</exclude-pattern>
  <exclude-pattern>node_modules/*</exclude-pattern>
  <rule ref="WordPress-Extra"/>
  <rule ref="WordPress.WP.I18n"><properties><property name="text_domain" value="my-text-domain"/></properties></rule>
  <rule ref="WordPress.NamingConventions.PrefixAllGlobals"><properties><property name="prefixes" type="array"><element value="myprefix"/></properties></property></rule>
  <config name="testVersion" value="7.4-"/>
  <rule ref="PHPCompatibilityWP"/>
</ruleset>

phpcs는 보고합니다; phpcbf는 안전하게 고칠 수 있는 것을 수정합니다(차이점 검토). fswp-qa-engineer/scripts/setup_toolchain.sh는 Composer가 없는 환경을 위해 PHPCS와 PHPStan을 설치합니다.

정적 분석 (PHPStan)

phpstan.neon에 php-stubs/wordpress-stubs를 부트스트랩으로 사용(또는 szepeviktor/phpstan-wordpress 확장), 진입 기준은 레벨 5, 새 코드는 더 높은 레벨. WordPress 또는 플러그인이 런타임에 정의하는 프로젝트 상수를 스텁으로 만듭니다. 레거시 코드에는 기준 파일이 허용되지만 새 코드에는 절대 허용되지 않습니다.

테스트

  • PHP 단위 및 통합 테스트: wp-phpunit/wp-phpunit와 yoast/phpunit-polyfills, wp scaffold plugin-tests로 생성; wp-env에서 실행. WordPress가 필요한 테스트에는 WP_UnitTestCase를 사용합니다.
  • JavaScript: @wordpress/scripts (wp-scripts build, start, lint-js, lint-style, test-unit-js, test-e2e).
  • 종단간(E2E): Playwright와 WordPress e2e 헬퍼를 wp-env에 대해 사용하며, 중요한 흐름(설정 저장, 블록 삽입, 체크아웃 경로)에 사용합니다.

CI 개요 (GitHub 작업용 예비)

파이프라인이 따라야 할 순서: 설치, PHPCS, PHPStan, 최소 및 최대 PHP 버전에서 PHP 테스트, JS 린트/빌드/테스트, 패키징, 아티팩트 업로드. GitHub 통합이 활성화될 때까지 워크플로우 파일을 생성하지 마십시오(fswp-developer/references/github-foundation.md).

Individual skills in this repo

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

fswp-api-developer

Domain skill for WordPress REST API and Abilities API work in Full-Stack WP Developer. Covers registering routes with schemas, argument validation and sanitization, permission callbacks, controller classes, exposing post types and meta, authentication (cookie nonce, application passwords), pagination and errors, and registering abilities with input and output schemas and safety annotations. Use for any custom endpoint or machine-readable capability in a plugin or theme.

fswp-architect

Planning stage of Full-Stack WP Developer. Classifies the work (new plugin, new theme, update to an existing plugin or theme, add-on for another product, or WordPress Core patch), triages existing code with a bundled detection script, asks one round of essential questions, does competitive research, and produces one reviewable PRD or change brief with a single approval gate. Also covers Migration mode and multi-session handoff docs. Invoked by fswp-developer before any code is written; consult directly for PRD, change-brief, or handoff-doc questions.

fswp-block-developer

Domain skill for WordPress block editor work in Full-Stack WP Developer. Covers building custom Gutenberg blocks (block.json, static and dynamic rendering, attributes, supports, InnerBlocks, variations, deprecations, block bindings), block patterns, and the Interactivity API (data-wp directives, stores, server-side state), with the @wordpress/scripts build workflow. Use for any custom block, pattern, or front-end interactivity in a plugin or theme.

fswp-core-contributor

WordPress Core contribution stage of Full-Stack WP Developer. Guides a contributor through finding or filing a Trac ticket, setting up the wordpress-develop checkout and test environment, writing a patch or GitHub pull request that follows Core coding standards, inline documentation, backward compatibility and tests, and preparing the ticket comment; also routes block-editor changes to the Gutenberg repository and security reports to the private process. Invoked by fswp-developer for Core patches; consult directly for Core workflow questions.

fswp-maintainer

Change stage for existing WordPress code in Full-Stack WP Developer. Updates, fixes, refactors, and upgrades existing plugins and themes without breaking them, and builds add-ons for products you do not own (WooCommerce extensions, page-builder elements, extensions of other plugins) using hooks instead of edits to third-party files. Covers reading before changing, parity lists, deprecation, host compatibility, upgrade paths, and patch delivery. Invoked by fswp-developer after an approved change brief; consult directly for safe-change or add-on questions.

fswp-qa-engineer

Verification stage of Full-Stack WP Developer. Runs the mechanical gate for plugins and themes (house-rule scripts, PHP lint, PHPCS with WordPress standards, PHP compatibility, PHPStan with WordPress stubs), the manual checklist, PRD or change-brief scenario tests, and the pre-release check. Reports PASS, FAIL, or NOT RUN and never implies a skipped check passed. Invoked by fswp-developer after a build and again before delivery; consult directly to audit any plugin or theme folder.

fswp-reviewer

Independent review stage of Full-Stack WP Developer. Reviews a finished WordPress plugin, theme, add-on, or Core patch through a security lens (WordPress-specific vulnerabilities, REST and AJAX authorization with an API risk map, AI-generated-code risks), a quality lens (error handling, data and upgrade safety, performance, i18n, accessibility, comment accuracy, test gaps, class and type design, scope), and an optional lean lens for trimming over-engineering, reporting only high-confidence findings in a fixed format. Invoked by fswp-developer after the verify gate, normally through the fswp-code-reviewer agent; consult directly to review or optimize any WordPress code.

fswp-theme-developer

Theme build stage of Full-Stack WP Developer. Builds custom WordPress themes - block themes (theme.json, templates, template parts, patterns, style variations), classic themes (template hierarchy, functions.php, theme supports), hybrids, and child themes - with accessibility, escaping, and directory readiness built in, plus a scaffold script. Invoked by fswp-developer after an approved PRD for a new theme; consult directly for a specific theme pattern. For changes to an existing theme use fswp-maintainer.

syncwin/fswp-plugin-developer

Plugin build stage of Full-Stack WP Developer. House standards and code templates for real WordPress plugins (not shortcode snippets) - folder anatomy, activation/uninstall lifecycle, custom post types and tables, admin UI tiers, front-end output on the Atomic Framework, REST and cron, i18n, distribution, and the Tier 3 React admin stack - plus a scaffold script. Also the base structure for add-ons. Invoked by fswp-developer after an approved PRD; consult directly for a specific plugin build pattern.

관련 스킬