
Craft project setup
Generates Claude Code CLAUDE.md and rules files for a Craft CMS project
Craft project setup is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- shell
- Platforms
- Claude Code
- GitHub stars
- 91
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Craft project setup
This skill scaffolds Claude Code configuration for Craft CMS projects. It inspects the project to decide whether it is a plugin, module, site, hybrid or monorepo, then produces a CLAUDE.md and a .claude/rules directory shaped by that type. Templates for plugin, site and module projects serve as starting points that get adapted to what is actually present in the repository.
The workflow reads composer.json, DDEV configuration, template and config folders, and the installed dependencies to pick up conventions and hosting signals. It asks a few clarifying questions only when the answers cannot be found in files, then reviews the generated output with the user. It also records Craft version-specific upgrade and install notes where they apply, and can propose hiding unrelated skills or MCP servers for the project.
A bash script reports the Craft version at activation. Setup-related commands are limited to DDEV, git and GitHub CLI permissions written to a local settings file. The skill does not install Craft or write application code.
When your agent uses it
Scaffold Claude Code configuration specifically for Craft CMS projects. Generates CLAUDE.md and .claude/rules/ files tailored to the project type (plugin, site, module, hybrid, or monorepo). Only for Craft CMS projects, not for Next.js, Laravel, or other frameworks.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs shell scripts(see the files on GitHub)
- Asks for: Bash(sh ${CLAUDE_SKILL_DIR}/scripts/craft-version.sh)(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 26 files (83 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the craftcms-claude-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add michtio/craftcms-claude-skills
/plugin install craftcms-claude-skills@craftcms-claude-skillsOr copy only this skill to ~/.claude/skills/craft-project-setup:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/craft-project-setup &&
cp -R "$tmp/skills/craft-project-setup" ~/.claude/skills/craft-project-setup &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/craft-project-setup inside it instead.
Copy the skill folder to ~/.agents/skills/craft-project-setup to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/craft-project-setup &&
cp -R "$tmp/skills/craft-project-setup" ~/.agents/skills/craft-project-setup &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/craft-project-setup inside it instead.
Copy the skill folder to ~/.cursor/skills/craft-project-setup to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/craft-project-setup &&
cp -R "$tmp/skills/craft-project-setup" ~/.cursor/skills/craft-project-setup &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/craft-project-setup inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/michtio/craftcms-claude-skills.git --path skills/craft-project-setupOr copy the folder to ~/.gemini/skills/craft-project-setup yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/craft-project-setup:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/craft-project-setup &&
cp -R "$tmp/skills/craft-project-setup" ~/.copilot/skills/craft-project-setup &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/craft-project-setup inside it instead.
Get the folder:
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills.gitThen copy craftcms-claude-skills/skills/craft-project-setup into your agent's skills folder as craft-project-setup. Agents that support SKILL.md read one folder per skill.
What it does
- Project type detection
- Identifies whether the repository is a plugin, module, site, hybrid or monorepo from its files and dependencies.
- CLAUDE.md generation
- Produces a project CLAUDE.md with general, tools, paths and permissions sections tailored to the detected type.
- Coding rules files
- Writes .claude/rules files covering conventions for the project, adapted from type-specific templates.
- Local permission setup
- Pre-approves DDEV, git and gh commands in a gitignored local settings file.
- Existing config handling
- Compares existing CLAUDE.md and rules against the generated versions and appends missing pieces without overwriting author content.
- Craft version awareness
- Checks the Craft version and adds upgrade and installation guidance relevant to it.
Good for
- Set up Claude Code for a new Craft CMS plugin repository
- Create a CLAUDE.md for an existing Craft site project
- Onboard a developer to a Craft project with shared coding rules
- Audit and update an existing Claude configuration in a Craft project
- Add project rules for a Craft module inside a hybrid install
Craft project setup FAQ
Which projects is Craft project setup for?
Only Craft CMS projects. The skill says it is not meant for Next.js, Laravel or other frameworks, and it does not install Craft itself.
Does Craft project setup overwrite my existing CLAUDE.md?
No. When a project already has a CLAUDE.md or rules, the skill runs a gap analysis and appends only missing pieces to author-written configuration.
What permissions does Craft project setup set?
It pre-approves ddev, git and gh commands in .claude/settings.local.json, which is gitignored, rather than the shared settings file.
How do I install Craft project setup in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/craft-project-setup to use it in all your projects, or to .claude/skills/craft-project-setup in one project. Or install the craftcms-claude-skills plugin, which includes it: /plugin marketplace add michtio/craftcms-claude-skills, then /plugin install craftcms-claude-skills@craftcms-claude-skills.
Does Craft project setup run scripts?
Yes. It runs shell scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Craft project setup?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Craft project setup?
The closest alternatives to Craft project setup are Skill generator, Craftcms, Codebase onboarding, Claude settings audit and Claude md refactor.
Where this comes from
- Description: from the skill's own SKILL.md.
More from michtio/craftcms-claude-skills

Gives agents a safe Pest workflow for testing Craft CMS 5 plugins without touching live
- Open source
- 91 GitHub stars
- Developer tools

Guides an agent through Craft Cloud config, deploys, caching, and Cloud-specific limits
- Open source
- 91 GitHub stars
- Databases

Guides Craft CMS 5 content architecture: sections, entry types, fields, Matrix
- Open source
- 91 GitHub stars
- Developer tools

Deploys and runs Craft CMS on fortrabbit managed PHP hosting with safe git workflows
- Open source
- 91 GitHub stars
- Developer tools

Guides agents writing Craft CMS control panel JavaScript with the Garnish UI toolkit
- Open source
- 91 GitHub stars
- Developer tools

Runs one approved Craft CMS slice through outside builders under locked test gates
- Open source
- 91 GitHub stars
- Developer tools




