Getting Started with ALDC¶
Start with installation by surface (castellano) to choose VS Code, Copilot CLI, Claude Code or Codex. Published and candidate channels have different capabilities.
Welcome to the AL Development Collection. This guide helps you start developing Business Central extensions with structured, contract-driven, TDD-orchestrated workflows.
What was installed¶
After installing the VS Code toolkit, the following directories hold the project content. Terminal/plugin layouts differ; follow your selected installation route:
.github/
agents/ Specialist agents and internal subagents
instructions/ Scoped coding standards
prompts/ Development workflows
skills/ Reusable domain skills
plans/
memory.md Global memory (append-only, cross-session context)
docs/
schema/ aldc.schema.json (configuration schema)
templates/ Specification, architecture, test-plan and review templates
tools/
aldc-validate/ Compliance validator
aldc.yaml Configuration file (workspace root)
Validate your installation¶
Run the ALDC validator to confirm everything is in place:
Read the reported missing components, errors and warnings for your installed version. This is a structural check, not evidence of host loading, compilation or a completed review. The validator requires its declared Node dependencies; do not assume installation of the VSIX also installs them.
Your first requirement¶
Step 1: Create a spec¶
@workspace use al-spec.create
"I need to add a Loyalty Points field to the Customer table,
incremented on each posted sales order."
This generates {req_name}.spec.md in .github/plans/.
Step 2: Choose your path¶
LOW complexity (simple field, single table extension):
MEDIUM/HIGH complexity (multi-table, events, business logic):
Then:
Step 3: Follow the flow¶
LOW: al-spec.create -> @AL Implementation Specialist
MED/HIGH: @AL Architecture & Design Specialist -> al-spec.create -> @AL Development Conductor
The conductor enforces TDD through subagents:
- Planning subagent researches context
- You approve the plan (HITL gate)
- Implement subagent: tests FIRST, code SECOND (RED-GREEN-REFACTOR)
- Review subagent validates against spec + architecture
- You approve each phase (HITL gate)
Available agents¶
| Agent | What it does |
|---|---|
@AL Architecture & Design Specialist | Designs solutions, decomposes requirements, creates architecture docs |
@AL Implementation Specialist | Implements code, debugs, makes quick adjustments |
@AL Development Conductor | Orchestrates multi-phase TDD with subagents |
@AL Pre-Sales & Project Estimation Specialist | Estimates effort, scopes projects |
Available workflows¶
| Workflow | Invoke with |
|---|---|
| Create spec | @workspace use al-spec.create |
| Build/deploy | @workspace use al-build |
| Prepare PR | @workspace use al-pr-prepare |
| Update memory | @workspace use al-memory.create |
| Generate context | @workspace use al-context.create |
| Initialize project | @workspace use al-initialize |
Composable skills¶
Skills are domain knowledge loaded on demand by agents. They provide AL-specific patterns and rules:
- skill-api: API pages, OData, custom endpoints
- skill-copilot: Copilot capability, PromptDialog
- skill-debug: Diagnosis, CPU profiling, telemetry
- skill-performance: SetLoadFields, early filtering
- skill-events: Event subscribers/publishers
- skill-permissions: Permission sets, GDPR
- skill-testing: AL-Go tests, Library Assert
- skill-migrate: BC version upgrades
- skill-pages: Page Designer, UX patterns
- skill-translate: XLF translation
- skill-estimation: Effort estimation
Contracts and memory¶
Each requirement generates a contract set in .github/plans/:
{req_name}.spec.md- Technical blueprint{req_name}.architecture.md- Solution design{req_name}.test-plan.md- Test strategymemory.md- Global context (append-only, shared across sessions)
Need help?¶
- Run validation:
node .github/tools/aldc-validate/index.js --config aldc.yaml - Check the collection guide
- Report issues: GitHub Issues