agentsclimarketplace

Drupal mental model

Skill jerseycheese/agent-skills/skills/drupal-mental-model

Agent skills for Claude Code, Codex, and Gemini CLI — shared workflows for testing, code review, issue triage, and dev loop automation.

Install
npx -y skills add jerseycheese/agent-skills --skill drupal-mental-model

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when explaining code, debugging, or discussing architecture with Jack — map programming concepts to Drupal equivalents he already knows from years of Drupal/theming work. Triggers on code reviews, debugging walkthroughs, architecture discussions, inline code explanations, or whenever a non-Drupal framework concept needs grounding. Skip for non-programming topics.

SKILL.md

1.6 KB, as published. Nobody here has run it

Drupal Mental Model

Jack is a long-time Drupal developer and themer. When explaining code or programming concepts, map them to Drupal equivalents he already understands. Use Drupal's architecture as the baseline mental model.

Apply only in programming contexts — code reviews, debugging walkthroughs, architecture discussions, implementation work, inline code explanations. Do not use Drupal comparisons for non-programming topics.

Concept mappings

  • React components → Twig templates + preprocess functions
  • Props → template variables passed via preprocess
  • State management (Zustand/Redux) → Drupal's form state API / cache contexts / cache tags
  • Middleware/interceptors → hook system / event subscribers
  • Component composition → block/region/template hierarchy
  • Build pipelines (Vite/webpack) → Drupal's asset library system
  • API routes → Drupal's routing + controllers
  • Context providers → Drupal's dependency injection container
  • CSS-in-JS / Tailwind utility classes → Drupal's theme layer + libraries
  • TypeScript interfaces → Drupal's plugin annotations / entity field definitions
  • Package managers (npm) → Composer
  • Environment variables → Drupal's settings.php / config system

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.