Back to Discover

pediment

plugin

Bergert-Digital

View on GitHub
0 starsGPL-2.0Synced Aug 7, 2026

Install to Claude Code

/plugin marketplace add Bergert-Digital/pediment

README

Pediment

Pediment is a WordPress plugin that ships the shared site engine: 24 Gutenberg blocks, templates, patterns, design tokens, forms, and AI-assisted authoring. Each site uses its own standalone client theme for branding and client-owned customizations. The release artifact is pediment-plugin.zip.

Requirements

  • WordPress 6.9+, PHP 8.1+
  • A standalone block client theme
  • Docker, Node 20+, and Composer for local development

Local development

npm install
composer install -d plugin
( cd plugin && npm install && npm run build )
npm run env:start

wp-env mounts the test client theme at wp-content/themes/pediment-fixture and Pediment at wp-content/plugins/pediment-ai. Activate them once after a fresh environment:

npx wp-env run cli wp theme activate pediment-fixture
npx wp-env run cli wp plugin activate pediment-ai

The fixture is intentionally minimal. Templates, patterns, tokens, blocks, and shared assets are supplied by the plugin.

Useful commands

CommandWhat it does
npm run buildBuilds the plugin editor bundle and blocks.
npm run lint:blocksChecks the plugin block file contract.
npm run lint:colorsRejects color literals in plugin block styles.
npm run lint:jsRuns JavaScript linting.
composer lint -d pluginRuns PHP coding standards checks.
npx wp-env run tests-wordpress --env-cwd=wp-content/plugins/pediment-ai ./vendor/bin/phpunitRuns plugin PHPUnit tests.
cd plugin && npm run e2eRuns the merged Playwright suite.

Releases

Main-only development uses release-please. A release publishes two assets: pediment-plugin.zip, which installs as wp-content/plugins/pediment/, and pediment-client-template.zip, which the client kit's scaffolder downloads to create a new client theme. The plugin zip contains no client theme; every site pairs it with a standalone theme of its own.

Architecture

  • plugin/src/blocks/ — server-rendered shared blocks.
  • plugin/templates/ and plugin/patterns/ — plugin-served site presentation.
  • plugin/tokens/theme.json — default tokens, injected beneath client-theme overrides.
  • plugin/inc/ — procedural WordPress integrations, forms, and assets.
  • tests/fixtures/client-theme/ — the minimal standalone client theme used by wp-env and end-to-end tests.

See docs/blocks.md for the block authoring contract.

Building a client site

Client sites are standalone theme repos scaffolded from client-template/ via the client-kit Claude Code plugin's /pediment:start skill — see docs/client-sites.md for the full workflow, from installing the kit through day-two content edits to deploying a theme release.

Licensing

Three components, three licences: plugin/ and client-template/ are GPL-2.0-or-later, client-kit/ is PolyForm Shield 1.0.0. See LICENSING.md for what each covers and why they differ.

Rendered live from Bergert-Digital/pediment's GitHub README — not stored, always reflects the source repo.

1 Plugin

NameDescriptionCategorySource
pedimentCreate and build Pediment WordPress client sites: scaffold a standalone client theme, seed it, and port existing pages into it../client-kit

0 Comments

Login required
Log in to post a comment or update on this repo.

No comments yet — be the first to share an update.