umbraco-devkit

skill
Guvenlik Denetimi
Uyari
Health Uyari
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Gecti
  • Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Claude Code plugin for Umbraco package and backoffice extension development: a feature pipeline, a builder/reviewer gate, and stack skills for C#/.NET, EF Core, Lit + UUI.

README.md

Umbraco Devkit

A Claude Code plugin for the whole life of an Umbraco package or backoffice extension:
setting it up, building features, fixing bugs, running the issue tracker, reviewing pull
requests, upgrading to a new CMS major, and publishing. C# / .NET backend, EF Core
persistence, Lit + UUI backoffice frontend.

Three things run through all of it:

  • Every code change is reviewed. One agent builds, a read-only reviewer checks the diff,
    build, and tests before anything is committed, and another runs it in the real app.
    Features, fixes, and upgrades all go through it.
  • Umbraco knowledge, loaded when it's needed. Skills for the C#, EF Core, and Lit + UUI
    idioms Umbraco itself uses, read against the real CMS source and docs for the version you
    target.
  • It asks before it touches git or your tracker. Plans and drafts stay on disk until you
    say yes. For your main and version branches, a hook makes sure of it.

This is a foundation, not a finished house. Drop it into a new package or add-on and
build on it as the project grows.

Get started

1. Install. From inside your Umbraco project:

# This devkit.
claude plugin marketplace add https://github.com/mattbrailsford/umbraco-devkit --scope project
claude plugin install umbraco-devkit@umbraco-devkit --scope project

# The official Umbraco backoffice extension-point skills.
claude plugin marketplace add https://github.com/umbraco/Umbraco-CMS-Backoffice-Skills.git#main --scope project
claude plugin install umbraco-cms-backoffice-skills@umbraco-backoffice-marketplace --scope project

The second plugin, the official
Umbraco Backoffice Skills, covers
the individual backoffice extension points; this devkit works alongside it.

The backoffice skills follow the CMS major. #main is the latest major. If your project
targets an older one, swap #main for #v<major>/main (for example #v17/main). The
backoffice API changes between majors, so the wrong line gives confidently wrong code.

You can also run the same commands inside Claude Code as /plugin marketplace add ... and
/plugin install ....

Optional: the same marketplace has a testing plugin, with more patterns for backoffice
tests: mocked API responses, trees, entity actions and test data builders.

claude plugin install umbraco-cms-backoffice-testing-skills@umbraco-backoffice-marketplace --scope project

This devkit doesn't need it. umbraco-dotnet-testing and umbraco-backoffice-testing cover
the setup a package's tests need, and where the two disagree on package names, environment
variables or setup, follow this devkit's skills.

Optional: copy settings.example.json to your project's
.claude/settings.json and uncomment the permissions and hooks you want. It isn't installed
with the plugin, because what to allow is your call.

2. Set up the project. Inside Claude Code, run /project-init. It's a wizard that asks
before each step. Run it again any time to fill gaps. When it's done, open CLAUDE.md and
check the Stack section: the CMS version(s) you target and the database(s) you support
should be filled in, with no TODO left. Many skills and the reviewer's checks depend on
them. The Docs section says where your package's own docs live, so an upgrade can find
the pages it makes wrong.

