1
---
2
name: content-management-systems
3
description: 'Workflow for building and modifying content management systems across WordPress, Shopify, Wix, Squarespace, Drupal, WooCommerce, Joomla, HubSpot CMS Hub, Webflow, Adobe Experience Manager, and similar platforms. Use when working on CMS themes, plugins, apps, modules, admin panels, media uploads, content models, editors, markdown pipelines, or static export workflows.'
4
---
5
6
# Content Management Systems
7
8
Use this skill when the user is working on a content management system or on software that behaves like one.
9
10
This skill focuses on the seams that matter in CMS work:
11
12
- themes and templates
13
- plugins, apps, modules, and extensions
14
- admin and editor interfaces
15
- media and upload handling
16
- content models, taxonomy, and metadata
17
- render pipelines and static export flows
18
19
## When to Use This Skill
20
21
- The user mentions a CMS platform such as WordPress, Shopify, Drupal, Joomla, Webflow, Squarespace, Wix, WooCommerce, HubSpot CMS Hub, or Adobe Experience Manager.
22
- The task is about theme development, template changes, or design system work inside a CMS.
23
- The task is about plugins, modules, apps, or extension points.
24
- The task touches editor UX, previews, taxonomy, slugs, SEO fields, or publishing behavior.
25
- The task involves uploads, media libraries, authored assets, markdown rendering, or static export.
26
27
## First Pass
28
29
1. Identify the platform category: self-hosted CMS, SaaS site builder, commerce platform, or hybrid/headless system.
30
2. Find the owning implementation seam before editing:
31
- theme or template layer
32
- plugin, app, module, or extension layer
33
- admin or editor surface
34
- content model or storage layer
35
- media pipeline
36
- export, deploy, or rendering pipeline
37
3. Check platform constraints before choosing an approach:
38
- what is editable locally
39
- what is authored content versus code
40
- where media belongs
41
- whether the final site is server-rendered, static-exported, or hosted remotely
42
43
## CMS Rules
44
45
- Follow the platform's naming and folder conventions for themes, modules, template parts, or sections.
46
- Keep theme assets separate from user-uploaded media unless the platform explicitly combines them.
47
- Prefer structured content fields over storing important metadata inside presentation markup.
48
- Treat previews, slugs, taxonomy, excerpts, meta fields, and publish states as first-class CMS concerns.
49
- Prefer safe defaults and graceful fallback behavior when config, theme selection, or content input is invalid.
50
- When changing editor or admin behavior, trace the stored field, validation rules, preview path, and final render path together.
51
52
## Common Workflows
53
54
### Themes and Templates
55
56
- Start at the template loader or theme runtime, not at a downstream include.
57
- Preserve the platform's template hierarchy and partial naming conventions.
58
- Keep presentation changes close to templates and shared theme helpers.
59
60
### Plugins, Apps, and Modules
61
62
- Add behavior at the platform's extension seam instead of scattering logic into templates.
63
- Keep migrations, seed data, and configuration updates explicit and versioned.
64
- Document the extension's setup assumptions when the platform requires activation or registration.
65
66
### Admin and Editor UX
67
68
- Keep forms aligned with the stored content model.
69
- Prefer author-facing previews when content transformations are non-trivial.
70
- Keep validation, CSRF or equivalent safeguards, and permissions consistent with the surrounding admin code.
71
72
### Media and Uploads
73
74
- Use a dedicated upload path for authored media.
75
- Keep decorative or theme-owned imagery in the active theme folder.
76
- Default to conventional locations like `uploads/` for authored media and `img/` for theme assets unless the platform dictates a stronger convention.
77
- When a CMS supports configurable media directories, expose the setting with a safe fallback.
78
79
### Content Models and Migrations
80
81
- Distinguish content entities clearly: pages, posts, products, entries, collections, taxonomies, and settings.
82
- Prefer migration files or exportable schema definitions over ad hoc runtime mutations.
83
- Keep slugs, publish dates, excerpts, canonical metadata, and taxonomy relations structured.
84
85
### Markdown, HTML, and Static Export
86
87
- Decide whether markdown is authored input, intermediate content, or build output before changing the renderer.
88
- Pair renderer changes with preview or validation when feasible.
89
- For static-exported CMS systems, validate rewritten permalinks and asset paths after build changes.
90
91
## Identifying the Owning Seam
92
93
Regardless of platform, locate the owning seam before editing by mapping the codebase to these CMS roles:
94
95
- Runtime bootstrap and request routing
96
- Admin or editor controllers and their view templates
97
- Theme loading, template hierarchy, and shared template helpers
98
- Repositories, models, or schema/migration files for content, taxonomy, and settings
99
- Markdown or content transformation utilities
100
- Static export, deploy, or render pipeline entry points
101
102
Step to the owning seam first, then make the smallest change that preserves the CMS structure.
103
104
## Platform Notes
105
106
See `references/cms-platform-workflows.md` for a compact mapping of common CMS platforms, extension surfaces, and media conventions.
107