
Claude Skills by majiayu000
github.com/majiayu000Laravel 12 best practices, design patterns, and coding standards. Use when creating controllers, models, services, middleware, or any PHP backend code in Laravel projects.
Spatie Laravel Permission - roles, permissions, middleware, Blade directives, teams, wildcards, super-admin, API, testing. Use when implementing RBAC, role-based access control, or user authorization.
Authorization policies for resource access control. Use when working with authorization, permissions, access control, or when user mentions policies, authorization, permissions, can, ability checks.
Laravel Prompts - Beautiful and user-friendly forms for command-line applications with browser-like features including placeholder text and validation
Service providers, bootstrapping, and application configuration. Use when working with service providers, app configuration, bootstrapping, or when user mentions service providers, AppServiceProvider, bootstrap, booters, configuration, helpers.
Code quality tooling with PHPStan, Pint, and strict types. Use when working with code quality, static analysis, formatting, or when user mentions PHPStan, Pint, quality, static analysis, type safety, code style, linting.
Custom query builders for type-safe, composable database queries. Use when working with database queries, query scoping, or when user mentions query builders, custom query builder, query objects, query scopes, database queries.
Implement background jobs with queues, workers, batches, chains, middleware, and failure handling. Use when processing async tasks or handling long-running operations.
Route configuration, route model binding, and authorization. Use when working with routes, route binding, URL patterns, or when user mentions routing, route model binding, conditional binding, route-level authorization.
Service layer for external API integration using manager pattern and Saloon. Use when working with external APIs, third-party services, or when user mentions services, external API, Saloon, API integration, manager pattern.
State machines using Spatie Model States for complex state transitions. Use when working with complex state management, state transitions, or when user mentions state machines, Spatie Model States, state transitions, transition validation.
Build marketplaces and platforms with Stripe Connect. Use when implementing multi-vendor payments, seller onboarding, commissions, payouts, or split payments.
Test-Driven Development specifically for Laravel applications using Pest PHP. Use when implementing any Laravel feature or bugfix - write the test first, watch it fail, write minimal code to pass.
- DO NOT create unit tests for Laravel Eloquent models. - Rationale: - Laravel's Eloquent ORM is extensively tested by the Laravel team - Testing basic CRUD operations, relationships, and standard functionality provides no value - Models are excluded from code coverage metrics (see phpunit.xml) - What NOT to test: - Basic relationships (hasOne, hasMany, belongsTo, etc.) - Simple CRUD operations (create, update, delete, find) - Standard Eloquent functionality - F
Write tests with Pest 3/PHPUnit, feature tests, unit tests, mocking, fakes, and factories. Use when testing controllers, services, models, or implementing TDD.
Form request validation and comprehensive validation testing. Use when working with validation rules, form requests, validation testing, or when user mentions validation, form requests, validation rules, conditional validation, validation testing.
Immutable value objects for domain values. Use when working with domain values, immutable objects, or when user mentions value objects, immutable values, domain values, money objects, coordinate objects.
Complete Vite bundling for Laravel - assets, HMR, SSR, frameworks, optimization. Use when configuring frontend build pipeline.
Laravel and PHP development patterns and best practices
Use when building larger movement animations between 500-800ms - hero transitions, complex reveals, animations that tell a story and deserve attention
Process large documents (200+ pages) with structure preservation, intelligent parsing, and memory-efficient handling. Use when working with complex formatted documents, multi-level hierarchies, or when you need to extract structured data from large files like PDFs, DOCX, or text files.
Use when Claude Code hits "File content exceeds maximum allowed tokens" error, or when files are too large to read. Helps analyze and break apart large files into smaller, focused modules.
Generate table of contents overview for large files. When onboarded Markdown file exceeds threshold (default 30KB), extract heading structure to create navigation file. Trigger condition: Markdown file size >= 30KB.
A skill with large instructions for performance testing
Edits and compiles very large Markdown research reports using surgical patches, structure JSON, and legal‑grade citation rules.
超大型需求智能拆分与批量处理,自动识别模块边界、逐模块分析并整合文档,支持零人工干预的完整需求处理流程。
Engineer hook ecosystems with composable, scalable abstractions that preserve correctness under concurrency.
Master of high-performance web map implementations handling 5,000-100,000+ geographic data points. Specializes in Leaflet.js optimization, Supercluster algorithms, viewport-based loading, canvas rendering, and progressive disclosure UX patterns.
Provides strategies for efficiently transforming large text files (thousands to millions of lines) using text editors like Vim, sed, or awk. This skill should be used when tasks involve bulk text transformations, CSV manipulation at scale, pattern-based edits across massive files, or when keystroke/operation efficiency is constrained. Applicable to tasks requiring macros, regex substitutions, or batch processing of structured text data.
Large skill with extensive content and supplementary files
Guidance for finding the largest eigenvalue of small dense matrices with performance optimization. This skill should be used when tasks involve computing eigenvalues (especially the dominant/largest eigenvalue), optimizing numerical linear algebra routines, or improving performance of numpy/scipy matrix operations for small matrices (typically 2-10 in size).
Token-efficient Lark task creation from markdown test files. Uses 60-70% fewer tokens than lark-agent by executing MCP calls directly. ACTIVATE THIS SKILL when user: - Says "create lark tasks" or "lark agent simple" or "efficient lark" - Wants token-efficient Lark task creation - Has a test file and wants it in Lark with minimal overhead WORKFLOW: 1. Parse markdown file to compact JSON (data only, no workflow) 2. Execute Lark MCP calls directly from slash command 3. Report results DO NOT c...
Create hierarchical Lark tasks from markdown test plans. ACTIVATE THIS SKILL when user: - Says "create lark tasks" or "process test file" or "convert test plan" - Mentions "lark" + "test" or "test scenarios" or "test cases" - Wants to convert markdown test documentation into Lark tasks - Has a test file and wants it in Lark WORKFLOW: 1. Ask user for test file path (required) 2. Ask for owner, priority, target date (optional) 3. Execute: python .claude/skills/lark-agent/run.py [file] --owner...
Deploy and manage Lark (Feishu) bot for Milady meme generation, command handling, and team collaboration. Use when setting up Lark webhooks, handling bot commands, deploying to production, or integrating with Lark messaging.
Lark/Feishu API integration for messaging, group management, contacts, and calendar. Use this skill to send messages, manage chats, query contacts, and sync calendar events with Lark/Feishu.
Invariance principle for asymptotic stability
Use when optimizing end-to-end latency, reducing response times, or improving performance for latency-sensitive applications. Covers latency budgets, geographic routing, protocol optimization, and latency measurement techniques.
Per-call and aggregated latency tracking for MEV infrastructure. Use when implementing performance monitoring or debugging slow operations. Triggers on: latency, timing, performance, slow, speed, instrumentation.
Identify high-potential consumer product opportunities by observing "distortive" user behaviors where people use manual workarounds or non-native tools to satisfy a specific motivation. Use this when brainstorming new products, seeking "blue ocean" features, or validating product-market fit for a niche.
Latent-Latency Skill
Latest Astro features from versions 4.x through 5.x (mid 2024 to 2025)
Ensures the AI uses the latest stable versions of programming languages and adheres to current best practices in all files.
Latest React and Next.js features for past 1.5 years (mid-2024 to 2026)
Latest React features from React 19 and React Compiler (past 1.5 years - mid 2024 to 2026)
LaTeX builds with latexmk and live preview. TRIGGERS - latexmk, LaTeX build, live preview, compilation.
Use when LaTeX documents fail to compile, have undefined references, duplicate labels, or citation errors
Work on the LaTeX thesis or LaTeXML HTML output. Use for build/lint/serve commands, LaTeX style rules, HTML pipeline notes, or assets conventions.
LaTeX 论文写作助手,负责章节、段落、图表、代码块等正文内容的撰写与组织。不涉及模板格式调整。
This skill should be used when the user asks to "create LaTeX handout", "compile handout", "generate presentation handout", "create PDF document from slides", or needs guidance on LaTeX document structure, formatting, embedding images, or creating comprehensive presentation materials.
Comprehensive LaTeX reference with commands, templates, and troubleshooting for document typesetting