aif-architecture

Generate architecture guidelines and an ARCHITECTURE.md file for software projects.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/batFormat/sancrm-docs --skill aif-architecture-batformat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aif-architecture
Source: https://github.com/batFormat/sancrm-docs/tree/main/.claude/skills/aif-architecture
Command: npx skills add https://github.com/batFormat/sancrm-docs --skill aif-architecture-batformat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you establish clear, well-defined architectural guidelines for your software projects, ensuring consistency and maintainability.

Core Features & Use Cases

  • Architecture Recommendation: Analyzes project context to suggest suitable architecture patterns (e.g., Clean Architecture, DDD, Microservices).
  • Guideline Generation: Creates a detailed .ai-factory/ARCHITECTURE.md file outlining chosen pattern, folder structure, dependency rules, and key principles.
  • Contextualization: Integrates with existing project descriptions (DESCRIPTION.md) and updates agent configurations (AGENTS.md).
  • Use Case: When starting a new project or refactoring an existing one, use this Skill to get a recommended architecture and a foundational document to guide development.

Quick Start

Run the aif-architecture skill to generate architecture guidelines for your project.

Frequently Asked Questions about aif-architecture

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

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

To generate architecture guidelines, provide your project context and preferences. The system analyzes your inputs and creates a comprehensive `.ai-factory/ARCHITECTURE.md` file outlining the recommended folder structure, dependency rules, and code examples.

What is the best way to decide between Clean Architecture and DDD for my application?

Choosing between Clean Architecture and DDD depends on your project context. This system evaluates your specific requirements and recommends the most suitable pattern, documenting the rationale and structural rules in a centralized architecture file.

Can I use this to set up a Modular Monolith folder structure with dependency rules?

Yes, you can use this to set up a Modular Monolith structure. It generates a detailed architecture document defining the folder layout, dependency boundaries, and key structural principles tailored to your project's specific context.

How do architecture guidelines integrate with existing project documentation?

Architecture guidelines integrate by updating existing project files. The system automatically modifies `DESCRIPTION.md` and `AGENTS.md` to ensure your architectural rules and project context stay synchronized across your development environment.

When should I not use an automated architecture pattern recommendation?

You should not use an automated architecture pattern recommendation if your project requires a highly customized structure outside standard patterns like Microservices or Layered Architecture, as the generated guidelines focus on established software design frameworks.