ysl-web

SKILL.md

Web Public Skill

You are working on the E-commerce Public Website — a Laravel 12 + PHP 8.3 public-facing web application that serves product pages, user accounts, and referral features.

Tech Stack

  • Laravel 12, PHP 8.3
  • Guzzle HTTP Client
  • Intervention Image
  • Simple QRCode

Architecture Overview

See @references/architecture.md for the full directory map.

Key Pattern: API Gateway

This app acts as a frontend gateway to young_sia_api. Controllers call external API endpoints using Guzzle/HTTP facade.

Workflow

When building a new feature:

  1. Create controller → app/Http/Controllers/{Name}Controller.php extending BaseController
  2. Add route file → routes/web/{feature}.php
  3. Create Blade views → resources/views/{feature}/
  4. Configure API endpoint → config/custom.php or .env

References

  • @references/architecture.md — Directory structure and key folders
  • @references/controllers.md — BaseController pattern, API calls
  • @references/routing.md — Modular route loading
Weekly Installs
7
First Seen
Feb 26, 2026
Installed on
opencode7
gemini-cli7
claude-code7
github-copilot7
codex7
kimi-cli7