Skill:craftcms claude skills
Production-ready Claude Code skills, agents, and project templates for Craft CMS 5 development
适用场景
招聘人事
适合角色
介绍
以下内容整理自开源仓库 `michtio/craftcms-claude-skills` 的 README / SKILL.md 摘要: # Craft CMS Claude Skills > Production-ready [Claude Code](https://docs.anthropic.com/en/docs/claude-code) skills, agents, and project templates for Craft CMS 5 development. Built and maintained by [michtio](https://github.com/michtio). Covers both **plugin/module development** (extending Craft) and **site development** (content modeling, Twig templates, front-end architecture). ## Support If this project saves you time, consider supporting its development: - [GitHub Sponsors](https://github.com/sponsors/michtio) - [Buy Me a Coffee](https://buymeacoffee.com/michtio) ## Quick Start ### 1. Install ```bash # Claude Code Plugin (recommended) # First time: add the marketplace, then install /plugin marketplace add michtio/craftcms-claude-skills /plugin install craftcms-claude-skills@michtio/craftcms-claude-skills # Or via Vercel Skills CLI npx skills add michtio/craftcms-claude-skills --all # Or clone manually git clone https://github.com/michtio/craftcms-claude-skills.git ~/.claude/craftcms-claude-skills cd ~/.claude/craftcms-claude-skills && bash install.sh ``` ### 2. Set Up Your Project Open Claude Code in your Craft project and say: ``` Set up Claude for this Craft project ``` The `craft-project-setup` skill detects your project type (plugin, site, module, hybrid, or monorepo) and generates a tailored `CLAUDE.md` and `.claude/rules/` directory. ### 3. Start Building The skills trigger automatically based on what you're doing. Just describe what you need: ``` Build a blog with topics, authors, and a flexible body builder using CKEditor ``` Claude loads the right skills, follows Craft conventions, and uses the correct field handles, DDEV commands, and project config workflow. ## Example Prompts Just describe what you need — skills trigger automatically and produce high-quality results. A few to show the range, grouped by domain: **Content modeling & architecture** ``` Plan the content architecture for a multi-language corporate site with news, team members, office locations, and a service catalog. We need English, German, and French with subfolder-per-language routing. ``` **Plugins & modules** ``` Build a custom element type for "Job Listings" with postDate/expiryDate status, a categories relation for departments, and a CP edit page with field layout designer. ``` **Control panel & author experience** ``` I need a modal dialog for my Craft plugin that opens when clicking "Add Item", shows a form with name and handle fields, POSTs to my plugin's save action, and closes on success. Make it keyboard accessible. ``` **Front-end & Twig** ``` Create an atomic button component that supports links, form submits, and disabled states. It needs size variants and a loading spinner option. ``` ``` Build a member area with registration, l --- **说明**:内容由公开仓库整理,使用前请自行核对是否适合你的场景。
安装方式
1. 打开仓库:https://github.com/michtio/craftcms-claude-skills 2. 查找 SKILL.md 或 README 中的安装章节 3. 克隆或下载所需 Skill 子目录到本地 skills 路径(如 `.cursor/skills/` 或 `.claude/skills/`) 4. 重启 / 重载 Agent 客户端 5. 用一条真实任务验证 Skill 是否被正确加载
适用平台
- Claude