SkillsReviewed · michtio

Craft Project Setup for Claude Code

Craft Project Setup is a Claude Code configuration skill for Craft CMS developers, but its proposed permissions are broad and its coding rules need review. It guides the assistant through creating or updating CLAUDE.md, project rules and local permissions for sites, plugins, modules, hybrids and monorepos. Its starter templates target Craft CMS 5.

Researched 16 Nov 2026

In short.

Craft Project Setup is a configuration skill for developers using Claude Code with Craft CMS, but its proposed command permissions and team conventions need review before adoption. It combines project-file detection with 19 starter files to generate CLAUDE.md, .claude/rules/ and local permission settings. It also describes hybrid configurations, per-package monorepo rules and upgrades that preserve unmarked author-written content. Nothing was executed, so generated output, permission enforcement and practical benefits remain unverified.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the supplied skills/craft-project-setup folder at revision 822f3177187ddf146d11ab158b2cc5244f92bc25: SKILL.md and all 19 template files, comprising seven module files, eight plugin files and four site files. Includes the repository-root MIT LICENSE as a related notice. Excludes other repository skills, agents, external documentation and referenced services. Installation, project detection, generated configurations, permission enforcement, database operations and test commands were not executed or verified.

The overview

Identity

craft-project-setup is a Markdown skill and template collection within michtio/craftcms-claude-skills. Its purpose is to configure how Claude Code works inside an existing Craft CMS project. The original source location is [https://github.com/michtio/craftcms-claude-skills/tree/main/skills/craft-project-setup].

The resource comprises SKILL.md and separate starter configurations for modules, plugins and sites. Hybrid and monorepo configurations are described as compositions of these starters.

Assessment

The strongest reason to consider it is its project-specific configuration flow. It tells the assistant to inspect dependencies, scripts, directories and hosting signals before choosing rules, and it includes an upgrade path for existing configurations.

Its defaults express strong preferences. PHP rules require extensive docblocks, underscore-prefixed private members and no declare(strict_types=1) in plugin or module source. Git rules prescribe conventional commits, English-only documentation and no AI attribution. These choices need agreement from the team adopting them.

Users

It is intended for Craft CMS site developers, plugin authors, module maintainers and teams onboarding developers to an existing project. Beginners get a structured description of commands and project layout; experienced developers get detailed conventions and rules for combining configurations.

It is particularly relevant to a site with custom server code or a repository containing several independently installable Craft packages. It explicitly excludes non-Craft frameworks and does not teach Craft installation, PHP implementation, template building or content modeling.

Capabilities

The described output includes a project overview, commands, rule imports, architecture guidance, coding conventions, security rules and local command permissions. Testing and migration guidance is tailored to detected tooling and project conventions. Hosting detection can add references for Craft Cloud, Servd or fortrabbit.

The templates contain concrete development guidance: module initialization and manual registration, plugin service traits and named entry classes, migration conventions, and Twig component patterns. Security templates address controller permissions, POST requirements, environment-based secrets, CSRF tokens and escaping. These are instructions for future work, not evidence that a project satisfies them.

Using it

Requirements

The intended assistant is Claude Code, and the supplied starter configurations target Craft CMS 5. Their command conventions assume DDEV for PHP, Composer and npm operations, and gh for GitHub operations. ECS, PHPStan and Pest are detected capabilities rather than universal prerequisites.

Generated configurations reference companion skills such as craftcms, craft-site, craft-php-guidelines and ddev. Those skills are outside this folder and their availability is not established here. Minimum Claude Code, PHP, Node, operating-system and hardware requirements are not specified.

Mechanism

The folder supplies instructions and Markdown templates rather than a separate scaffolding executable. The assistant is directed to inspect composer.json, package.json, DDEV configuration, project directories and Git state, then fill placeholders and generate missing context-specific content.

Classification distinguishes one Craft installation with custom modules from multiple independently typed packages. A hybrid receives merged rules; a monorepo receives package-level configurations and a thin root configuration. The skill also describes merging security concerns and deduplicating rule imports.

Setup

Keep SKILL.md and its templates together when obtaining the resource. An immutable source location is [https://github.com/michtio/craftcms-claude-skills/tree/822f3177187ddf146d11ab158b2cc5244f92bc25/skills/craft-project-setup]. The supplied files do not specify an exact skill-installation command or discovery procedure.

The intended flow is project detection, confirmation of unresolved details, configuration generation and user review. Existing unmarked author-written configurations receive append-only additions; adding adoption markers requires explicit consent. Previously marked configurations may be restructured during upgrades, with changes presented for the user to choose.

Example

For a hypothetical Craft site containing templates/, config/project/ and modules/ under one Composer project, the skill describes a hybrid configuration. Expected output is one CLAUDE.md and one rules directory combining Twig conventions with PHP architecture and coding rules.

Its security file should combine template-facing concerns, such as CSRF and escaping, with controller-facing concerns, such as permission and POST checks. Shared imports and Git rules should be deduplicated. This illustrates the documented behavior; no configuration was generated or checked.

Assessment & evidence

Limitations

The proposed permission list is consequential. It includes broad DDEV execution, database imports, GitHub CLI commands and recursive deletion under the development root's research directory. Connected-project examples also add editing access. Actual permission matching and enforcement were not assessed.

Testing guidance differs by project type. The plugin template requires Pest to run from the plugin's own root so its environment configuration loads, and warns against running ddev craft pest/test from a host project. The module template recommends ddev craft pest/test. These commands need project-specific review before use.

The general file list describes testing and migration rules as context-generated, while module and plugin starter files for both are present. The skill's instruction to inspect available templates therefore matters. No execution evidence establishes successful generation or compatibility across supported layouts.

Reasoning

The likely benefit is more consistent assistant context: commands and conventions are recorded beside the project instead of being reconstructed each session. That is an inference from the design; no measured time savings or quality improvements are supplied.

The guidance goes beyond generic setup. Plugin rules specify typed service accessors, trait ownership and pre-commit analysis commands, while site rules prescribe isolated Twig includes and relationship loading. Their value depends on fit with the actual project. Compliance relies on the assistant following instructions; the folder contains no separate validator.

Alternatives

Maintaining project-specific CLAUDE.md and rule files by hand is a direct alternative for a team with established conventions. The included templates can also serve as references for individual additions rather than a full scaffold.

For an existing configuration, the skill's comparison flow offers a smaller change: identify missing pieces and retain current wording where appropriate. No competing setup tool or comparative performance evidence is supplied, so relative quality and effort are unknown.

Evidence

The available source contains SKILL.md, 19 Markdown starter files across module, plugin and site templates, and the related repository-root LICENSE. These establish the written workflow, default rules and redistribution terms.

Companion skills, linked documentation, Claude Code permission behavior and real project configurations are outside this material. Nothing was executed, and no generated-output examples, benchmarks or user-study results establish practical effectiveness.

Access & freshness

Costs

The MIT notice grants permission to use and redistribute the supplied software and documentation without a license charge. It does not establish the total cost of using the workflow. Claude Code access, model usage, Craft licensing, hosting and external plugin prices are unknown from these files.

The skill identifies the optional Warp passwordless-authentication plugin as commercial and includes an optional sponsorship message. Neither provides a price or a measured operating-cost estimate.

Rights

The repository-root MIT License names copyright holder michtio, dated 2025. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notice remains with copies or substantial portions. It disclaims warranties and liability.

The notice is available at [https://raw.githubusercontent.com/michtio/craftcms-claude-skills/822f3177187ddf146d11ab158b2cc5244f92bc25/LICENSE]. It does not establish the licensing terms of Claude Code, Craft CMS or referenced external plugins.

Freshness

The supplied snapshot was captured on 2026-11-16 at 03:17:34.925 UTC from commit 822f3177187ddf146d11ab158b2cc5244f92bc25. SKILL.md uses version 1.23.0 in its attribution markers and sponsorship text; the starter configurations name Craft CMS 5.

The latest release, subsequent changes and compatibility with current companion skills or assistant behavior are unknown. The snapshot supports conclusions about these exact files.

Actions

Before adoption, review the proposed allow list, research-directory deletion path and connected-folder access. Confirm detected project type, installed tooling and hosting before accepting generated commands or companion-skill references.

Check remaining placeholders, rule imports, team coding conventions and adoption markers in the resulting diff. Preserve existing unmarked author-written content. Before using any test command, confirm its working directory and database configuration, especially for plugins installed inside a host site.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/craft-project-setup/SKILL.mdselected · checked 2026-11-16