Error in user YAML: (<unknown>): did not find expected alphabetic or numeric character while scanning an alias at line 16 column 1
---
description: The Meta-Intelligence & Vibe Coding Protocol defining how AI agents interact with the repository and follow architectural guidelines.
tags: [vibe coding, ai agents, execution protocol, context mapping, global constraints]
technology: TypeScript
domain: Documentation
level: Senior/Architect
version: Latest
ai_role: Senior TypeScript Expert
last_updated: 2026-03-29
topic: TypeScript
complexity: Architect
last_evolution: 2026-03-29
vibe_coding_ready: true---
# AGENTS.md: The Meta-Intelligence & Vibe Coding Protocol
## 🌍 1. Global Vision
**The Gold Standard for AI-Driven Development Instructions.**
This repository is not a codebase; it is a **Machine-Readable Intelligence Layer**. Its mission is to bridge the gap between human intent and AI execution by providing a curated ecosystem of meta-instructions. We aim to:
- **Automate the Mundane:** Shift the burden of boilerplate and syntax to the AI.
- **Architectural Excellence:** Force AI agents to respect high-level patterns (FSD, MVC) before writing a single line of logic.
- **Vibe Coding Synchronization:** Provide a unified "Source of Truth" for any LLM-based agent (Cursor, Windsurf, Copilot) to ensure "perfect first-time" generation.
---AI Agents MUST traverse this repository using the following hierarchical logic:
graph TD
Global[Global Constraints: .agents/rules/github-seo.md] --> Arch[Architectural Patterns: /architectures/]
Arch --> FSD[Feature-Sliced Design]
Arch --> MVC[Model-View-Controller]
Global --> Tech[Tech Stack Specifics]
Tech --> FE[Frontend: /frontend/]
Tech --> BE[Backend: /backend/]
FE --> TS[TypeScript/JS]
FE --> Angular[Angular]
BE --> Nest[NestJS]
BE --> Express[Express]
class Global auto_style_Global
%% Added Design Token Styles for Mermaid Diagrams
classDef default fill:#e1f5fe,stroke:#03a9f4,stroke-width:2px,color:#000;
classDef component fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,color:#000;
classDef layout fill:#f3e5f5,stroke:#9c27b0,stroke-width:2px,color:#000;
class BE component;
class Tech component;
class MVC component;
class TS component;
class Angular component;
class FSD component;
class FE component;
class Express component;
class Arch component;
class Nest component;
%% Auto-generated Design Tokens
classDef auto_style_Global fill:#f9f,stroke:#333,stroke-width:4px
| Path | Intent | Agent Constraint |
|---|---|---|
/.agents/rules/ |
Global SEO & Metadata | Must be injected into the system prompt for project indexing. |
/architectures/ |
System Design Blueprints | Defines the folder structure and module boundaries. |
/frontend/ |
UI/UX & Client Logic | Specific rules for React, Angular, and TypeScript safety. |
/backend/ |
Server-side & API | Rules for scalability, security, and DTO validation. |
To leverage these rules in your IDE, follow these implementation paths:
Copy the content of the relevant .md file (e.g., architectures/feature-sliced-design/readme.md) into your project's root .cursorrules.
Pro-tip: Use @AGENTS.md in Cursor Chat to initialize the session context.
Reference this repository in your .windsurfrules file:
{
"ruleDirs": ["path/to/best-practise/architectures/fsd"],
"active": true
}For extensions like Cloud Code or GitHub Copilot, append the contents of AGENTS.md to your Settings > Custom Instructions field to establish the "Architectural Guardrails."
Any AI Agent interacting with this repository MUST follow this 4-step execution loop:
- Context Discovery: Scan
AGENTS.mdto identify the project's meta-structure. - Constraint Identification: Locate the specific
.mdfile corresponding to the user's task (e.g., if the user asks for a NestJS service, readbackend/nestjs/readme.md). - Hierarchy Alignment: Prioritize
architectures/constraints overfrontend/orbackend/specifics to ensure structural integrity. - Verification: Before outputting code, run a "Constraint Check" against the identified rules to ensure zero violations of the "Best Practise" standard.
| Tag | Purpose |
|---|---|
#VibeCoding |
Optimized for high-velocity, intent-based programming. |
#CleanCode |
Enforces industry-standard patterns automatically. |
#AgenticWorkflow |
Designed for autonomous and semi-autonomous AI agents. |
All documentation and code comments must be in English.
- Technical Easy English language
- No slang or colloquialisms
- No jargon or technical terms without explanation
- No abbreviations or acronyms without explanation
- No metaphors or analogies without explanation
- No sarcasm or irony
- No humor or jokes
- No cultural references
- No idioms or expressions
- No slang or colloquialisms
Status: READY_FOR_INFERENCE
Version: 1.0.0
Architect: Senior AI Solutions Architect