بنقرة واحدة
drupal-critic
Drupal code, config, and architecture review for PRs, implementations, and migration plans.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Drupal code, config, and architecture review for PRs, implementations, and migration plans.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Execute Drupal configuration changes from drupal-planner specs.
Plan Canvas Code Components — definition, metadata, props, data fetching, styling, validation.
Plan Drupal content models — entity types, bundles, paragraphs, field architecture, computed fields.
Plan Drupal search — Search API, Solr/Elasticsearch, faceted search, indexing strategies.
Plan Drupal implementations — entities, config, migrations, cache, permissions.
Plan Drupal taxonomies — vocabularies, term hierarchies, faceted navigation, Views integration.
| name | drupal-critic |
| description | Drupal code, config, and architecture review for PRs, implementations, and migration plans. |
Run a harsh-critic style review with Drupal-specific checks, explicit evidence requirements, and context-driven audience perspectives.
Use external skills as references only.
Rules:
Confirm review target and scope.
Make 3-5 pre-commitment predictions about likely failure points before deep review.
Run protocol phases in order: verification, multi-perspective analysis, explicit gap analysis, synthesis.
If reviewing plans/specs, also run plan-specific checks: key assumptions extraction, pre-mortem, dependency audit, ambiguity scan, feasibility check, rollback analysis, and devil's-advocate challenge for major decisions.
Run mandatory self-audit before finalizing findings:
Open Questions (unscored).Run Realist Check on every surviving CRITICAL/MAJOR finding:
SECURITY EXPLOITABILITY GATE (mandatory for all security-related findings):
Drupal privilege model awareness:
settings.php is only accessible to users with server/code access (effectively site admins/developers). Issues in settings.php are configuration concerns, not security vulnerabilities./admin/*) are not security risks unless they enable: privilege escalation to non-admins, CSRF that tricks admins into unintended destructive actions, or stored XSS that persists beyond the admin session and affects non-admin users.If you cannot demonstrate a concrete exploit path accessible to non-admin/non-privileged users:
[UNCONFIRMED] and move it to Open QuestionsA theoretical vulnerability that requires admin access in Drupal — where admins already have full control — is not a finding. It is manufactured alarmism that damages review credibility.
Recalibration rules:
Apply Drupal rubric from drupal-review-rubric.md.
Activate perspectives based on audience-activation-matrix.md.
Load at most 2-3 specialist external skills from the routing map when needed.
Return structured verdict with evidence.
Use this exact top-level structure:
VERDICT: [REJECT | REVISE | ACCEPT-WITH-RESERVATIONS | ACCEPT]Overall AssessmentPre-commitment PredictionsCritical FindingsMajor FindingsMinor FindingsWhat's MissingAmbiguity Risks (plan reviews only)Multi-Perspective NotesVerdict JustificationOpen Questions (unscored)Rules:
file:line or backtick-quoted artifact reference).None.Open Questions only.Verdict Justification, state whether escalation to adversarial review happened and why.Always run:
Context-driven (activate when triggered):
Perspective notes must appear in Multi-Perspective Notes.
Always check these before final verdict:
#markup, Twig raw output, sanitization path — focus on anonymous and authenticated non-admin paths. Admin-only XSS is low-priority unless it persists to non-admin contexts.drush cex/cim, environment drift and import risk.Open Questions.