Skip to content

Commit 33d7e79

Browse files
committed
feat: add and update shared components (BackToTopButton, ScrollDownArrow, Logo, Typography, SocialShare, LoadingSpinner, ErrorBoundary, SkipLink, VisuallyHidden, Divider) and update changelog
1 parent 2b7d7cf commit 33d7e79

File tree

183 files changed

+28596
-3353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+28596
-3353
lines changed

.github/agents/release-scaffold.agent.md

Lines changed: 48 additions & 502 deletions
Large diffs are not rendered by default.

.github/instructions/generate-plugin.instructions.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# ⚠️ WARNING: Strict Mustache Placeholder Enforcement
2+
3+
All contributors must use the correct mustache placeholders in all template files, folders, and code. Do not use generic placeholders (like `{{slug}}`) where a more specific one is required (e.g., `{{cpt1_slug}}`, `{{taxonomy1_slug}}`).
4+
5+
**Never hard-code plugin-specific values** in the scaffold. All identifiers, class names, translation domains, and meta keys must use the appropriate placeholder as defined in `scripts/mustache-variables-registry.json`.
6+
7+
The mustache registry is updated automatically by running:
8+
9+
```sh
10+
node scripts/scan-mustache-variables.js --update-registry
11+
```
12+
13+
If you add, rename, or remove placeholders, always update the registry and review the change report in `scripts/reports/`.
14+
15+
See `docs/GENERATE_PLUGIN.md` for more details and the latest warning.
16+
17+
**Failure to follow these rules will break plugin generation and may result in lost work.**
18+
119
---
220
name: Plugin Generator Instructions
321
description: >-

.github/instructions/release-scaffold.instructions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,9 @@ Avoid embedding secrets or skipping tests in workflow steps.
5858
- Run `npm test` and `composer test` where applicable.
5959
- Run `npm run lint` and `composer lint` to ensure coding standards before release.
6060
- Dry-run release workflows locally or via workflow_dispatch in a staging branch before production tags.
61+
62+
## Agent prompts & guardrails
63+
64+
- The release-scaffold agent loads `.github/prompts/create-release-scaffold.prompt.md` when running in **full release** mode and `.github/prompts/pre-release-validation.prompt.md` when only validating. Keep both prompts aligned with the instructions so the wizard steps remain consistent.
65+
- All templated files that contain `{{mustache}}` placeholders must be handled through the dry-run scripts (`npm run lint:dry-run`, `npm run dry-run:all`, `npm run dry-run:release-scaffold`). No workflow updates should mutate the placeholders directly.
66+
- This instruction set is specific to the `lightspeedwp/block-theme-scaffold` release process — reuse the prompts and validation suite whenever you prepare a new tag for that repository.

0 commit comments

Comments
 (0)