aif-architecture

Generates project architecture guidelines and ARCHITECTURE.md based on tech stack analysis.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/1t1sCooL/zazyvala-bot --skill aif-architecture-1t1scool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-architecture
Source: https://github.com/1t1sCooL/zazyvala-bot/tree/main/.cursor/skills/aif-architecture
Command: npx skills add https://github.com/1t1sCooL/zazyvala-bot --skill aif-architecture-1t1scool

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing and documenting a software architecture pattern is time-consuming and often inconsistent across teams. This Skill analyzes your project's tech stack and requirements, recommends a suitable architecture pattern, and produces a tailored ARCHITECTURE.md document with folder structures, dependency rules, and code examples. ## Core Features & Use Cases - Architecture Recommendation: Evaluates team size, domain complexity, and scale requirements against a decision matrix covering Clean Architecture, DDD, Microservices, Modular Monolith, and Layered Architecture. - Tailored Documentation: Generates .ai-factory/ARCHITECTURE.md with folder structures, dependency rules, and code examples adapted to your actual language and framework. - Context Integration: Updates DESCRIPTION.md and AGENTS.md with architecture pointers, and applies project-specific rules accumulated in skill-context files. - Use Case: After setting up a new NestJS project, run the skill to get a recommended Modular Monolith architecture document with TypeScript examples matching your codebase conventions. ## Quick Start Ask the AI to generate architecture guidelines for this project, optionally specifying a pattern like clean, ddd, microservices, monolith, or layers.

Frequently Asked Questions about aif-architecture

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

FAQPage Schema
How do I choose an architecture pattern for my project?

The skill evaluates team size, domain complexity, and scale requirements against a decision matrix. Small teams with simple domains fit Layered or Modular Monolith, while complex business logic suits Clean Architecture and large organizations with independent scaling needs fit Microservices.

How to generate an ARCHITECTURE.md document automatically?

Run the skill after creating a project DESCRIPTION.md, or provide project details manually. It reads your tech stack, recommends a pattern via an interactive question, then writes ARCHITECTURE.md with folder structures, dependency rules, and code examples in your language.

Can I specify a particular architecture pattern directly?

Yes, pass the pattern as an argument such as clean, ddd, microservices, monolith, or layers. The skill skips the recommendation step and generates the document for your chosen pattern directly.

Does the generated architecture adapt to my framework?

Yes, all folder structures and code examples are adapted to the project's actual language and framework conventions, such as Next.js app directories or Go cmd layouts, rather than using generic TypeScript templates.

What happens if DESCRIPTION.md does not exist?

The skill warns that no project description was found and suggests running the setup skill first. You can still proceed by manually describing your project, tech stack, team size, and expected scale.

When should I avoid microservices architecture?

Avoid microservices with teams under ten people, unclear domain boundaries, or early-stage products seeking market fit. The operational complexity and slow initial velocity outweigh benefits; a Modular Monolith is usually the better starting point.