BosskuAI CMS Development
Use this skill for code-first WordPress and Drupal work, where editors need a model they can use and developers need something maintainable.
How this differs from nearby skills
bosskuai-laravel-development: a custom PHP application on Laravel. Use this skill when the product is a CMS site.
bosskuai-ui-ux-design-to-code: turning a design into UI. This skill covers the CMS structure under the theme.
accessibility: the full WCAG audit method; this skill only adds the CMS-specific pass.
bosskuai-web-performance: general web performance. Use it for Core Web Vitals deep dives.
seo-audit: search audit; this skill only wires schema, sitemap, and robots correctly.
Workflow
- Confirm the target: WordPress or Drupal, new build or existing site, and the exact versions of core and major plugins/modules. Read the installed versions with
wp core version (WordPress) or drush status (Drupal), and php -v. Check the latest core release at wordpress.org or drupal.org at work time, and use only APIs present in the installed version.
- Lock the content model before theme code: content types, fields, relationships, display variants, editorial roles and workflow, multilingual needs.
- Choose extensions deliberately. For each contrib plugin/module check last update, active installs, open issues, and security advisories. Do not build what a maintained extension already does.
- Put structure in code: post types, taxonomies, fields, and blocks in code (WordPress: ACF JSON sync or code registration; Drupal: config export to YAML). The admin UI alone is not a source of truth.
- Use child themes or custom themes; never edit a parent or contrib theme. Use hooks, filters, and plugin/module APIs; do not patch core.
- Build the theme top-down: layout, regions, blocks, components, with design tokens as CSS custom properties. Use the CMS asset system (WordPress enqueue with version and defer; Drupal
.libraries.yml attached per template).
- Escape output and validate input at every boundary (WordPress
esc_html, esc_url, nonces; Drupal Twig autoescape, access checks, cache metadata). Custom fields and REST data can be empty, text where you expect a number, or missing on old content, so cast and validate them at the template.
- Run coding standards (PHPCS with WordPress or Drupal rulesets) and unit tests for business logic; add an end-to-end test for the main editor flow.
- Walk the editor workflow as a non-technical user. If it is confusing, fix the CMS experience.
- Pre-launch: config exported, debug off, errors logged not shown, caching headers and object cache, security headers, robots and sitemap, accessibility scan plus keyboard check, Core Web Vitals measured, update plan handed over.
Guardrails
- Do not run migrations, updates, or config imports against a live site without a backup and the user's approval.
- Do not store secrets in the database or theme files; use environment config.
- Plugin/module and PHP API names change between versions; verify against the installed version.
- Two editors can save the same page. A script that writes content must save with one UPDATE that matches the revision it read and bumps that revision in the same SET, for example
SET revision = revision + 1 WHERE id = ? AND revision = ?. If no row changed, re-read and merge, or stop.
- Keep old and new theme or module code working on the same content during a rollout.
- Full quality bar:
../../references/checklists/engineering-quality-bar.md.
Output format
Target: [CMS + versions, new/existing]
Content model: [types, fields, roles]
Extensions: [name, reason, vetting result]
Code layout: [theme, plugin/module, config]
Checks: [PHPCS, tests, a11y, performance, security]
Adapted from agency-agents/engineering/engineering-cms-developer.md (agency-agents, MIT).
1---2name: bosskuai-cms-development3description: "Use when building or reviewing a WordPress or Drupal site: custom theme or plugin/module, content model, Gutenberg or Layout Builder blocks, config in code, and a pre-launch security, accessibility, and performance check."4metadata:5 source: https://skillmd.com/skills/wankimmy/bosskuai-cms-development6---78# BosskuAI CMS Development910Use this skill for code-first WordPress and Drupal work, where editors need a model they can use and developers need something maintainable.1112## How this differs from nearby skills1314- **`bosskuai-laravel-development`**: a custom PHP application on Laravel. Use this skill when the product is a CMS site.15- **`bosskuai-ui-ux-design-to-code`**: turning a design into UI. This skill covers the CMS structure under the theme.16- **`accessibility`**: the full WCAG audit method; this skill only adds the CMS-specific pass.17- **`bosskuai-web-performance`**: general web performance. Use it for Core Web Vitals deep dives.18- **`seo-audit`**: search audit; this skill only wires schema, sitemap, and robots correctly.1920## Workflow21221. Confirm the target: WordPress or Drupal, new build or existing site, and the exact versions of core and major plugins/modules. Read the installed versions with `wp core version` (WordPress) or `drush status` (Drupal), and `php -v`. Check the latest core release at wordpress.org or drupal.org at work time, and use only APIs present in the installed version.232. Lock the content model before theme code: content types, fields, relationships, display variants, editorial roles and workflow, multilingual needs.243. Choose extensions deliberately. For each contrib plugin/module check last update, active installs, open issues, and security advisories. Do not build what a maintained extension already does.254. Put structure in code: post types, taxonomies, fields, and blocks in code (WordPress: ACF JSON sync or code registration; Drupal: config export to YAML). The admin UI alone is not a source of truth.265. Use child themes or custom themes; never edit a parent or contrib theme. Use hooks, filters, and plugin/module APIs; do not patch core.276. Build the theme top-down: layout, regions, blocks, components, with design tokens as CSS custom properties. Use the CMS asset system (WordPress enqueue with version and defer; Drupal `.libraries.yml` attached per template).287. Escape output and validate input at every boundary (WordPress `esc_html`, `esc_url`, nonces; Drupal Twig autoescape, access checks, cache metadata). Custom fields and REST data can be empty, text where you expect a number, or missing on old content, so cast and validate them at the template.298. Run coding standards (PHPCS with WordPress or Drupal rulesets) and unit tests for business logic; add an end-to-end test for the main editor flow.309. Walk the editor workflow as a non-technical user. If it is confusing, fix the CMS experience.3110. Pre-launch: config exported, debug off, errors logged not shown, caching headers and object cache, security headers, robots and sitemap, accessibility scan plus keyboard check, Core Web Vitals measured, update plan handed over.3233## Guardrails3435- Do not run migrations, updates, or config imports against a live site without a backup and the user's approval.36- Do not store secrets in the database or theme files; use environment config.37- Plugin/module and PHP API names change between versions; verify against the installed version.38- Two editors can save the same page. A script that writes content must save with one UPDATE that matches the revision it read and bumps that revision in the same SET, for example `SET revision = revision + 1 WHERE id = ? AND revision = ?`. If no row changed, re-read and merge, or stop.39- Keep old and new theme or module code working on the same content during a rollout.40- Full quality bar: `../../references/checklists/engineering-quality-bar.md`.4142## Output format4344```text45Target: [CMS + versions, new/existing]46Content model: [types, fields, roles]47Extensions: [name, reason, vetting result]48Code layout: [theme, plugin/module, config]49Checks: [PHPCS, tests, a11y, performance, security]50```5152Adapted from agency-agents/engineering/engineering-cms-developer.md (agency-agents, MIT).