Conventions, patterns, and scaffolding for dept44 microservices (Sundsvalls kommun)
Scaffold dept44 integration tests (AppTests) + the OpenAPI contract test for an existing service
Scaffold a new dept44 CRUD endpoint backed by a local database (model, entity, repo, mapper, service, resource, migration, tests, OpenAPI)
Scaffold a new dept44 endpoint that proxies to an external service via a Feign integration (no local DB)
Scaffold a new dept44 JPA entity + repository + Flyway migration (no endpoint)
Scaffold a new dept44 Feign client integration to an external service (client, configuration, properties, config, tests)
Reference patterns for dept44 Spring Boot microservices. Use this skill whenever the user asks about dept44 coding conventions, needs to understand how a specific layer works (entity, repository, service, resource, mapper, POJO, scheduler, integration test), wants to write or fix tests following dept44 style, or asks 'how do we do X in dept44'. Triggers on: 'dept44 pattern', 'how should I write', 'test pattern', 'what does the entity look like', 'service layer pattern', 'mapper pattern', 'resource test', 'apptest', 'integration test pattern', 'POJO style', 'bean test', reviewing or fixing code in a dept44 repo, or any question about dept44 coding conventions and test patterns. Also trigger when the user is working in a dept44 codebase and asks about the correct way to structure something.
Scaffold new components in dept44 Spring Boot microservices. Use this skill whenever the user wants to create, generate, or scaffold a new CRUD endpoint, proxy endpoint, JPA entity, Feign integration, scheduled job, or integration tests / AppTests in a dept44 service. Triggers on: 'new endpoint', 'create entity', 'add integration', 'scaffold', 'new scheduler', 'add a feign client', 'proxy endpoint', 'create CRUD', 'new job', 'add app tests', 'write integration tests for this service', or any request to generate boilerplate for a Spring Boot microservice following dept44 conventions. Also trigger when the user mentions creating something 'like the other endpoints' or 'following the existing pattern' in a dept44 repo.
Quick-reference for dept44 framework internals — class locations, APIs, and cross-cutting patterns. Use this skill whenever you need to find where a dept44 class lives (AbstractAppTest, FeignMultiCustomizer, Problem, validators), understand how to throw errors with Problem.valueOf(), look up AbstractAppTest methods for writing AppTests, build JPA Specification filters, add pagination to an endpoint, or handle file uploads with MultipartFile. Also use when encountering unknown dept44 annotations or utilities, or before reaching for Context7/WebSearch — a locally cloned copy of the dept44 source is the authoritative reference. If you're working in any dept44 microservice and need to understand framework internals, check here first.
Patterns for adding field validation in dept44 microservices — from using built-in annotations to writing custom validators. Use this skill whenever you need to validate API model fields, check which dept44 validators already exist (@ValidUuid, @ValidMunicipalityId, @OneOf, @MemberOf, etc.), create a custom ConstraintValidator, compose multiple validators with OR/AND logic, validate complex objects with multiple violation messages, or write tests for validators. Also use when you see validation-related compilation errors, need to understand why enums aren't used in API models (use @OneOf instead), or are adding new fields to a request DTO and need to pick the right validation approach.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Claude Code plugin marketplace for Sundsvalls kommun developers. Currently hosts the dept44 plugin; more plugins can be added over time.
From within Claude Code, add the marketplace once:
/plugin marketplace add Sundsvallskommun/claude-plugins
Then install the plugins you want:
/plugin install dept44@sundsvall-claude-plugins
Run /reload-plugins if needed.
dept44Coding conventions, pattern references, and scaffolding commands for dept44 microservices.
/dept44:pattern-resource, /dept44:pattern-service, etc.) and scaffolding (/dept44:new-entity, /dept44:new-endpoint-crud, etc.). The pattern-* and new-* commands are thin wrappers — each one points at a reference file under skills/ so there's a single source of truth.dept44-patterns (layer patterns + tests), dept44-scaffold (generating new components), dept44-source (framework internals lookup), pattern-validator (field validation)| Command | Description |
|---|---|
/dept44:pattern-resource | REST controller (Resource) pattern |
/dept44:pattern-pojo | API model / DTO pattern |
/dept44:pattern-entity | JPA entity + repository pattern |
/dept44:pattern-service | Service layer pattern |
/dept44:pattern-mapper | Mapper (static utility) pattern |
/dept44:pattern-integration | Feign client integration pattern |
/dept44:pattern-scheduler | Scheduled job pattern |
/dept44:pattern-apptest | Integration / AppTest pattern |
/dept44:new-entity | Scaffold new JPA entity |
/dept44:new-endpoint-crud | Scaffold new CRUD endpoint |
/dept44:new-endpoint-proxy | Scaffold new proxy endpoint |
/dept44:new-integration | Scaffold new Feign integration |
/dept44:new-scheduler | Scaffold new scheduler job |
/dept44:new-apptest | Scaffold integration tests |
To disable the plugin for a non-dept44 project, add this to that project's .claude/settings.json:
{
"enabledPlugins": {
"dept44@sundsvall-claude-plugins": false
}
}
To test local changes before pushing:
claude --plugin-dir ./dept44
Run /reload-plugins after making changes to pick them up without restarting.
.claude-plugin/
marketplace.json # Marketplace manifest (lists all plugins)
dept44/ # The dept44 plugin
.claude-plugin/
plugin.json # Plugin manifest
commands/ # Slash commands — thin wrappers over the skill reference files
skills/ # Contextual skills (auto-triggered by Claude)
dept44-patterns/ # references/pattern-*.md — canonical layer patterns + tests
dept44-scaffold/ # references/new-*.md — canonical scaffolding instructions
dept44-source/ # references/*.md — framework internals lookup
pattern-validator/ # references/*.md — field validation
hooks/
hooks.json # SessionStart hook config
conventions.md # dept44 coding conventions (injected on session start)
dept44/ with the plugin's contents (must contain .claude-plugin/plugin.json)..claude-plugin/marketplace.json under plugins:
{
"name": "my-plugin",
"description": "...",
"source": "./my-plugin"
}
/plugin install my-plugin@sundsvall-claude-plugins.npx claudepluginhub sundsvallskommun/claude-plugins --plugin dept44Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Memory compression system for Claude Code - persist context across sessions
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Write feature specs, plan roadmaps, and synthesize user research faster. Keep stakeholders updated and stay ahead of the competitive landscape.