drupal-development Skill
✓ VerifiziertEntwickle Drupal 10 Module mit PHP 8+, SOLID-Prinzipien und den Drupal Coding Standards.
- GitHub Stars
- 303
- Dateien
- 1
- Letzter Commit
- 8. Okt. 2026
- Lizenz
- Apache-2.0
- Erlaubte Tools
- —
Was macht der drupal-development Skill?
Entwickle Drupal 10 Module mit PHP 8+, SOLID-Prinzipien und den Drupal Coding Standards.
Zusammenfassung erzeugt aus der SKILL.md des Skills.
Über den drupal-development skill
Die Hauptfunktion dieses Skills ist das Erstellen maßgeschneiderter Drupal 10 Module nach modernen PHP 8.1+ Standards. Entwickler nutzen ihn, um technisch präzisen Code zu generieren, der die Drupal Coding Standards, PSR-12 und SOLID-Prinzipien einhält. Wenn ein Agent diesen Skill lädt, agiert er als Experte für Architektur und ist in der Lage, komplexe Systeme wie den Service Container, das Plugin-System und die Drupal Datenbank-API zu implementieren.
Er erstellt strukturierte Code-Komponenten, einschließlich in der services.yml definierten Services, Routing-Konfigurationen in der module.routing.yml und Datenbank-Schema-Definitionen via hook_schema. Der Skill stellt sicher, dass alle Ausgaben Strict Typing verwenden und Dependency Injection anstelle von rohem SQL oder unmanaged Code nutzen. Er ist für Engineers konzipiert, die entkoppelte Logik über das Event-System implementieren, Hintergrundaufgaben mit der Queue API verwalten oder sichere Interfaces mittels der Form API und korrektem CSRF-Schutz bauen müssen.
Was ein agent damit machen kann
- 1Custom Drupal Services erstellenFordere den Agenten auf, einen neuen Service in einer services.yml Datei unter Verwendung von Dependency Injection zu registrieren.
- 2Sicheres Form-Handling implementierenBeantrage die Erstellung eines Formulars, das die Drupal Form API mit Validierungs- und Submission-Handlern nutzt.
- 3Module Routing und Zugriff definierenLasse den Agenten neue Routes und Zugriffskontrollen innerhalb der Routing-Konfiguration eines Moduls einrichten.
- 4Datenbank-Schema Updates entwickelnInstruiere den Agenten, ein hook_schema für eine neue Tabelle und einen Update-Hook für zukünftige Änderungen zu schreiben.
Geschrieben basierend auf dem SKILL.md des skills. Jeder use case wurde gegen ein zitat daraus geprüft.
So installierst du den drupal-development Skill
Jeder Befehl kopiert den Skill-Ordner in das Skills-Verzeichnis des Clients. Starte den Client neu oder beginne eine neue Session, um ihn zu laden.Den drupal-development Skill in Claude Code installieren
~/.claude/skills/drupal-development/SKILL.md
$ npx degit Mindrally/skills/drupal-development ~/.claude/skills/drupal-developmentDen drupal-development Skill in Claude Code (project) installieren
.claude/skills/drupal-development/SKILL.md
$ npx degit Mindrally/skills/drupal-development .claude/skills/drupal-developmentDen drupal-development Skill in Codex installieren
~/.agents/skills/drupal-development/SKILL.md
$ npx degit Mindrally/skills/drupal-development ~/.agents/skills/drupal-developmentDen drupal-development Skill in Gemini CLI installieren
~/.gemini/skills/drupal-development/SKILL.md
$ npx degit Mindrally/skills/drupal-development ~/.gemini/skills/drupal-developmentDen drupal-development Skill in Claude.ai installieren
npx degit Mindrally/skills/drupal-development drupal-development && zip -r drupal-development.zip drupal-development # claude.ai → Customize → Skills → + → Create skill → Upload a skill → drupal-development.zip
Automatisierte Checks
Geluften am 15. Nov. 2026Vollständiger Bericht →Hat unsere automatischen Prüfungen bestanden. Das ist kein Sicherheitsaudit: Lesen Sie die Skripte, bevor ein Agent sie ausführt. Wie die Checks funktionieren · Was du für mehr Punkte verbessern kannst
- Source Repository verknüpft und erreichbarmindrally/skills/drupal-development is public and reachablegithub.com/mindrally/skills/tree/HEAD/drupal-development ↗Bestanden
- Open Source Lizenz (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit 2026-10-08github.com/mindrally/skills/commits ↗Bestanden
- Keine Download-und-Ausführen-Muster oder Zugangsdatendiebstahl in SkriptenNo scripts in the skill folderBestanden
- Keine versteckten Anweisungen in SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/mindrally/skills/blob/HEAD/drupal-development/SKI ↗Bestanden
- Vorab erlaubte Tools sind eingeschränktNo pre-approved tools; the agent asks before using onegithub.com/mindrally/skills/blob/HEAD/drupal-development/SKI ↗Bestanden
- SKILL.md folgt dem Agent-Skills-Formatthe description does not say when to use the skillgithub.com/mindrally/skills/blob/HEAD/drupal-development/SKI ↗Befund
SKILL.md
Auf GitHub ansehenDrupal Development
You are an expert Drupal 10 developer with deep knowledge of PHP 8+, object-oriented programming, and SOLID principles.
Core Principles
- Write concise, technically accurate PHP code with proper Drupal API examples
- Follow SOLID principles for object-oriented programming
- Follow the DRY principle
- Adhere to Drupal coding standards
- Leverage the service container and plugin system
PHP Standards
- Use PHP 8.1+ features (typed properties, match expressions, named arguments)
- Follow PSR-12 coding standards
- Declare strict typing:
declare(strict_types=1); - Implement proper error handling using Drupal's logging system
- Use type hints for all parameters and return types
Drupal Best Practices
- Use Drupal's database API instead of raw SQL queries
- Implement Repository pattern for data access logic
- Utilize the service container for dependency injection
- Leverage Drupal's caching API for performance optimization
- Use Queue API for background processing
- Implement comprehensive PHPUnit testing
- Follow the configuration management system
- Use Drupal's entity system and Field API appropriately
- Implement hooks properly following Drupal conventions
- Use Form API for all form handling
Code Architecture
Services
- Follow single responsibility principle
- Register services properly in
services.yml - Use dependency injection
- Tag services appropriately for discovery
Routing
- Define routes in
module.routing.yml - Implement proper access checks
- Use route parameters appropriately
Schema and Updates
- Use
hook_schema()for database table definitions - Implement update hooks for schema changes
- Follow proper versioning for updates
Events
- Use Drupal's event system for decoupled code
- Create custom events when appropriate
- Subscribe to core events properly
Forms
- Implement form handlers using Form API
- Use proper validation and submission handlers
- Implement AJAX forms when needed
Security
- Sanitize all user input
- Implement CSRF protection
- Use proper access controls
- Escape output appropriately
Dateien in diesem Skill
1drupal-development Skill-Fragen
Wie installiere ich den drupal-development Skill in Claude Code?
Führe npx degit Mindrally/skills/drupal-development ~/.claude/skills/drupal-development aus. Claude Code lädt Skills aus ~/.claude/skills (alle Projekte) oder .claude/skills (ein Projekt) und nutzt einen Skill, wenn seine Beschreibung zur Aufgabe passt.
Welche Clients können den drupal-development Skill nutzen?
Jeder Client, der das Agent Skills-Format liest: Claude Code, Codex, Gemini CLI und claude.ai (als ZIP hochladen). Skripte im Skill laufen nur dort, wo der Client Codeausführung erlaubt.
Wie sollten Datenbankabfragen in Drupal gehandhabt werden?
Du solltest die integrierte Datenbank-API von Drupal verwenden, anstatt rohe SQL-Abfragen zu schreiben.