Align AI Developer Assistant for IFS Cloud
A VS Code Extension that provides AI-powered reviews, customization planning,
and code improvements for IFS Cloud development — using IFS guidelines, best
practices, and your project context.
Features
| Feature |
Description |
| Offline Review (Pattern-Based) |
Scans the active file against 79+ IFS Cloud rules — no API key needed. Returns a score, categorized issues, and recommendations. |
| Bulk Review |
Scan all CUST and PL/SQL files in the workspace. Score files, flag high-risk ones, and export results to CSV. |
| Auto-Review on Save |
Automatically runs the offline review when IFS Cloud files are saved. Configurable via align-ai-developer.autoReviewOnSave. |
| Inline Diagnostics |
Review issues appear as squiggly lines in the editor with severity-appropriate markers (errors, warnings, info). |
| Quick Fixes (Code Actions) |
Lightbulb suggestions for common issues — SELECT *, DBMS_OUTPUT, RAISE_APPLICATION_ERROR, NULL comparisons, and more. |
| Structural Validation |
Validates .entity, .projection, .page, .client file structures — checks for missing declarations, keys, and layout containers. |
| Cross-File Dependency Analysis |
Scans workspace for missing references, orphaned procedures, and incomplete Logical Units. |
| Search IFS Documentation |
Search the built-in IFS Cloud knowledge base for API references and best practices. |
| Generate CUST Scaffold |
Generate boilerplate CUST layer files for a Logical Unit. |
| Analytics Dashboard |
Interactive webview dashboard showing scores, trends, team metrics, cache stats, and persistent problems. |
| Feature |
Description |
| Review Current File |
Full AI review using IFS tailoring rules — issues by category, remediations, rule references, upgrade impact. |
| Review Selected Code |
Focused AI review on only the highlighted code selection. |
| Suggest Improvements |
Lightweight AI suggestions for readability, structure, and best practices. |
| Review Changed Lines Only (Git-Aware) |
Focus the AI review on uncommitted changes only — uses git diff to identify changed regions. |
| Plan Customization |
Paste a functional requirement — get objects to modify, files to create, code patterns, step-by-step plan with effort estimates. |
| Azure DevOps PR Review |
Fetch a PR by ID, analyze all impacted files, and return a complete IFS-tailoring-focused review report. |
| Local PR Review |
Compare two local branches and review changed files — no Azure DevOps needed. |
| Compare CORE vs CUST (Diff) |
Side-by-side diff of base IFS file vs CUST customization with upgrade safety assessment. |
| Explain Code & Upgrade Impact |
AI explanation of the file and its potential upgrade/regression risks. |
| Generate Test Stubs |
Generate PL/SQL test stubs from procedure signatures — offline mode or AI-enhanced. |
| Refactor Selected Code |
In-place AI-powered rewrite of selected code. |
| Feature |
Description |
| Explain in Business Terms |
Translate code into plain business language for functional consultants. |
| Analyze Requirement Impact |
Map a functional requirement to affected LUs, pages, and files. |
| Upgrade Impact Report |
Assess upgrade risks for customizations between IFS Cloud versions. |
| Feature |
Description |
| Command Hub |
Single entry point (Align: Open Command Hub) — QuickPick menu with Offline, AI-Powered, and Consultant modes. |
| Setup Wizard |
Interactive setup for AI provider, API keys, CUST/CORE repo paths, and Azure DevOps config. |
| Sidebar Tree View |
Review results appear in the Activity Bar with expandable issues grouped by category. |
| Version-Specific Rules |
Filter review rules to match your target IFS Cloud version (e.g. 24R2). |
| Review History |
Persistent review history stored in .align/reviews/ — score trends, team metrics, most improved files. |
| PR Write-Back |
Post review comments and summaries back to Azure DevOps pull request threads. |
| MCP Server |
Model Context Protocol server exposing review tools, patterns, and history for external AI agents. |
| Custom Patterns |
Add your own review rules via .align/custom-patterns.json in your workspace. |
| Cache Management |
Clear cache, re-run reviews, view statistics, force fresh reviews. |
Installation
From Marketplace
Search for Align AI Developer in the VS Code Extensions panel, or install from:
Publisher: AlignConsulting
From VSIX
- Open VS Code
- Go to Extensions
- Click Install from VSIX...
- Select the file:
align-ai-developer-ifs-cloud-5.1.2.vsix
Environment Setup
Option 1: Setup Wizard (Recommended)
Run Align: Run Setup Wizard from the Command Palette. It will walk you through:
- AI provider selection (Anthropic, OpenAI, Azure OpenAI, Gemini, Ollama)
- API key and model configuration
- CUST_REPO folder picker
- Optional CORE_REPO path
- Optional Azure DevOps configuration
Option 2: Manual .env File
Create a .env file in the root of your workspace:
ANTHROPIC_API_KEY=<your-anthropic-key>
ANTHROPIC_MODEL=claude-sonnet-4-6
CUST_REPO=<path-to-cust-repo>
CORE_REPO=<path-to-core-repo>
AZ_ORG=<your-azure-devops-org>
AZ_PROJECT=<your-azure-devops-project>
AZ_REPO_ID=<your-repo-id>
AZ_PAT=<your-personal-access-token>
| Variable |
Where to Get |
| ANTHROPIC_API_KEY |
https://console.anthropic.com — API Keys |
| ANTHROPIC_MODEL |
Default: claude-sonnet-4-6 |
| CUST_REPO |
Path to your IFS Cloud CUST solution repository |
| CORE_REPO |
Path to your IFS Cloud CORE repository |
| AZ_ORG |
URL: https://dev.azure.com/<org> |
| AZ_PROJECT |
Azure DevOps — Your Project Name |
| AZ_PAT |
User Settings — Personal Access Tokens — Create New |
| AZ_REPO_ID |
Repos — Click Repository — URL contains ID |
Settings
| Setting |
Default |
Description |
align-ai-developer.autoReviewOnSave |
true |
Automatically run offline pattern review when IFS Cloud files are saved. |
align-ai-developer.targetIfsVersion |
"" |
Target IFS Cloud version (e.g. 24R2, 2024.2). Filters review rules to match this version. |
Commands
Access all commands via Command Palette (Ctrl+Shift+P) — type Align — or use the Command Hub.
| Command |
Description |
| Align: Open Command Hub |
Unified entry point — Offline, AI-Powered, Consultant modes |
| Align: Offline Review (No AI Required) |
Pattern-based file review (79+ rules) |
| Align: Review Current File (Tailoring Guide) |
Full AI review of active file |
| Align: Review Selected Code (Tailoring Guide) |
AI review of selected code |
| Align: Suggest Improvements for Current File |
Lightweight AI suggestions |
| Align: Refactor Selected Code (In-Place) |
AI-powered in-place rewrite |
| Align: Review Changed Lines Only (Git-Aware) |
AI review focused on git changes |
| Align: Plan Customization from Requirement |
Generate implementation plan |
| Align: Review Azure DevOps Pull Request (Online) |
Analyze PR from Azure DevOps |
| Align: Review Local Pull Request |
Compare local branches and review |
| Align: Run Bulk Review (Workspace) |
Review all project files |
| Align: Export Bulk Review Results |
Export bulk review to CSV |
| Align: Review Low-Scoring Files from Bulk Review |
Re-review flagged files |
| Align: Analyze Cross-File Dependencies |
Scan for missing refs and incomplete LUs |
| Align: Generate Test Stubs |
Generate PL/SQL test stubs |
| Align: Explain Code & Upgrade Impact |
Show risks + explanation |
| Align: Explain in Business Terms (Consultant View) |
Translate code for consultants |
| Align: Analyze Requirement Impact |
Map requirement to affected files |
| Align: Upgrade Impact Report |
Assess upgrade risks |
| Align: Compare CORE vs CUST (Diff) |
Side-by-side CORE/CUST diff |
| Align: Generate CUST Scaffold |
Generate boilerplate CUST files |
| Align: Search IFS Documentation |
Search built-in IFS knowledge base |
| Align: Open Review Analytics Dashboard |
Interactive analytics dashboard |
| Align: Run Setup Wizard |
Interactive provider + project setup |
| Align: Offline Tools (No AI) |
Open offline tools hub |
| Align: AI-Powered Tools |
Open AI tools hub |
| Align: Clear All Review Cache |
Clear all cached reviews |
| Align: Clear Cache for Current File |
Clear cache for active file |
| Align: Clear Cache & Re-run Review |
Clear and re-run |
| Align: Show Review Cache Statistics |
View cache stats |
| Align: Force Fresh Review (Skip Cache) |
Skip cache for next review |
Project Structure
src/
extension.ts Activate / deactivate shell
aiClient.ts Multi-provider AI SDK wrapper
aiProvider.ts AI provider selection + configuration
azureDevOps.ts Azure DevOps REST helpers
azurePrReview.ts Standalone CLI for PR reviews
bulkReview.ts Bulk review engine
cacheUtils.ts Persistent file cache
codeActionProvider.ts Quick-fix code actions (lightbulb)
commandHub.ts Command Hub quick-pick UI
constants.ts Shared constants and templates
coreCustAnalyzer.ts CORE vs CUST divergence analysis
dashboardPanel.ts Webview analytics dashboard
dependencyAnalyzer.ts Cross-file dependency analysis
diagnosticsManager.ts Inline diagnostics (squiggly lines)
fileWatcher.ts Auto-review on save
gitAwareReview.ts Git diff-focused review
gitHelpers.ts Git diff / checkout operations
knowledgeBase.ts IFS docs knowledge base
mcpServer.ts MCP server (standalone)
offlineReviewEngine.ts Offline pattern-based review engine
patternLoader.ts JSON pattern loader + version filter
prReview.ts PR review orchestration
prWriteBack.ts Azure DevOps PR comment write-back
reviewCache.ts Review cache manager
reviewCommands.ts All review command implementations
reviewHistory.ts Persistent review history
reviewTreeView.ts Sidebar tree view provider
rules.ts Rule loading and matching
setupWizard.ts Interactive setup wizard
structureValidator.ts Entity/Projection/Page validation
testGenerator.ts PL/SQL test stub generator
types.ts Shared type definitions
versionUtils.ts IFS version parsing & comparison
resources/
patterns.json 79 review pattern definitions
ifs_rules.json IFS category & rule definitions
package.json
README.md
CHANGELOG.md
MCP Server
The extension includes a Model Context Protocol (MCP) server that can be run standalone:
npm run mcp
This exposes the following tools to external AI agents:
review_file — Run offline review on a file
review_content — Review raw code content
get_pattern_list — List all review patterns
get_review_history — Query review history
get_team_metrics — Get team-level metrics
Set ALIGN_EXTENSION_PATH and ALIGN_WORKSPACE_ROOT environment variables to configure paths.
Development
npm install
npm run compile
npm run watch
To test in VS Code:
F5 — Launch Extension Development Host
Publishing
npm run compile
npx @vscode/vsce package
npx @vscode/vsce publish
Troubleshooting
Extension says variables are missing
Run Align: Run Setup Wizard to configure interactively, or ensure .env file exists in your workspace root.
PR Review fails
Check Azure DevOps PAT:
- Must include Code (Read) permission
- Must not be expired
Offline review finds no issues
Check the file extension — the engine scans .plsql, .sql, .client, .projection, .entity, .page, .fragment, .views files.
MCP server won't start
Ensure the extension is compiled (npm run compile) and run npm run mcp from the extension root.
Support
For assistance, improvements, or additional features, contact:
Align Consulting — AI Developer Assistant for IFS Cloud Team
– Align AI Developer Assistant for IFS Cloud