backend
Skill1 starsChanged 8 months agoMITView on GitHub
Backend-Implementierung nach Spec: Models, Services, Controllers, Jobs, Migrations. Nutze bei: 'Backend bauen', 'Service erstellen', 'Controller', 'Migration', 'API', 'Route anlegen'.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- MarvelCollin/agent-skillstheir own version, first seen Oct 5, 2026
- mnzralee/claude-multi-agent-architecturetheir own version, first seen Oct 3, 2026
- udaysharmadev/Skillstheir own version, first seen Sep 17, 2026
- irwebtools/Product-Skillstheir own version, first seen Sep 9, 2026
- marcusbelz/di2-starter-kittheir own version, first seen Jul 17, 2026
- telagod/code-abysstheir own version, first seen Jul 6, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- telagod/code-abyss★ 242same name
- xiaobei930/cc-best★ 48same name
- neuron-one/GODMODE★ 33same name
- DojoCodingLabs/code-sensei★ 14same name
- mnzralee/claude-multi-agent-architecture★ 8same name
- mehuldil/ai_sdlc_platform★ 4same name
- udaysharmadev/Skills★ 4same name
- PadaliyaSavan88/api-forge★ 3same name
- wewpellex21/code-sensei★ 3same name
- MarvelCollin/agent-skills★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- architectureSkill
- audit-projectSkill
- deploySkill
- docs-structureSkill
- frontendSkill
- geoSkill
- git-commitSkill
- helpSkill
- init-projectSkill
- laravel-a11ySkill
- laravel-docsSkill
- laravel-performanceSkill
- laravel-security-auditSkill
- laravel-testsSkill
- portfolio-texteSkill
- qaSkill
- requirementsSkill
- seoSkill
The file
Files
/backend – Backend-Implementierung
Du bist ein Backend-Entwickler der nach Spec implementiert. Saubere Architektur, getestet, sicher.
Vor dem Start (immer!)
- Spec + Architektur lesen: Feature-Spec mit Architektur-Abschnitt vorhanden?
- Bestand prüfen: Existierende Models, Services, Controllers inventarisieren
- Stack erkennen: Laravel? WordPress? Node?
- Patterns verstehen: Wie macht das Projekt es bisher?
Bestand prüfen
# Laravel
ls app/Models/ app/Services/ app/Http/Controllers/ app/Enums/ 2>/dev/null
php artisan route:list --compact 2>/dev/null | head -20
ls database/migrations/ | tail -10
# WordPress
grep -r "register_post_type\|add_action\|add_filter" functions.php 2>/dev/null | head -10Workflow
- Migration erstellen (Datenbank zuerst)
- Model mit Relations, Casts, Scopes
- Enum falls nötig (Status, Typen)
- Service für Business-Logik (nicht im Controller!)
- Controller dünn – ruft Service auf, gibt Response
- Routes registrieren
- Form Request für Validierung
- Job falls async nötig
- Policy falls Authorization nötig
- Tests schreiben (oder an
/qaübergeben)
Implementierungs-Regeln
Laravel (Primär-Stack)
Allgemein:
declare(strict_types=1)in jeder Datei- Return Types und Parameter Types immer annotieren
- Kein
any, keinemixedwenn vermeidbar - Dependency Injection statt Facades wo möglich
Models:
$fillableexplizit definieren (kein$guarded = [])- Relationen typisiert:
public function team(): BelongsTo - Casts für JSON, Enums, Dates
- Scopes für häufige Queries:
scopeActive(),scopeForTeam()
Services:
- Eine Klasse = eine Verantwortlichkeit
- Max. ~200 Zeilen. Länger? Aufteilen
- Methoden max. ~20 Zeilen
- Keine DB-Queries im Controller – immer via Service
- Exceptions werfen statt null/false zurückgeben
Controllers:
- Dünn: Validierung → Service → Response
- Form Requests für Validierung (keine Inline-Validation)
$this->authorize()für Authorization- Resource-Controller wenn CRUD:
index,create,store,show,edit,update,destroy
Migrations:
- Immer
down()implementieren - Foreign Keys mit
onDelete('cascade')oderonDelete('set null') - Indexes auf WHERE/ORDER BY/JOIN Spalten
$table->id(),$table->timestamps()Standard
Jobs:
implements ShouldQueueimmer$tries,$maxExceptions,$backoffdefinieren- Idempotent: Mehrfach-Ausführung darf nichts kaputt machen
- Rate Limiting bei externen APIs
Security (Pflicht):
- Escaping:
{{ }}in Blade (kein{!! !!}ohne Grund) - Prepared Statements: Query Builder/Eloquent, kein
DB::raw()mit User-Input - CSRF: Automatisch via Middleware, Webhooks explizit excluden
- Authorization: Policies oder
$this->authorize()in jedem Controller - Keine Secrets in Code – immer
config()(nichtenv()direkt)
WordPress
- Hooks vor direkten Calls:
add_action,add_filter $wpdb->prepare()für alle DB-Queries- Nonces bei Forms und AJAX
- Capabilities prüfen:
current_user_can()
API-Endpunkte
- RESTful: Nomen statt Verben (
/projects, nicht/getProjects) - Konsistente Response-Struktur:
{ data: ..., meta: ... } - HTTP-Status korrekt: 200, 201, 204, 400, 401, 403, 404, 422, 429, 500
- Rate Limiting auf öffentlichen Endpunkten
- Pagination bei Listen (
.paginate(), nie->get()bei unbekannter Menge)
Qualitäts-Checklist
Vor dem Abschluss:
Datenbank
- Migration hat
up()UNDdown()? - Foreign Keys definiert?
- Indexes auf kritischen Spalten?
$fillableauf allen neuen Models?
Logik
- Business-Logik in Service (nicht Controller)?
- Controller ist dünn (< 30 Zeilen pro Methode)?
- Validation via Form Request?
- Error-Handling: Exceptions statt stille Fehler?
- Keine N+1 Queries (Eager Loading)?
Security
- Authorization (Policy/authorize()) auf jedem Endpunkt?
- Kein
DB::raw()mit User-Input? - Kein
dd(),dump(),var_dump()? - Keine hardcodierten Secrets?
- Rate Limiting auf öffentlichen Routes?
Qualität
declare(strict_types=1)in jeder Datei?- Return Types annotiert?
- Variablen selbsterklärend (kein
$x,$tmp)? - Methoden < 20 Zeilen?
- Build/Lint erfolgreich?
Handoff
Nach Abschluss:
Backend ist implementiert. Nächster Schritt:
/frontendfür die UI, oder/qazum Testen.
INDEX aktualisieren
Status des Features auf In Progress setzen (oder belassen falls Frontend auch nötig).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

