Vibe Coding for AL

AI-optimized coding rules and guidelines for AL development

Created by the Business Central Community, Enhanced for AI-powered AL Development

Vibe Coding for AL

Welcome to the Vibe Coding for AL initiative! This section contains AI-optimized coding rules and guidelines specifically designed to enhance the AL developer experience in modern AI-powered IDEs like VS Code and Cursor.

What is Vibe Coding?

Vibe Coding represents a new approach to coding guidelines that are specifically formatted and structured to work seamlessly with AI coding assistants. These rules are designed to:

  • Enhance AI Understanding: Provide clear, structured guidelines that AI agents can easily parse and apply
  • Improve Code Quality: Maintain high standards while leveraging AI assistance
  • Standardize Practices: Create consistent coding patterns across the AL development community
  • Boost Productivity: Help developers write better code faster with AI assistance

Key Features

📋 Structured Rule Format

All rules are provided in markdown format with clear structure that AI agents can easily understand and apply during development.

🔄 Community-Driven

Built and maintained by the AL community, including MVPs and the Microsoft product team.

🛠️ IDE Integration

Future AL extension support will allow generating local rules files directly in VS Code and Cursor.

🤖 AI-Ready

Designed as a foundation for AL-focused AI tools and Model Context Protocols (MCPs).

How to Use

  1. Browse the Rules: Explore the various rule categories below
  2. Copy for Your Project: Use these rules as templates for your own coding standards
  3. Contribute: Submit your own rule variations via pull requests
  4. Stay Updated: Watch for AL extension integration coming soon

Rule Categories

The Vibe Coding rules are organized into logical categories to make them easy to find and implement:

Getting Started

To get started with Vibe Coding for AL:

  1. Review the rule categories that apply to your development needs
  2. Adapt the rules to your specific project requirements
  3. Configure your AI assistant to use these guidelines
  4. Share your experiences and contribute improvements back to the community

Future Roadmap

Phase 1: Foundation ✅

  • Host rules in AL Guidelines repository
  • Community contribution process
  • Initial rule sets from key contributors

Phase 2: Integration 🔄

  • AL extension support for local rules generation
  • Enhanced AI agent compatibility
  • MCP server integration

Phase 3: Expansion 🚀

  • Convert legacy C/AL patterns where applicable
  • Generate new AL-specific patterns
  • Establish as central trust source for AL AI agents

Contributing

This initiative thrives on community contributions! Here’s how you can help:

  • Submit Rule Sets: Share your proven coding rules via pull requests
  • Improve Existing Rules: Suggest enhancements to current guidelines
  • Test & Validate: Try the rules in your projects and provide feedback
  • Share Examples: Contribute real-world examples of rule applications

Community & Support

  • GitHub Repository: Microsoft AL Guidelines
  • Discussions: Join conversations about Vibe Coding rules
  • Issues: Report problems or suggest new features

The Vibe Coding for AL initiative is a collaborative effort between the Business Central community and Microsoft, aimed at revolutionizing how we write AL code in the age of AI.


AL Guidelines - Comprehensive AI-optimized coding rules for Microsoft Dynamics 365 Business Central development

AL Code Style & Formatting Rules

AL Code structure, formatting, and folder organization guidelines for AL development

AL Error Handling & Troubleshooting Rules

AL Error handling patterns, debugging techniques, and troubleshooting guidelines for AL development

AL Performance Optimization Rules

Performance optimization guidelines and best practices for AL development

AL Testing & Project Structure Rules

AL-Go workspace structure, test generation guidelines, and project organization rules

Event-Driven Development Rules

Guidelines for implementing event-driven patterns and extensibility in AL development

Naming Conventions Rules

Comprehensive naming conventions for AL files, objects, variables, and functions


Last modified August 11, 2025: Merge pull request #264 from microsoft/jeremy-siteops (f82dfd0) by Jeremy Vyska