mvc-expert

仓库创建 2026年5月22日最近提交 21 小时前SkillHot 收录 8 小时前
▸ 精选理由

对维护老旧 PHP 项目并迁移到可维护架构很有价值

这个 Skill 做什么

将遗留 PHP 代码重构为现代 MVC 项目的审计与实施指南

把老旧的 PHP 糟粕项目整理成现代 MVC 架构的实操指南,包含审计、分层重构、依赖注入、路由与安全改造等步骤。适合要把 spaghetti PHP 迁移到可维护、可测试和可扩展的项目时用。侧重逐步可回滚的重构策略,兼顾性能、安全与可维护性。

▸ 展开 SKILL.md 英文原文

Expert guidelines to refactor legacy PHP codebases into clean, modern, and scalable MVC-structured projects / Pedoman ahli untuk merefaktor codebase PHP lama menjadi proyek terstruktur MVC yang bersih, modern, dan skalabel.

开发编程PHP重构MVC通用
41
Stars
7
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/roedyrustam/vibes-plug/main/skills/mvc-expert/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/roedyrustam/vibes-plug/main/skills/mvc-expert/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# PHP MVC Expert & Modernization

[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)

---

<a name="english"></a>
## English

### Description
This skill provides the agent with structured protocols, coding patterns, and architectural guidelines to audit, refactor, and modernize legacy/obsolete PHP codebases (plain spaghetti PHP) into a clean, modern, secure, and scalable Model-View-Controller (MVC) structure adhering to PSR standards and modern PHP (v8.2+) capabilities.

### Instructions

#### 1. Audit Protocol for Legacy PHP
Before writing new structures, run a detailed audit on the legacy files to map out:
- **Routing & Entry Points**: Identify raw `.php` files acting as endpoints
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有