/marcoax-skills:eracms-admin-modulefrom marcoax-skills
Scaffolds a new CRUD module in the eraCms admin panel — migration, model with getFieldSpec(), section config, Italian label and tests. Use when an entity has to become manageable from the eraCms backend: "create admin section for X", "add module X", "new admin entity", "I need to manage X from the backend". Not for changing an existing section's fields, and not for admin work outside eraCms.
Ships in marcoax-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Source of truth is the project's own rules — read .ai/rules/admin.md, .ai/rules/models.md and
.ai/rules/migrations.md before writing anything. This skill only sequences the work and records
the traps those files don't cover.
Answer in the language of the user's message.
Ask only for what the message doesn't already say:
belongsTo Category, M2M with Tag, …)These have defaults: state them in the plan instead of asking, unless the user wants to tune them.
| Default | |
|---|---|
| Actions | edit, create, delete on; copy, export, selectable, preview off |
| Edit panels | showMedia, showSeo, showBlock off |
| List order | orderBy: sort, orderType: ASC |
| Sidebar | home: true, top-bar show: true, action: ['add'] |
| Template | none (uses admin.edit / admin.view) |
| Placeholder Content | off — placeholder_content entry in the section's list.php, see admin-config.md |
Present a plan with the files to create and modify, the table schema, roles, translatable fields
and actions.
Create no files in plan mode — even if the user asks to skip the plan or "just write the files".
In that case present the plan anyway, say it is required, and wait for explicit confirmation.
This overrides the "Instruction priority" rule in AGENTS.md for this skill only.
| What | Where | Read |
|---|---|---|
Migration and the matching CREATE TABLE in db/era_install.sql | database/migrations/ | .ai/rules/migrations.md — both files, always; no down() |
| Factory | database/factories/[Entity]Factory.php | house form is $this->faker, not fake() |
| Builder — only for domain query logic | app/eraCms/Builders/[Entity]Builder.php | otherwise point the attribute at EraCmsBuilder |
| Model | app/Models/[Entity].php | references/model.md |
| Section config | config/eraCms/admin/list.php | references/admin-config.md |
| Italian label | resources/lang/it/admin.php → models.[entities], alphabetical | |
| Tests | tests/Feature/Admin/[Entity]AdminTest.php | copy the shape of tests/Feature/Admin/CourseAdminTest.php |
A seeder only when the user asks for one — the project has two, it is not the house pattern.
Cover list, create form, store (valid and invalid), edit form, update and delete, unless
.ai/rules/tests.md argues a case isn't worth it. Route by name (admin_list, admin_create, …),
not by URL literal.
php artisan test --compact tests/Feature/Admin/[Entity]AdminTest.php
vendor/bin/pint --dirty --format agent
Summarise files created and modified plus test results. Offer the full suite. Do not call the task done while a test is red — fix it with the user first.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
18 skills in this plugin
/add-lessonTurn a lesson's .docx/.md notes into a quiz file, or add words to an existing lesson./add-recapAdd a recap lesson: a fixed random sample plus a dedicated section for words and expressions to distinguish, copied from existing lessons. Argument: the title, e.g. "Ripasso di Natale"./advanced-code-reviewReview code changes against the requested behavior and repository standards, with evidence-backed findings and a PASS/PARTIAL/FAIL verdict./agent-md-creatorGenerate standardized CLAUDE.md or AGENT.md files for projects. Use when users want to document a project for AI agents, set up project instructions, create AI instructions files, initialize agent docs, or say things like "Crea un CLAUDE.md", "Generate AGENT.md", "Setup project documentation", "document this project for agents", "create AI instructions file", "initialize agent docs", "set up project instructions".Generated from the plugin's indexed repository (marcoax/skills) — no native marketplace selected
npx claudepluginhub p/marcoax-marcoax-skills