aif-architecture

Generate PHP architecture guidelines and output .ai-factory/ARCHITECTURE.md.

Updated Aug 4, 2025
One-click install
npx skills add https://github.com/Svarog83/php-log-monitor --skill aif-architecture-svarog83
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-architecture
Source: https://github.com/Svarog83/php-log-monitor/tree/main/.cursor/skills/aif-architecture
Command: npx skills add https://github.com/Svarog83/php-log-monitor --skill aif-architecture-svarog83

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate architecture guidelines tailored to a PHP project based on project context and tech stack.

Core Features & Use Cases

  • Reads project context from DESCRIPTION.md if present to tailor recommendations.
  • Recommends an architecture pattern (e.g., Clean Architecture, DDD, Modular Monolith, Layered, Microservices) and outputs a concrete .ai-factory/ARCHITECTURE.md.
  • Provides practical guidelines, folder structures, and dependency rules aligned with PHP ecosystems.

Quick Start

Provide the project context (tech stack, team size, requirements) and run /aif-architecture to generate ARCHITECTURE.md.

Frequently Asked Questions about aif-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate PHP architecture guidelines for a new project?

To generate PHP architecture guidelines, provide your project context and tech stack to run the generation process, which outputs a concrete `.ai-factory/ARCHITECTURE.md` file with folder structures and dependency rules.

What is the best way to choose between Clean Architecture and Modular Monolith for PHP?

Choosing between Clean Architecture and Modular Monolith involves analyzing your project context, team size, and requirements to recommend a pattern that fits your specific PHP ecosystem and tech stack.

Can I use this to plan Domain-Driven Design folder structures in PHP?

Yes, you can plan Domain-Driven Design folder structures by providing your project context, which generates practical guidelines and dependency rules tailored to your PHP application's specific needs.

Does the architecture recommendation process read existing project documentation?

Yes, the architecture recommendation process reads existing project context from a `DESCRIPTION.md` file if present, using it to tailor the architectural pattern choices and output guidelines for your PHP project.

When should I re-evaluate my layered architecture pattern choices?

You should re-evaluate your layered architecture pattern choices after making changes to your tech stack, or during initial project setup and architecture planning to ensure alignment with current project requirements.

What limitations exist when generating architecture rules for a microservices setup?

The generation focuses on producing a single `.ai-factory/ARCHITECTURE.md` file with structure and dependency rules, meaning complex microservices setups may require manual adjustment to distribute rules across multiple independent services.