3. Ask for what you want. Describe it ("add a dashboard that...", "why does saving fail
when...", "triage the new issues") and the right skill picks it up. Or run one yourself from
the tables below.

What you can do

Set up

I want to... Run
Set up a project for this devkit: CLAUDE.md, ports, lint, tests, CMS source and docs /project-init
Push a new package to GitHub for the first time: README, LICENSE, CONTRIBUTING, Dependabot /github-init

Build a feature

Four steps, each writing its own files in the feature's folder, docs/plans/<feature-slug>/.
Re-run any step to refine its files. Once the PR is merged, /feature-close moves the folder
to docs/archive/plans/, so docs/plans/ only holds live work.

Not ready to plan yet? Ask Claude to write the idea up in docs/ideas/ and commit it;
/feature-explore can start from it later.

Step Run
What are we building, and for whom? /feature-explore
Extension points, data model, API, mockups of new screens /feature-design
Stories and an ordered task list /feature-plan
Stress-test a big or risky plan before you build it (optional) /feature-interrogate
Build, review, and commit, task by task /feature-build
See the assumptions and workarounds worth a human look /decision-review
Archive a plan once its PR is merged, or the plan is dropped /feature-close

Fix something

I want to... Run
Make a small, obvious fix, still reviewed /quick-fix
Plan a clear fix or small change in one file, then build it task by task /change-build
Find and prove why something is broken, then route the fix /investigate-bug
Port a merged change to another version line, still reviewed /change-backport
Fix a confirmed vulnerability under embargo, from report to published advisory, with the affected and fixed versions /advisory-fix

Work the issue tracker

I want to... Run
Work open issues from new to fixed, one stage at a time /issue-backlog
Classify and duplicate-check new issues (report only) /issue-triage
Send one triaged issue to the right fix /issue-resolve

Pull requests

I want to... Run
Write the PR description: choices to check first, then screenshots and diagrams /pr-describe
Review a PR from outside the core team /pr-review
Try a PR yourself on the demo site, with a click-through list /pr-demo
Review dependencies: Dependabot PRs, security alerts, and what's out of date /dependency-review

Upgrade and publish

I want to... Run
Move to a new Umbraco major, task by task, still reviewed, with the docs it makes wrong listed /major-upgrade
Get a finished package listed on the Umbraco Marketplace /umbraco-marketplace

Read a doc

I want to... Run
See a plan file or folder as GitHub will show it, refreshing as it changes, and comment on it for Claude to fix ("show me the brief") /markdown-preview

Learn from a session

I want to... Run
Report a mistake a skill should have caught, from the project where it happened /skill-report
Capture what a session taught you, even when nothing was the devkit's fault /project-retro

What works in the background

You don't run these. The skills above and the agents load them when the work needs them.

Agents:

Agent What it does
builder Builds one task at a time, or a throwaway spike that proves a design's risky assumption
reviewer Checks every diff, read-only, before it's committed
smoke-tester Drives the running app and takes its screenshots, so the session that sent it stays small: each change's smoke test, and trying a design's risky assumption before the plan depends on it
issue-triager Reads and classifies tracker issues, read-only

Hooks (checks Claude Code runs before an action, so they hold even if Claude forgets a rule):

Hook What it does
trunk-gate Asks you before any commit or push to main or a version branch. Needs Node
embargo-gate Blocks an unreleased security fix from reaching any remote except its private fork, until you lift the embargo, and blocks advisory ids in commit messages, branch names and PRs. Needs Node

Pre-review checks: checks/ is a script feature-build runs between the builder and the reviewer, for slips a script can catch (file encoding, links into plan folders, unsanitized unsafeHTML, files git doesn't track, tests switched off, warnings suppressed with no reason, empty catch blocks, fixed waits in tests). Add your own in .claude/checks/. Needs Node.

Umbraco knowledge:

Skill What it covers
umbraco-extensibility Composers, collection builders, notification handlers
umbraco-package-conventions Naming, visibility, safe public API changes
umbraco-backoffice-conventions Package-level frontend setup, OpenAPI clients, build order
umbraco-backoffice-ux How a backoffice screen should look and behave
umbraco-performance Caching, tree traversal, and keeping hot paths fast
umbraco-env-sync Moving a package's own data between environments with Umbraco Deploy or uSync
umbraco-dependencies Which dependencies must match the CMS, which ship to sites, which are dev-only
ef-core-data SQL Server + SQLite, migrations, repositories
umbraco-cms-source Read the CMS source at the version you target
umbraco-docs Read the official docs for the version you target
umbraco-security What Umbraco provides for security, on the server and in the backoffice
umbraco-dotnet-testing C# integration tests on Umbraco's test package, so they exercise the package
umbraco-backoffice-testing Backoffice element tests and Playwright end-to-end tests on Umbraco's helpers

General craft:

Skill What it covers
bdd-specs, user-stories Stories with acceptance criteria, turned into tests
diagrams Hand-placed SVG diagrams and charts, and text views such as file trees and table columns, for plans and PRs
git-workflow Commits, branches, and asking before touching main
plain-writing How every document a person reads gets written

How it works

docs/HOW-IT-WORKS.md covers the plan folder, ideas and the archive,
the review gate, project memory, branches and worktrees, and what to build on top.

How the skills are tested

Each skill has evals: realistic requests run with and without the plugin, to show the skill
changes the result. docs/EVAL-COVERAGE.md shows which skills and
which of their sections have evals, with the latest scores. How evals are written, run and
kept current is in write-skill-eval. If a skill
misses something, run /skill-report in the project where it happened, or open a "skill
missed" issue
by hand.

Contributing

Issues and PRs welcome. This repo follows its own
git-workflow skill.
CLAUDE.md has the repo layout, the checks to run, and the rules for naming and
editing skills.

License

MIT

Credits

Based on Rob Conery's claude-playbook
starter template, adapted for Umbraco package and backoffice extension development.

Yorumlar (0)

Sonuc bulunamadi