ddev-expert
Skill71 starsChanged 7 months agoMITView on GitHub
DDEV local development expertise. Use when working with DDEV projects, containers, configuration, or troubleshooting DDEV environments.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- madsnorgaard/drupal-agent-resourcestheir own version, first seen Jan 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- madsnorgaard/drupal-agent-resources★ 49same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- docker-localSkill
- drupal-accessSkill
- drupal-cachingSkill
- drupal-composerSkill
- drupal-configSkill
- drupal-contrib-mgmtSkill
- drupal-debuggingSkill
- drupal-drushSkill
- drupal-dttSkill
- drupal-entity-apiSkill
- drupal-eventsSkill
- drupal-fieldsSkill
- drupal-form-ajaxSkill
- drupal-form-alterSkill
- drupal-form-apiSkill
- drupal-form-validationSkill
- drupal-hooksSkill
- drupal-htmxSkill
- drupal-javascriptSkill
- drupal-kernelSkill
- drupal-menusSkill
- drupal-migrationsSkill
- drupal-paragraphsSkill
- drupal-pluginsSkill
- drupal-queriesSkill
- drupal-renderSkill
- drupal-routesSkill
- drupal-search-apiSkill
- drupal-securitySkill
- drupal-servicesSkill
- drupal-stateSkill
- drupal-taxonomySkill
- drupal-twigSkill
- drupal-unitSkill
- SKILL.mdSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 121
Add .ddev/docker-compose.<service>.yaml.
- Very specific: line 138
Create .ddev/commands/web/<name> (or host/, db/):
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DDEV Expert
Essential Commands
# Project
ddev start | stop | restart | poweroff | delete
# Execute
ddev drush <cmd> | ddev composer <cmd> | ddev exec <cmd> | ddev ssh
# Database
ddev mysql | ddev export-db | ddev import-db --file=dump.sql
ddev snapshot | ddev restore
# Utilities
ddev describe # URLs and project info
ddev logs -f # Follow logs
ddev launch # Open in browser
ddev launch -m # Open Mailpit UIConfiguration (.ddev/config.yaml)
name: my-project
type: drupal # auto-detects version; or drupal11/drupal10
docroot: web
php_version: "8.3"
webserver_type: nginx-fpm
database:
type: mariadb
version: "10.11"
additional_hostnames:
- api.my-project.ddev.site
webimage_extra_packages: [php8.3-imagick]
mutagen_enabled: true # macOS/Windows performanceOverrides: .ddev/config.local.yaml (gitignored personal config)
PHP overrides: .ddev/php/*.ini
Troubleshooting
ddev composer create-project fails ("not allowed to be present"):
Move extra dirs out temporarily (.claude/, .git/), run create-project, move back.
Port conflicts:
ddev poweroff && sudo lsof -i :80Container issues:
ddev restart
ddev debug refresh # Rebuild containers
ddev delete && ddev start # Nuclear optionDatabase: Host is db (inside container) or 127.0.0.1:PORT (outside). Check port with ddev describe.
Permissions: ddev exec chown -R $(id -u):$(id -g) .
PHP deprecation warnings in Drush — create .ddev/php/drush.ini:
[PHP]
error_reporting = 22527 ; E_ALL & ~E_DEPRECATED
display_errors = Off
log_errors = On
error_log = /tmp/php-errors.logDocker Desktop overlay2 I/O errors — normal restart is not enough:
killall -9 Docker # then relaunch Docker DesktopMutagen sync hanging after Docker crash:
ddev poweroff && ddev start
# If still stuck:
ddev stop
~/.ddev/bin/mutagen daemon stop
~/.ddev/bin/mutagen daemon start
ddev mutagen reset && ddev startddev mutagen status -l # Detailed sync status
ddev mutagen monitor # Real-time progressDebug commands:
ddev debug capabilities | ddev debug router
ddev exec envXdebug
ddev xdebug on | off | status.ddev/php/xdebug.ini:
[xdebug]
xdebug.mode=debug,develop,coverageModes: debug (step), develop (enhanced errors), coverage, profile.
See README.md for full IDE setup (VS Code / PHPStorm).
Custom Services
Add .ddev/docker-compose.<service>.yaml. Common pattern:
services:
redis:
image: redis:7-alpine
container_name: ddev-${DDEV_SITENAME}-redis
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
expose:
- "6379"See README.md for full Solr, Elasticsearch, Redis configs and Drupal settings.php snippets.
Custom Commands
Create .ddev/commands/web/<name> (or host/, db/):
#!/bin/bash
## Description: Full site refresh
## Usage: refresh
set -e
drush sql:drop -y && drush sql:cli < /var/www/html/reference.sql
drush config:import -y && drush updatedb -y && drush cache:rebuildchmod +x then run as ddev <name>.
Performance (macOS/Windows)
ddev config global --mutagen-enabled # Enable globally
ddev mutagen status | sync | resetSee README.md for NFS, tmpfs, and file sync exclusion patterns.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

