Skip to main content
在 Manus 中运行任何 Skill
一键导入
GitHub 仓库

coding-guidelines

coding-guidelines 收录了来自 codebar-ag 的 37 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。

已收集 skills
37
Stars
3
更新
2026-03-04
Forks
0
职业覆盖
4 个职业分类 · 已分类 100%
仓库浏览

这个仓库中的 skills

dto
软件开发工程师

Readonly data containers with typed factory methods (`fromArray`, `fromModel`, `fromCollection`, `fromRequest`) used to pass structured data between application layers — especially for external API responses, Eloquent models, and service boundaries. Use this skill whenever creating, reviewing, or refactoring DTOs, Data Transfer Objects, value objects for inter-layer communication, or mapping payloads from APIs, models, or collections into typed PHP objects. Also trigger when the user mentions spatie/laravel-data alternatives, data mapping, or payload normalization in a Laravel context.

2026-03-04
models
软件开发工程师

Eloquent model conventions for mass assignment, casts, relationship naming, activity logging, and mandatory model tests (CRUD + relations).

2026-03-04
actions
软件开发工程师

Single-purpose business logic classes that encapsulate one well-defined business operation. Actions are the primary location for business logic in Laravel applications, invoked from controllers, commands, or jobs.

2026-03-03
albatros
软件开发工程师

Albatros accounting API integration via Saloon. Use when working with app/Services/Albatros/, AlbatrosConnector, or Albatros DTOs.

2026-03-03
blade
软件开发工程师

Laravel Blade template conventions covering components, output escaping, security, structure, and formatting.

2026-03-03
commands
软件开发工程师

Artisan console command classes that serve as the CLI entry point for operations. Commands validate input and delegate all business logic to Actions or Services.

2026-03-03
controllers
软件开发工程师

Thin HTTP entry points that validate input, delegate to Actions or Services, and return a response. Controllers contain no business logic.

2026-03-03
design
网页开发工程师

Component-first design system for Blade views. Use when creating UI components, designing responsive layouts, or implementing accessible interfaces.

2026-03-03
documentation
软件开发工程师

Keep README, guidelines, and feature documentation in sync with the actual behaviour of the codebase, focusing on behaviour, examples, and how to apply the skills in practice.

2026-03-03
docuware
软件开发工程师

DocuWare document management integration patterns. Use when working with DocuWare connector, webhooks, document imports, or app/Services/DocuWare/.

2026-03-03
dusk
软件质量保证分析师与测试员

End-to-end browser testing with Laravel Dusk. Used exclusively for full user flows requiring a real Chrome browser — JavaScript interactions, multi-step forms, and visual assertions.

2026-03-03
enums
软件开发工程师

PHP backed string enums used instead of constants or magic strings. Enums include `label()` and `color()` helper methods and are cast on Eloquent models.

2026-03-03
events
软件开发工程师

Decoupled communication between application layers. Events are plain data objects describing what happened; listeners react to those events with a single, specific side effect.

2026-03-03
exceptions
软件开发工程师

Named, meaningful failure states in your domain. Custom exceptions communicate precise failure reasons to callers and optionally carry domain-specific data.

2026-03-03
formrequests
软件开发工程师

Dedicated validation classes for all controller input. Form Requests encapsulate validation rules, authorization, and error messages outside of controllers.

2026-03-03
general
软件开发工程师

Project-wide Laravel conventions that always apply: configuration access, database patterns, logging, activity logging, and code formatting.

2026-03-03
helperfunctions
软件开发工程师

Always prefer Laravel's built-in helper classes over native PHP functions. Use `Arr::`, `Str::`, and Collection methods instead of native PHP equivalents.

2026-03-03
helpers
软件开发工程师

Stateless utility classes providing shared formatting, conversion, or calculation logic needed across multiple parts of the application.

2026-03-03
interfaces
软件开发工程师

Contracts defining the shape a class must conform to. Used for decoupling dependent classes from concrete implementations, enabling multiple implementations and easier testing.

2026-03-03
jobs
软件开发工程师

Queueable units of work for background processing. Jobs handle queue configuration and failure handling — they delegate business logic to Actions or Services.

2026-03-03
livewire
软件开发工程师

Laravel Livewire conventions for building interactive UI without custom JavaScript. Components are PHP classes with reactive properties, computed properties, and event dispatching.

2026-03-03
middleware
软件开发工程师

HTTP request/response pipeline handlers that inspect, modify, or reject requests before or after they reach a controller. Used for authentication, throttling, header manipulation, and logging.

2026-03-03
migrations
数据库架构师

Database schema change files. Always create new files for changes — never modify existing migrations. Use descriptive names, proper foreign key constraints, and reversible `down()` methods.

2026-03-03
observers
软件开发工程师

Centralised classes that react to Eloquent model lifecycle events. Used for side effects that should always fire regardless of where a model is mutated — such as notifications, cache invalidation, and audit logging.

2026-03-03
pesttesting
软件质量保证分析师与测试员

Laravel testing conventions using the Pest PHP framework. Covers test structure, AAA pattern, HTTP assertions, datasets, mocking, browser tests, and architecture tests.

2026-03-03
php
软件开发工程师

General PHP coding standards covering strict typing, formatting, control flow, and error handling. Applies to all PHP files in the application.

2026-03-03
phpstan
软件质量保证分析师与测试员

Static analysis tool configured at Level 9. All code must pass PHPStan Level 9 with strict typing, no untyped signatures, and minimal suppression of errors.

2026-03-03
phpunit
软件质量保证分析师与测试员

PHPUnit test structure, naming, assertions, and factory conventions for Laravel feature and unit tests.

2026-03-03
policies
软件开发工程师

Centralised authorization logic for a given Eloquent model. Policies define per-ability access control and are enforced at the controller level.

2026-03-03
requests
软件开发工程师

Dedicated Form Request validation classes for all controller input. Every endpoint that accepts user input must use a `FormRequest` class — validation never happens directly inside a controller.

2026-03-03
resources
软件开发工程师

API resource classes that transform Eloquent models into JSON-ready arrays. Resources control exactly what is exposed in API responses and handle relationships, conditional attributes, and date formatting.

2026-03-03
routing
软件开发工程师

Route file conventions for organising API and web routes. Covers file separation, naming, grouping, middleware, and route model binding.

2026-03-03
saloon
软件开发工程师

Saloon-based service layer pattern for all external API integrations. Every new external API integration must use Saloon — no raw HTTP calls.

2026-03-03
services
软件开发工程师

Orchestration classes that coordinate multiple Actions, external APIs, or domain operations into a cohesive workflow. Services own transaction boundaries and third-party API integrations.

2026-03-03
tailwind
网页开发工程师

Tailwind CSS v4 styling conventions. Use when working with CSS, Tailwind utilities, or customizing the theme in Laravel projects.

2026-03-03
traits
软件开发工程师

Reusable behaviour shared across multiple unrelated classes. Traits provide shared Eloquent scopes, accessors, lifecycle hooks, and small stateless helper methods.

2026-03-03
translations
软件开发工程师

Translation and localization conventions for Laravel. Use when adding user-facing strings, creating translation files, or working with lang/ directory.

2026-03-03