Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .agents/skills/drush-webmaster/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ full documentation on any command before using it.

## Discovery (Start Here)

### `wm:schema:dump` Full site schema for AI context
### `wm:schema:dump`: Full site schema for AI context

**Run this first** when working with an unfamiliar site or section.

Expand All @@ -35,7 +35,7 @@ drush wm:schema:dump --section=content-types --section=vocabularies
Available sections: `content-types`, `vocabularies`, `views`, `menus`,
`blocks`, `media-types`, `entity-types`, `site`

### `wm:site:info` Site name, slogan, email, paths
### `wm:site:info`: Site name, slogan, email, paths

```
drush wm:site:info
Expand All @@ -48,21 +48,21 @@ appropriate discovery command. This prevents validation errors.

| Operation | Run first |
|-----------|-----------|
| Create entity | `wm:content-type:get <bundle>` required fields |
| Edit entity | `wm:entity:get <type> <id>` current values |
| Delete entity | `wm:entity:get <type> <id>` confirm correct entity |
| Create entity | `wm:content-type:get <bundle>`: required fields |
| Edit entity | `wm:entity:get <type> <id>`: current values |
| Delete entity | `wm:entity:get <type> <id>`: confirm correct entity |
| Add field to bundle | `wm:field:list <type> <bundle>` then `wm:field:types` |
| Create/edit view | `wm:view:tables` then `wm:view:available:fields` |
| Translate entity | `wm:translation:languages` see configured languages |
| Moderate entity | `wm:entity:transitions <type> <id>` transitions |
| Bulk operations | `wm:content-type:get` or `wm:entity:query` scope |
| Translate entity | `wm:translation:languages`: see configured languages |
| Moderate entity | `wm:entity:transitions <type> <id>`: transitions |
| Bulk operations | `wm:content-type:get` or `wm:entity:query`: scope |

Skip discovery when context is already known or the user
asks to proceed directly.

## Querying & Inspecting Entities

### `wm:entity:query` Find entities by field conditions
### `wm:entity:query`: Find entities by field conditions

```
drush wm:entity:query node article \
Expand All @@ -76,14 +76,14 @@ drush wm:entity:query node blog --limit=50 --offset=50
Where operators: `=`, `!=`, `>`, `<`, `>=`, `<=`,
`=NULL`, `!=NULL`, `=a,b,c` (IN list)

### `wm:entity:get` Get single entity with field values
### `wm:entity:get`: Get single entity with field values

```
drush wm:entity:get node 1
drush wm:entity:get node 1 --fields=title,body
```

### `wm:entity:field:get` / `wm:entity:field:set` Get/set single field value
### `wm:entity:field:get` / `wm:entity:field:set`: Get/set single field value

```
drush wm:entity:field:get node 1 title
Expand All @@ -92,7 +92,7 @@ drush wm:entity:field:set node 1 body \
'{"value":"<p>HTML</p>","format":"full_html"}'
```

### `wm:search` Full-text search (requires Search module)
### `wm:search`: Full-text search (requires Search module)

```
drush wm:search "contact form"
Expand Down
14 changes: 7 additions & 7 deletions .agents/skills/dxb/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: dxb
description: |
Build and manage DXPR Builder pages via drush dxb:* commands.
Write Bootstrap 5 HTML the builder parses it into drag-and-drop
Write Bootstrap 5 HTML: the builder parses it into drag-and-drop
editable elements. Use when asked to "create a page", "build a
landing page", "edit page markup", "list templates", "update page
layout", "create a reusable section", "scaffold content from a
Expand All @@ -11,7 +11,7 @@ description: |

# DXPR Builder Drush Commands

<!-- PROMPT_RULES_START (auto-generated from prompt.js do not edit manually) -->
<!-- PROMPT_RULES_START (auto-generated from prompt.js; do not edit manually) -->
## HTML Content Rules

DXPR Builder parses standard Bootstrap 5 HTML into drag-and-drop
Expand All @@ -20,7 +20,7 @@ editable elements. Follow these rules when generating markup:
### Layout

- Use Bootstrap grid system and responsive design patterns
- Row columns must total exactly 12 (e.g. col-6 + col-6, col-4 + col-4 + col-4). Do NOT use col-auto or col without a size each column must have an explicit number (col-1 through col-12)
- Row columns must total exactly 12 (e.g. col-6 + col-6, col-4 + col-4 + col-4). Do NOT use col-auto or col without a size: each column must have an explicit number (col-1 through col-12)
- Avoid nested containers
- Sections contain content directly - no empty wrapper divs:
- But only use a container-fluid when appropriate for the type of content
Expand Down Expand Up @@ -58,10 +58,10 @@ Run `drush <command> --help` for full options.

## Workflow

1. **Discover** `template:list`, `element:list`
2. **Create** `page:create` from template or create entity then `page:update`
3. **Edit** `page:get` to read, modify, `page:update` to save
4. **Reuse** `user-template:create` to save sections
1. **Discover**: `template:list`, `element:list`
2. **Create**: `page:create` from template or create entity then `page:update`
3. **Edit**: `page:get` to read, modify, `page:update` to save
4. **Reuse**: `user-template:create` to save sections

Write Bootstrap 5 HTML following the rules above.
The builder parses it into drag-and-drop components automatically.
2 changes: 1 addition & 1 deletion .agents/skills/dxb/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interface:
display_name: "dxb"
short_description: "Build and manage DXPR Builder pages via drush dxb:* commands. Write Bootstrap 5 HTML the builder parses it into drag-and-drop editable elements."
short_description: "Build and manage DXPR Builder pages via drush dxb:* commands. Write Bootstrap 5 HTML: the builder parses it into drag-and-drop editable elements."
default_prompt: "Use dxb for page building, template management, and content layout tasks."
policy:
allow_implicit_invocation: true
2 changes: 1 addition & 1 deletion .agents/skills/dxt/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Keys: base, basetext, link, accent1, accent1text, accent2, accent2text, text, he

## Theme vs Content Responsibility

DXPR Theme (dxt) owns the visual baseline: heading weight, text colors, backgrounds, font sizes. Content markup (dxb) inherits these automatically. Configure the theme FIRST don't compensate with utility classes in content.
DXPR Theme (dxt) owns the visual baseline: heading weight, text colors, backgrounds, font sizes. Content markup (dxb) inherits these automatically. Configure the theme FIRST; don't compensate with utility classes in content.

## Workflow

Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
"drupal/dxpr_cms_starter": "*",
"drupal/easy_email_express": "^1",
"drupal/google_tag": "^2.0",
"drupal/language_hierarchy": "^2.0",
"drupal/project_browser": "^2.1",
"drupal/recipe_installer_kit": "^1.0",
"drush/drush": "^13"
Expand Down
3 changes: 2 additions & 1 deletion recipes/dxpr_cms_multilingual/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"drupal/lang_dropdown": "^2.4",
"drupal/tmgmt": "^1.15",
"drupal/ai_tmgmt": "^1.0.0-beta5",
"drupal/ai_translate": "^1.3"
"drupal/ai_translate": "^1.3",
"drupal/language_hierarchy": "^2.0"
},
"version": "1.0.0-beta1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
langcode: en
status: true
dependencies: {}
id: nl-be
label: Vlaams
direction: ltr
weight: 0
locked: false
Loading